From a5be82be4c0b20d9f0ecc89e4d5b54e832550d82 Mon Sep 17 00:00:00 2001 From: Juby210 Date: Fri, 5 Nov 2021 07:48:17 +0100 Subject: [PATCH] 101.2 - Alpha (101202) --- app/build.gradle | 4 +- app/src/main/AndroidManifest.xml | 4 +- .../support/v4/media/MediaBrowserCompat.java | 176 +- .../v4/media/MediaDescriptionCompat.java | 171 +- .../support/v4/media/MediaMetadataCompat.java | 3 +- .../support/v4/media/RatingCompat.java | 10 +- .../v4/media/session/MediaSessionCompat.java | 32 +- .../v4/media/session/PlaybackStateCompat.java | 155 +- .../androidx/activity/ComponentActivity.java | 6 +- .../activity/result/ActivityResult.java | 12 +- .../result/ActivityResultRegistry.java | 12 +- .../appcompat/app/AppCompatDelegateImpl.java | 20 +- .../appcompat/app/AppCompatViewInflater.java | 20 +- .../appcompat/app/WindowDecorActionBar.java | 6 +- .../appcompat/view/SupportMenuInflater.java | 8 +- .../widget/ActionBarOverlayLayout.java | 6 +- .../widget/ActivityChooserModel.java | 30 +- .../AppCompatTextViewAutoSizeHelper.java | 8 +- .../appcompat/widget/LinearLayoutCompat.java | 8 +- .../appcompat/widget/ListPopupWindow.java | 6 +- .../androidx/appcompat/widget/SearchView.java | 8 +- .../appcompat/widget/SuggestionsAdapter.java | 8 +- .../widget/ToolbarWidgetWrapper.java | 2 +- .../arch/core/internal/SafeIterableMap.java | 10 +- .../BrowserServiceFileProvider.java | 10 +- .../browser/customtabs/CustomTabsIntent.java | 4 +- .../browser/trusted/ConnectionHolder.java | 6 +- .../TrustedWebActivityServiceConnection.java | 2 +- ...ustedWebActivityServiceConnectionPool.java | 12 +- .../futures/AbstractResolvableFuture.java | 36 +- .../futures/CallbackToFutureAdapter.java | 14 +- .../constraintlayout/motion/utils/Easing.java | 6 +- .../motion/utils/Oscillator.java | 10 +- .../motion/utils/StopLogic.java | 34 +- .../constraintlayout/motion/widget/Debug.java | 156 +- .../motion/widget/KeyAttributes.java | 12 +- .../motion/widget/KeyCycle.java | 18 +- .../motion/widget/KeyCycleOscillator.java | 18 +- .../motion/widget/KeyPosition.java | 10 +- .../motion/widget/KeyTimeCycle.java | 12 +- .../motion/widget/KeyTrigger.java | 94 +- .../motion/widget/MotionController.java | 34 +- .../motion/widget/MotionLayout.java | 215 +- .../motion/widget/MotionScene.java | 46 +- .../motion/widget/SplineSet.java | 12 +- .../motion/widget/TimeCycleSplineSet.java | 18 +- .../motion/widget/TouchResponse.java | 6 +- .../solver/ArrayLinkedVariables.java | 12 +- .../constraintlayout/solver/ArrayRow.java | 24 +- .../constraintlayout/solver/LinearSystem.java | 106 +- .../constraintlayout/solver/Metrics.java | 36 +- .../solver/PriorityGoalRow.java | 22 +- .../solver/SolverVariable.java | 60 +- .../solver/SolverVariableValues.java | 30 +- .../solver/state/ConstraintReference.java | 6 +- .../constraintlayout/solver/state/State.java | 4 +- .../solver/widgets/Barrier.java | 18 +- .../solver/widgets/ConstraintWidget.java | 6 +- .../solver/widgets/analyzer/ChainRun.java | 10 +- .../widgets/analyzer/DependencyGraph.java | 146 +- .../widgets/analyzer/DependencyNode.java | 6 +- .../widgets/analyzer/HorizontalWidgetRun.java | 6 +- .../widgets/analyzer/VerticalWidgetRun.java | 6 +- .../solver/widgets/analyzer/WidgetGroup.java | 10 +- .../widget/ConstraintAttribute.java | 52 +- .../widget/ConstraintHelper.java | 8 +- .../widget/ConstraintProperties.java | 16 +- .../widget/ConstraintSet.java | 104 +- .../widget/CoordinatorLayout.java | 30 +- .../AccessibilityServiceInfoCompat.java | 20 +- .../androidx/core/app/ActivityCompat.java | 2 +- .../androidx/core/app/JobIntentService.java | 6 +- .../main/java/androidx/core/app/NavUtils.java | 8 +- .../core/app/NotificationManagerCompat.java | 56 +- .../main/java/androidx/core/app/Person.java | 6 +- .../java/androidx/core/app/RemoteInput.java | 2 +- .../java/androidx/core/app/ShareCompat.java | 18 +- .../androidx/core/content/FileProvider.java | 6 +- .../androidx/core/content/LocusIdCompat.java | 2 +- .../core/content/pm/PackageInfoCompat.java | 4 +- .../core/content/pm/ShortcutInfoCompat.java | 14 +- .../core/content/res/ResourcesCompat.java | 34 +- .../java/androidx/core/graphics/CanvasKt.java | 32 +- .../androidx/core/graphics/ColorUtils.java | 24 +- .../java/androidx/core/graphics/Insets.java | 16 +- .../androidx/core/graphics/PathParser.java | 4 +- .../androidx/core/graphics/PathSegment.java | 20 +- .../graphics/TypefaceCompatApi26Impl.java | 6 +- .../core/graphics/TypefaceCompatUtil.java | 14 +- .../core/graphics/drawable/IconCompat.java | 20 +- .../RoundedBitmapDrawableFactory.java | 3 +- .../main/java/androidx/core/net/MailTo.java | 2 +- .../java/androidx/core/net/UriCompat.java | 12 +- .../androidx/core/os/LocaleListCompat.java | 2 +- .../core/os/LocaleListCompatWrapper.java | 12 +- .../androidx/core/provider/FontProvider.java | 8 +- .../androidx/core/provider/FontRequest.java | 16 +- .../core/text/PrecomputedTextCompat.java | 42 +- .../core/text/util/LinkifyCompat.java | 2 +- .../java/androidx/core/util/AtomicFile.java | 24 +- .../main/java/androidx/core/util/Pair.java | 12 +- .../androidx/core/util/Preconditions.java | 12 +- .../core/util/RangeKt$toClosedRange$1.java | 4 +- .../androidx/core/view/ActionProvider.java | 8 +- .../androidx/core/view/ContentInfoCompat.java | 24 +- .../core/view/DisplayCutoutCompat.java | 8 +- .../core/view/LayoutInflaterCompat.java | 8 +- .../java/androidx/core/view/ViewCompat.java | 6 +- .../java/androidx/core/view/ViewGroupKt.java | 6 +- .../view/WindowInsetsAnimationCompat.java | 12 +- ...WindowInsetsAnimationControllerCompat.java | 8 +- .../core/view/WindowInsetsCompat.java | 26 +- .../core/widget/NestedScrollView.java | 16 +- .../androidx/core/widget/TextViewCompat.java | 8 +- .../cursoradapter/widget/CursorAdapter.java | 2 +- .../customview/widget/ViewDragHelper.java | 8 +- .../provider/RawDocumentFile.java | 2 +- .../drawerlayout/widget/DrawerLayout.java | 26 +- .../exifinterface/media/ExifInterface.java | 214 +- .../fragment/app/BackStackRecord.java | 74 +- .../app/DefaultSpecialEffectsController.java | 26 +- .../java/androidx/fragment/app/Fragment.java | 86 +- .../fragment/app/FragmentContainerView.java | 2 +- .../fragment/app/FragmentFactory.java | 12 +- .../app/FragmentLayoutInflaterFactory.java | 2 +- .../fragment/app/FragmentManager.java | 64 +- .../fragment/app/FragmentStateManager.java | 132 +- .../app/FragmentStatePagerAdapter.java | 5 +- .../androidx/fragment/app/FragmentStore.java | 6 +- .../fragment/app/FragmentTabHost.java | 14 +- .../fragment/app/FragmentTransaction.java | 12 +- .../app/SpecialEffectsController.java | 102 +- .../lifecycle/BlockRunner$cancel$1.java | 6 +- .../java/androidx/lifecycle/BlockRunner.java | 8 +- .../androidx/lifecycle/ClassesInfoCache.java | 18 +- .../lifecycle/CloseableCoroutineScope.java | 4 +- .../androidx/lifecycle/CoroutineLiveData.java | 7 +- .../lifecycle/CoroutineLiveDataKt.java | 9 +- .../androidx/lifecycle/EmittedSource.java | 8 +- .../FlowLiveDataConversions$asFlow$1.java | 14 +- .../LifecycleController$observer$1.java | 4 +- .../lifecycle/LifecycleController.java | 6 +- .../lifecycle/LifecycleCoroutineScope.java | 8 +- ...ifecycleCoroutineScopeImpl$register$1.java | 4 +- .../LifecycleCoroutineScopeImpl.java | 8 +- .../java/androidx/lifecycle/LifecycleKt.java | 4 +- .../androidx/lifecycle/LifecycleRegistry.java | 20 +- .../java/androidx/lifecycle/LiveData.java | 2 +- .../androidx/lifecycle/LiveDataScopeImpl.java | 8 +- ...ausingDispatcherKt$whenStateAtLeast$2.java | 4 +- .../lifecycle/PausingDispatcherKt.java | 4 +- .../androidx/lifecycle/SavedStateHandle.java | 8 +- .../java/androidx/lifecycle/ViewModelKt.java | 4 +- .../loader/app/LoaderManagerImpl.java | 18 +- .../java/androidx/loader/content/Loader.java | 2 +- .../loader/content/ModernAsyncTask.java | 6 +- .../androidx/media/AudioAttributesCompat.java | 4 +- .../media/AudioAttributesImplApi21.java | 9 +- .../media/AudioAttributesImplApi26.java | 1 + .../media/AudioFocusRequestCompat.java | 16 +- .../androidx/media/AudioManagerCompat.java | 36 +- .../media/MediaBrowserServiceCompat.java | 193 +- .../androidx/media/MediaSessionManager.java | 15 +- .../media/MediaSessionManagerImplApi28.java | 5 + .../media/MediaSessionManagerImplBase.java | 8 +- .../androidx/media/VolumeProviderCompat.java | 15 +- .../media/app/NotificationCompat.java | 79 +- .../media/session/MediaButtonReceiver.java | 51 +- .../androidx/media/utils/MediaConstants.java | 44 + .../java/androidx/preference/Preference.java | 16 +- .../preference/PreferenceFragment.java | 2 +- .../preference/PreferenceFragmentCompat.java | 10 +- .../preference/PreferenceGroupKt.java | 6 +- .../recyclerview/widget/AdapterHelper.java | 6 +- .../recyclerview/widget/AsyncListUtil.java | 18 +- .../recyclerview/widget/ConcatAdapter.java | 173 + .../widget/ConcatAdapterController.java | 391 + .../widget/DefaultItemAnimator.java | 24 +- .../recyclerview/widget/DiffUtil.java | 727 +- .../recyclerview/widget/FastScroller.java | 4 +- .../recyclerview/widget/GapWorker.java | 2 +- .../widget/GridLayoutManager.java | 178 +- .../recyclerview/widget/ItemTouchHelper.java | 22 +- .../recyclerview/widget/LayoutState.java | 24 +- .../widget/LinearLayoutManager.java | 180 +- .../recyclerview/widget/LinearSnapHelper.java | 6 +- .../widget/MessageThreadUtil.java | 12 +- .../widget/NestedAdapterWrapper.java | 136 + .../widget/OrientationHelper.java | 4 +- .../recyclerview/widget/PagerSnapHelper.java | 11 +- .../recyclerview/widget/RecyclerView.java | 570 +- .../recyclerview/widget/SnapHelper.java | 4 +- .../recyclerview/widget/SortedList.java | 12 +- .../recyclerview/widget/StableIdStorage.java | 88 + .../widget/StaggeredGridLayoutManager.java | 111 +- .../recyclerview/widget/TileList.java | 3 + .../recyclerview/widget/ViewTypeStorage.java | 158 + .../androidx/room/InvalidationTracker.java | 16 +- app/src/main/java/androidx/room/Room.java | 24 +- .../java/androidx/room/RoomMasterTable.java | 2 +- .../java/androidx/room/RoomOpenHelper.java | 20 +- .../androidx/room/SQLiteCopyOpenHelper.java | 18 +- .../room/paging/LimitOffsetDataSource.java | 16 +- .../java/androidx/room/util/CopyLock.java | 2 +- .../java/androidx/room/util/FtsTableInfo.java | 18 +- .../java/androidx/room/util/TableInfo.java | 106 +- .../java/androidx/room/util/ViewInfo.java | 16 +- .../java/androidx/savedstate/Recreator.java | 12 +- .../savedstate/SavedStateRegistry.java | 8 +- .../sharetarget/ShareTargetXmlParser.java | 6 +- .../ShortcutInfoCompatSaverImpl.java | 2 +- .../ShortcutsInfoSerialization.java | 24 +- .../sqlite/db/SupportSQLiteOpenHelper.java | 10 +- .../sqlite/db/SupportSQLiteQueryBuilder.java | 2 +- .../db/framework/FrameworkSQLiteDatabase.java | 6 +- .../java/androidx/transition/Transition.java | 46 +- .../transition/TransitionInflater.java | 24 +- .../androidx/transition/TransitionSet.java | 8 +- .../androidx/transition/TransitionValues.java | 18 +- .../drawable/AnimationUtilsCompat.java | 6 +- .../drawable/AnimatorInflaterCompat.java | 16 +- .../drawable/PathInterpolatorCompat.java | 20 +- .../drawable/VectorDrawableCompat.java | 40 +- .../versionedparcelable/VersionedParcel.java | 6 +- .../VersionedParcelParcel.java | 2 +- .../VersionedParcelStream.java | 8 +- .../androidx/viewpager/widget/ViewPager.java | 36 +- .../adapter/FragmentStateAdapter.java | 10 +- .../java/androidx/work/CoroutineWorker.java | 13 +- .../main/java/androidx/work/InputMerger.java | 2 +- .../java/androidx/work/ListenableWorker.java | 16 +- app/src/main/java/androidx/work/WorkInfo.java | 26 +- .../java/androidx/work/WorkerFactory.java | 4 +- .../java/androidx/work/impl/WorkDatabase.java | 8 +- .../androidx/work/impl/model/WorkSpec.java | 2 +- .../work/impl/model/WorkTypeConverters.java | 6 +- .../androidx/work/impl/utils/WakeLocks.java | 6 +- .../androidx/work/impl/utils/WorkTimer.java | 6 +- .../impl/utils/futures/AbstractFuture.java | 36 +- app/src/main/java/c/a/a/a.java | 16 +- app/src/main/java/c/a/a/b/a.java | 16 +- app/src/main/java/c/a/a/b/f.java | 38 +- app/src/main/java/c/a/a/b/g.java | 2 +- app/src/main/java/c/a/a/c/a.java | 24 +- app/src/main/java/c/a/a/c/b.java | 16 +- app/src/main/java/c/a/a/c/c.java | 8 +- app/src/main/java/c/a/a/c/d.java | 10 +- app/src/main/java/c/a/a/c/f.java | 64 +- app/src/main/java/c/a/a/c/i.java | 2 +- app/src/main/java/c/a/a/c/k.java | 30 +- app/src/main/java/c/a/a/d.java | 20 +- app/src/main/java/c/a/a/e/a.java | 18 +- app/src/main/java/c/a/a/e/b.java | 32 +- app/src/main/java/c/a/a/e/c.java | 10 +- app/src/main/java/c/a/a/e/d.java | 2 +- app/src/main/java/c/a/a/e/e.java | 2 +- app/src/main/java/c/a/a/e/f.java | 2 +- app/src/main/java/c/a/a/e/g.java | 2 +- app/src/main/java/c/a/a/f/a/a.java | 18 +- app/src/main/java/c/a/a/f/a/c.java | 2 +- app/src/main/java/c/a/a/f/a/d.java | 32 +- app/src/main/java/c/a/a/g/a.java | 10 +- app/src/main/java/c/a/a/h.java | 2 +- app/src/main/java/c/a/a/i.java | 2 +- app/src/main/java/c/a/a/j.java | 2 +- app/src/main/java/c/a/a/k.java | 2 +- app/src/main/java/c/a/a/m.java | 2 +- app/src/main/java/c/a/a/n.java | 2 +- app/src/main/java/c/a/a/p.java | 8 +- app/src/main/java/c/a/a/r.java | 2 +- app/src/main/java/c/a/a/s.java | 4 +- app/src/main/java/c/a/a/w.java | 22 +- app/src/main/java/c/a/a/y.java | 2 +- app/src/main/java/c/a/a/z/a.java | 8 +- app/src/main/java/c/a/a/z/c.java | 14 +- app/src/main/java/c/a/b/a.java | 66 +- app/src/main/java/c/a/d/f.java | 32 +- app/src/main/java/c/a/d/h.java | 6 +- app/src/main/java/c/a/d/j.java | 6 +- app/src/main/java/c/a/f/a.java | 32 +- app/src/main/java/c/a/f/g.java | 2 +- app/src/main/java/c/a/g/a.java | 6 +- app/src/main/java/c/a/g/d.java | 2 +- app/src/main/java/c/a/j/a.java | 8 +- app/src/main/java/c/a/k/a.java | 8 +- app/src/main/java/c/a/k/b.java | 12 +- app/src/main/java/c/a/k/f/c.java | 2 +- app/src/main/java/c/a/k/g/c.java | 8 +- app/src/main/java/c/a/n/a.java | 8 +- app/src/main/java/c/a/n/d.java | 6 +- app/src/main/java/c/a/n/h/a.java | 6 +- app/src/main/java/c/a/o/a.java | 8 +- app/src/main/java/c/a/o/b.java | 2 +- app/src/main/java/c/a/p/e.java | 5 +- app/src/main/java/c/a/p/g.java | 3 +- app/src/main/java/c/a/p/i.java | 55 +- app/src/main/java/c/a/p/j.java | 29 +- app/src/main/java/c/a/p/k.java | 279 +- app/src/main/java/c/a/p/l.java | 10 +- app/src/main/java/c/a/q/a.java | 12 +- app/src/main/java/c/a/q/a0.java | 2 +- app/src/main/java/c/a/q/b.java | 16 +- app/src/main/java/c/a/q/b0.java | 16 +- app/src/main/java/c/a/q/c.java | 2 +- app/src/main/java/c/a/q/e.java | 32 +- app/src/main/java/c/a/q/e0.java | 8 +- app/src/main/java/c/a/q/h0.java | 4 +- app/src/main/java/c/a/q/i0.java | 18 +- app/src/main/java/c/a/q/j.java | 8 +- app/src/main/java/c/a/q/j0.java | 24 +- app/src/main/java/c/a/q/k0/a.java | 18 +- app/src/main/java/c/a/q/k0/b.java | 18 +- app/src/main/java/c/a/q/k0/c.java | 16 +- app/src/main/java/c/a/q/k0/e.java | 2 +- app/src/main/java/c/a/q/k0/f.java | 2 +- app/src/main/java/c/a/q/k0/g.java | 12 +- app/src/main/java/c/a/q/l.java | 4 +- app/src/main/java/c/a/q/l0/a.java | 16 +- app/src/main/java/c/a/q/m0/a.java | 20 +- app/src/main/java/c/a/q/m0/b.java | 8 +- app/src/main/java/c/a/q/m0/c/d.java | 2 +- app/src/main/java/c/a/q/m0/c/e.java | 19 +- app/src/main/java/c/a/q/m0/c/k.java | 44 +- app/src/main/java/c/a/q/m0/c/m.java | 4 +- app/src/main/java/c/a/q/n.java | 20 +- app/src/main/java/c/a/q/n0/a.java | 84 +- app/src/main/java/c/a/q/o0/a.java | 14 +- app/src/main/java/c/a/q/o0/e.java | 92 +- app/src/main/java/c/a/q/q.java | 6 +- app/src/main/java/c/a/q/r.java | 2 +- app/src/main/java/c/a/q/s.java | 10 +- app/src/main/java/c/a/r/b.java | 10 +- app/src/main/java/c/a/r/d.java | 2 +- app/src/main/java/c/a/s/b.java | 32 +- app/src/main/java/c/a/t/a/a.java | 2 +- app/src/main/java/c/a/t/a/e.java | 16 +- app/src/main/java/c/a/t/a/f.java | 36 +- app/src/main/java/c/a/t/a/h.java | 2 +- app/src/main/java/c/a/t/a/i.java | 6 +- app/src/main/java/c/a/t/a/j.java | 2 +- app/src/main/java/c/a/t/a/k.java | 6 +- app/src/main/java/c/a/t/a/n.java | 2 +- app/src/main/java/c/a/t/a/o.java | 6 +- app/src/main/java/c/a/t/a/q.java | 14 +- app/src/main/java/c/a/t/c/a.java | 6 +- app/src/main/java/c/a/v/d.java | 5 +- app/src/main/java/c/a/w/a.java | 4 +- app/src/main/java/c/a/y/b0.java | 10 +- app/src/main/java/c/a/y/c0.java | 28 +- app/src/main/java/c/a/y/j0/e.java | 12 +- app/src/main/java/c/a/y/m0/a.java | 2 +- app/src/main/java/c/a/y/o.java | 2 +- app/src/main/java/c/a/y/o0/c.java | 2 +- app/src/main/java/c/a/y/o0/d.java | 24 +- app/src/main/java/c/b/a/a/a.java | 10 +- app/src/main/java/c/b/a/a/g.java | 4 +- app/src/main/java/c/b/a/a/h.java | 4 +- app/src/main/java/c/b/a/d/h.java | 6 +- app/src/main/java/c/b/a/d/i.java | 5 +- app/src/main/java/c/b/a/d/j.java | 8 +- app/src/main/java/c/b/a/d/l.java | 8 +- app/src/main/java/c/b/a/f/b.java | 2 +- app/src/main/java/c/b/a/h/a.java | 10 +- app/src/main/java/c/c/a/a0/a.java | 24 +- app/src/main/java/c/c/a/a0/a0.java | 8 +- app/src/main/java/c/c/a/a0/b0.java | 16 +- app/src/main/java/c/c/a/a0/c.java | 38 +- app/src/main/java/c/c/a/a0/d.java | 3229 +- app/src/main/java/c/c/a/a0/f.java | 24 +- app/src/main/java/c/c/a/a0/h.java | 20 +- app/src/main/java/c/c/a/a0/i0/c.java | 38 +- app/src/main/java/c/c/a/a0/i0/d.java | 400 +- app/src/main/java/c/c/a/a0/l.java | 4 +- app/src/main/java/c/c/a/a0/n.java | 2 +- app/src/main/java/c/c/a/a0/p.java | 52 +- app/src/main/java/c/c/a/a0/q.java | 8 +- app/src/main/java/c/c/a/a0/r.java | 14 +- app/src/main/java/c/c/a/a0/s.java | 74 +- app/src/main/java/c/c/a/a0/t.java | 94 +- app/src/main/java/c/c/a/a0/w.java | 12 +- app/src/main/java/c/c/a/b0/d.java | 10 +- app/src/main/java/c/c/a/b0/g.java | 6 +- app/src/main/java/c/c/a/c0/a.java | 30 +- app/src/main/java/c/c/a/d.java | 2 +- app/src/main/java/c/c/a/e.java | 14 +- app/src/main/java/c/c/a/f.java | 16 +- app/src/main/java/c/c/a/j.java | 52 +- app/src/main/java/c/c/a/k.java | 4 +- app/src/main/java/c/c/a/o.java | 10 +- app/src/main/java/c/c/a/q.java | 2 +- app/src/main/java/c/c/a/r.java | 4 +- app/src/main/java/c/c/a/s.java | 2 +- app/src/main/java/c/c/a/w/b/a.java | 24 +- app/src/main/java/c/c/a/w/b/d.java | 28 +- app/src/main/java/c/c/a/w/b/f.java | 10 +- app/src/main/java/c/c/a/w/b/g.java | 10 +- app/src/main/java/c/c/a/w/b/h.java | 14 +- app/src/main/java/c/c/a/w/b/i.java | 28 +- app/src/main/java/c/c/a/w/b/l.java | 22 +- app/src/main/java/c/c/a/w/b/n.java | 14 +- app/src/main/java/c/c/a/w/b/o.java | 10 +- app/src/main/java/c/c/a/w/b/p.java | 10 +- app/src/main/java/c/c/a/w/b/q.java | 10 +- app/src/main/java/c/c/a/w/b/r.java | 12 +- app/src/main/java/c/c/a/w/b/s.java | 6 +- app/src/main/java/c/c/a/w/c/a.java | 26 +- app/src/main/java/c/c/a/w/c/b.java | 6 +- app/src/main/java/c/c/a/w/c/c.java | 6 +- app/src/main/java/c/c/a/w/c/d.java | 12 +- app/src/main/java/c/c/a/w/c/e.java | 6 +- app/src/main/java/c/c/a/w/c/g.java | 6 +- app/src/main/java/c/c/a/w/c/h.java | 6 +- app/src/main/java/c/c/a/w/c/i.java | 2 +- app/src/main/java/c/c/a/w/c/j.java | 2 +- app/src/main/java/c/c/a/w/c/k.java | 2 +- app/src/main/java/c/c/a/w/c/l.java | 24 +- app/src/main/java/c/c/a/w/c/o.java | 20 +- app/src/main/java/c/c/a/x/a.java | 2 +- app/src/main/java/c/c/a/x/b.java | 8 +- app/src/main/java/c/c/a/y/a.java | 6 +- app/src/main/java/c/c/a/y/b.java | 10 +- app/src/main/java/c/c/a/y/c.java | 6 +- app/src/main/java/c/c/a/y/d.java | 4 +- app/src/main/java/c/c/a/y/e.java | 4 +- app/src/main/java/c/c/a/y/f.java | 18 +- app/src/main/java/c/c/a/y/i.java | 4 +- app/src/main/java/c/c/a/y/j.java | 12 +- app/src/main/java/c/c/a/y/k/k.java | 4 +- app/src/main/java/c/c/a/y/k/l.java | 4 +- app/src/main/java/c/c/a/y/l/a.java | 4 +- app/src/main/java/c/c/a/y/l/d.java | 4 +- app/src/main/java/c/c/a/y/l/e.java | 4 +- app/src/main/java/c/c/a/y/l/f.java | 4 +- app/src/main/java/c/c/a/y/l/g.java | 12 +- app/src/main/java/c/c/a/y/l/h.java | 4 +- app/src/main/java/c/c/a/y/l/i.java | 16 +- app/src/main/java/c/c/a/y/l/j.java | 4 +- app/src/main/java/c/c/a/y/l/k.java | 16 +- app/src/main/java/c/c/a/y/l/l.java | 12 +- app/src/main/java/c/c/a/y/l/m.java | 16 +- app/src/main/java/c/c/a/y/l/n.java | 12 +- app/src/main/java/c/c/a/y/l/o.java | 4 +- app/src/main/java/c/c/a/y/l/p.java | 20 +- app/src/main/java/c/c/a/y/m/b.java | 78 +- app/src/main/java/c/c/a/y/m/c.java | 60 +- app/src/main/java/c/c/a/y/m/d.java | 22 +- app/src/main/java/c/c/a/y/m/e.java | 54 +- app/src/main/java/c/c/a/y/m/g.java | 10 +- app/src/main/java/c/c/a/y/m/h.java | 34 +- app/src/main/java/c/c/a/y/m/i.java | 48 +- app/src/main/java/c/c/a/z/b.java | 8 +- app/src/main/java/c/c/a/z/c.java | 30 +- app/src/main/java/c/d/a/a/a.java | 26 +- app/src/main/java/c/d/a/a/p.java | 4 +- app/src/main/java/c/d/a/a/r.java | 4 +- app/src/main/java/c/d/a/a/s.java | 2 +- app/src/main/java/c/d/b/a/a.java | 345 +- app/src/main/java/c/e/a/a.java | 4 +- app/src/main/java/c/e/b/a.java | 12 +- app/src/main/java/c/e/b/b.java | 16 +- app/src/main/java/c/e/b/c.java | 26 +- app/src/main/java/c/e/b/d.java | 54 +- app/src/main/java/c/f/b/b/a.java | 65 +- app/src/main/java/c/f/b/b/d.java | 32 +- app/src/main/java/c/f/b/b/e.java | 10 +- app/src/main/java/c/f/b/b/i.java | 8 +- app/src/main/java/c/f/d/b/b.java | 8 +- app/src/main/java/c/f/d/d/i.java | 14 +- app/src/main/java/c/f/d/e/a.java | 16 +- app/src/main/java/c/f/d/f/b.java | 2 +- app/src/main/java/c/f/d/g/h.java | 18 +- app/src/main/java/c/f/d/g/j.java | 2 +- app/src/main/java/c/f/d/i/a.java | 4 +- app/src/main/java/c/f/d/m/c.java | 4 +- app/src/main/java/c/f/e/c.java | 16 +- app/src/main/java/c/f/e/e.java | 2 +- app/src/main/java/c/f/e/g.java | 10 +- app/src/main/java/c/f/g/a/a/c.java | 54 +- app/src/main/java/c/f/g/a/a/d.java | 4 +- app/src/main/java/c/f/g/a/a/e.java | 8 +- app/src/main/java/c/f/g/a/a/f.java | 2 +- app/src/main/java/c/f/g/a/a/h/f.java | 18 +- app/src/main/java/c/f/g/a/a/h/h.java | 18 +- app/src/main/java/c/f/g/a/a/h/i/a.java | 20 +- app/src/main/java/c/f/g/a/a/h/i/c.java | 6 +- app/src/main/java/c/f/g/b/a.java | 4 +- app/src/main/java/c/f/g/b/b.java | 12 +- app/src/main/java/c/f/g/b/c.java | 10 +- app/src/main/java/c/f/g/b/d.java | 2 +- app/src/main/java/c/f/g/c/b.java | 12 +- app/src/main/java/c/f/g/d/a.java | 38 +- app/src/main/java/c/f/g/d/b/a.java | 6 +- app/src/main/java/c/f/g/e/b.java | 12 +- app/src/main/java/c/f/g/e/e.java | 2 +- app/src/main/java/c/f/g/e/f.java | 38 +- app/src/main/java/c/f/g/e/g.java | 4 +- app/src/main/java/c/f/g/e/k.java | 2 +- app/src/main/java/c/f/g/e/l.java | 26 +- app/src/main/java/c/f/g/e/m.java | 52 +- app/src/main/java/c/f/g/e/n.java | 34 +- app/src/main/java/c/f/g/e/p.java | 8 +- app/src/main/java/c/f/g/f/a.java | 4 +- app/src/main/java/c/f/g/f/b.java | 2 +- app/src/main/java/c/f/g/f/c.java | 12 +- app/src/main/java/c/f/g/f/d.java | 4 +- app/src/main/java/c/f/g/g/a.java | 6 +- app/src/main/java/c/f/g/j/a.java | 2 +- app/src/main/java/c/f/h/a/a/c.java | 6 +- app/src/main/java/c/f/h/a/b/a.java | 28 +- app/src/main/java/c/f/h/a/b/d/a.java | 2 +- app/src/main/java/c/f/h/a/b/d/b.java | 52 +- app/src/main/java/c/f/h/a/b/d/c.java | 12 +- app/src/main/java/c/f/h/a/b/e/c.java | 10 +- app/src/main/java/c/f/h/a/b/f/a.java | 2 +- app/src/main/java/c/f/h/a/b/f/b.java | 6 +- app/src/main/java/c/f/h/a/c/a.java | 36 +- app/src/main/java/c/f/h/a/d/e.java | 6 +- app/src/main/java/c/f/h/b/a/b.java | 2 +- app/src/main/java/c/f/i/a.java | 42 +- app/src/main/java/c/f/i/b.java | 2 +- app/src/main/java/c/f/i/d.java | 12 +- app/src/main/java/c/f/j/a/a/b.java | 4 +- app/src/main/java/c/f/j/a/a/e.java | 6 +- app/src/main/java/c/f/j/a/a/f.java | 10 +- app/src/main/java/c/f/j/a/b/e.java | 8 +- app/src/main/java/c/f/j/a/c/a.java | 22 +- app/src/main/java/c/f/j/a/c/c.java | 10 +- app/src/main/java/c/f/j/a/c/d.java | 10 +- app/src/main/java/c/f/j/b/a.java | 2 +- app/src/main/java/c/f/j/c/a0.java | 6 +- app/src/main/java/c/f/j/c/b.java | 8 +- app/src/main/java/c/f/j/c/e.java | 8 +- app/src/main/java/c/f/j/c/f.java | 12 +- app/src/main/java/c/f/j/c/l.java | 12 +- app/src/main/java/c/f/j/c/m.java | 8 +- app/src/main/java/c/f/j/c/n.java | 6 +- app/src/main/java/c/f/j/c/u.java | 2 +- app/src/main/java/c/f/j/c/v.java | 44 +- app/src/main/java/c/f/j/d/a.java | 2 +- app/src/main/java/c/f/j/d/b.java | 32 +- app/src/main/java/c/f/j/d/e.java | 10 +- app/src/main/java/c/f/j/d/f.java | 16 +- app/src/main/java/c/f/j/e/a.java | 6 +- app/src/main/java/c/f/j/e/b.java | 6 +- app/src/main/java/c/f/j/e/c.java | 2 +- app/src/main/java/c/f/j/e/h.java | 16 +- app/src/main/java/c/f/j/e/j.java | 24 +- app/src/main/java/c/f/j/e/k.java | 8 +- app/src/main/java/c/f/j/e/l.java | 106 +- app/src/main/java/c/f/j/e/o.java | 16 +- app/src/main/java/c/f/j/e/p.java | 36 +- app/src/main/java/c/f/j/f/a.java | 4 +- app/src/main/java/c/f/j/f/c.java | 4 +- app/src/main/java/c/f/j/f/d.java | 2 +- app/src/main/java/c/f/j/h/a.java | 32 +- app/src/main/java/c/f/j/h/d.java | 14 +- app/src/main/java/c/f/j/j/a.java | 4 +- app/src/main/java/c/f/j/j/d.java | 4 +- app/src/main/java/c/f/j/j/e.java | 118 +- app/src/main/java/c/f/j/j/h.java | 8 +- app/src/main/java/c/f/j/l/a.java | 42 +- app/src/main/java/c/f/j/l/b.java | 12 +- app/src/main/java/c/f/j/l/c.java | 2 +- app/src/main/java/c/f/j/l/e.java | 2 +- app/src/main/java/c/f/j/l/f.java | 8 +- app/src/main/java/c/f/j/l/g.java | 14 +- app/src/main/java/c/f/j/l/i.java | 40 +- app/src/main/java/c/f/j/l/o.java | 2 +- app/src/main/java/c/f/j/l/p.java | 8 +- app/src/main/java/c/f/j/l/q.java | 6 +- app/src/main/java/c/f/j/l/s.java | 2 +- app/src/main/java/c/f/j/l/t.java | 20 +- app/src/main/java/c/f/j/l/w.java | 4 +- app/src/main/java/c/f/j/l/x.java | 18 +- app/src/main/java/c/f/j/l/y.java | 4 +- app/src/main/java/c/f/j/n/b.java | 22 +- app/src/main/java/c/f/j/p/a.java | 6 +- app/src/main/java/c/f/j/p/a0.java | 4 +- app/src/main/java/c/f/j/p/a1.java | 6 +- app/src/main/java/c/f/j/p/b.java | 4 +- app/src/main/java/c/f/j/p/b0.java | 12 +- app/src/main/java/c/f/j/p/b1.java | 50 +- app/src/main/java/c/f/j/p/c0.java | 4 +- app/src/main/java/c/f/j/p/d.java | 8 +- app/src/main/java/c/f/j/p/d0.java | 8 +- app/src/main/java/c/f/j/p/e0.java | 6 +- app/src/main/java/c/f/j/p/f0.java | 14 +- app/src/main/java/c/f/j/p/g.java | 2 +- app/src/main/java/c/f/j/p/g0.java | 6 +- app/src/main/java/c/f/j/p/h.java | 24 +- app/src/main/java/c/f/j/p/h1.java | 6 +- app/src/main/java/c/f/j/p/i.java | 16 +- app/src/main/java/c/f/j/p/i0.java | 8 +- app/src/main/java/c/f/j/p/i1.java | 14 +- app/src/main/java/c/f/j/p/j.java | 20 +- app/src/main/java/c/f/j/p/j0.java | 6 +- app/src/main/java/c/f/j/p/k.java | 18 +- app/src/main/java/c/f/j/p/k0.java | 30 +- app/src/main/java/c/f/j/p/l0.java | 2 +- app/src/main/java/c/f/j/p/m.java | 4 +- app/src/main/java/c/f/j/p/m0.java | 38 +- app/src/main/java/c/f/j/p/n.java | 66 +- app/src/main/java/c/f/j/p/o.java | 2 +- app/src/main/java/c/f/j/p/o0.java | 26 +- app/src/main/java/c/f/j/p/q.java | 14 +- app/src/main/java/c/f/j/p/q0.java | 34 +- app/src/main/java/c/f/j/p/r0.java | 14 +- app/src/main/java/c/f/j/p/s.java | 6 +- app/src/main/java/c/f/j/p/s0.java | 54 +- app/src/main/java/c/f/j/p/t.java | 22 +- app/src/main/java/c/f/j/p/t0.java | 4 +- app/src/main/java/c/f/j/p/v.java | 14 +- app/src/main/java/c/f/j/p/w.java | 20 +- app/src/main/java/c/f/j/p/x.java | 2 +- app/src/main/java/c/f/j/p/y.java | 4 +- app/src/main/java/c/f/j/q/a.java | 2 +- app/src/main/java/c/f/j/s/d.java | 18 +- app/src/main/java/c/f/j/s/f.java | 14 +- app/src/main/java/c/f/k/a.java | 4 +- app/src/main/java/c/f/l/a/a.java | 12 +- app/src/main/java/c/f/l/a/b.java | 2 +- app/src/main/java/c/f/l/b/b.java | 24 +- app/src/main/java/c/f/l/b/c.java | 16 +- app/src/main/java/c/f/m/a.java | 12 +- app/src/main/java/c/f/m/b.java | 14 +- app/src/main/java/c/f/m/c.java | 24 +- app/src/main/java/c/f/m/e.java | 14 +- app/src/main/java/c/f/m/f.java | 12 +- app/src/main/java/c/f/m/j.java | 10 +- app/src/main/java/c/f/m/m.java | 56 +- app/src/main/java/c/g/a/a/i.java | 18 +- app/src/main/java/c/g/a/a/p.java | 4 +- app/src/main/java/c/g/a/b/a.java | 14 +- app/src/main/java/c/g/a/b/b.java | 4 +- app/src/main/java/c/g/a/b/d.java | 46 +- app/src/main/java/c/g/a/b/e.java | 2 +- app/src/main/java/c/g/a/b/o/a.java | 10 +- app/src/main/java/c/g/a/b/p/a.java | 8 +- app/src/main/java/c/g/a/b/p/c.java | 6 +- app/src/main/java/c/g/a/b/p/e.java | 2 +- app/src/main/java/c/g/a/b/p/g.java | 14 +- app/src/main/java/c/g/a/b/p/i.java | 2 +- app/src/main/java/c/g/a/b/q/a.java | 2 +- app/src/main/java/c/g/a/b/q/b.java | 4 +- app/src/main/java/c/g/a/b/q/c.java | 18 +- app/src/main/java/c/g/a/b/q/d.java | 430 +- app/src/main/java/c/g/a/b/r/a.java | 6 +- app/src/main/java/c/g/a/b/r/b.java | 6 +- app/src/main/java/c/g/a/b/s/b.java | 2 +- app/src/main/java/c/g/a/b/t/a.java | 2 +- app/src/main/java/c/g/a/b/t/d.java | 10 +- app/src/main/java/c/g/a/b/t/k.java | 12 +- app/src/main/java/c/g/a/c/b0/e.java | 4 +- app/src/main/java/c/g/a/c/b0/f.java | 32 +- app/src/main/java/c/g/a/c/c0/a.java | 2 +- app/src/main/java/c/g/a/c/c0/a0.java | 22 +- app/src/main/java/c/g/a/c/c0/b0.java | 84 +- app/src/main/java/c/g/a/c/c0/c.java | 38 +- app/src/main/java/c/g/a/c/c0/c0.java | 122 +- app/src/main/java/c/g/a/c/c0/d.java | 8 +- app/src/main/java/c/g/a/c/c0/e.java | 16 +- app/src/main/java/c/g/a/c/c0/f.java | 14 +- app/src/main/java/c/g/a/c/c0/f0.java | 10 +- app/src/main/java/c/g/a/c/c0/g.java | 28 +- app/src/main/java/c/g/a/c/c0/h.java | 6 +- app/src/main/java/c/g/a/c/c0/j.java | 38 +- app/src/main/java/c/g/a/c/c0/k.java | 12 +- app/src/main/java/c/g/a/c/c0/m.java | 18 +- app/src/main/java/c/g/a/c/c0/o.java | 30 +- app/src/main/java/c/g/a/c/c0/q.java | 10 +- app/src/main/java/c/g/a/c/c0/u.java | 16 +- app/src/main/java/c/g/a/c/c0/v.java | 2 +- app/src/main/java/c/g/a/c/c0/w.java | 18 +- app/src/main/java/c/g/a/c/c0/x.java | 10 +- app/src/main/java/c/g/a/c/c0/y.java | 16 +- app/src/main/java/c/g/a/c/d.java | 2 +- app/src/main/java/c/g/a/c/d0/a.java | 4 +- app/src/main/java/c/g/a/c/e.java | 12 +- app/src/main/java/c/g/a/c/e0/b.java | 6 +- app/src/main/java/c/g/a/c/e0/h/b.java | 2 +- app/src/main/java/c/g/a/c/e0/h/c.java | 8 +- app/src/main/java/c/g/a/c/e0/h/d.java | 8 +- app/src/main/java/c/g/a/c/e0/h/f.java | 32 +- app/src/main/java/c/g/a/c/e0/h/h.java | 8 +- app/src/main/java/c/g/a/c/e0/h/j.java | 12 +- app/src/main/java/c/g/a/c/e0/h/l.java | 8 +- app/src/main/java/c/g/a/c/e0/h/m.java | 28 +- app/src/main/java/c/g/a/c/g0/a.java | 6 +- app/src/main/java/c/g/a/c/g0/b.java | 4 +- app/src/main/java/c/g/a/c/g0/c.java | 12 +- app/src/main/java/c/g/a/c/g0/d.java | 10 +- app/src/main/java/c/g/a/c/g0/e.java | 12 +- app/src/main/java/c/g/a/c/g0/f.java | 114 +- app/src/main/java/c/g/a/c/g0/j.java | 30 +- app/src/main/java/c/g/a/c/g0/l.java | 22 +- app/src/main/java/c/g/a/c/g0/s.java | 6 +- app/src/main/java/c/g/a/c/g0/t/b.java | 10 +- app/src/main/java/c/g/a/c/g0/t/d.java | 2 +- app/src/main/java/c/g/a/c/g0/t/e.java | 2 +- app/src/main/java/c/g/a/c/g0/t/g.java | 2 +- app/src/main/java/c/g/a/c/g0/t/h.java | 2 +- app/src/main/java/c/g/a/c/g0/t/i.java | 10 +- app/src/main/java/c/g/a/c/g0/t/j.java | 4 +- app/src/main/java/c/g/a/c/g0/t/k.java | 10 +- app/src/main/java/c/g/a/c/g0/t/l.java | 16 +- app/src/main/java/c/g/a/c/g0/t/m.java | 10 +- app/src/main/java/c/g/a/c/g0/t/n.java | 4 +- app/src/main/java/c/g/a/c/g0/t/o.java | 2 +- app/src/main/java/c/g/a/c/g0/t/q.java | 2 +- app/src/main/java/c/g/a/c/g0/t/t.java | 6 +- app/src/main/java/c/g/a/c/g0/t/u.java | 4 +- app/src/main/java/c/g/a/c/g0/u/a.java | 2 +- app/src/main/java/c/g/a/c/g0/u/b.java | 2 +- app/src/main/java/c/g/a/c/g0/u/c0.java | 2 +- app/src/main/java/c/g/a/c/g0/u/d.java | 26 +- app/src/main/java/c/g/a/c/g0/u/f.java | 4 +- app/src/main/java/c/g/a/c/g0/u/f0.java | 4 +- app/src/main/java/c/g/a/c/g0/u/g.java | 2 +- app/src/main/java/c/g/a/c/g0/u/i.java | 2 +- app/src/main/java/c/g/a/c/g0/u/i0.java | 10 +- app/src/main/java/c/g/a/c/g0/u/l.java | 10 +- app/src/main/java/c/g/a/c/g0/u/m.java | 4 +- app/src/main/java/c/g/a/c/g0/u/n0.java | 2 +- app/src/main/java/c/g/a/c/g0/u/o.java | 2 +- app/src/main/java/c/g/a/c/g0/u/o0.java | 24 +- app/src/main/java/c/g/a/c/g0/u/p.java | 2 +- app/src/main/java/c/g/a/c/g0/u/q.java | 14 +- app/src/main/java/c/g/a/c/g0/u/r.java | 2 +- app/src/main/java/c/g/a/c/g0/u/r0.java | 4 +- app/src/main/java/c/g/a/c/g0/u/s.java | 12 +- app/src/main/java/c/g/a/c/g0/u/s0.java | 4 +- app/src/main/java/c/g/a/c/g0/u/t.java | 8 +- app/src/main/java/c/g/a/c/g0/u/u.java | 4 +- app/src/main/java/c/g/a/c/g0/u/u0.java | 2 +- app/src/main/java/c/g/a/c/g0/u/v.java | 8 +- app/src/main/java/c/g/a/c/g0/u/w0.java | 4 +- app/src/main/java/c/g/a/c/g0/u/y.java | 2 +- app/src/main/java/c/g/a/c/h0/a.java | 8 +- app/src/main/java/c/g/a/c/h0/c.java | 18 +- app/src/main/java/c/g/a/c/h0/d.java | 10 +- app/src/main/java/c/g/a/c/h0/e.java | 10 +- app/src/main/java/c/g/a/c/h0/g.java | 14 +- app/src/main/java/c/g/a/c/h0/h.java | 6 +- app/src/main/java/c/g/a/c/h0/l.java | 10 +- app/src/main/java/c/g/a/c/h0/m.java | 68 +- app/src/main/java/c/g/a/c/h0/n.java | 76 +- app/src/main/java/c/g/a/c/i0/d.java | 28 +- app/src/main/java/c/g/a/c/i0/f.java | 6 +- app/src/main/java/c/g/a/c/i0/k.java | 8 +- app/src/main/java/c/g/a/c/i0/l.java | 4 +- app/src/main/java/c/g/a/c/i0/m.java | 8 +- app/src/main/java/c/g/a/c/i0/n.java | 12 +- app/src/main/java/c/g/a/c/i0/r.java | 12 +- app/src/main/java/c/g/a/c/i0/s.java | 86 +- app/src/main/java/c/g/a/c/i0/t.java | 2 +- app/src/main/java/c/g/a/c/i0/u.java | 22 +- app/src/main/java/c/g/a/c/l.java | 2 +- app/src/main/java/c/g/a/c/t.java | 10 +- app/src/main/java/c/g/a/c/x.java | 2 +- app/src/main/java/c/g/a/c/y/b.java | 4 +- app/src/main/java/c/g/a/c/z/a.java | 4 +- app/src/main/java/c/h/a/a/a.java | 14 +- app/src/main/java/c/h/a/a/b.java | 14 +- app/src/main/java/c/h/a/a/e.java | 14 +- app/src/main/java/c/i/a/b/b.java | 2 +- app/src/main/java/c/i/a/b/i/a.java | 14 +- app/src/main/java/c/i/a/b/i/b.java | 14 +- app/src/main/java/c/i/a/b/i/d.java | 44 +- app/src/main/java/c/i/a/b/i/e/b.java | 30 +- app/src/main/java/c/i/a/b/i/e/c.java | 58 +- app/src/main/java/c/i/a/b/i/e/d.java | 2 +- app/src/main/java/c/i/a/b/i/e/e.java | 12 +- app/src/main/java/c/i/a/b/i/e/f.java | 44 +- app/src/main/java/c/i/a/b/i/e/g.java | 42 +- app/src/main/java/c/i/a/b/i/e/h.java | 2 +- app/src/main/java/c/i/a/b/i/e/i.java | 12 +- app/src/main/java/c/i/a/b/j/a.java | 54 +- app/src/main/java/c/i/a/b/j/b.java | 24 +- app/src/main/java/c/i/a/b/j/c.java | 4 +- app/src/main/java/c/i/a/b/j/e.java | 8 +- app/src/main/java/c/i/a/b/j/h.java | 2 +- app/src/main/java/c/i/a/b/j/i.java | 2 +- app/src/main/java/c/i/a/b/j/j.java | 6 +- app/src/main/java/c/i/a/b/j/l.java | 10 +- app/src/main/java/c/i/a/b/j/n.java | 6 +- app/src/main/java/c/i/a/b/j/p.java | 6 +- app/src/main/java/c/i/a/b/j/q/a.java | 14 +- app/src/main/java/c/i/a/b/j/q/b.java | 8 +- app/src/main/java/c/i/a/b/j/q/c.java | 26 +- app/src/main/java/c/i/a/b/j/q/i.java | 4 +- app/src/main/java/c/i/a/b/j/q/j.java | 6 +- app/src/main/java/c/i/a/b/j/q/k.java | 10 +- app/src/main/java/c/i/a/b/j/r/a/a.java | 10 +- app/src/main/java/c/i/a/b/j/t/a.java | 6 +- app/src/main/java/c/i/a/b/j/t/b.java | 10 +- app/src/main/java/c/i/a/b/j/t/c.java | 6 +- app/src/main/java/c/i/a/b/j/t/d.java | 6 +- app/src/main/java/c/i/a/b/j/t/f.java | 8 +- app/src/main/java/c/i/a/b/j/t/g.java | 6 +- app/src/main/java/c/i/a/b/j/t/h/b.java | 8 +- app/src/main/java/c/i/a/b/j/t/h/c.java | 50 +- app/src/main/java/c/i/a/b/j/t/h/d.java | 18 +- app/src/main/java/c/i/a/b/j/t/h/f.java | 10 +- app/src/main/java/c/i/a/b/j/t/h/g.java | 2 +- app/src/main/java/c/i/a/b/j/t/h/h.java | 6 +- app/src/main/java/c/i/a/b/j/t/h/i.java | 18 +- app/src/main/java/c/i/a/b/j/t/h/j.java | 4 +- app/src/main/java/c/i/a/b/j/t/h/k.java | 10 +- app/src/main/java/c/i/a/b/j/t/h/l.java | 8 +- app/src/main/java/c/i/a/b/j/t/h/m.java | 6 +- app/src/main/java/c/i/a/b/j/t/h/o.java | 8 +- app/src/main/java/c/i/a/b/j/t/h/p.java | 4 +- app/src/main/java/c/i/a/b/j/t/h/q.java | 6 +- app/src/main/java/c/i/a/b/j/t/i/a.java | 32 +- app/src/main/java/c/i/a/b/j/t/i/a0.java | 6 +- app/src/main/java/c/i/a/b/j/t/i/b.java | 26 +- app/src/main/java/c/i/a/b/j/t/i/c.java | 16 +- app/src/main/java/c/i/a/b/j/t/i/d.java | 10 +- app/src/main/java/c/i/a/b/j/t/i/j.java | 2 +- app/src/main/java/c/i/a/b/j/t/i/k.java | 8 +- app/src/main/java/c/i/a/b/j/t/i/p.java | 2 +- app/src/main/java/c/i/a/b/j/t/i/s.java | 6 +- app/src/main/java/c/i/a/b/j/t/i/t.java | 88 +- app/src/main/java/c/i/a/b/j/t/i/u.java | 6 +- app/src/main/java/c/i/a/b/j/t/i/z.java | 8 +- app/src/main/java/c/i/a/b/j/u/a.java | 4 +- app/src/main/java/c/i/a/b/j/w/a.java | 2 +- app/src/main/java/c/i/a/c/a.java | 15 +- app/src/main/java/c/i/a/c/a0.java | 29 +- app/src/main/java/c/i/a/c/a1.java | 54 +- app/src/main/java/c/i/a/c/a2.java | 89 + app/src/main/java/c/i/a/c/a2/b0/b.java | 196 - app/src/main/java/c/i/a/c/a2/f.java | 126 - app/src/main/java/c/i/a/c/a2/g.java | 48 - app/src/main/java/c/i/a/c/a2/g0/c.java | 20 - app/src/main/java/c/i/a/c/a2/g0/d.java | 66 - app/src/main/java/c/i/a/c/a2/h0/e.java | 1672 - app/src/main/java/c/i/a/c/a2/h0/g.java | 1443 - app/src/main/java/c/i/a/c/a2/i0/f.java | 122 - app/src/main/java/c/i/a/c/a2/i0/j.java | 400 - app/src/main/java/c/i/a/c/a2/j0/b0.java | 307 - app/src/main/java/c/i/a/c/a2/j0/c0.java | 12 - app/src/main/java/c/i/a/c/a2/j0/e0.java | 42 - app/src/main/java/c/i/a/c/a2/j0/j.java | 138 - app/src/main/java/c/i/a/c/a2/j0/j0.java | 49 - app/src/main/java/c/i/a/c/a2/j0/n.java | 95 - app/src/main/java/c/i/a/c/a2/j0/p.java | 372 - app/src/main/java/c/i/a/c/a2/j0/t.java | 82 - app/src/main/java/c/i/a/c/a2/j0/x.java | 69 - app/src/main/java/c/i/a/c/a2/j0/z.java | 104 - app/src/main/java/c/i/a/c/a2/k0/b.java | 344 - app/src/main/java/c/i/a/c/a2/v.java | 15 - app/src/main/java/c/i/a/c/a2/z.java | 9 - app/src/main/java/c/i/a/c/a3/a.java | 112 + app/src/main/java/c/i/a/c/a3/a0.java | 69 + app/src/main/java/c/i/a/c/a3/b.java | 28 + app/src/main/java/c/i/a/c/a3/b0.java | 113 + app/src/main/java/c/i/a/c/a3/c.java | 23 + .../java/c/i/a/c/{d2/a0.java => a3/c0.java} | 4 +- app/src/main/java/c/i/a/c/a3/d.java | 21 + app/src/main/java/c/i/a/c/a3/d0.java | 8 + app/src/main/java/c/i/a/c/a3/e.java | 23 + app/src/main/java/c/i/a/c/a3/e0.java | 1123 + app/src/main/java/c/i/a/c/a3/f.java | 23 + app/src/main/java/c/i/a/c/a3/f0.java | 144 + app/src/main/java/c/i/a/c/{d2 => a3}/g.java | 8 +- app/src/main/java/c/i/a/c/a3/g0.java | 258 + app/src/main/java/c/i/a/c/a3/h.java | 32 + app/src/main/java/c/i/a/c/a3/h0.java | 507 + app/src/main/java/c/i/a/c/a3/i.java | 22 + .../java/c/i/a/c/{d2/f0.java => a3/i0.java} | 8 +- app/src/main/java/c/i/a/c/a3/j.java | 12 + .../java/c/i/a/c/{d2/g0.java => a3/j0.java} | 6 +- app/src/main/java/c/i/a/c/a3/k.java | 12 + .../java/c/i/a/c/{d2/h0.java => a3/k0.java} | 44 +- app/src/main/java/c/i/a/c/a3/l.java | 142 + app/src/main/java/c/i/a/c/a3/l0.java | 89 + .../java/c/i/a/c/{d2/k.java => a3/m.java} | 49 +- app/src/main/java/c/i/a/c/a3/m0.java | 61 + .../java/c/i/a/c/{d2/l.java => a3/n.java} | 185 +- app/src/main/java/c/i/a/c/a3/n0.java | 73 + app/src/main/java/c/i/a/c/a3/o.java | 189 + app/src/main/java/c/i/a/c/a3/o0.java | 44 + app/src/main/java/c/i/a/c/a3/p.java | 17 + app/src/main/java/c/i/a/c/a3/p0/a.java | 26 + app/src/main/java/c/i/a/c/a3/p0/b.java | 27 + app/src/main/java/c/i/a/c/a3/p0/c.java | 184 + .../java/c/i/a/c/{d2/o.java => a3/q.java} | 16 +- app/src/main/java/c/i/a/c/a3/r.java | 51 + .../java/c/i/a/c/{d2/q.java => a3/s.java} | 73 +- .../java/c/i/a/c/{d2/r.java => a3/t.java} | 17 +- app/src/main/java/c/i/a/c/a3/u.java | 172 + app/src/main/java/c/i/a/c/a3/v.java | 217 + .../java/c/i/a/c/{d2/u.java => a3/w.java} | 12 +- app/src/main/java/c/i/a/c/a3/x.java | 40 + .../java/c/i/a/c/{d2/w.java => a3/y.java} | 42 +- app/src/main/java/c/i/a/c/a3/z.java | 15 + app/src/main/java/c/i/a/c/b.java | 48 +- app/src/main/java/c/i/a/c/b0.java | 21 +- app/src/main/java/c/i/a/c/b1.java | 398 +- app/src/main/java/c/i/a/c/b2.java | 104 + app/src/main/java/c/i/a/c/b2/i.java | 24 - app/src/main/java/c/i/a/c/b2/r.java | 66 - app/src/main/java/c/i/a/c/b2/u.java | 140 - app/src/main/java/c/i/a/c/b3/a.java | 60 + app/src/main/java/c/i/a/c/b3/b.java | 176 + app/src/main/java/c/i/a/c/b3/c.java | 4 + app/src/main/java/c/i/a/c/b3/d.java | 158 + app/src/main/java/c/i/a/c/b3/e.java | 22 + .../java/c/i/a/c/{e2/d.java => b3/f.java} | 31 +- .../java/c/i/a/c/{e2/f.java => b3/g.java} | 6 +- .../java/c/i/a/c/{e2/g.java => b3/h.java} | 6 +- app/src/main/java/c/i/a/c/b3/i.java | 9 + .../java/c/i/a/c/{e2/i.java => b3/j.java} | 6 +- app/src/main/java/c/i/a/c/b3/k.java | 55 + app/src/main/java/c/i/a/c/b3/l.java | 7 + .../java/c/i/a/c/{e2/l.java => b3/m.java} | 341 +- .../main/java/c/i/a/c/{e2/m => b3/n}/a.java | 4 +- app/src/main/java/c/i/a/c/b3/n/b.java | 11 + .../main/java/c/i/a/c/{e2/m => b3/n}/c.java | 175 +- .../main/java/c/i/a/c/{e2/m => b3/n}/d.java | 278 +- .../main/java/c/i/a/c/{e2/m => b3/n}/e.java | 81 +- .../main/java/c/i/a/c/{e2/m => b3/n}/f.java | 23 +- .../main/java/c/i/a/c/{e2/n => b3/o}/a.java | 151 +- .../main/java/c/i/a/c/{e2/n => b3/o}/b.java | 168 +- app/src/main/java/c/i/a/c/b3/o/c.java | 33 + app/src/main/java/c/i/a/c/b3/p/a.java | 200 + app/src/main/java/c/i/a/c/b3/p/b.java | 32 + .../main/java/c/i/a/c/{e2/p => b3/q}/a.java | 4 +- app/src/main/java/c/i/a/c/b3/q/b.java | 4 + .../java/c/i/a/c/{e2/p/b.java => b3/q/c.java} | 6 +- .../java/c/i/a/c/{e2/p/c.java => b3/q/d.java} | 10 +- .../main/java/c/i/a/c/{e2/q => b3/r}/a.java | 297 +- .../main/java/c/i/a/c/{e2/q => b3/r}/b.java | 24 +- .../main/java/c/i/a/c/{e2/q => b3/r}/c.java | 50 +- .../main/java/c/i/a/c/{e2/q => b3/r}/d.java | 32 +- .../main/java/c/i/a/c/{e2/r => b3/s}/a.java | 60 +- app/src/main/java/c/i/a/c/b3/s/b.java | 54 + .../main/java/c/i/a/c/{e2/s => b3/t}/a.java | 2 +- .../main/java/c/i/a/c/{e2/s => b3/t}/b.java | 14 +- .../main/java/c/i/a/c/{e2/s => b3/t}/c.java | 772 +- .../main/java/c/i/a/c/{e2/s => b3/t}/d.java | 140 +- .../main/java/c/i/a/c/{e2/s => b3/t}/e.java | 6 +- .../main/java/c/i/a/c/{e2/s => b3/t}/f.java | 38 +- .../main/java/c/i/a/c/{e2/s => b3/t}/g.java | 43 +- .../main/java/c/i/a/c/{e2/t => b3/u}/a.java | 139 +- .../main/java/c/i/a/c/{e2/t => b3/u}/b.java | 25 +- .../main/java/c/i/a/c/{e2/u => b3/v}/a.java | 4 +- .../main/java/c/i/a/c/{e2/u => b3/v}/b.java | 2 +- .../java/c/i/a/c/{e2/u/d.java => b3/v/c.java} | 63 +- .../java/c/i/a/c/{e2/u/e.java => b3/v/d.java} | 25 +- .../java/c/i/a/c/{e2/u/c.java => b3/v/e.java} | 54 +- .../main/java/c/i/a/c/{e2/u => b3/v}/f.java | 9 +- .../main/java/c/i/a/c/{e2/u => b3/v}/g.java | 14 +- .../main/java/c/i/a/c/{e2/u => b3/v}/h.java | 179 +- app/src/main/java/c/i/a/c/b3/v/i.java | 342 + .../main/java/c/i/a/c/{e2/u => b3/v}/j.java | 24 +- .../main/java/c/i/a/c/{e2/u => b3/v}/k.java | 40 +- app/src/main/java/c/i/a/c/c.java | 51 +- app/src/main/java/c/i/a/c/c0.java | 271 +- app/src/main/java/c/i/a/c/c1.java | 119 +- app/src/main/java/c/i/a/c/c2.java | 52 + app/src/main/java/c/i/a/c/c2/f.java | 203 - app/src/main/java/c/i/a/c/{f2 => c3}/a.java | 6 +- app/src/main/java/c/i/a/c/{f2 => c3}/b.java | 5 +- app/src/main/java/c/i/a/c/{f2 => c3}/c.java | 5 +- app/src/main/java/c/i/a/c/c3/d.java | 32 + app/src/main/java/c/i/a/c/c3/e.java | 35 + .../java/c/i/a/c/{f2/d.java => c3/f.java} | 42 +- app/src/main/java/c/i/a/c/c3/g.java | 137 + app/src/main/java/c/i/a/c/c3/h.java | 702 + app/src/main/java/c/i/a/c/c3/i.java | 12 + app/src/main/java/c/i/a/c/c3/j.java | 48 + app/src/main/java/c/i/a/c/c3/k.java | 14 + app/src/main/java/c/i/a/c/c3/l.java | 985 + app/src/main/java/c/i/a/c/c3/m.java | 16 + app/src/main/java/c/i/a/c/c3/n.java | 31 + app/src/main/java/c/i/a/c/c3/o.java | 90 + app/src/main/java/c/i/a/c/c3/p.java | 224 + app/src/main/java/c/i/a/c/c3/q.java | 18 + app/src/main/java/c/i/a/c/c3/r.java | 33 + app/src/main/java/c/i/a/c/d.java | 17 +- app/src/main/java/c/i/a/c/d0.java | 65 +- app/src/main/java/c/i/a/c/d1.java | 42 +- app/src/main/java/c/i/a/c/d2.java | 5 + app/src/main/java/c/i/a/c/d2/a.java | 112 - app/src/main/java/c/i/a/c/d2/b.java | 28 - app/src/main/java/c/i/a/c/d2/b0.java | 1212 - app/src/main/java/c/i/a/c/d2/c.java | 23 - app/src/main/java/c/i/a/c/d2/c0.java | 156 - app/src/main/java/c/i/a/c/d2/d.java | 21 - app/src/main/java/c/i/a/c/d2/d0.java | 148 - app/src/main/java/c/i/a/c/d2/e.java | 23 - app/src/main/java/c/i/a/c/d2/e0.java | 462 - app/src/main/java/c/i/a/c/d2/f.java | 23 - app/src/main/java/c/i/a/c/d2/h.java | 32 - app/src/main/java/c/i/a/c/d2/i.java | 22 - app/src/main/java/c/i/a/c/d2/i0.java | 83 - app/src/main/java/c/i/a/c/d2/j.java | 131 - app/src/main/java/c/i/a/c/d2/j0/a.java | 140 - app/src/main/java/c/i/a/c/d2/j0/b.java | 12 - app/src/main/java/c/i/a/c/d2/m.java | 189 - app/src/main/java/c/i/a/c/d2/n.java | 36 - app/src/main/java/c/i/a/c/d2/p.java | 56 - app/src/main/java/c/i/a/c/d2/s.java | 173 - app/src/main/java/c/i/a/c/d2/t.java | 224 - app/src/main/java/c/i/a/c/d2/v.java | 41 - app/src/main/java/c/i/a/c/d2/x.java | 15 - app/src/main/java/c/i/a/c/d2/y.java | 68 - app/src/main/java/c/i/a/c/d2/z.java | 114 - app/src/main/java/c/i/a/c/{g2 => d3}/a.java | 2 +- app/src/main/java/c/i/a/c/{g2 => d3}/b.java | 2 +- app/src/main/java/c/i/a/c/{g2 => d3}/c.java | 2 +- app/src/main/java/c/i/a/c/{g2 => d3}/d.java | 4 +- app/src/main/java/c/i/a/c/{g2 => d3}/e.java | 10 +- app/src/main/java/c/i/a/c/{g2 => d3}/f.java | 10 +- app/src/main/java/c/i/a/c/d3/g.java | 13 + app/src/main/java/c/i/a/c/d3/h.java | 13 + app/src/main/java/c/i/a/c/d3/i.java | 12 + .../java/c/i/a/c/{g2/g.java => d3/j.java} | 319 +- .../java/c/i/a/c/{e2/b.java => d3/k.java} | 12 +- .../java/c/i/a/c/{g2/h.java => d3/l.java} | 6 +- .../java/c/i/a/c/{g2/i.java => d3/m.java} | 8 +- .../java/c/i/a/c/{g2/j.java => d3/n.java} | 24 +- .../java/c/i/a/c/{g2/k.java => d3/o.java} | 12 +- .../java/c/i/a/c/{g2/l.java => d3/p.java} | 4 +- .../java/c/i/a/c/{g2/m.java => d3/q.java} | 6 +- app/src/main/java/c/i/a/c/d3/r.java | 683 + app/src/main/java/c/i/a/c/e.java | 29 +- app/src/main/java/c/i/a/c/e0.java | 134 +- app/src/main/java/c/i/a/c/e1.java | 66 +- app/src/main/java/c/i/a/c/e2.java | 8 + app/src/main/java/c/i/a/c/e2/a.java | 25 - app/src/main/java/c/i/a/c/e2/c.java | 135 - app/src/main/java/c/i/a/c/e2/e.java | 16 - app/src/main/java/c/i/a/c/e2/h.java | 9 - app/src/main/java/c/i/a/c/e2/j.java | 55 - app/src/main/java/c/i/a/c/e2/k.java | 7 - app/src/main/java/c/i/a/c/e2/m/b.java | 23 - app/src/main/java/c/i/a/c/e2/n/c.java | 32 - app/src/main/java/c/i/a/c/e2/o/a.java | 200 - app/src/main/java/c/i/a/c/e2/o/b.java | 33 - app/src/main/java/c/i/a/c/e2/r/b.java | 55 - app/src/main/java/c/i/a/c/e2/u/i.java | 290 - app/src/main/java/c/i/a/c/{h2 => e3}/a.java | 53 +- app/src/main/java/c/i/a/c/e3/a0.java | 11 + app/src/main/java/c/i/a/c/e3/b.java | 39 + .../main/java/c/i/a/c/{h2/y => e3/b0}/a.java | 2 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/b.java | 2 +- app/src/main/java/c/i/a/c/e3/b0/c.java | 388 + .../main/java/c/i/a/c/{h2/y => e3/b0}/d.java | 2 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/e.java | 2 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/f.java | 74 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/g.java | 2 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/h.java | 8 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/i.java | 6 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/j.java | 249 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/k.java | 4 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/l.java | 2 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/m.java | 2 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/n.java | 16 +- .../main/java/c/i/a/c/{h2/y => e3/b0}/o.java | 6 +- .../java/c/i/a/c/{i2/y.java => e3/b0/p.java} | 11 +- .../c/i/a/c/{h2/y/p.java => e3/b0/q.java} | 14 +- .../c/i/a/c/{h2/y/q.java => e3/b0/r.java} | 227 +- .../c/i/a/c/{h2/y/r.java => e3/b0/s.java} | 23 +- app/src/main/java/c/i/a/c/{i2 => e3}/c.java | 8 +- app/src/main/java/c/i/a/c/{i2 => e3}/d.java | 8 +- .../java/c/i/a/c/{h2/c.java => e3/e.java} | 6 +- .../java/c/i/a/c/{h2/d.java => e3/f.java} | 26 +- app/src/main/java/c/i/a/c/e3/g.java | 65 + .../java/c/i/a/c/{h2/f.java => e3/h.java} | 4 +- app/src/main/java/c/i/a/c/e3/i.java | 108 + .../java/c/i/a/c/{h2/h.java => e3/j.java} | 6 +- .../java/c/i/a/c/{h2/i.java => e3/k.java} | 6 +- .../java/c/i/a/c/{h2/j.java => e3/l.java} | 12 +- .../java/c/i/a/c/{h2/k.java => e3/m.java} | 14 +- .../java/c/i/a/c/{h2/l.java => e3/n.java} | 82 +- .../java/c/i/a/c/{h2/m.java => e3/o.java} | 40 +- app/src/main/java/c/i/a/c/e3/p.java | 3111 ++ .../java/c/i/a/c/{h2/o.java => e3/q.java} | 187 +- app/src/main/java/c/i/a/c/e3/r.java | 504 + .../java/c/i/a/c/{h2/r.java => e3/s.java} | 4 +- app/src/main/java/c/i/a/c/e3/t.java | 6 + .../java/c/i/a/c/{h2/t.java => e3/u.java} | 4 +- app/src/main/java/c/i/a/c/e3/v.java | 8 + .../java/c/i/a/c/{h2/u.java => e3/w.java} | 4 +- .../java/c/i/a/c/{i2/z.java => e3/x.java} | 34 +- .../java/c/i/a/c/{h2/v.java => e3/y.java} | 48 +- .../java/c/i/a/c/{h2/w.java => e3/z.java} | 56 +- app/src/main/java/c/i/a/c/f.java | 18 +- app/src/main/java/c/i/a/c/f0.java | 59 +- app/src/main/java/c/i/a/c/f1.java | 1060 +- app/src/main/java/c/i/a/c/f2.java | 67 + app/src/main/java/c/i/a/c/f2/e.java | 127 - app/src/main/java/c/i/a/c/f2/f.java | 12 - app/src/main/java/c/i/a/c/f2/g.java | 53 - app/src/main/java/c/i/a/c/f2/h.java | 19 - app/src/main/java/c/i/a/c/f2/i.java | 891 - app/src/main/java/c/i/a/c/f2/j.java | 14 - app/src/main/java/c/i/a/c/f2/k.java | 34 - app/src/main/java/c/i/a/c/f2/l.java | 18 - app/src/main/java/c/i/a/c/f2/m.java | 30 - app/src/main/java/c/i/a/c/{i2 => f3}/a.java | 20 +- app/src/main/java/c/i/a/c/f3/a0.java | 27 + app/src/main/java/c/i/a/c/f3/b.java | 35 + app/src/main/java/c/i/a/c/f3/b0.java | 120 + app/src/main/java/c/i/a/c/f3/c.java | 24 + .../java/c/i/a/c/{i2/d0.java => f3/c0.java} | 28 +- .../java/c/i/a/c/{i2/e.java => f3/d.java} | 6 +- .../java/c/i/a/c/{i2/e0.java => f3/d0.java} | 49 +- .../java/c/i/a/c/{i2/f.java => f3/e.java} | 28 +- .../java/c/i/a/c/{i2/f0.java => f3/e0.java} | 217 +- app/src/main/java/c/i/a/c/f3/f.java | 47 + app/src/main/java/c/i/a/c/{i2 => f3}/g.java | 10 +- app/src/main/java/c/i/a/c/f3/h.java | 35 + app/src/main/java/c/i/a/c/{i2 => f3}/i.java | 59 +- app/src/main/java/c/i/a/c/{i2 => f3}/j.java | 2 +- app/src/main/java/c/i/a/c/{i2 => f3}/k.java | 2 +- app/src/main/java/c/i/a/c/{i2 => f3}/l.java | 10 +- app/src/main/java/c/i/a/c/{i2 => f3}/m.java | 2 +- app/src/main/java/c/i/a/c/f3/n.java | 77 + app/src/main/java/c/i/a/c/f3/o.java | 30 + .../java/c/i/a/c/{i2/o.java => f3/p.java} | 73 +- .../java/c/i/a/c/{i2/p.java => f3/q.java} | 17 +- .../java/c/i/a/c/{i2/q.java => f3/r.java} | 8 +- app/src/main/java/c/i/a/c/f3/s.java | 11 + .../java/c/i/a/c/{i2/s.java => f3/t.java} | 91 +- app/src/main/java/c/i/a/c/f3/u.java | 516 + app/src/main/java/c/i/a/c/f3/v.java | 209 + .../java/c/i/a/c/{i2/v.java => f3/w.java} | 68 +- .../java/c/i/a/c/{i2/w.java => f3/x.java} | 138 +- .../java/c/i/a/c/{i2/x.java => f3/y.java} | 72 +- app/src/main/java/c/i/a/c/f3/z.java | 53 + app/src/main/java/c/i/a/c/g.java | 19 +- app/src/main/java/c/i/a/c/g0.java | 253 +- app/src/main/java/c/i/a/c/g1.java | 170 +- app/src/main/java/c/i/a/c/g2.java | 11 + app/src/main/java/c/i/a/c/g2/n.java | 670 - app/src/main/java/c/i/a/c/g2/o/b.java | 36 - app/src/main/java/c/i/a/c/g2/o/g.java | 4 - app/src/main/java/c/i/a/c/g3/a.java | 13 + app/src/main/java/c/i/a/c/g3/b.java | 28 + app/src/main/java/c/i/a/c/g3/c.java | 28 + app/src/main/java/c/i/a/c/g3/d.java | 23 + app/src/main/java/c/i/a/c/g3/e.java | 23 + app/src/main/java/c/i/a/c/g3/f.java | 24 + app/src/main/java/c/i/a/c/g3/g.java | 26 + app/src/main/java/c/i/a/c/g3/h.java | 26 + .../java/c/i/a/c/{v1/e.java => g3/i.java} | 20 +- app/src/main/java/c/i/a/c/g3/j.java | 23 + app/src/main/java/c/i/a/c/g3/k.java | 29 + app/src/main/java/c/i/a/c/g3/l.java | 26 + app/src/main/java/c/i/a/c/g3/m.java | 83 + app/src/main/java/c/i/a/c/g3/n.java | 85 + app/src/main/java/c/i/a/c/g3/o.java | 38 + .../java/c/i/a/c/{j2/l.java => g3/p.java} | 12 +- app/src/main/java/c/i/a/c/g3/q.java | 93 + .../java/c/i/a/c/{j2/n.java => g3/r.java} | 1729 +- app/src/main/java/c/i/a/c/g3/s.java | 127 + .../java/c/i/a/c/{j2/r.java => g3/t.java} | 4 +- app/src/main/java/c/i/a/c/g3/u.java | 9 + .../java/c/i/a/c/{j2/t.java => g3/v.java} | 221 +- app/src/main/java/c/i/a/c/g3/w.java | 9 + app/src/main/java/c/i/a/c/g3/x.java | 52 + app/src/main/java/c/i/a/c/g3/y.java | 48 + .../main/java/c/i/a/c/{g2/o => g3/z}/a.java | 10 +- .../java/c/i/a/c/{g2/o/c.java => g3/z/b.java} | 30 +- app/src/main/java/c/i/a/c/g3/z/c.java | 35 + .../java/c/i/a/c/{j2/x/a.java => g3/z/d.java} | 6 +- .../java/c/i/a/c/{j2/x/b.java => g3/z/e.java} | 78 +- .../java/c/i/a/c/{j2/x/c.java => g3/z/f.java} | 8 +- .../java/c/i/a/c/{g2/o/d.java => g3/z/g.java} | 13 +- .../java/c/i/a/c/{j2/x/d.java => g3/z/h.java} | 22 +- .../java/c/i/a/c/{g2/o/e.java => g3/z/i.java} | 31 +- .../java/c/i/a/c/{g2/o/f.java => g3/z/j.java} | 217 +- .../java/c/i/a/c/{g2/o/h.java => g3/z/k.java} | 262 +- .../java/c/i/a/c/{g2/o/i.java => g3/z/l.java} | 26 +- app/src/main/java/c/i/a/c/h.java | 20 +- app/src/main/java/c/i/a/c/h0.java | 89 +- app/src/main/java/c/i/a/c/h1.java | 2603 +- app/src/main/java/c/i/a/c/h2.java | 23 + app/src/main/java/c/i/a/c/h2/b.java | 18 - app/src/main/java/c/i/a/c/h2/e.java | 65 - app/src/main/java/c/i/a/c/h2/g.java | 97 - app/src/main/java/c/i/a/c/h2/n.java | 503 - app/src/main/java/c/i/a/c/h2/p.java | 30 - app/src/main/java/c/i/a/c/h2/q.java | 456 - app/src/main/java/c/i/a/c/h2/s.java | 6 - app/src/main/java/c/i/a/c/h2/x.java | 11 - app/src/main/java/c/i/a/c/h2/y/c.java | 392 - app/src/main/java/c/i/a/c/i.java | 23 +- app/src/main/java/c/i/a/c/i0.java | 29 +- app/src/main/java/c/i/a/c/i1.java | 59 +- app/src/main/java/c/i/a/c/i2.java | 11 + app/src/main/java/c/i/a/c/i2/a0.java | 54 - app/src/main/java/c/i/a/c/i2/b.java | 46 - app/src/main/java/c/i/a/c/i2/b0.java | 23 - app/src/main/java/c/i/a/c/i2/c0.java | 29 - app/src/main/java/c/i/a/c/i2/h.java | 54 - app/src/main/java/c/i/a/c/i2/r.java | 11 - app/src/main/java/c/i/a/c/i2/t.java | 22 - app/src/main/java/c/i/a/c/i2/u.java | 313 - app/src/main/java/c/i/a/c/j.java | 16 +- app/src/main/java/c/i/a/c/j0.java | 95 +- app/src/main/java/c/i/a/c/j1.java | 326 +- app/src/main/java/c/i/a/c/j2.java | 53 + app/src/main/java/c/i/a/c/j2/a.java | 28 - app/src/main/java/c/i/a/c/j2/b.java | 23 - app/src/main/java/c/i/a/c/j2/c.java | 24 - app/src/main/java/c/i/a/c/j2/d.java | 24 - app/src/main/java/c/i/a/c/j2/e.java | 26 - app/src/main/java/c/i/a/c/j2/g.java | 28 - app/src/main/java/c/i/a/c/j2/h.java | 32 - app/src/main/java/c/i/a/c/j2/i.java | 26 - app/src/main/java/c/i/a/c/j2/j.java | 83 - app/src/main/java/c/i/a/c/j2/k.java | 41 - app/src/main/java/c/i/a/c/j2/m.java | 68 - app/src/main/java/c/i/a/c/j2/o.java | 94 - app/src/main/java/c/i/a/c/j2/p.java | 22 - app/src/main/java/c/i/a/c/j2/q.java | 10 - app/src/main/java/c/i/a/c/j2/s.java | 9 - app/src/main/java/c/i/a/c/j2/u.java | 6 - app/src/main/java/c/i/a/c/j2/v.java | 9 - app/src/main/java/c/i/a/c/j2/w.java | 55 - app/src/main/java/c/i/a/c/k.java | 16 +- app/src/main/java/c/i/a/c/k0.java | 74 +- app/src/main/java/c/i/a/c/k1.java | 72 +- app/src/main/java/c/i/a/c/k2.java | 1137 + app/src/main/java/c/i/a/c/l.java | 19 +- app/src/main/java/c/i/a/c/l0.java | 240 +- app/src/main/java/c/i/a/c/l1.java | 37 +- app/src/main/java/c/i/a/c/l2.java | 43 + app/src/main/java/c/i/a/c/m.java | 20 +- app/src/main/java/c/i/a/c/m0.java | 72 +- app/src/main/java/c/i/a/c/m1.java | 23 +- app/src/main/java/c/i/a/c/m2.java | 111 + app/src/main/java/c/i/a/c/n.java | 16 +- app/src/main/java/c/i/a/c/n0.java | 21 +- app/src/main/java/c/i/a/c/n1.java | 23 +- app/src/main/java/c/i/a/c/n2.java | 35 + app/src/main/java/c/i/a/c/o.java | 19 +- app/src/main/java/c/i/a/c/o0.java | 648 +- app/src/main/java/c/i/a/c/o1.java | 518 +- app/src/main/java/c/i/a/c/o2.java | 436 + app/src/main/java/c/i/a/c/p.java | 17 +- app/src/main/java/c/i/a/c/p0.java | 25 +- app/src/main/java/c/i/a/c/p1.java | 1351 +- app/src/main/java/c/i/a/c/p2.java | 69 + app/src/main/java/c/i/a/c/q.java | 22 +- app/src/main/java/c/i/a/c/q0.java | 2607 +- app/src/main/java/c/i/a/c/q1.java | 270 +- app/src/main/java/c/i/a/c/q2.java | 33 + app/src/main/java/c/i/a/c/r.java | 18 +- app/src/main/java/c/i/a/c/r0.java | 227 +- app/src/main/java/c/i/a/c/r1.java | 417 +- app/src/main/java/c/i/a/c/r2.java | 31 + app/src/main/java/c/i/a/c/s.java | 19 +- app/src/main/java/c/i/a/c/s0.java | 64 +- app/src/main/java/c/i/a/c/s1.java | 416 +- app/src/main/java/c/i/a/c/s2/a.java | 20 + app/src/main/java/c/i/a/c/s2/a0.java | 20 + app/src/main/java/c/i/a/c/s2/a1.java | 19 + app/src/main/java/c/i/a/c/s2/b.java | 17 + app/src/main/java/c/i/a/c/s2/b0.java | 19 + app/src/main/java/c/i/a/c/s2/b1.java | 19 + app/src/main/java/c/i/a/c/s2/c.java | 19 + app/src/main/java/c/i/a/c/s2/c0.java | 25 + app/src/main/java/c/i/a/c/s2/c1.java | 23 + app/src/main/java/c/i/a/c/s2/d.java | 28 + app/src/main/java/c/i/a/c/s2/d0.java | 22 + app/src/main/java/c/i/a/c/s2/d1.java | 23 + app/src/main/java/c/i/a/c/s2/e.java | 21 + app/src/main/java/c/i/a/c/s2/e0.java | 19 + app/src/main/java/c/i/a/c/s2/e1.java | 17 + app/src/main/java/c/i/a/c/s2/f.java | 19 + app/src/main/java/c/i/a/c/s2/f0.java | 30 + app/src/main/java/c/i/a/c/s2/f1.java | 23 + app/src/main/java/c/i/a/c/s2/g.java | 20 + app/src/main/java/c/i/a/c/s2/g0.java | 19 + app/src/main/java/c/i/a/c/s2/g1.java | 801 + app/src/main/java/c/i/a/c/s2/h.java | 32 + app/src/main/java/c/i/a/c/s2/h0.java | 25 + .../java/c/i/a/c/{u1/d1.java => s2/h1.java} | 89 +- app/src/main/java/c/i/a/c/s2/i.java | 25 + app/src/main/java/c/i/a/c/s2/i0.java | 28 + app/src/main/java/c/i/a/c/s2/j.java | 22 + app/src/main/java/c/i/a/c/s2/j0.java | 23 + app/src/main/java/c/i/a/c/s2/k.java | 19 + app/src/main/java/c/i/a/c/s2/k0.java | 25 + app/src/main/java/c/i/a/c/s2/l.java | 22 + app/src/main/java/c/i/a/c/s2/l0.java | 28 + app/src/main/java/c/i/a/c/s2/m.java | 20 + app/src/main/java/c/i/a/c/s2/m0.java | 24 + app/src/main/java/c/i/a/c/s2/n.java | 23 + app/src/main/java/c/i/a/c/s2/n0.java | 19 + app/src/main/java/c/i/a/c/s2/o.java | 17 + app/src/main/java/c/i/a/c/s2/o0.java | 13 + app/src/main/java/c/i/a/c/s2/p.java | 23 + app/src/main/java/c/i/a/c/s2/p0.java | 21 + app/src/main/java/c/i/a/c/s2/q.java | 24 + app/src/main/java/c/i/a/c/s2/q0.java | 19 + app/src/main/java/c/i/a/c/s2/r.java | 28 + app/src/main/java/c/i/a/c/s2/r0.java | 20 + app/src/main/java/c/i/a/c/s2/s.java | 19 + app/src/main/java/c/i/a/c/s2/s0.java | 25 + app/src/main/java/c/i/a/c/s2/t.java | 19 + app/src/main/java/c/i/a/c/s2/t0.java | 17 + app/src/main/java/c/i/a/c/s2/u.java | 17 + app/src/main/java/c/i/a/c/s2/u0.java | 19 + app/src/main/java/c/i/a/c/s2/v.java | 20 + app/src/main/java/c/i/a/c/s2/v0.java | 17 + app/src/main/java/c/i/a/c/s2/w.java | 20 + app/src/main/java/c/i/a/c/s2/w0.java | 22 + app/src/main/java/c/i/a/c/s2/x.java | 19 + app/src/main/java/c/i/a/c/s2/x0.java | 17 + app/src/main/java/c/i/a/c/s2/y.java | 25 + app/src/main/java/c/i/a/c/s2/y0.java | 28 + app/src/main/java/c/i/a/c/s2/z.java | 23 + app/src/main/java/c/i/a/c/s2/z0.java | 19 + app/src/main/java/c/i/a/c/t.java | 53 +- app/src/main/java/c/i/a/c/t0.java | 139 +- app/src/main/java/c/i/a/c/t1.java | 32 +- app/src/main/java/c/i/a/c/{v1 => t2}/a.java | 18 +- .../java/c/i/a/c/{v1/z.java => t2/a0.java} | 30 +- app/src/main/java/c/i/a/c/t2/b.java | 28 + .../java/c/i/a/c/{v1/a0.java => t2/b0.java} | 12 +- app/src/main/java/c/i/a/c/{v1 => t2}/c.java | 18 +- .../java/c/i/a/c/{v1/b0.java => t2/c0.java} | 36 +- app/src/main/java/c/i/a/c/t2/d.java | 23 + .../java/c/i/a/c/{v1/c0.java => t2/d0.java} | 18 +- app/src/main/java/c/i/a/c/t2/e.java | 29 + .../java/c/i/a/c/{v1/d0.java => t2/e0.java} | 114 +- app/src/main/java/c/i/a/c/{j2 => t2}/f.java | 18 +- .../java/c/i/a/c/{v1/e0.java => t2/f0.java} | 26 +- app/src/main/java/c/i/a/c/t2/g.java | 23 + app/src/main/java/c/i/a/c/t2/h.java | 23 + .../java/c/i/a/c/{v1/h.java => t2/i.java} | 20 +- app/src/main/java/c/i/a/c/t2/j.java | 24 + .../java/c/i/a/c/{v1/j.java => t2/k.java} | 6 +- .../java/c/i/a/c/{v1/k.java => t2/l.java} | 93 +- .../java/c/i/a/c/{v1/l.java => t2/m.java} | 6 +- .../java/c/i/a/c/{v1/m.java => t2/n.java} | 42 +- app/src/main/java/c/i/a/c/t2/o.java | 51 + app/src/main/java/c/i/a/c/t2/p.java | 106 + app/src/main/java/c/i/a/c/t2/q.java | 9 + app/src/main/java/c/i/a/c/t2/r.java | 61 + .../java/c/i/a/c/{v1/r.java => t2/s.java} | 16 +- .../java/c/i/a/c/{v1/s.java => t2/t.java} | 64 +- .../java/c/i/a/c/{v1/t.java => t2/u.java} | 12 +- .../java/c/i/a/c/{v1/u.java => t2/v.java} | 14 +- .../java/c/i/a/c/{v1/v.java => t2/w.java} | 16 +- .../java/c/i/a/c/{v1/w.java => t2/x.java} | 6 +- .../java/c/i/a/c/{v1/x.java => t2/y.java} | 12 +- app/src/main/java/c/i/a/c/t2/z.java | 547 + app/src/main/java/c/i/a/c/u.java | 19 +- app/src/main/java/c/i/a/c/u0.java | 136 +- app/src/main/java/c/i/a/c/u1.java | 349 + app/src/main/java/c/i/a/c/u1/a.java | 13 - app/src/main/java/c/i/a/c/u1/a0.java | 17 - app/src/main/java/c/i/a/c/u1/a1.java | 22 - app/src/main/java/c/i/a/c/u1/b.java | 19 - app/src/main/java/c/i/a/c/u1/b0.java | 19 - app/src/main/java/c/i/a/c/u1/b1.java | 38 - app/src/main/java/c/i/a/c/u1/c.java | 19 - app/src/main/java/c/i/a/c/u1/c0.java | 19 - app/src/main/java/c/i/a/c/u1/c1.java | 696 - app/src/main/java/c/i/a/c/u1/d.java | 20 - app/src/main/java/c/i/a/c/u1/d0.java | 20 - app/src/main/java/c/i/a/c/u1/e.java | 20 - app/src/main/java/c/i/a/c/u1/e0.java | 17 - app/src/main/java/c/i/a/c/u1/f.java | 19 - app/src/main/java/c/i/a/c/u1/f0.java | 30 - app/src/main/java/c/i/a/c/u1/g.java | 19 - app/src/main/java/c/i/a/c/u1/g0.java | 19 - app/src/main/java/c/i/a/c/u1/h.java | 25 - app/src/main/java/c/i/a/c/u1/h0.java | 19 - app/src/main/java/c/i/a/c/u1/i.java | 22 - app/src/main/java/c/i/a/c/u1/i0.java | 25 - app/src/main/java/c/i/a/c/u1/j.java | 27 - app/src/main/java/c/i/a/c/u1/j0.java | 17 - app/src/main/java/c/i/a/c/u1/k.java | 25 - app/src/main/java/c/i/a/c/u1/k0.java | 17 - app/src/main/java/c/i/a/c/u1/l.java | 15 - app/src/main/java/c/i/a/c/u1/l0.java | 27 - app/src/main/java/c/i/a/c/u1/m.java | 25 - app/src/main/java/c/i/a/c/u1/m0.java | 27 - app/src/main/java/c/i/a/c/u1/n.java | 23 - app/src/main/java/c/i/a/c/u1/n0.java | 25 - app/src/main/java/c/i/a/c/u1/o.java | 24 - app/src/main/java/c/i/a/c/u1/o0.java | 23 - app/src/main/java/c/i/a/c/u1/p.java | 17 - app/src/main/java/c/i/a/c/u1/p0.java | 19 - app/src/main/java/c/i/a/c/u1/q.java | 20 - app/src/main/java/c/i/a/c/u1/q0.java | 19 - app/src/main/java/c/i/a/c/u1/r.java | 22 - app/src/main/java/c/i/a/c/u1/r0.java | 19 - app/src/main/java/c/i/a/c/u1/s.java | 19 - app/src/main/java/c/i/a/c/u1/s0.java | 23 - app/src/main/java/c/i/a/c/u1/t.java | 22 - app/src/main/java/c/i/a/c/u1/t0.java | 23 - app/src/main/java/c/i/a/c/u1/u.java | 19 - app/src/main/java/c/i/a/c/u1/u0.java | 20 - app/src/main/java/c/i/a/c/u1/v.java | 19 - app/src/main/java/c/i/a/c/u1/v0.java | 25 - app/src/main/java/c/i/a/c/u1/w.java | 25 - app/src/main/java/c/i/a/c/u1/w0.java | 17 - app/src/main/java/c/i/a/c/u1/x.java | 17 - app/src/main/java/c/i/a/c/u1/x0.java | 19 - app/src/main/java/c/i/a/c/u1/y.java | 17 - app/src/main/java/c/i/a/c/u1/y0.java | 19 - app/src/main/java/c/i/a/c/u1/z.java | 23 - app/src/main/java/c/i/a/c/u1/z0.java | 25 - app/src/main/java/c/i/a/c/{w1 => u2}/a.java | 2 +- app/src/main/java/c/i/a/c/u2/b.java | 10 + app/src/main/java/c/i/a/c/u2/c.java | 53 + app/src/main/java/c/i/a/c/u2/d.java | 54 + app/src/main/java/c/i/a/c/v.java | 19 +- app/src/main/java/c/i/a/c/v0.java | 540 +- app/src/main/java/c/i/a/c/v1.java | 27 + app/src/main/java/c/i/a/c/v1/b.java | 28 - app/src/main/java/c/i/a/c/v1/d.java | 28 - app/src/main/java/c/i/a/c/v1/f.java | 23 - app/src/main/java/c/i/a/c/v1/g.java | 23 - app/src/main/java/c/i/a/c/v1/i.java | 24 - app/src/main/java/c/i/a/c/v1/n.java | 52 - app/src/main/java/c/i/a/c/v1/o.java | 53 - app/src/main/java/c/i/a/c/v1/p.java | 7 - app/src/main/java/c/i/a/c/v1/q.java | 56 - app/src/main/java/c/i/a/c/v1/y.java | 530 - app/src/main/java/c/i/a/c/{x1 => v2}/a.java | 2 +- app/src/main/java/c/i/a/c/v2/b.java | 4 + .../java/c/i/a/c/{x1/b.java => v2/c.java} | 19 +- .../java/c/i/a/c/{x1/c.java => v2/d.java} | 4 +- .../java/c/i/a/c/{x1/d.java => v2/e.java} | 6 +- app/src/main/java/c/i/a/c/{x1 => v2}/f.java | 7 +- .../java/c/i/a/c/{x1/e.java => v2/g.java} | 28 +- .../java/c/i/a/c/{x1/g.java => v2/h.java} | 54 +- app/src/main/java/c/i/a/c/v2/i.java | 8 + app/src/main/java/c/i/a/c/w.java | 16 +- app/src/main/java/c/i/a/c/w0.java | 31 +- app/src/main/java/c/i/a/c/w1.java | 106 + app/src/main/java/c/i/a/c/w1/b.java | 59 - app/src/main/java/c/i/a/c/{z1 => w2}/a.java | 10 +- .../java/c/i/a/c/{z1/x.java => w2/a0.java} | 18 +- app/src/main/java/c/i/a/c/w2/b.java | 17 + .../java/c/i/a/c/{z1/y.java => w2/b0.java} | 19 +- app/src/main/java/c/i/a/c/w2/c.java | 17 + .../java/c/i/a/c/{z1/z.java => w2/c0.java} | 205 +- app/src/main/java/c/i/a/c/w2/d.java | 25 + app/src/main/java/c/i/a/c/w2/d0.java | 136 + app/src/main/java/c/i/a/c/w2/e.java | 29 + app/src/main/java/c/i/a/c/w2/e0.java | 4 + .../java/c/i/a/c/{z1/d.java => w2/f.java} | 6 +- app/src/main/java/c/i/a/c/w2/g.java | 19 + app/src/main/java/c/i/a/c/w2/h.java | 19 + app/src/main/java/c/i/a/c/w2/i.java | 19 + app/src/main/java/c/i/a/c/w2/j.java | 19 + app/src/main/java/c/i/a/c/w2/k.java | 21 + app/src/main/java/c/i/a/c/w2/l.java | 26 + app/src/main/java/c/i/a/c/w2/m.java | 11 + app/src/main/java/c/i/a/c/w2/n.java | 31 + .../java/c/i/a/c/{z1/m.java => w2/o.java} | 22 +- app/src/main/java/c/i/a/c/w2/p.java | 13 + app/src/main/java/c/i/a/c/w2/q.java | 13 + .../java/c/i/a/c/{z1/p.java => w2/r.java} | 63 +- app/src/main/java/c/i/a/c/w2/s.java | 111 + app/src/main/java/c/i/a/c/w2/t.java | 20 + app/src/main/java/c/i/a/c/w2/u.java | 62 + app/src/main/java/c/i/a/c/w2/v.java | 20 + app/src/main/java/c/i/a/c/w2/w.java | 38 + app/src/main/java/c/i/a/c/w2/x.java | 14 + .../java/c/i/a/c/{z1/u.java => w2/y.java} | 56 +- .../java/c/i/a/c/{z1/v.java => w2/z.java} | 28 +- app/src/main/java/c/i/a/c/x.java | 29 +- app/src/main/java/c/i/a/c/x0.java | 219 +- app/src/main/java/c/i/a/c/x1.java | 41 + app/src/main/java/c/i/a/c/{a2 => x2}/a.java | 62 +- app/src/main/java/c/i/a/c/x2/a0.java | 9 + app/src/main/java/c/i/a/c/{a2 => x2}/b.java | 4 +- .../java/c/i/a/c/{a2/a0.java => x2/b0.java} | 10 +- app/src/main/java/c/i/a/c/{a2 => x2}/c.java | 47 +- .../main/java/c/i/a/c/{a2/b0 => x2/c0}/a.java | 14 +- app/src/main/java/c/i/a/c/x2/c0/b.java | 210 + app/src/main/java/c/i/a/c/{a2 => x2}/d.java | 45 +- .../main/java/c/i/a/c/{a2/c0 => x2/d0}/a.java | 12 +- .../main/java/c/i/a/c/{a2/c0 => x2/d0}/b.java | 8 +- .../main/java/c/i/a/c/{a2/c0 => x2/d0}/c.java | 42 +- .../main/java/c/i/a/c/{a2/c0 => x2/d0}/d.java | 291 +- app/src/main/java/c/i/a/c/{a2 => x2}/e.java | 66 +- .../main/java/c/i/a/c/{a2/d0 => x2/e0}/a.java | 12 +- .../main/java/c/i/a/c/{a2/d0 => x2/e0}/b.java | 74 +- .../main/java/c/i/a/c/{a2/d0 => x2/e0}/c.java | 96 +- .../main/java/c/i/a/c/{a2/d0 => x2/e0}/d.java | 74 +- .../main/java/c/i/a/c/{a2/d0 => x2/e0}/e.java | 71 +- app/src/main/java/c/i/a/c/x2/f.java | 143 + .../main/java/c/i/a/c/{a2/e0 => x2/f0}/a.java | 112 +- .../main/java/c/i/a/c/{a2/e0 => x2/f0}/b.java | 6 +- .../main/java/c/i/a/c/{a2/e0 => x2/f0}/c.java | 41 +- .../main/java/c/i/a/c/{a2/e0 => x2/f0}/d.java | 26 +- .../main/java/c/i/a/c/{a2/e0 => x2/f0}/e.java | 108 +- app/src/main/java/c/i/a/c/x2/g.java | 48 + .../main/java/c/i/a/c/{a2/f0 => x2/g0}/a.java | 12 +- .../main/java/c/i/a/c/{a2/f0 => x2/g0}/b.java | 14 +- .../main/java/c/i/a/c/{a2/f0 => x2/g0}/c.java | 2 +- .../main/java/c/i/a/c/{a2/f0 => x2/g0}/d.java | 2 +- .../main/java/c/i/a/c/{a2/f0 => x2/g0}/e.java | 2845 +- .../main/java/c/i/a/c/{a2/f0 => x2/g0}/f.java | 12 +- .../main/java/c/i/a/c/{a2/f0 => x2/g0}/g.java | 14 +- app/src/main/java/c/i/a/c/{a2 => x2}/h.java | 2 +- .../main/java/c/i/a/c/{a2/g0 => x2/h0}/a.java | 12 +- .../main/java/c/i/a/c/{a2/g0 => x2/h0}/b.java | 6 +- app/src/main/java/c/i/a/c/x2/h0/c.java | 20 + app/src/main/java/c/i/a/c/x2/h0/d.java | 66 + .../main/java/c/i/a/c/{a2/g0 => x2/h0}/e.java | 33 +- .../main/java/c/i/a/c/{a2/g0 => x2/h0}/f.java | 429 +- .../main/java/c/i/a/c/{a2/g0 => x2/h0}/g.java | 8 +- .../main/java/c/i/a/c/{a2/g0 => x2/h0}/h.java | 28 +- .../main/java/c/i/a/c/{a2/g0 => x2/h0}/i.java | 34 +- app/src/main/java/c/i/a/c/{a2 => x2}/i.java | 12 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/a.java | 2 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/b.java | 12 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/c.java | 2 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/d.java | 37 +- app/src/main/java/c/i/a/c/x2/i0/e.java | 1993 ++ .../main/java/c/i/a/c/{a2/h0 => x2/i0}/f.java | 6 +- app/src/main/java/c/i/a/c/x2/i0/g.java | 1403 + .../main/java/c/i/a/c/{a2/h0 => x2/i0}/h.java | 103 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/i.java | 889 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/j.java | 6 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/k.java | 8 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/l.java | 44 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/m.java | 14 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/n.java | 14 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/o.java | 25 +- .../main/java/c/i/a/c/{a2/h0 => x2/i0}/p.java | 18 +- app/src/main/java/c/i/a/c/{a2 => x2}/j.java | 8 +- .../main/java/c/i/a/c/{a2/i0 => x2/j0}/a.java | 12 +- .../main/java/c/i/a/c/{a2/i0 => x2/j0}/b.java | 83 +- .../main/java/c/i/a/c/{a2/i0 => x2/j0}/c.java | 64 +- .../main/java/c/i/a/c/{a2/i0 => x2/j0}/d.java | 105 +- .../main/java/c/i/a/c/{a2/i0 => x2/j0}/e.java | 57 +- app/src/main/java/c/i/a/c/x2/j0/f.java | 103 + .../main/java/c/i/a/c/{a2/i0 => x2/j0}/g.java | 6 +- .../main/java/c/i/a/c/{a2/i0 => x2/j0}/h.java | 36 +- .../main/java/c/i/a/c/{a2/i0 => x2/j0}/i.java | 27 +- app/src/main/java/c/i/a/c/x2/j0/j.java | 407 + app/src/main/java/c/i/a/c/{a2 => x2}/k.java | 4 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/a.java | 12 +- .../java/c/i/a/c/{a2/j0 => x2/k0}/a0.java | 32 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/b.java | 12 +- app/src/main/java/c/i/a/c/x2/k0/b0.java | 341 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/c.java | 12 +- app/src/main/java/c/i/a/c/x2/k0/c0.java | 12 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/d.java | 12 +- .../java/c/i/a/c/{a2/j0 => x2/k0}/d0.java | 75 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/e.java | 12 +- app/src/main/java/c/i/a/c/x2/k0/e0.java | 43 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/f.java | 70 +- .../java/c/i/a/c/{a2/j0 => x2/k0}/f0.java | 57 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/g.java | 314 +- .../java/c/i/a/c/{a2/j0 => x2/k0}/g0.java | 16 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/h.java | 70 +- .../java/c/i/a/c/{a2/j0 => x2/k0}/h0.java | 609 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/i.java | 104 +- .../java/c/i/a/c/{a2/j0 => x2/k0}/i0.java | 31 +- app/src/main/java/c/i/a/c/x2/k0/j.java | 204 + app/src/main/java/c/i/a/c/x2/k0/j0.java | 51 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/k.java | 195 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/l.java | 136 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/m.java | 160 +- app/src/main/java/c/i/a/c/x2/k0/n.java | 101 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/o.java | 10 +- app/src/main/java/c/i/a/c/x2/k0/p.java | 425 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/q.java | 329 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/r.java | 336 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/s.java | 363 +- app/src/main/java/c/i/a/c/x2/k0/t.java | 89 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/u.java | 210 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/v.java | 92 +- .../main/java/c/i/a/c/{a2/j0 => x2/k0}/w.java | 10 +- app/src/main/java/c/i/a/c/x2/k0/x.java | 58 + .../main/java/c/i/a/c/{a2/j0 => x2/k0}/y.java | 116 +- app/src/main/java/c/i/a/c/x2/k0/z.java | 104 + app/src/main/java/c/i/a/c/{a2 => x2}/l.java | 2 +- .../main/java/c/i/a/c/{a2/k0 => x2/l0}/a.java | 12 +- app/src/main/java/c/i/a/c/x2/l0/b.java | 380 + .../main/java/c/i/a/c/{a2/k0 => x2/l0}/c.java | 8 +- .../main/java/c/i/a/c/{a2/k0 => x2/l0}/d.java | 14 +- .../main/java/c/i/a/c/{a2/k0 => x2/l0}/e.java | 26 +- app/src/main/java/c/i/a/c/{a2 => x2}/m.java | 60 +- app/src/main/java/c/i/a/c/{a2 => x2}/n.java | 16 +- app/src/main/java/c/i/a/c/{a2 => x2}/o.java | 54 +- app/src/main/java/c/i/a/c/{a2 => x2}/p.java | 10 +- app/src/main/java/c/i/a/c/{a2 => x2}/q.java | 24 +- app/src/main/java/c/i/a/c/{a2 => x2}/r.java | 22 +- app/src/main/java/c/i/a/c/{a2 => x2}/s.java | 2 +- app/src/main/java/c/i/a/c/{a2 => x2}/t.java | 18 +- app/src/main/java/c/i/a/c/{a2 => x2}/u.java | 16 +- app/src/main/java/c/i/a/c/x2/v.java | 15 + app/src/main/java/c/i/a/c/{a2 => x2}/w.java | 25 +- app/src/main/java/c/i/a/c/x2/x.java | 62 + .../java/c/i/a/c/{a2/x.java => x2/y.java} | 20 +- .../java/c/i/a/c/{a2/y.java => x2/z.java} | 6 +- app/src/main/java/c/i/a/c/y.java | 42 +- app/src/main/java/c/i/a/c/y0.java | 92 +- app/src/main/java/c/i/a/c/y1.java | 314 + app/src/main/java/c/i/a/c/y1/a.java | 32 - app/src/main/java/c/i/a/c/y1/b.java | 7 - app/src/main/java/c/i/a/c/{b2 => y2}/a.java | 4 +- app/src/main/java/c/i/a/c/{b2 => y2}/b.java | 4 +- app/src/main/java/c/i/a/c/{b2 => y2}/c.java | 16 +- app/src/main/java/c/i/a/c/{b2 => y2}/d.java | 2 +- app/src/main/java/c/i/a/c/{b2 => y2}/e.java | 8 +- app/src/main/java/c/i/a/c/{b2 => y2}/f.java | 4 +- app/src/main/java/c/i/a/c/{b2 => y2}/g.java | 12 +- app/src/main/java/c/i/a/c/{b2 => y2}/h.java | 2 +- app/src/main/java/c/i/a/c/y2/i.java | 24 + app/src/main/java/c/i/a/c/{b2 => y2}/j.java | 2 +- app/src/main/java/c/i/a/c/{b2 => y2}/k.java | 6 +- app/src/main/java/c/i/a/c/{b2 => y2}/l.java | 282 +- app/src/main/java/c/i/a/c/{b2 => y2}/m.java | 14 +- app/src/main/java/c/i/a/c/{b2 => y2}/n.java | 32 +- app/src/main/java/c/i/a/c/{b2 => y2}/o.java | 38 +- app/src/main/java/c/i/a/c/{b2 => y2}/p.java | 12 +- app/src/main/java/c/i/a/c/{b2 => y2}/q.java | 8 +- app/src/main/java/c/i/a/c/y2/r.java | 97 + .../java/c/i/a/c/{i2/n.java => y2/s.java} | 18 +- app/src/main/java/c/i/a/c/y2/t.java | 84 + .../java/c/i/a/c/{b2/s.java => y2/u.java} | 200 +- .../java/c/i/a/c/{b2/t.java => y2/v.java} | 6 +- app/src/main/java/c/i/a/c/y2/w.java | 127 + app/src/main/java/c/i/a/c/z.java | 19 +- app/src/main/java/c/i/a/c/z0.java | 503 +- app/src/main/java/c/i/a/c/z1.java | 71 + app/src/main/java/c/i/a/c/z1/a0.java | 128 - app/src/main/java/c/i/a/c/z1/b.java | 13 - app/src/main/java/c/i/a/c/z1/b0.java | 4 - app/src/main/java/c/i/a/c/z1/c.java | 17 - app/src/main/java/c/i/a/c/z1/c0.java | 4 - app/src/main/java/c/i/a/c/z1/e.java | 19 - app/src/main/java/c/i/a/c/z1/f.java | 19 - app/src/main/java/c/i/a/c/z1/g.java | 19 - app/src/main/java/c/i/a/c/z1/h.java | 19 - app/src/main/java/c/i/a/c/z1/i.java | 19 - app/src/main/java/c/i/a/c/z1/j.java | 21 - app/src/main/java/c/i/a/c/z1/k.java | 12 - app/src/main/java/c/i/a/c/z1/l.java | 26 - app/src/main/java/c/i/a/c/z1/n.java | 13 - app/src/main/java/c/i/a/c/z1/o.java | 13 - app/src/main/java/c/i/a/c/z1/q.java | 111 - app/src/main/java/c/i/a/c/z1/r.java | 9 - app/src/main/java/c/i/a/c/z1/s.java | 53 - app/src/main/java/c/i/a/c/z1/t.java | 4 - app/src/main/java/c/i/a/c/z1/w.java | 4 - app/src/main/java/c/i/a/c/{c2 => z2}/a.java | 10 +- app/src/main/java/c/i/a/c/{c2 => z2}/b.java | 2 +- app/src/main/java/c/i/a/c/{c2 => z2}/c.java | 34 +- app/src/main/java/c/i/a/c/{c2 => z2}/d.java | 2 +- app/src/main/java/c/i/a/c/{c2 => z2}/e.java | 4 +- app/src/main/java/c/i/a/c/z2/f.java | 191 + app/src/main/java/c/i/a/c/{c2 => z2}/g.java | 6 +- app/src/main/java/c/i/a/c/{c2 => z2}/h/a.java | 62 +- app/src/main/java/c/i/a/c/{c2 => z2}/i/a.java | 18 +- app/src/main/java/c/i/a/c/{c2 => z2}/i/b.java | 10 +- app/src/main/java/c/i/a/c/{c2 => z2}/j/a.java | 38 +- app/src/main/java/c/i/a/c/{c2 => z2}/k/a.java | 6 +- app/src/main/java/c/i/a/c/{c2 => z2}/k/b.java | 476 +- app/src/main/java/c/i/a/c/{c2 => z2}/l/a.java | 167 +- app/src/main/java/c/i/a/d/a/a.java | 6 +- app/src/main/java/c/i/a/e/b.java | 10 +- app/src/main/java/c/i/a/e/c.java | 270 +- app/src/main/java/c/i/a/f/b/f.java | 4 +- app/src/main/java/c/i/a/f/c/a/a.java | 34 +- app/src/main/java/c/i/a/f/c/a/b.java | 6 +- app/src/main/java/c/i/a/f/c/a/d/b.java | 2 +- app/src/main/java/c/i/a/f/c/a/d/d.java | 4 +- app/src/main/java/c/i/a/f/c/a/d/e.java | 24 +- app/src/main/java/c/i/a/f/c/a/d/f.java | 18 +- app/src/main/java/c/i/a/f/c/a/d/g.java | 26 +- app/src/main/java/c/i/a/f/c/a/d/i.java | 12 +- app/src/main/java/c/i/a/f/c/a/e/a.java | 2 +- app/src/main/java/c/i/a/f/c/a/e/b.java | 4 +- app/src/main/java/c/i/a/f/c/a/f/a.java | 2 +- app/src/main/java/c/i/a/f/c/a/f/b/a.java | 20 +- app/src/main/java/c/i/a/f/c/a/f/b/b.java | 14 +- app/src/main/java/c/i/a/f/c/a/f/b/f.java | 4 +- app/src/main/java/c/i/a/f/c/a/f/b/m.java | 4 +- app/src/main/java/c/i/a/f/c/a/f/b/q.java | 5 +- app/src/main/java/c/i/a/f/c/a/f/b/s.java | 12 +- app/src/main/java/c/i/a/f/c/a/f/d.java | 32 +- app/src/main/java/c/i/a/f/c/a/f/f.java | 30 +- app/src/main/java/c/i/a/f/c/a/f/g.java | 14 +- app/src/main/java/c/i/a/f/c/a/g.java | 4 +- app/src/main/java/c/i/a/f/c/a/h.java | 6 +- app/src/main/java/c/i/a/f/c/a/i.java | 4 +- app/src/main/java/c/i/a/f/d/a.java | 15 +- app/src/main/java/c/i/a/f/d/b.java | 12 +- app/src/main/java/c/i/a/f/d/c.java | 10 +- app/src/main/java/c/i/a/f/d/f.java | 4 +- app/src/main/java/c/i/a/f/d/g.java | 8 +- app/src/main/java/c/i/a/f/d/k.java | 4 +- app/src/main/java/c/i/a/f/d/l.java | 2 +- app/src/main/java/c/i/a/f/d/q.java | 24 +- app/src/main/java/c/i/a/f/d/r.java | 22 +- app/src/main/java/c/i/a/f/d/w.java | 3 +- app/src/main/java/c/i/a/f/d/x.java | 10 +- app/src/main/java/c/i/a/f/d/y.java | 8 +- app/src/main/java/c/i/a/f/e/a0.java | 6 +- app/src/main/java/c/i/a/f/e/b0.java | 16 +- app/src/main/java/c/i/a/f/e/c.java | 72 +- app/src/main/java/c/i/a/f/e/e.java | 2 +- app/src/main/java/c/i/a/f/e/f.java | 10 +- app/src/main/java/c/i/a/f/e/h/a.java | 16 +- app/src/main/java/c/i/a/f/e/h/b.java | 50 +- app/src/main/java/c/i/a/f/e/h/h.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/a.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/a1.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/b.java | 6 +- app/src/main/java/c/i/a/f/e/h/j/b0.java | 4 +- app/src/main/java/c/i/a/f/e/h/j/c0.java | 4 +- app/src/main/java/c/i/a/f/e/h/j/d.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/d0.java | 4 +- app/src/main/java/c/i/a/f/e/h/j/d1.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/e1.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/g.java | 134 +- app/src/main/java/c/i/a/f/e/h/j/g0.java | 10 +- app/src/main/java/c/i/a/f/e/h/j/h.java | 8 +- app/src/main/java/c/i/a/f/e/h/j/i0.java | 18 +- app/src/main/java/c/i/a/f/e/h/j/k.java | 6 +- app/src/main/java/c/i/a/f/e/h/j/k0.java | 6 +- app/src/main/java/c/i/a/f/e/h/j/n0.java | 16 +- app/src/main/java/c/i/a/f/e/h/j/o0.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/p0.java | 14 +- app/src/main/java/c/i/a/f/e/h/j/q0.java | 16 +- app/src/main/java/c/i/a/f/e/h/j/v0.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/w.java | 2 +- app/src/main/java/c/i/a/f/e/h/j/z.java | 6 +- app/src/main/java/c/i/a/f/e/h/l.java | 12 +- app/src/main/java/c/i/a/f/e/h/m.java | 18 +- app/src/main/java/c/i/a/f/e/j/a.java | 18 +- app/src/main/java/c/i/a/f/e/k/a0.java | 16 +- app/src/main/java/c/i/a/f/e/k/b.java | 48 +- app/src/main/java/c/i/a/f/e/k/b0.java | 22 +- app/src/main/java/c/i/a/f/e/k/c.java | 8 +- app/src/main/java/c/i/a/f/e/k/c0.java | 34 +- app/src/main/java/c/i/a/f/e/k/d.java | 22 +- app/src/main/java/c/i/a/f/e/k/e.java | 8 +- app/src/main/java/c/i/a/f/e/k/e0.java | 12 +- app/src/main/java/c/i/a/f/e/k/f.java | 2 +- app/src/main/java/c/i/a/f/e/k/f0.java | 12 +- app/src/main/java/c/i/a/f/e/k/g.java | 6 +- app/src/main/java/c/i/a/f/e/k/g0.java | 8 +- app/src/main/java/c/i/a/f/e/k/l0.java | 2 +- app/src/main/java/c/i/a/f/e/k/m.java | 3 +- app/src/main/java/c/i/a/f/e/k/q.java | 4 +- app/src/main/java/c/i/a/f/e/k/q0.java | 4 +- app/src/main/java/c/i/a/f/e/k/s0.java | 18 +- app/src/main/java/c/i/a/f/e/k/t.java | 10 +- app/src/main/java/c/i/a/f/e/k/x.java | 16 +- app/src/main/java/c/i/a/f/e/k/y.java | 18 +- app/src/main/java/c/i/a/f/e/l/a.java | 20 +- app/src/main/java/c/i/a/f/e/m/a.java | 4 +- app/src/main/java/c/i/a/f/e/m/b.java | 2 +- app/src/main/java/c/i/a/f/e/n/a.java | 12 +- app/src/main/java/c/i/a/f/e/o/c.java | 1873 +- app/src/main/java/c/i/a/f/e/o/d.java | 18 +- app/src/main/java/c/i/a/f/e/o/e.java | 56 +- app/src/main/java/c/i/a/f/e/o/f.java | 2936 +- app/src/main/java/c/i/a/f/e/o/i.java | 4 +- app/src/main/java/c/i/a/f/e/p/a.java | 6 +- app/src/main/java/c/i/a/f/e/q.java | 16 +- app/src/main/java/c/i/a/f/e/r.java | 14 +- app/src/main/java/c/i/a/f/e/s.java | 10 +- app/src/main/java/c/i/a/f/e/t.java | 2 +- app/src/main/java/c/i/a/f/e/u.java | 4 +- app/src/main/java/c/i/a/f/e/v.java | 4 +- app/src/main/java/c/i/a/f/e/w.java | 6 +- app/src/main/java/c/i/a/f/f/a.java | 10 +- app/src/main/java/c/i/a/f/f/b.java | 2 +- app/src/main/java/c/i/a/f/g/b.java | 8 +- app/src/main/java/c/i/a/f/g/c.java | 10 +- app/src/main/java/c/i/a/f/g/d.java | 10 +- app/src/main/java/c/i/a/f/g/f.java | 8 +- app/src/main/java/c/i/a/f/g/h.java | 4 +- app/src/main/java/c/i/a/f/h/b/b.java | 4 +- app/src/main/java/c/i/a/f/h/c/e.java | 4 +- app/src/main/java/c/i/a/f/h/c/o.java | 12 +- app/src/main/java/c/i/a/f/h/c/p.java | 10 +- app/src/main/java/c/i/a/f/h/c/u.java | 10 +- app/src/main/java/c/i/a/f/h/d/a.java | 4 +- app/src/main/java/c/i/a/f/h/e/a.java | 2 +- app/src/main/java/c/i/a/f/h/j/a.java | 10 +- app/src/main/java/c/i/a/f/h/j/a0.java | 12 +- app/src/main/java/c/i/a/f/h/j/a1.java | 8 +- app/src/main/java/c/i/a/f/h/j/b1.java | 2 +- app/src/main/java/c/i/a/f/h/j/c0.java | 6 +- app/src/main/java/c/i/a/f/h/j/d.java | 12 +- app/src/main/java/c/i/a/f/h/j/e.java | 6 +- app/src/main/java/c/i/a/f/h/j/e0.java | 10 +- app/src/main/java/c/i/a/f/h/j/f1.java | 4 +- app/src/main/java/c/i/a/f/h/j/g.java | 29 +- app/src/main/java/c/i/a/f/h/j/h.java | 2 +- app/src/main/java/c/i/a/f/h/j/h0.java | 2 +- app/src/main/java/c/i/a/f/h/j/i0.java | 2 +- app/src/main/java/c/i/a/f/h/j/j.java | 6 +- app/src/main/java/c/i/a/f/h/j/j0.java | 28 +- app/src/main/java/c/i/a/f/h/j/k.java | 2 +- app/src/main/java/c/i/a/f/h/j/l.java | 8 +- app/src/main/java/c/i/a/f/h/j/m.java | 2 +- app/src/main/java/c/i/a/f/h/j/m0.java | 16 +- app/src/main/java/c/i/a/f/h/j/n0.java | 12 +- app/src/main/java/c/i/a/f/h/j/o.java | 52 +- app/src/main/java/c/i/a/f/h/j/o0.java | 71 +- app/src/main/java/c/i/a/f/h/j/p.java | 8 +- app/src/main/java/c/i/a/f/h/j/p0.java | 8 +- app/src/main/java/c/i/a/f/h/j/q.java | 26 +- app/src/main/java/c/i/a/f/h/j/r.java | 135 +- app/src/main/java/c/i/a/f/h/j/r0.java | 5 +- app/src/main/java/c/i/a/f/h/j/s0.java | 6 +- app/src/main/java/c/i/a/f/h/j/t0.java | 14 +- app/src/main/java/c/i/a/f/h/j/u.java | 32 +- app/src/main/java/c/i/a/f/h/j/u0.java | 2 +- app/src/main/java/c/i/a/f/h/j/v0.java | 2 +- app/src/main/java/c/i/a/f/h/j/y.java | 2 +- app/src/main/java/c/i/a/f/h/j/y0.java | 6 +- app/src/main/java/c/i/a/f/h/j/z.java | 8 +- app/src/main/java/c/i/a/f/h/k/j.java | 4 +- app/src/main/java/c/i/a/f/h/k/k.java | 6 +- app/src/main/java/c/i/a/f/h/k/m.java | 16 +- app/src/main/java/c/i/a/f/h/k/n.java | 14 +- app/src/main/java/c/i/a/f/h/k/o.java | 16 +- app/src/main/java/c/i/a/f/h/k/p.java | 12 +- app/src/main/java/c/i/a/f/h/k/r.java | 14 +- app/src/main/java/c/i/a/f/h/k/s.java | 26 +- app/src/main/java/c/i/a/f/h/k/t.java | 10 +- app/src/main/java/c/i/a/f/h/k/u.java | 26 +- app/src/main/java/c/i/a/f/h/l/a3.java | 4 +- app/src/main/java/c/i/a/f/h/l/a9.java | 4 +- app/src/main/java/c/i/a/f/h/l/b3.java | 6 +- app/src/main/java/c/i/a/f/h/l/b5.java | 2 +- app/src/main/java/c/i/a/f/h/l/b8.java | 4 +- app/src/main/java/c/i/a/f/h/l/bb.java | 4 +- app/src/main/java/c/i/a/f/h/l/c0.java | 6 +- app/src/main/java/c/i/a/f/h/l/c2.java | 10 +- app/src/main/java/c/i/a/f/h/l/c3.java | 4 +- app/src/main/java/c/i/a/f/h/l/c7.java | 20 +- app/src/main/java/c/i/a/f/h/l/c8.java | 4 +- app/src/main/java/c/i/a/f/h/l/cb.java | 4 +- app/src/main/java/c/i/a/f/h/l/d5.java | 2 +- app/src/main/java/c/i/a/f/h/l/da.java | 4 +- app/src/main/java/c/i/a/f/h/l/dc.java | 22 +- app/src/main/java/c/i/a/f/h/l/e1.java | 4 +- app/src/main/java/c/i/a/f/h/l/e6.java | 398 +- app/src/main/java/c/i/a/f/h/l/e7.java | 16 +- app/src/main/java/c/i/a/f/h/l/ea.java | 4 +- app/src/main/java/c/i/a/f/h/l/f4.java | 9 +- app/src/main/java/c/i/a/f/h/l/f5.java | 2 +- app/src/main/java/c/i/a/f/h/l/f7.java | 8 +- app/src/main/java/c/i/a/f/h/l/f9.java | 4 +- app/src/main/java/c/i/a/f/h/l/g.java | 31 +- app/src/main/java/c/i/a/f/h/l/g4.java | 4 +- app/src/main/java/c/i/a/f/h/l/g6.java | 34 +- app/src/main/java/c/i/a/f/h/l/g9.java | 4 +- app/src/main/java/c/i/a/f/h/l/ga.java | 6 +- app/src/main/java/c/i/a/f/h/l/h.java | 22 +- app/src/main/java/c/i/a/f/h/l/h4.java | 4 +- app/src/main/java/c/i/a/f/h/l/h8.java | 4 +- app/src/main/java/c/i/a/f/h/l/h9.java | 6 +- app/src/main/java/c/i/a/f/h/l/hb.java | 4 +- app/src/main/java/c/i/a/f/h/l/i8.java | 4 +- app/src/main/java/c/i/a/f/h/l/ib.java | 4 +- app/src/main/java/c/i/a/f/h/l/j.java | 4 +- app/src/main/java/c/i/a/f/h/l/j5.java | 8 +- app/src/main/java/c/i/a/f/h/l/j7.java | 333 +- app/src/main/java/c/i/a/f/h/l/ja.java | 4 +- app/src/main/java/c/i/a/f/h/l/k5.java | 22 +- app/src/main/java/c/i/a/f/h/l/ka.java | 4 +- app/src/main/java/c/i/a/f/h/l/l2.java | 12 +- app/src/main/java/c/i/a/f/h/l/l3.java | 14 +- app/src/main/java/c/i/a/f/h/l/l7.java | 14 +- app/src/main/java/c/i/a/f/h/l/l9.java | 4 +- app/src/main/java/c/i/a/f/h/l/la.java | 6 +- app/src/main/java/c/i/a/f/h/l/m2.java | 2 +- app/src/main/java/c/i/a/f/h/l/m6.java | 9 +- app/src/main/java/c/i/a/f/h/l/m9.java | 4 +- app/src/main/java/c/i/a/f/h/l/n4.java | 12 +- app/src/main/java/c/i/a/f/h/l/n5.java | 2 +- app/src/main/java/c/i/a/f/h/l/n6.java | 8 +- app/src/main/java/c/i/a/f/h/l/n7.java | 14 +- app/src/main/java/c/i/a/f/h/l/n8.java | 4 +- app/src/main/java/c/i/a/f/h/l/nb.java | 4 +- app/src/main/java/c/i/a/f/h/l/o2.java | 2 +- app/src/main/java/c/i/a/f/h/l/o3.java | 2 +- app/src/main/java/c/i/a/f/h/l/o4.java | 4 +- app/src/main/java/c/i/a/f/h/l/o5.java | 10 +- app/src/main/java/c/i/a/f/h/l/o6.java | 4 +- app/src/main/java/c/i/a/f/h/l/o7.java | 10 +- app/src/main/java/c/i/a/f/h/l/o8.java | 4 +- app/src/main/java/c/i/a/f/h/l/ob.java | 4 +- app/src/main/java/c/i/a/f/h/l/p2.java | 4 +- app/src/main/java/c/i/a/f/h/l/p4.java | 6 +- app/src/main/java/c/i/a/f/h/l/p8.java | 30 +- app/src/main/java/c/i/a/f/h/l/pa.java | 4 +- app/src/main/java/c/i/a/f/h/l/q5.java | 9 +- app/src/main/java/c/i/a/f/h/l/qa.java | 4 +- app/src/main/java/c/i/a/f/h/l/r3.java | 9 +- app/src/main/java/c/i/a/f/h/l/r9.java | 4 +- app/src/main/java/c/i/a/f/h/l/s2.java | 4 +- app/src/main/java/c/i/a/f/h/l/s3.java | 2 +- app/src/main/java/c/i/a/f/h/l/s6.java | 14 +- app/src/main/java/c/i/a/f/h/l/s9.java | 4 +- app/src/main/java/c/i/a/f/h/l/t3.java | 19 +- app/src/main/java/c/i/a/f/h/l/t4.java | 9 +- app/src/main/java/c/i/a/f/h/l/t8.java | 4 +- app/src/main/java/c/i/a/f/h/l/tb.java | 4 +- app/src/main/java/c/i/a/f/h/l/u1.java | 2 +- app/src/main/java/c/i/a/f/h/l/u4.java | 12 +- app/src/main/java/c/i/a/f/h/l/u8.java | 4 +- app/src/main/java/c/i/a/f/h/l/ub.java | 4 +- app/src/main/java/c/i/a/f/h/l/v1.java | 6 +- app/src/main/java/c/i/a/f/h/l/v8.java | 6 +- app/src/main/java/c/i/a/f/h/l/va.java | 4 +- app/src/main/java/c/i/a/f/h/l/wa.java | 4 +- app/src/main/java/c/i/a/f/h/l/x1.java | 2 +- app/src/main/java/c/i/a/f/h/l/x4.java | 9 +- app/src/main/java/c/i/a/f/h/l/x7.java | 4 +- app/src/main/java/c/i/a/f/h/l/x9.java | 4 +- app/src/main/java/c/i/a/f/h/l/y1.java | 10 +- app/src/main/java/c/i/a/f/h/l/y2.java | 2 +- app/src/main/java/c/i/a/f/h/l/y3.java | 7 +- app/src/main/java/c/i/a/f/h/l/y6.java | 2 +- app/src/main/java/c/i/a/f/h/l/y7.java | 6 +- app/src/main/java/c/i/a/f/h/l/y9.java | 4 +- app/src/main/java/c/i/a/f/h/l/ya.java | 6 +- app/src/main/java/c/i/a/f/h/l/z3.java | 9 +- app/src/main/java/c/i/a/f/h/l/z8.java | 4 +- app/src/main/java/c/i/a/f/h/l/zb.java | 4 +- app/src/main/java/c/i/a/f/h/m/d.java | 26 +- app/src/main/java/c/i/a/f/h/m/e.java | 13 +- app/src/main/java/c/i/a/f/h/m/f.java | 14 +- app/src/main/java/c/i/a/f/h/m/g.java | 16 +- app/src/main/java/c/i/a/f/h/m/i.java | 8 +- app/src/main/java/c/i/a/f/h/m/k.java | 2 +- app/src/main/java/c/i/a/f/h/m/p.java | 2 +- app/src/main/java/c/i/a/f/h/n/i.java | 4 +- app/src/main/java/c/i/a/f/h/n/j.java | 6 +- app/src/main/java/c/i/a/f/h/n/k.java | 10 +- app/src/main/java/c/i/a/f/h/n/l.java | 4 +- app/src/main/java/c/i/a/f/h/o/d.java | 2 +- app/src/main/java/c/i/a/f/h/o/i.java | 4 +- app/src/main/java/c/i/a/f/i/a/a.java | 8 +- app/src/main/java/c/i/a/f/i/b/a.java | 2 +- app/src/main/java/c/i/a/f/i/b/a4.java | 24 +- app/src/main/java/c/i/a/f/i/b/a9.java | 4 +- app/src/main/java/c/i/a/f/i/b/b4.java | 8 +- app/src/main/java/c/i/a/f/i/b/b5.java | 2 +- app/src/main/java/c/i/a/f/i/b/ba.java | 8 +- app/src/main/java/c/i/a/f/i/b/c.java | 12 +- app/src/main/java/c/i/a/f/i/b/c6.java | 87 +- app/src/main/java/c/i/a/f/i/b/c7.java | 8 +- app/src/main/java/c/i/a/f/i/b/c9.java | 6 +- app/src/main/java/c/i/a/f/i/b/ca.java | 14 +- app/src/main/java/c/i/a/f/i/b/d.java | 18 +- app/src/main/java/c/i/a/f/i/b/d4.java | 12 +- app/src/main/java/c/i/a/f/i/b/d6.java | 2 +- app/src/main/java/c/i/a/f/i/b/d9.java | 16 +- app/src/main/java/c/i/a/f/i/b/da.java | 12 +- app/src/main/java/c/i/a/f/i/b/e5.java | 2 +- app/src/main/java/c/i/a/f/i/b/e6.java | 21 +- app/src/main/java/c/i/a/f/i/b/e7.java | 2 +- app/src/main/java/c/i/a/f/i/b/ea.java | 2 +- app/src/main/java/c/i/a/f/i/b/f.java | 2 +- app/src/main/java/c/i/a/f/i/b/f4.java | 6 +- app/src/main/java/c/i/a/f/i/b/f9.java | 16 +- app/src/main/java/c/i/a/f/i/b/fa.java | 24 +- app/src/main/java/c/i/a/f/i/b/g.java | 67 +- app/src/main/java/c/i/a/f/i/b/h.java | 36 +- app/src/main/java/c/i/a/f/i/b/h4.java | 6 +- app/src/main/java/c/i/a/f/i/b/h7.java | 26 +- app/src/main/java/c/i/a/f/i/b/ha.java | 4 +- app/src/main/java/c/i/a/f/i/b/i.java | 12 +- app/src/main/java/c/i/a/f/i/b/i4.java | 6 +- app/src/main/java/c/i/a/f/i/b/i7.java | 4 +- app/src/main/java/c/i/a/f/i/b/i9.java | 8 +- app/src/main/java/c/i/a/f/i/b/ia.java | 30 +- app/src/main/java/c/i/a/f/i/b/j.java | 12 +- app/src/main/java/c/i/a/f/i/b/j3.java | 12 +- app/src/main/java/c/i/a/f/i/b/j4.java | 8 +- app/src/main/java/c/i/a/f/i/b/j9.java | 6 +- app/src/main/java/c/i/a/f/i/b/k4.java | 11 +- app/src/main/java/c/i/a/f/i/b/k8.java | 6 +- app/src/main/java/c/i/a/f/i/b/k9.java | 328 +- app/src/main/java/c/i/a/f/i/b/l.java | 18 +- app/src/main/java/c/i/a/f/i/b/l3.java | 2 +- app/src/main/java/c/i/a/f/i/b/m.java | 18 +- app/src/main/java/c/i/a/f/i/b/m3.java | 4 +- app/src/main/java/c/i/a/f/i/b/m6.java | 4 +- app/src/main/java/c/i/a/f/i/b/m9.java | 20 +- app/src/main/java/c/i/a/f/i/b/n3.java | 32 +- app/src/main/java/c/i/a/f/i/b/o.java | 10 +- app/src/main/java/c/i/a/f/i/b/o3.java | 48 +- app/src/main/java/c/i/a/f/i/b/o5.java | 2 +- app/src/main/java/c/i/a/f/i/b/p.java | 50 +- app/src/main/java/c/i/a/f/i/b/p3.java | 6 +- app/src/main/java/c/i/a/f/i/b/p4.java | 26 +- app/src/main/java/c/i/a/f/i/b/p9.java | 4 +- app/src/main/java/c/i/a/f/i/b/q.java | 16 +- app/src/main/java/c/i/a/f/i/b/q3.java | 33 +- app/src/main/java/c/i/a/f/i/b/q7.java | 28 +- app/src/main/java/c/i/a/f/i/b/q8.java | 4 +- app/src/main/java/c/i/a/f/i/b/q9.java | 156 +- app/src/main/java/c/i/a/f/i/b/r3.java | 2 +- app/src/main/java/c/i/a/f/i/b/r4.java | 2 +- app/src/main/java/c/i/a/f/i/b/s3.java | 12 +- app/src/main/java/c/i/a/f/i/b/s4.java | 4 +- app/src/main/java/c/i/a/f/i/b/s6.java | 2 +- app/src/main/java/c/i/a/f/i/b/s9.java | 36 +- app/src/main/java/c/i/a/f/i/b/t3.java | 12 +- app/src/main/java/c/i/a/f/i/b/t6.java | 2 +- app/src/main/java/c/i/a/f/i/b/t9.java | 31 +- app/src/main/java/c/i/a/f/i/b/u3.java | 10 +- app/src/main/java/c/i/a/f/i/b/u4.java | 69 +- app/src/main/java/c/i/a/f/i/b/u5.java | 2 +- app/src/main/java/c/i/a/f/i/b/u9.java | 4 +- app/src/main/java/c/i/a/f/i/b/v5.java | 6 +- app/src/main/java/c/i/a/f/i/b/v6.java | 2 +- app/src/main/java/c/i/a/f/i/b/v8.java | 12 +- app/src/main/java/c/i/a/f/i/b/w4.java | 12 +- app/src/main/java/c/i/a/f/i/b/w7.java | 2 +- app/src/main/java/c/i/a/f/i/b/w8.java | 6 +- app/src/main/java/c/i/a/f/i/b/x.java | 8 +- app/src/main/java/c/i/a/f/i/b/x8.java | 4 +- app/src/main/java/c/i/a/f/i/b/y0.java | 10 +- app/src/main/java/c/i/a/f/i/b/y4.java | 2 +- app/src/main/java/c/i/a/f/i/b/y5.java | 4 +- app/src/main/java/c/i/a/f/i/b/y6.java | 20 +- app/src/main/java/c/i/a/f/i/b/y8.java | 10 +- app/src/main/java/c/i/a/f/i/b/y9.java | 6 +- app/src/main/java/c/i/a/f/i/b/z4.java | 26 +- app/src/main/java/c/i/a/f/i/b/z9.java | 58 +- app/src/main/java/c/i/a/f/j/a.java | 2 +- app/src/main/java/c/i/a/f/j/b/a.java | 4 +- app/src/main/java/c/i/a/f/j/b/e/b.java | 2 +- app/src/main/java/c/i/a/f/j/b/e/d.java | 14 +- app/src/main/java/c/i/a/f/j/b/e/e.java | 12 +- app/src/main/java/c/i/a/f/j/b/e/f0.java | 30 +- app/src/main/java/c/i/a/f/j/b/e/g0.java | 20 +- app/src/main/java/c/i/a/f/j/b/e/h0.java | 42 +- app/src/main/java/c/i/a/f/j/b/e/i.java | 12 +- app/src/main/java/c/i/a/f/j/b/e/i0.java | 22 +- app/src/main/java/c/i/a/f/j/b/e/j.java | 6 +- app/src/main/java/c/i/a/f/j/b/e/j0.java | 26 +- app/src/main/java/c/i/a/f/j/b/e/k0.java | 22 +- app/src/main/java/c/i/a/f/j/b/e/l.java | 12 +- app/src/main/java/c/i/a/f/j/b/e/l0.java | 20 +- app/src/main/java/c/i/a/f/j/b/e/m.java | 6 +- app/src/main/java/c/i/a/f/j/b/e/m0.java | 14 +- app/src/main/java/c/i/a/f/j/b/e/n.java | 6 +- app/src/main/java/c/i/a/f/j/b/e/n0.java | 14 +- app/src/main/java/c/i/a/f/j/b/e/o.java | 6 +- app/src/main/java/c/i/a/f/j/b/e/q.java | 4 +- app/src/main/java/c/i/a/f/j/b/e/r.java | 4 +- app/src/main/java/c/i/a/f/j/b/e/s.java | 4 +- app/src/main/java/c/i/a/f/j/b/e/v.java | 4 +- app/src/main/java/c/i/a/f/j/b/e/w.java | 14 +- app/src/main/java/c/i/a/f/j/b/e/x.java | 4 +- app/src/main/java/c/i/a/f/j/b/e/x0.java | 2 +- app/src/main/java/c/i/a/f/j/b/e/y.java | 6 +- app/src/main/java/c/i/a/f/j/b/f.java | 20 +- app/src/main/java/c/i/a/f/j/b/g.java | 20 +- app/src/main/java/c/i/a/f/j/b/j.java | 24 +- app/src/main/java/c/i/a/f/k/a.java | 6 +- app/src/main/java/c/i/a/f/k/b.java | 10 +- app/src/main/java/c/i/a/f/k/c.java | 14 +- app/src/main/java/c/i/a/f/k/d.java | 16 +- app/src/main/java/c/i/a/f/k/e.java | 10 +- app/src/main/java/c/i/a/f/k/f.java | 12 +- app/src/main/java/c/i/a/f/k/g.java | 32 +- app/src/main/java/c/i/a/f/k/h.java | 4 +- app/src/main/java/c/i/a/f/l/a.java | 2 +- app/src/main/java/c/i/a/f/l/b/a.java | 2 +- app/src/main/java/c/i/a/f/l/b/b.java | 14 +- app/src/main/java/c/i/a/f/l/b/h.java | 12 +- app/src/main/java/c/i/a/f/l/b/i.java | 12 +- app/src/main/java/c/i/a/f/l/b/j.java | 14 +- app/src/main/java/c/i/a/f/l/c.java | 6 +- app/src/main/java/c/i/a/f/l/d.java | 4 +- app/src/main/java/c/i/a/f/l/e.java | 4 +- app/src/main/java/c/i/a/f/m/a.java | 24 +- app/src/main/java/c/i/a/f/n/b0.java | 28 +- app/src/main/java/c/i/a/f/n/j.java | 10 +- app/src/main/java/c/i/a/f/n/k.java | 4 +- app/src/main/java/c/i/a/f/n/l.java | 10 +- app/src/main/java/c/i/a/f/n/m.java | 10 +- app/src/main/java/c/i/a/f/n/n.java | 8 +- app/src/main/java/c/i/a/f/n/o.java | 2 +- app/src/main/java/c/i/a/f/n/p.java | 6 +- app/src/main/java/c/i/a/f/n/q.java | 6 +- app/src/main/java/c/i/a/f/n/r.java | 2 +- app/src/main/java/c/i/a/f/n/s.java | 2 +- app/src/main/java/c/i/a/f/n/t.java | 6 +- app/src/main/java/c/i/a/f/n/u.java | 6 +- app/src/main/java/c/i/a/f/n/v.java | 2 +- app/src/main/java/c/i/a/f/n/w.java | 10 +- app/src/main/java/c/i/a/f/n/x.java | 10 +- app/src/main/java/c/i/a/f/n/y.java | 8 +- app/src/main/java/c/i/a/g/a/a.java | 6 +- app/src/main/java/c/i/a/g/a/c.java | 2 +- app/src/main/java/c/i/a/g/a/d.java | 4 +- app/src/main/java/c/i/a/g/b/a.java | 8 +- app/src/main/java/c/i/a/g/c/a.java | 38 +- app/src/main/java/c/i/a/g/d/a.java | 6 +- app/src/main/java/c/i/a/g/d/b.java | 4 +- app/src/main/java/c/i/a/g/d/d.java | 4 +- app/src/main/java/c/i/a/g/d/g.java | 2 +- app/src/main/java/c/i/a/g/d/k.java | 2 +- app/src/main/java/c/i/a/g/d/l.java | 2 +- app/src/main/java/c/i/a/g/e/b.java | 2 +- app/src/main/java/c/i/a/g/e/c.java | 8 +- app/src/main/java/c/i/a/g/e/d.java | 8 +- app/src/main/java/c/i/a/g/e/e.java | 16 +- app/src/main/java/c/i/a/g/e/f.java | 32 +- app/src/main/java/c/i/a/g/e/h.java | 4 +- app/src/main/java/c/i/a/g/e/i.java | 2 +- app/src/main/java/c/i/a/g/f/a.java | 20 +- app/src/main/java/c/i/a/g/g/a.java | 12 +- app/src/main/java/c/i/a/g/g/d.java | 4 +- app/src/main/java/c/i/a/g/g/g.java | 4 +- app/src/main/java/c/i/a/g/g/h.java | 10 +- app/src/main/java/c/i/a/g/g/j.java | 4 +- app/src/main/java/c/i/a/g/g/l.java | 4 +- app/src/main/java/c/i/a/g/h/a.java | 24 +- app/src/main/java/c/i/a/g/j/a.java | 12 +- app/src/main/java/c/i/a/g/j/d.java | 2 +- app/src/main/java/c/i/a/g/j/e.java | 4 +- app/src/main/java/c/i/a/g/j/h.java | 10 +- app/src/main/java/c/i/a/g/j/i.java | 2 +- app/src/main/java/c/i/a/g/j/l.java | 2 +- app/src/main/java/c/i/a/g/j/m.java | 4 +- app/src/main/java/c/i/a/g/j/n.java | 30 +- app/src/main/java/c/i/a/g/j/p.java | 4 +- app/src/main/java/c/i/a/g/k/b.java | 4 +- app/src/main/java/c/i/a/g/k/f.java | 2 +- app/src/main/java/c/i/a/g/l/b.java | 6 +- app/src/main/java/c/i/a/g/l/c.java | 4 +- app/src/main/java/c/i/a/g/l/e.java | 4 +- app/src/main/java/c/i/a/g/l/f.java | 4 +- app/src/main/java/c/i/a/g/l/g.java | 2 +- app/src/main/java/c/i/a/g/l/k.java | 2 +- app/src/main/java/c/i/a/g/l/l/b.java | 6 +- app/src/main/java/c/i/a/g/l/l/c.java | 4 +- app/src/main/java/c/i/a/g/l/l/e.java | 4 +- app/src/main/java/c/i/a/g/l/l/f.java | 4 +- app/src/main/java/c/i/a/g/l/l/g.java | 2 +- app/src/main/java/c/i/a/g/l/l/k.java | 2 +- app/src/main/java/c/i/b/a/b.java | 18 +- app/src/main/java/c/i/b/a/c.java | 2 +- app/src/main/java/c/i/b/a/g.java | 14 +- app/src/main/java/c/i/b/a/k.java | 4 +- app/src/main/java/c/i/b/b/a.java | 11 +- app/src/main/java/c/i/b/b/a0.java | 52 +- app/src/main/java/c/i/b/b/a1.java | 51 - app/src/main/java/c/i/b/b/b.java | 12 +- app/src/main/java/c/i/b/b/b0.java | 20 +- app/src/main/java/c/i/b/b/b1.java | 77 - app/src/main/java/c/i/b/b/c.java | 20 +- app/src/main/java/c/i/b/b/c0.java | 31 +- app/src/main/java/c/i/b/b/c1.java | 29 - app/src/main/java/c/i/b/b/d.java | 1127 +- app/src/main/java/c/i/b/b/d0.java | 132 +- app/src/main/java/c/i/b/b/d1.java | 11 - app/src/main/java/c/i/b/b/e.java | 1123 +- app/src/main/java/c/i/b/b/e0.java | 1774 +- app/src/main/java/c/i/b/b/f.java | 89 +- app/src/main/java/c/i/b/b/f0.java | 34 +- app/src/main/java/c/i/b/b/g.java | 86 +- app/src/main/java/c/i/b/b/g0.java | 67 +- app/src/main/java/c/i/b/b/h.java | 13 +- app/src/main/java/c/i/b/b/h0.java | 57 +- app/src/main/java/c/i/b/b/i.java | 49 +- app/src/main/java/c/i/b/b/i0.java | 282 +- app/src/main/java/c/i/b/b/j.java | 100 +- app/src/main/java/c/i/b/b/j0.java | 109 +- app/src/main/java/c/i/b/b/k.java | 38 +- app/src/main/java/c/i/b/b/k0.java | 36 +- app/src/main/java/c/i/b/b/l.java | 578 +- app/src/main/java/c/i/b/b/l0.java | 50 +- app/src/main/java/c/i/b/b/m.java | 41 +- app/src/main/java/c/i/b/b/m0.java | 61 +- app/src/main/java/c/i/b/b/n.java | 211 +- app/src/main/java/c/i/b/b/n0.java | 16 +- app/src/main/java/c/i/b/b/o.java | 36 +- app/src/main/java/c/i/b/b/o0.java | 53 +- app/src/main/java/c/i/b/b/p.java | 337 +- app/src/main/java/c/i/b/b/p0.java | 56 +- app/src/main/java/c/i/b/b/q.java | 278 +- app/src/main/java/c/i/b/b/q0.java | 92 +- app/src/main/java/c/i/b/b/r.java | 183 +- app/src/main/java/c/i/b/b/r0.java | 232 +- app/src/main/java/c/i/b/b/s.java | 164 +- app/src/main/java/c/i/b/b/s0.java | 91 +- app/src/main/java/c/i/b/b/t.java | 40 +- app/src/main/java/c/i/b/b/t0.java | 34 - app/src/main/java/c/i/b/b/u.java | 401 +- app/src/main/java/c/i/b/b/u0.java | 45 - app/src/main/java/c/i/b/b/v.java | 1857 +- app/src/main/java/c/i/b/b/w.java | 273 +- app/src/main/java/c/i/b/b/w0.java | 12 - app/src/main/java/c/i/b/b/x.java | 72 +- app/src/main/java/c/i/b/b/x0.java | 4 - app/src/main/java/c/i/b/b/y.java | 81 +- app/src/main/java/c/i/b/b/y0.java | 14 - app/src/main/java/c/i/b/b/z.java | 216 +- app/src/main/java/c/i/b/b/z0.java | 35 - app/src/main/java/c/i/b/c/a.java | 15 +- app/src/main/java/c/i/c/c.java | 26 +- app/src/main/java/c/i/c/h.java | 2 +- app/src/main/java/c/i/c/i.java | 10 +- app/src/main/java/c/i/c/j/a/a.java | 4 +- app/src/main/java/c/i/c/j/a/b.java | 10 +- app/src/main/java/c/i/c/j/a/c/b.java | 4 +- app/src/main/java/c/i/c/j/a/c/c.java | 4 +- app/src/main/java/c/i/c/j/a/c/d.java | 4 +- app/src/main/java/c/i/c/j/a/c/e.java | 10 +- app/src/main/java/c/i/c/j/a/c/f.java | 2 +- app/src/main/java/c/i/c/j/b.java | 4 +- app/src/main/java/c/i/c/k/a.java | 18 +- app/src/main/java/c/i/c/k/c/a.java | 2 +- app/src/main/java/c/i/c/k/d/a.java | 22 +- app/src/main/java/c/i/c/k/d/c.java | 2 +- app/src/main/java/c/i/c/k/d/e.java | 20 +- app/src/main/java/c/i/c/k/d/f.java | 20 +- app/src/main/java/c/i/c/l/d.java | 16 +- app/src/main/java/c/i/c/l/k.java | 14 +- app/src/main/java/c/i/c/l/m.java | 4 +- app/src/main/java/c/i/c/l/o.java | 12 +- app/src/main/java/c/i/c/l/q.java | 6 +- app/src/main/java/c/i/c/l/r.java | 8 +- app/src/main/java/c/i/c/l/s.java | 8 +- app/src/main/java/c/i/c/m/b.java | 24 +- app/src/main/java/c/i/c/m/d/e.java | 6 +- app/src/main/java/c/i/c/m/d/h.java | 8 +- app/src/main/java/c/i/c/m/d/i/c.java | 10 +- app/src/main/java/c/i/c/m/d/k/a.java | 6 +- app/src/main/java/c/i/c/m/d/k/a0.java | 2 +- app/src/main/java/c/i/c/m/d/k/b.java | 4 +- app/src/main/java/c/i/c/m/d/k/b1.java | 6 +- app/src/main/java/c/i/c/m/d/k/c.java | 8 +- app/src/main/java/c/i/c/m/d/k/c0.java | 5 +- app/src/main/java/c/i/c/m/d/k/d0.java | 7 +- app/src/main/java/c/i/c/m/d/k/d1.java | 49 +- app/src/main/java/c/i/c/m/d/k/e0.java | 3 +- app/src/main/java/c/i/c/m/d/k/f0.java | 14 +- app/src/main/java/c/i/c/m/d/k/g0.java | 9 +- app/src/main/java/c/i/c/m/d/k/h.java | 6 +- app/src/main/java/c/i/c/m/d/k/h0.java | 4 +- app/src/main/java/c/i/c/m/d/k/h1.java | 4 +- app/src/main/java/c/i/c/m/d/k/i.java | 10 +- app/src/main/java/c/i/c/m/d/k/k0.java | 13 +- app/src/main/java/c/i/c/m/d/k/m0.java | 6 +- app/src/main/java/c/i/c/m/d/k/n0.java | 22 +- app/src/main/java/c/i/c/m/d/k/o.java | 2 +- app/src/main/java/c/i/c/m/d/k/p0.java | 8 +- app/src/main/java/c/i/c/m/d/k/q0.java | 6 +- app/src/main/java/c/i/c/m/d/k/r0.java | 8 +- app/src/main/java/c/i/c/m/d/k/u.java | 6 +- app/src/main/java/c/i/c/m/d/k/u0.java | 8 +- app/src/main/java/c/i/c/m/d/k/v.java | 10 +- app/src/main/java/c/i/c/m/d/k/v0.java | 6 +- app/src/main/java/c/i/c/m/d/k/w.java | 2 +- app/src/main/java/c/i/c/m/d/k/x.java | 214 +- app/src/main/java/c/i/c/m/d/k/y.java | 8 +- app/src/main/java/c/i/c/m/d/k/z.java | 2 +- app/src/main/java/c/i/c/m/d/k/z0.java | 4 +- app/src/main/java/c/i/c/m/d/l/b.java | 14 +- app/src/main/java/c/i/c/m/d/l/c.java | 88 +- app/src/main/java/c/i/c/m/d/l/e.java | 14 +- app/src/main/java/c/i/c/m/d/m/a.java | 152 +- app/src/main/java/c/i/c/m/d/m/b.java | 76 +- app/src/main/java/c/i/c/m/d/m/c.java | 8 +- app/src/main/java/c/i/c/m/d/m/d.java | 8 +- app/src/main/java/c/i/c/m/d/m/e.java | 12 +- app/src/main/java/c/i/c/m/d/m/f.java | 84 +- app/src/main/java/c/i/c/m/d/m/g.java | 48 +- app/src/main/java/c/i/c/m/d/m/h.java | 8 +- app/src/main/java/c/i/c/m/d/m/i.java | 70 +- app/src/main/java/c/i/c/m/d/m/j.java | 66 +- app/src/main/java/c/i/c/m/d/m/k.java | 66 +- app/src/main/java/c/i/c/m/d/m/l.java | 60 +- app/src/main/java/c/i/c/m/d/m/m.java | 40 +- app/src/main/java/c/i/c/m/d/m/n.java | 58 +- app/src/main/java/c/i/c/m/d/m/o.java | 34 +- app/src/main/java/c/i/c/m/d/m/p.java | 40 +- app/src/main/java/c/i/c/m/d/m/q.java | 62 +- app/src/main/java/c/i/c/m/d/m/r.java | 72 +- app/src/main/java/c/i/c/m/d/m/s.java | 10 +- app/src/main/java/c/i/c/m/d/m/t.java | 26 +- app/src/main/java/c/i/c/m/d/m/u.java | 2 +- app/src/main/java/c/i/c/m/d/m/v.java | 34 +- app/src/main/java/c/i/c/m/d/m/x/b.java | 4 +- app/src/main/java/c/i/c/m/d/m/x/c.java | 4 +- app/src/main/java/c/i/c/m/d/m/x/d.java | 6 +- app/src/main/java/c/i/c/m/d/m/x/e.java | 6 +- app/src/main/java/c/i/c/m/d/m/x/h.java | 74 +- app/src/main/java/c/i/c/m/d/n/a.java | 8 +- app/src/main/java/c/i/c/m/d/n/c.java | 4 +- app/src/main/java/c/i/c/m/d/o/g.java | 2 +- app/src/main/java/c/i/c/m/d/p/b.java | 8 +- app/src/main/java/c/i/c/m/d/p/c.java | 20 +- app/src/main/java/c/i/c/m/d/p/d.java | 14 +- app/src/main/java/c/i/c/m/d/q/b.java | 24 +- app/src/main/java/c/i/c/m/d/q/c/a.java | 4 +- app/src/main/java/c/i/c/m/d/q/c/b.java | 12 +- app/src/main/java/c/i/c/m/d/q/c/d.java | 12 +- app/src/main/java/c/i/c/m/d/q/d/a.java | 2 +- app/src/main/java/c/i/c/m/d/q/d/c.java | 35 +- app/src/main/java/c/i/c/m/d/q/d/d.java | 11 +- app/src/main/java/c/i/c/m/d/r/c.java | 2 +- app/src/main/java/c/i/c/m/d/s/c.java | 22 +- app/src/main/java/c/i/c/m/d/s/h/a.java | 4 +- app/src/main/java/c/i/c/m/d/s/h/b.java | 6 +- app/src/main/java/c/i/c/m/d/s/h/f.java | 6 +- app/src/main/java/c/i/c/m/d/s/h/g.java | 4 +- app/src/main/java/c/i/c/m/d/s/i/a.java | 13 +- app/src/main/java/c/i/c/m/d/s/i/c.java | 16 +- app/src/main/java/c/i/c/m/d/t/e.java | 4 +- app/src/main/java/c/i/c/m/d/u/a.java | 8 +- app/src/main/java/c/i/c/m/e/a.java | 18 +- app/src/main/java/c/i/c/m/e/c.java | 8 +- app/src/main/java/c/i/c/m/e/g.java | 6 +- app/src/main/java/c/i/c/m/e/h.java | 2 +- app/src/main/java/c/i/c/o/b/a.java | 20 +- app/src/main/java/c/i/c/o/b/b.java | 4 +- app/src/main/java/c/i/c/o/b/c.java | 2 +- app/src/main/java/c/i/c/o/b/e.java | 3 +- app/src/main/java/c/i/c/o/b/i.java | 6 +- app/src/main/java/c/i/c/o/b/m.java | 14 +- app/src/main/java/c/i/c/o/b/n.java | 10 +- app/src/main/java/c/i/c/p/h/a.java | 6 +- app/src/main/java/c/i/c/p/h/d.java | 2 +- app/src/main/java/c/i/c/p/h/e.java | 4 +- app/src/main/java/c/i/c/p/h/f.java | 6 +- app/src/main/java/c/i/c/s/c.java | 3 +- app/src/main/java/c/i/c/s/f.java | 13 +- app/src/main/java/c/i/c/s/i.java | 6 +- app/src/main/java/c/i/c/s/l.java | 9 +- app/src/main/java/c/i/c/s/m.java | 5 +- app/src/main/java/c/i/c/s/n.java | 18 +- app/src/main/java/c/i/c/s/q.java | 11 +- app/src/main/java/c/i/c/s/v.java | 12 +- app/src/main/java/c/i/c/s/w.java | 20 +- app/src/main/java/c/i/c/s/x.java | 4 +- app/src/main/java/c/i/c/s/y.java | 10 +- app/src/main/java/c/i/c/u/a.java | 24 +- app/src/main/java/c/i/c/u/e.java | 4 +- app/src/main/java/c/i/c/u/f.java | 46 +- app/src/main/java/c/i/c/u/i.java | 6 +- app/src/main/java/c/i/c/u/n.java | 8 +- app/src/main/java/c/i/c/u/o/a.java | 56 +- app/src/main/java/c/i/c/u/o/b.java | 4 +- app/src/main/java/c/i/c/u/o/c.java | 10 +- app/src/main/java/c/i/c/u/o/d.java | 6 +- app/src/main/java/c/i/c/u/p/a.java | 36 +- app/src/main/java/c/i/c/u/p/b.java | 34 +- app/src/main/java/c/i/c/u/p/c.java | 31 +- app/src/main/java/c/i/c/u/p/e.java | 10 +- app/src/main/java/c/i/c/u/p/f.java | 2 +- app/src/main/java/c/i/c/v/a.java | 4 +- app/src/main/java/c/i/c/w/c.java | 43 +- app/src/main/java/c/i/c/w/m.java | 2 +- app/src/main/java/c/i/c/w/n.java | 6 +- app/src/main/java/c/i/c/w/q.java | 6 +- app/src/main/java/c/i/c/w/r.java | 12 +- app/src/main/java/c/i/c/w/s.java | 10 +- app/src/main/java/c/i/c/w/t.java | 2 +- app/src/main/java/c/i/c/w/u.java | 8 +- app/src/main/java/c/i/c/w/v.java | 10 +- app/src/main/java/c/i/c/w/w.java | 4 +- app/src/main/java/c/i/c/w/x.java | 2 +- app/src/main/java/c/i/c/w/y.java | 16 +- app/src/main/java/c/i/c/x/a.java | 8 +- app/src/main/java/c/i/d/c.java | 6 +- app/src/main/java/c/i/d/e.java | 8 +- app/src/main/java/c/i/d/q/a.java | 39 +- app/src/main/java/c/i/d/q/f.java | 12 +- app/src/main/java/c/i/d/q/h.java | 16 +- app/src/main/java/c/i/d/q/j.java | 12 +- app/src/main/java/c/i/d/q/w.java | 12 +- app/src/main/java/c/i/d/q/x/a.java | 78 +- app/src/main/java/c/i/d/q/x/b.java | 46 +- app/src/main/java/c/i/d/q/x/d/a.java | 20 +- app/src/main/java/c/i/d/q/y/c.java | 8 +- app/src/main/java/c/i/e/c.java | 4 +- app/src/main/java/c/i/e/e.java | 12 +- app/src/main/java/c/i/e/h.java | 12 +- app/src/main/java/c/i/e/k.java | 4 +- app/src/main/java/c/i/e/m/a.java | 4 +- app/src/main/java/c/i/e/m/b.java | 10 +- app/src/main/java/c/i/e/m/c/a.java | 8 +- app/src/main/java/c/i/e/m/d/a.java | 102 +- app/src/main/java/c/i/e/n/c.java | 12 +- app/src/main/java/c/i/e/n/e.java | 4 +- app/src/main/java/c/i/e/n/f.java | 2 +- app/src/main/java/c/i/e/n/h.java | 6 +- app/src/main/java/c/i/e/n/i.java | 8 +- app/src/main/java/c/i/e/n/k/a.java | 26 +- app/src/main/java/c/i/e/n/l/a.java | 6 +- app/src/main/java/c/i/e/o/a.java | 16 +- app/src/main/java/c/i/e/o/b/a.java | 6 +- app/src/main/java/c/i/e/o/b/c.java | 2 +- app/src/main/java/c/i/e/o/b/d.java | 8 +- app/src/main/java/c/i/e/o/b/e.java | 4 +- app/src/main/java/c/i/e/o/c/a.java | 18 +- app/src/main/java/c/i/e/q/a.java | 8 +- app/src/main/java/c/i/e/q/c.java | 6 +- app/src/main/java/c/i/e/q/d.java | 6 +- app/src/main/java/c/i/e/q/e.java | 2 +- app/src/main/java/c/i/e/q/f.java | 4 +- app/src/main/java/c/i/e/q/h.java | 6 +- app/src/main/java/c/i/e/q/j.java | 2 +- app/src/main/java/c/i/e/q/k.java | 4 +- app/src/main/java/c/i/e/q/l.java | 2 +- app/src/main/java/c/i/e/q/n.java | 4 +- app/src/main/java/c/i/e/q/o.java | 4 +- app/src/main/java/c/i/e/q/p.java | 14 +- app/src/main/java/c/i/e/q/r/a.java | 4 +- app/src/main/java/c/i/e/q/r/b.java | 2 +- app/src/main/java/c/i/e/q/r/c.java | 4 +- app/src/main/java/c/i/e/q/r/d.java | 4 +- app/src/main/java/c/i/e/q/r/e.java | 48 +- app/src/main/java/c/i/e/q/r/f/a.java | 10 +- app/src/main/java/c/i/e/q/r/f/b.java | 10 +- app/src/main/java/c/i/e/q/r/f/c.java | 45 +- app/src/main/java/c/i/e/q/r/f/d/e.java | 6 +- app/src/main/java/c/i/e/q/r/f/d/g.java | 10 +- app/src/main/java/c/i/e/q/r/f/d/o.java | 6 +- app/src/main/java/c/i/e/q/r/f/d/p.java | 4 +- app/src/main/java/c/i/e/q/r/f/d/r.java | 10 +- app/src/main/java/c/i/e/q/r/f/d/s.java | 28 +- app/src/main/java/c/i/e/r/a.java | 4 +- app/src/main/java/c/i/e/r/b.java | 12 +- app/src/main/java/c/i/e/r/d/a.java | 4 +- app/src/main/java/c/i/e/r/d/c.java | 6 +- app/src/main/java/c/i/e/r/d/d.java | 8 +- app/src/main/java/c/i/e/r/d/e.java | 8 +- app/src/main/java/c/i/e/r/d/f.java | 10 +- app/src/main/java/c/i/e/r/d/h.java | 12 +- app/src/main/java/c/i/e/r/d/j.java | 29 +- app/src/main/java/c/i/e/r/d/k/b.java | 10 +- app/src/main/java/c/i/e/r/e/a.java | 4 +- app/src/main/java/c/i/e/s/a.java | 32 +- app/src/main/java/c/i/e/s/b/a.java | 10 +- app/src/main/java/c/i/e/s/b/e.java | 8 +- app/src/main/java/c/i/e/s/b/g.java | 8 +- app/src/main/java/c/i/e/s/b/h.java | 2 +- app/src/main/java/c/i/e/s/b/j.java | 8 +- app/src/main/java/c/i/e/s/c/a.java | 4 +- app/src/main/java/c/i/e/s/c/b.java | 10 +- app/src/main/java/c/i/e/s/c/c.java | 7 +- app/src/main/java/c/i/e/s/c/d.java | 6 +- app/src/main/java/c/i/e/s/c/e.java | 16 +- app/src/main/java/c/i/e/s/c/f.java | 4 +- app/src/main/java/c/j/a/e.java | 22 +- app/src/main/java/c/j/a/f/d.java | 4 +- app/src/main/java/c/k/a/a/a.java | 6 +- app/src/main/java/c/k/a/a/b.java | 24 +- app/src/main/java/c/k/a/a/c.java | 4 +- app/src/main/java/c/k/a/a/d.java | 4 +- app/src/main/java/c/k/a/a/e.java | 4 +- app/src/main/java/c/l/a/a.java | 40 +- app/src/main/java/c/m/a/a.java | 2 +- app/src/main/java/c/m/a/c.java | 4 +- app/src/main/java/c/m/a/d.java | 8 +- app/src/main/java/c/m/a/g/d/e.java | 20 +- app/src/main/java/c/m/a/g/d/g.java | 2 +- app/src/main/java/c/m/a/g/d/i.java | 6 +- app/src/main/java/c/n/a/a/a.java | 10 +- app/src/main/java/c/n/a/a/b.java | 4 +- app/src/main/java/c/o/a/b.java | 14 +- app/src/main/java/c/o/a/c.java | 4 +- app/src/main/java/c/o/a/l.java | 2 +- app/src/main/java/c/o/a/n/b.java | 168 +- app/src/main/java/c/o/a/n/d.java | 180 +- app/src/main/java/c/o/a/n/f.java | 8 +- app/src/main/java/c/o/a/n/g.java | 62 +- app/src/main/java/c/o/a/n/i.java | 10 +- app/src/main/java/c/o/a/n/k.java | 4 +- app/src/main/java/c/o/a/n/m.java | 2 +- app/src/main/java/c/o/a/n/o/d.java | 2 +- app/src/main/java/c/o/a/n/o/e.java | 14 +- app/src/main/java/c/o/a/n/o/h.java | 4 +- app/src/main/java/c/o/a/n/o/j.java | 2 +- app/src/main/java/c/o/a/n/p/a.java | 2 +- app/src/main/java/c/o/a/n/p/b.java | 8 +- app/src/main/java/c/o/a/n/p/c.java | 6 +- app/src/main/java/c/o/a/n/p/d.java | 4 +- app/src/main/java/c/o/a/n/p/e.java | 6 +- app/src/main/java/c/o/a/n/q/a.java | 4 +- app/src/main/java/c/o/a/n/q/b.java | 4 +- app/src/main/java/c/o/a/n/r/a.java | 2 +- app/src/main/java/c/o/a/n/r/b.java | 2 +- app/src/main/java/c/o/a/n/r/c.java | 10 +- app/src/main/java/c/o/a/n/r/d.java | 10 +- app/src/main/java/c/o/a/n/r/e.java | 10 +- app/src/main/java/c/o/a/n/r/f.java | 6 +- app/src/main/java/c/o/a/n/r/g.java | 5 +- app/src/main/java/c/o/a/n/r/h.java | 4 +- app/src/main/java/c/o/a/n/r/i.java | 6 +- app/src/main/java/c/o/a/n/r/j.java | 2 +- app/src/main/java/c/o/a/n/s/a.java | 6 +- app/src/main/java/c/o/a/n/s/b.java | 8 +- app/src/main/java/c/o/a/n/t/a.java | 12 +- app/src/main/java/c/o/a/n/u/a.java | 8 +- app/src/main/java/c/o/a/n/u/b.java | 8 +- app/src/main/java/c/o/a/n/v/a.java | 33 +- app/src/main/java/c/o/a/n/v/b.java | 2 +- app/src/main/java/c/o/a/n/v/c.java | 2 +- app/src/main/java/c/o/a/o/a.java | 26 +- app/src/main/java/c/o/a/p/a.java | 10 +- app/src/main/java/c/o/a/p/b.java | 10 +- app/src/main/java/c/o/a/p/c.java | 8 +- app/src/main/java/c/o/a/q/c.java | 6 +- app/src/main/java/c/o/a/q/e.java | 8 +- app/src/main/java/c/o/a/q/f.java | 10 +- app/src/main/java/c/o/a/q/g.java | 4 +- app/src/main/java/c/o/a/r/a.java | 6 +- app/src/main/java/c/o/a/r/c.java | 20 +- app/src/main/java/c/o/a/r/f.java | 14 +- app/src/main/java/c/o/a/r/g.java | 4 +- app/src/main/java/c/o/a/u/a.java | 2 +- app/src/main/java/c/o/a/u/b.java | 6 +- app/src/main/java/c/o/a/u/c.java | 20 +- app/src/main/java/c/o/a/v/a.java | 10 +- app/src/main/java/c/o/a/v/b.java | 16 +- app/src/main/java/c/o/a/v/d.java | 8 +- app/src/main/java/c/o/a/v/e.java | 18 +- app/src/main/java/c/o/a/v/f.java | 24 +- app/src/main/java/c/o/a/v/g.java | 6 +- app/src/main/java/c/o/a/v/h.java | 22 +- app/src/main/java/c/o/a/w/a.java | 12 +- app/src/main/java/c/o/a/w/d.java | 14 +- app/src/main/java/c/o/a/w/h.java | 2 +- app/src/main/java/c/o/a/w/j.java | 16 +- app/src/main/java/c/o/a/x/i.java | 4 +- app/src/main/java/c/o/a/x/k.java | 4 +- app/src/main/java/c/o/a/x/l.java | 4 +- app/src/main/java/c/o/b/a/a.java | 4 +- app/src/main/java/c/o/b/a/b.java | 2 +- app/src/main/java/c/o/b/a/c.java | 6 +- app/src/main/java/c/o/b/a/d.java | 16 +- app/src/main/java/c/o/b/b/b.java | 4 +- app/src/main/java/c/o/b/b/c.java | 16 +- app/src/main/java/c/o/b/c/a.java | 8 +- app/src/main/java/c/o/b/c/b.java | 8 +- app/src/main/java/c/o/b/c/c.java | 8 +- app/src/main/java/c/o/b/c/d.java | 4 +- app/src/main/java/c/o/b/c/e.java | 8 +- app/src/main/java/c/o/b/c/f.java | 2 +- app/src/main/java/c/o/b/d/a.java | 4 +- app/src/main/java/c/o/b/d/b.java | 4 +- app/src/main/java/c/o/b/d/c.java | 10 +- app/src/main/java/c/o/b/d/d.java | 6 +- app/src/main/java/c/o/b/e/a.java | 10 +- app/src/main/java/c/o/b/e/b.java | 4 +- app/src/main/java/c/o/b/f/a.java | 10 +- app/src/main/java/c/o/b/f/b.java | 12 +- app/src/main/java/c/p/a/b.java | 34 +- app/src/main/java/c/p/a/l.java | 24 +- app/src/main/java/c/p/a/m.java | 14 +- app/src/main/java/c/p/a/n.java | 2 +- app/src/main/java/c/q/a/f.java | 6 +- app/src/main/java/c/q/a/i/a.java | 4 +- app/src/main/java/c/q/a/i/b.java | 8 +- app/src/main/java/c/q/a/i/c.java | 4 +- app/src/main/java/c/q/a/j/a.java | 25 +- app/src/main/java/c/q/a/j/b.java | 61 +- app/src/main/java/c/q/a/k/a.java | 1357 +- app/src/main/java/c/q/a/k/b.java | 252 +- app/src/main/java/c/q/a/k/c.java | 197 +- app/src/main/java/c/q/a/k/d.java | 45 +- app/src/main/java/c/q/a/k/e.java | 36 - app/src/main/java/c/q/a/l/a.java | 125 +- app/src/main/java/c/q/a/l/c.java | 23 +- .../co/discord/media_engine/AudioDecoder.java | 20 +- .../co/discord/media_engine/AudioEncoder.java | 24 +- .../AudioInputDeviceDescription.java | 8 +- .../AudioOutputDeviceDescription.java | 8 +- .../co/discord/media_engine/Duration.java | 16 +- .../media_engine/EncryptionSettings.java | 12 +- .../co/discord/media_engine/InboundAudio.java | 36 +- .../media_engine/InboundBufferStats.java | 24 +- .../media_engine/InboundFrameOpStats.java | 28 +- .../discord/media_engine/InboundRtpAudio.java | 124 +- .../discord/media_engine/InboundRtpVideo.java | 108 +- .../discord/media_engine/OutboundAudio.java | 8 +- .../media_engine/OutboundRtpAudio.java | 60 +- .../media_engine/OutboundRtpVideo.java | 92 +- .../discord/media_engine/PlayoutMetric.java | 28 +- .../discord/media_engine/ReceiverReport.java | 26 +- .../co/discord/media_engine/Resolution.java | 8 +- .../co/discord/media_engine/RtcRegion.java | 8 +- .../media_engine/SoundshareAudioSource.java | 8 +- .../java/co/discord/media_engine/Stats.java | 20 +- .../co/discord/media_engine/StatsCodec.java | 22 +- .../media_engine/StreamParameters.java | 32 +- .../co/discord/media_engine/Transport.java | 32 +- .../co/discord/media_engine/VideoDecoder.java | 16 +- .../co/discord/media_engine/VideoEncoder.java | 16 +- .../VideoInputDeviceDescription.java | 16 +- .../discord/media_engine/VoiceQualityKt.java | 2 +- .../internal/AssetManagement.java | 20 +- .../media_engine/internal/FrameCounts.java | 8 +- .../media_engine/internal/Inbound.java | 34 +- .../media_engine/internal/InboundAudio.java | 96 +- .../media_engine/internal/InboundPlayout.java | 44 +- .../internal/InboundRtcpStats.java | 20 +- .../internal/InboundRtpStats.java | 24 +- .../media_engine/internal/InboundVideo.java | 132 +- .../media_engine/internal/NativeStats.java | 20 +- .../media_engine/internal/Outbound.java | 30 +- .../media_engine/internal/OutboundAudio.java | 96 +- .../media_engine/internal/OutboundVideo.java | 68 +- .../media_engine/internal/PacketStats.java | 16 +- .../media_engine/internal/RtcpStats.java | 28 +- .../media_engine/internal/RtpStats.java | 16 +- .../media_engine/internal/Screenshare.java | 16 +- .../media_engine/internal/Substream.java | 48 +- .../media_engine/internal/TransformStats.java | 4 +- .../media_engine/internal/Transport.java | 32 +- .../java/com/adjust/sdk/ActivityHandler.java | 10 +- .../java/com/adjust/sdk/AdjustFactory.java | 2 +- .../main/java/com/adjust/sdk/DeviceInfo.java | 6 +- .../java/com/adjust/sdk/RequestHandler.java | 24 +- .../java/com/adjust/sdk/SdkClickHandler.java | 12 +- app/src/main/java/com/adjust/sdk/Util.java | 6 +- .../java/com/adjust/sdk/UtilNetworking.java | 8 +- .../sdk/scheduler/ThreadFactoryWrapper.java | 10 +- .../airbnb/lottie/LottieAnimationView.java | 64 +- .../billingclient/api/BillingFlowParams.java | 8 +- .../api/ProxyBillingActivity.java | 21 +- .../android/billingclient/api/Purchase.java | 16 +- .../api/InstallReferrerClientImpl.java | 16 +- .../events/TrackA11yRuntimeViolation.java | 12 +- .../events/TrackAcceptedInstantInvite.java | 92 +- .../events/TrackAccountDeletionCanceled.java | 2 +- .../events/TrackAccountDeletionInitiated.java | 8 +- .../events/TrackAccountLinkFailed.java | 24 +- .../events/TrackAccountLinkStep.java | 16 +- .../events/TrackAccountLinkSuccessful.java | 2 +- .../events/TrackAccountRestored.java | 2 +- .../generated/events/TrackAckMessages.java | 2 +- .../events/TrackActivityReportDontShow.java | 8 +- .../events/TrackActivityReportProblem.java | 36 +- .../events/TrackActivitySessionJoined.java | 20 +- .../events/TrackActivitySessionLeft.java | 24 +- .../events/TrackActivityUpdated.java | 48 +- .../events/TrackAddChannelRecipient.java | 16 +- .../generated/events/TrackAddReaction.java | 32 +- .../events/TrackAddressValidationFailed.java | 2 +- .../events/TrackAfCustomizationOpened.java | 2 +- .../events/TrackAfCustomizationSaved.java | 24 +- .../generated/events/TrackAfDmVisited.java | 2 +- .../generated/events/TrackAfExited.java | 52 +- .../generated/events/TrackAfLoaded.java | 96 +- .../generated/events/TrackAfNewsChanged.java | 16 +- .../generated/events/TrackAfNewsOpened.java | 8 +- .../generated/events/TrackAfNewsViewed.java | 8 +- .../events/TrackAfUserPopoutOpened.java | 8 +- .../events/TrackAgeGateSubmitted.java | 16 +- .../events/TrackAnalyticsDataQueried.java | 32 +- .../events/TrackAnalyticsOttEventTracked.java | 12 +- .../events/TrackAndroidHardwareSurvey.java | 68 +- .../generated/events/TrackAppCrashed.java | 8 +- .../events/TrackAppExceptionThrown.java | 2 +- .../events/TrackAppExternalViewClosed.java | 8 +- .../events/TrackAppFirstLaunched.java | 2 +- .../generated/events/TrackAppFirstLogin.java | 2 +- .../events/TrackAppLandingViewed.java | 2 +- .../events/TrackAppLaunchCompleted.java | 20 +- .../events/TrackAppModulesUpdated.java | 580 +- .../generated/events/TrackAppNativeCrash.java | 52 +- .../events/TrackAppNoticeClosed.java | 16 +- .../events/TrackAppNoticeDisplayed.java | 2 +- .../TrackAppNoticePrimaryCtaOpened.java | 2 +- .../events/TrackAppNoticeViewed.java | 2 +- .../generated/events/TrackAppOpened.java | 24 +- .../generated/events/TrackAppUiViewed.java | 68 +- .../events/TrackApplicationAssetCreated.java | 38 +- .../events/TrackApplicationAssetDeleted.java | 38 +- .../events/TrackApplicationAssetsEnabled.java | 2 +- .../events/TrackApplicationClosed.java | 20 +- .../TrackApplicationCommandBrowserJumped.java | 2 +- .../TrackApplicationCommandBrowserOpened.java | 2 +- ...ationCommandBrowserSearchResultViewed.java | 8 +- .../TrackApplicationCommandSelected.java | 8 +- .../events/TrackApplicationCommandUsed.java | 12 +- ...ackApplicationCommandValidationFailed.java | 16 +- .../events/TrackApplicationCreated.java | 32 +- .../events/TrackApplicationDeleted.java | 20 +- ...TrackApplicationGeneratedGenericEvent.java | 20 +- .../events/TrackApplicationOpened.java | 44 +- .../TrackApplicationSettingsUpdated.java | 28 +- .../events/TrackApplicationUpdated.java | 44 +- .../TrackAttachmentReportedToNcmec.java | 20 +- .../events/TrackAuthorizeLoginLocation.java | 2 +- .../events/TrackAuthorizedAppConnected.java | 8 +- .../events/TrackAuthorizedAppGranted.java | 2 +- .../events/TrackAuthorizedAppRemoved.java | 2 +- .../events/TrackAutoSuggestDisplayed.java | 2 +- .../TrackAutoSuggestExpressionSelected.java | 12 +- .../TrackAutomatedMessageDismissed.java | 8 +- .../events/TrackAutomatedMessageReceived.java | 8 +- .../generated/events/TrackBotAbused.java | 8 +- .../generated/events/TrackBotQuarantined.java | 2 +- .../events/TrackBotTokenCompromised.java | 8 +- .../events/TrackBrowserHandoffSucceeded.java | 2 +- .../events/TrackCallReportProblem.java | 108 +- .../events/TrackCancellationFlowStarted.java | 2 +- .../events/TrackCancellationFlowStep.java | 20 +- .../generated/events/TrackCaptchaFailed.java | 2 +- .../generated/events/TrackCaptchaServed.java | 36 +- .../generated/events/TrackCaptchaSolved.java | 68 +- .../events/TrackChangeLogClosed.java | 16 +- .../events/TrackChangeLogCtaClicked.java | 20 +- .../events/TrackChangeLogOpened.java | 2 +- .../events/TrackChangeLogVideoInteracted.java | 2 +- .../events/TrackChangeMarketingLocale.java | 8 +- .../events/TrackChannelAutocompleteOpen.java | 20 +- .../TrackChannelAutocompleteSelected.java | 32 +- .../generated/events/TrackChannelDeleted.java | 12 +- .../events/TrackChannelMemberKicked.java | 2 +- .../events/TrackChannelNoticeClosed.java | 2 +- .../events/TrackChannelNoticeCtaClicked.java | 12 +- .../events/TrackChannelNoticeViewed.java | 2 +- .../generated/events/TrackChannelOpened.java | 12 +- ...ackChannelPermissionsOverwriteUpdated.java | 28 +- .../TrackChannelPermissionsPageViewed.java | 12 +- .../events/TrackChannelSettingsOpened.java | 2 +- .../generated/events/TrackChannelUpdated.java | 88 +- .../events/TrackChatInputComponentViewed.java | 2 +- .../events/TrackClickLandingCta.java | 16 +- .../generated/events/TrackCloseTutorial.java | 12 +- .../TrackConnectedAccountInitiated.java | 2 +- .../events/TrackConnectedAccountViewed.java | 2 +- .../events/TrackContactSelected.java | 2 +- .../generated/events/TrackContactSync.java | 12 +- .../events/TrackContextMenuImageCopied.java | 8 +- .../TrackContextMenuImageCopyFailed.java | 8 +- .../TrackContextMenuImageSaveFailed.java | 8 +- .../events/TrackContextMenuImageSaved.java | 8 +- .../events/TrackContextMenuLinkCopied.java | 8 +- .../events/TrackContextMenuLinkOpened.java | 8 +- .../events/TrackCopyInstantInvite.java | 24 +- .../generated/events/TrackCreateChannel.java | 48 +- .../generated/events/TrackCreateEmoji.java | 8 +- .../generated/events/TrackCreateGuild.java | 8 +- .../events/TrackCreateGuildViewed.java | 2 +- .../events/TrackCreateInstantInvite.java | 40 +- .../generated/events/TrackCreateSticker.java | 18 +- .../events/TrackCustomStatusUpdated.java | 24 +- .../generated/events/TrackDataInfraTest.java | 8 +- .../events/TrackDataRequestCanceled.java | 2 +- .../events/TrackDataRequestCompleted.java | 2 +- .../events/TrackDataRequestInitiated.java | 2 +- .../events/TrackDeepLinkClicked.java | 24 +- .../events/TrackDeepLinkReceived.java | 16 +- .../generated/events/TrackDeleteEmoji.java | 2 +- .../generated/events/TrackDeleteGuild.java | 32 +- .../generated/events/TrackDeleteSticker.java | 22 +- .../events/TrackDetectPlatformAccount.java | 8 +- .../events/TrackDevPortalAuthUrlCopied.java | 20 +- .../events/TrackDevPortalCtaClicked.java | 2 +- .../events/TrackDevPortalCtaViewed.java | 2 +- .../TrackDevPortalOutboundLinkClicked.java | 2 +- .../events/TrackDevPortalPageViewed.java | 40 +- ...ackDevPortalRpApprovalFormStateChange.java | 32 +- .../events/TrackDevPortalRpVizUsed.java | 32 +- .../events/TrackDiscoverySetupCtaClicked.java | 16 +- .../TrackDiscoverySetupPopularTagClicked.java | 8 +- .../events/TrackDismissAllTutorials.java | 2 +- .../generated/events/TrackDmEmptyAction.java | 8 +- .../generated/events/TrackDmListViewed.java | 8 +- .../generated/events/TrackDmSafety.java | 12 +- .../generated/events/TrackDnsblHit.java | 2 +- .../generated/events/TrackDomainMigrated.java | 12 +- .../generated/events/TrackDownloadApp.java | 32 +- .../events/TrackEasterEggInteracted.java | 2 +- .../generated/events/TrackEmailClicked.java | 32 +- .../events/TrackEmailDownloadAppsHit.java | 8 +- .../generated/events/TrackEmailPixelHit.java | 2 +- .../generated/events/TrackEmailSent.java | 28 +- ...rackEmojiUpsellPopoutMoreEmojisOpened.java | 8 +- .../events/TrackEnableNotifications.java | 8 +- .../events/TrackExperimentCustomEvent.java | 12 +- .../events/TrackExperimentDmTriggered.java | 16 +- .../events/TrackExperimentGuildTriggered.java | 28 +- .../events/TrackExperimentUserTriggered.java | 28 +- ...pressionPickerCategoryCollapseToggled.java | 16 +- ...TrackExpressionPickerCategorySelected.java | 12 +- .../events/TrackExpressionPickerOpened.java | 12 +- ...rackExpressionPickerStickerShopViewed.java | 2 +- .../TrackExpressionPickerTabClicked.java | 8 +- .../TrackExternalDynamicLinkReceived.java | 28 +- .../TrackExternalFingerprintDropped.java | 8 +- .../events/TrackExternalPaymentFailed.java | 80 +- .../events/TrackExternalPaymentSucceeded.java | 80 +- .../events/TrackExternalShareOpened.java | 8 +- .../events/TrackFailedMessageResolved.java | 36 +- .../events/TrackFileSizeLimitExceeded.java | 12 +- .../events/TrackFileUploadAlertViewed.java | 40 +- .../events/TrackFooterNavigation.java | 8 +- .../events/TrackFriendAddViewed.java | 8 +- .../events/TrackFriendRequestFailed.java | 40 +- .../events/TrackFriendSuggestionSkipped.java | 44 +- .../events/TrackFriendSyncPerformed.java | 44 +- .../events/TrackFriendsListViewed.java | 36 +- .../events/TrackGameClickedLanding.java | 2 +- .../generated/events/TrackGameJoined.java | 12 +- .../events/TrackGameNewsChanged.java | 20 +- .../generated/events/TrackGameNewsOpened.java | 12 +- .../generated/events/TrackGameNewsViewed.java | 8 +- .../TrackGameNotificationSettingsUpdated.java | 16 +- .../generated/events/TrackGameOpened.java | 28 +- .../generated/events/TrackGameSpectated.java | 12 +- .../generated/events/TrackGiftCodeOpened.java | 2 +- .../events/TrackGiftCodeResolved.java | 2 +- .../generated/events/TrackGiftCodeSent.java | 2 +- .../events/TrackGlPatchComplete.java | 2 +- .../generated/events/TrackGlPatchFailed.java | 2 +- .../events/TrackGlVerificationFailed.java | 8 +- ...GooglePlayOneTimeNotificationReceived.java | 48 +- ...ePlaySubscriptionNotificationReceived.java | 52 +- .../generated/events/TrackGuildBotAdded.java | 24 +- .../TrackGuildCreationIntentSelected.java | 8 +- .../events/TrackGuildDefaultDmsUpdated.java | 8 +- .../TrackGuildDirectoryChannelViewed.java | 12 +- .../TrackGuildDirectoryEntryReported.java | 20 +- .../events/TrackGuildDirectorySearch.java | 8 +- .../events/TrackGuildDiscoveryExited.java | 12 +- .../TrackGuildDiscoveryGuildJoinClicked.java | 8 +- .../TrackGuildDiscoveryGuildSelected.java | 16 +- .../events/TrackGuildDiscoveryViewed.java | 28 +- .../TrackGuildInsightsDataFetchFailed.java | 2 +- .../TrackGuildInsightsGuildGridViewed.java | 2 +- .../TrackGuildInsightsSettingsCtaClicked.java | 2 +- .../TrackGuildInviteReminderScheduled.java | 2 +- .../TrackGuildInviteReminderUnscheduled.java | 2 +- .../events/TrackGuildJoinFailed.java | 2 +- .../generated/events/TrackGuildJoined.java | 60 +- .../events/TrackGuildLimitReached.java | 2 +- .../events/TrackGuildMemberUpdated.java | 60 +- ...ackGuildMembershipGateSettingsUpdated.java | 2 +- .../TrackGuildProgramStatusUpdated.java | 24 +- .../generated/events/TrackGuildReported.java | 20 +- .../events/TrackGuildRoleUpdated.java | 32 +- .../TrackGuildScheduledEventCreated.java | 48 +- .../TrackGuildScheduledEventDeleted.java | 48 +- .../events/TrackGuildScheduledEventEnded.java | 76 +- .../TrackGuildScheduledEventLinkCopied.java | 2 +- ...kGuildScheduledEventPurchaseInitiated.java | 2 +- .../TrackGuildScheduledEventStarted.java | 76 +- .../TrackGuildScheduledEventSubscribed.java | 8 +- .../TrackGuildScheduledEventUnsubscribed.java | 8 +- .../TrackGuildScheduledEventUpdated.java | 76 +- .../TrackGuildScheduledEventViewed.java | 8 +- .../events/TrackGuildSetSoftDelete.java | 2 +- .../TrackGuildSettingsDiscoveryUpdated.java | 24 +- .../TrackGuildSettingsDiscoveryViewed.java | 8 +- .../events/TrackGuildSettingsOpened.java | 2 +- .../events/TrackGuildSettingsUpdated.java | 80 +- .../events/TrackGuildTemplateLinkUpdated.java | 2 +- .../events/TrackGuildTemplateOpened.java | 8 +- .../events/TrackGuildTemplateResolved.java | 2 +- .../events/TrackGuildTemplateSelected.java | 8 +- .../generated/events/TrackGuildViewed.java | 24 +- ...TrackGuildWelcomeScreenOptionSelected.java | 2 +- ...rackGuildWelcomeScreenSettingsUpdated.java | 2 +- .../events/TrackHardwareDetected.java | 96 +- .../generated/events/TrackHelpClicked.java | 2 +- .../generated/events/TrackHookResult.java | 20 +- .../events/TrackHoverMenuOpened.java | 8 +- .../events/TrackHubWaitlistSubmitted.java | 8 +- .../TrackHypesquadSubscriptionUpdated.java | 8 +- .../events/TrackIgnoreFriendSuggestion.java | 2 +- .../events/TrackIgnorePlatformAccount.java | 8 +- .../generated/events/TrackImageScanned.java | 40 +- .../events/TrackInboxChannelAcked.java | 8 +- .../events/TrackInboxChannelCollapsed.java | 8 +- .../events/TrackInfraApiHttpP95latency.java | 8 +- .../events/TrackInfraApiHttpRequest.java | 8 +- .../events/TrackInitialCacheLoaded.java | 2 +- .../TrackInstantInviteOptionClicked.java | 24 +- .../events/TrackInstantInviteShared.java | 24 +- .../events/TrackIntegrationAdded.java | 22 +- .../events/TrackIntegrationRemoved.java | 22 +- .../events/TrackInteractibleUiLoaded.java | 8 +- .../events/TrackInviteAppInvoked.java | 2 +- .../events/TrackInviteAppOpened.java | 20 +- .../events/TrackInviteLearnMore.java | 16 +- .../generated/events/TrackInviteLogin.java | 16 +- .../events/TrackInviteLoginSuccessful.java | 20 +- .../generated/events/TrackInviteOpened.java | 8 +- .../generated/events/TrackInviteSent.java | 68 +- .../events/TrackInviteSuggestionOpened.java | 20 +- .../generated/events/TrackJoinCall.java | 20 +- .../generated/events/TrackJoinExperiment.java | 16 +- .../events/TrackJoinStageInstance.java | 56 +- .../generated/events/TrackJoinThread.java | 24 +- .../events/TrackJoinVoiceChannel.java | 60 +- .../events/TrackJoinedIntegration.java | 28 +- .../analytics/generated/events/TrackJump.java | 12 +- .../events/TrackKeyboardModeToggled.java | 2 +- .../events/TrackKeyboardShortcutUsed.java | 8 +- .../generated/events/TrackLaunchGame.java | 32 +- .../generated/events/TrackLeaveGuild.java | 8 +- .../events/TrackLeaveStageInstance.java | 84 +- .../generated/events/TrackLeaveThread.java | 24 +- .../events/TrackLeaveVoiceChannel.java | 88 +- .../events/TrackLfgBrowserExited.java | 8 +- .../events/TrackLfgBrowserViewed.java | 16 +- .../events/TrackLfgDirectoryViewed.java | 20 +- .../generated/events/TrackLfgGroupJoined.java | 8 +- .../generated/events/TrackLfgGroupLeft.java | 2 +- .../events/TrackLfgGroupUpdated.java | 16 +- .../events/TrackLibraryScanningEnabled.java | 2 +- .../generated/events/TrackLibraryViewed.java | 40 +- .../events/TrackLinkSecurityCheckBlocked.java | 2 +- .../events/TrackLocalSettingsUpdated.java | 28 +- .../generated/events/TrackLoginAttempted.java | 8 +- .../events/TrackLoginSuccessful.java | 20 +- .../generated/events/TrackLoginViewed.java | 24 +- .../TrackMailingListContactUpdateFailed.java | 12 +- .../TrackMailingListSubscriptionFailed.java | 12 +- .../events/TrackMainNavigationMenu.java | 16 +- .../generated/events/TrackMarkAsRead.java | 8 +- .../events/TrackMediaDeviceChanged.java | 16 +- .../events/TrackMediaSessionJoined.java | 36 +- .../events/TrackMemberListNoticeClosed.java | 2 +- .../TrackMemberListNoticeCtaClicked.java | 2 +- .../events/TrackMemberListNoticeViewed.java | 2 +- .../events/TrackMemberListViewed.java | 20 +- .../events/TrackMessageAttachmentUpdated.java | 16 +- .../events/TrackMessageComponentUsed.java | 16 +- .../generated/events/TrackMessageDeleted.java | 8 +- .../events/TrackMessageDeletedByAdmin.java | 8 +- .../generated/events/TrackMessageEdited.java | 128 +- .../events/TrackMessageReported.java | 24 +- .../events/TrackMicTestingStarted.java | 28 +- .../events/TrackMicTestingStopped.java | 2 +- .../events/TrackMktgApplicationStep.java | 12 +- .../TrackMktgHypesquadFormSubmitted.java | 2 +- .../events/TrackMktgNitroCtaClicked.java | 2 +- .../events/TrackMktgNitroOpened.java | 2 +- .../events/TrackMktgPageCtaClicked.java | 8 +- .../generated/events/TrackMktgPageViewed.java | 24 +- .../events/TrackMktgVideoPlayed.java | 8 +- .../events/TrackMktgWarframeCtaClicked.java | 2 +- .../TrackMobileAppDownloadModalAcked.java | 2 +- .../events/TrackMobileOverlayClosed.java | 8 +- .../events/TrackMobileOverlayOpened.java | 12 +- .../events/TrackMobileOverlayToggled.java | 2 +- .../generated/events/TrackModalDismissed.java | 12 +- .../events/TrackMultiAccountAssociation.java | 49 + .../TrackMultiAccountAssociationReceiver.java | 6 + .../generated/events/TrackNameSubmitted.java | 8 +- ...TrackNativeEchoCancellationConfigured.java | 36 +- .../events/TrackNavDrawerOpened.java | 8 +- .../events/TrackNetworkingPeerMetrics.java | 44 +- .../events/TrackNetworkingSystemMetrics.java | 120 +- .../events/TrackNewsCardEditorViewed.java | 20 +- .../events/TrackNewsCardUpdated.java | 28 +- .../generated/events/TrackNewsLinkCopied.java | 16 +- .../generated/events/TrackNewsLinkShared.java | 20 +- .../TrackNoiseCancellationLinkClicked.java | 8 +- .../events/TrackNotificationClicked.java | 64 +- .../events/TrackNotificationCtaClicked.java | 12 +- .../TrackNotificationDeviceTokenUpdate.java | 16 +- ...kNotificationPermissionPrepromptAcked.java | 12 +- .../TrackNotificationPermissionStatus.java | 12 +- .../events/TrackNotificationRendered.java | 76 +- .../events/TrackNotificationSent.java | 20 +- .../TrackNotificationSentGameLaunched.java | 16 +- .../TrackNotificationSettingsClicked.java | 8 +- .../TrackNotificationSettingsUpdated.java | 52 +- .../events/TrackNotificationViewed.java | 44 +- .../TrackNotifyStreamSettingUpdate.java | 8 +- .../generated/events/TrackNudgeDisplayed.java | 2 +- .../generated/events/TrackNudgeOpened.java | 2 +- .../events/TrackNufStepComplete.java | 2 +- .../generated/events/TrackNuoGuildInfo.java | 28 +- .../events/TrackNuoMobileAppTextError.java | 2 +- .../events/TrackNuoNativeAppDownload.java | 2 +- .../generated/events/TrackNuoTransition.java | 24 +- .../events/TrackOauth2AuthorizeAccepted.java | 2 +- .../events/TrackOauth2AuthorizeViewed.java | 2 +- .../generated/events/TrackOpenModal.java | 92 +- .../generated/events/TrackOpenPopout.java | 88 +- .../TrackOutboundPromotionCodeClaimed.java | 2 +- .../events/TrackOverlayAttached.java | 8 +- .../events/TrackOverlayAttaching.java | 24 +- .../events/TrackOverlayHookResult.java | 2 +- .../generated/events/TrackOverlayHooked.java | 8 +- .../generated/events/TrackOverlayHooking.java | 16 +- .../events/TrackOverlayInitialized.java | 8 +- .../events/TrackOverlayLayoutUpdated.java | 36 +- .../generated/events/TrackOverlayLocked.java | 2 +- .../events/TrackOverlayPerfInfo.java | 76 +- .../events/TrackOverlayPinToggled.java | 20 +- .../events/TrackOverlaySettingsUpdated.java | 28 +- .../generated/events/TrackOverlayToggled.java | 16 +- .../events/TrackPartnersApplyform.java | 8 +- .../events/TrackPaymentAttempted.java | 104 +- .../generated/events/TrackPaymentBlocked.java | 108 +- .../events/TrackPaymentException.java | 8 +- .../generated/events/TrackPaymentFailed.java | 112 +- .../events/TrackPaymentFlowCompleted.java | 16 +- .../events/TrackPaymentFlowFailed.java | 24 +- .../events/TrackPaymentFlowStarted.java | 12 +- .../events/TrackPaymentFlowStep.java | 24 +- .../events/TrackPaymentRefunded.java | 112 +- .../events/TrackPaymentSourceAdded.java | 28 +- .../events/TrackPaymentSourceRemoved.java | 2 +- .../events/TrackPaymentSourceUpdated.java | 12 +- .../events/TrackPaymentSucceeded.java | 104 +- .../events/TrackPermissionsAcked.java | 12 +- .../events/TrackPermissionsRequested.java | 2 +- .../TrackPhoneCarrierTypeNotMobile.java | 8 +- .../events/TrackPinLimitReached.java | 2 +- .../generated/events/TrackPinMessage.java | 16 +- .../events/TrackPremiumCanceled.java | 12 +- .../TrackPremiumChangelogCtaClicked.java | 2 +- ...TrackPremiumGuildSubscriptionCanceled.java | 16 +- .../TrackPremiumGuildSubscriptionCreated.java | 28 +- ...ackPremiumGuildSubscriptionCtaClicked.java | 8 +- .../TrackPremiumGuildSubscriptionRemoved.java | 24 +- .../events/TrackPremiumGuildUpsellViewed.java | 2 +- .../TrackPremiumMarketingPageExited.java | 16 +- .../TrackPremiumMarketingPageViewed.java | 2 +- .../events/TrackPremiumPurchaseCompleted.java | 16 +- .../events/TrackPremiumPurchaseStarted.java | 2 +- .../generated/events/TrackPremiumRemoved.java | 2 +- .../events/TrackPremiumResubscribed.java | 16 +- ...TrackPremiumUncancelWinbackCtaClicked.java | 2 +- .../events/TrackPremiumUpgradeCompleted.java | 12 +- .../events/TrackPremiumUpgradeStarted.java | 8 +- .../events/TrackPremiumUpsellViewed.java | 32 +- .../generated/events/TrackPressButton.java | 8 +- .../TrackPreviousAppSessionDetected.java | 12 +- .../events/TrackPrivacyControlUpdated.java | 8 +- .../events/TrackPromotedToSpeaker.java | 16 +- .../events/TrackPromotionViewed.java | 20 +- .../events/TrackQuickswitcherClosed.java | 96 +- .../events/TrackQuickswitcherOpened.java | 16 +- .../TrackQuickswitcherResultSelected.java | 96 +- .../events/TrackReactionLimitReached.java | 2 +- .../events/TrackReadyPayloadReceived.java | 180 +- .../events/TrackReceiveFriendSuggestion.java | 28 +- .../generated/events/TrackRegister.java | 76 +- .../events/TrackRegisterAttemptCaptcha.java | 64 +- .../events/TrackRegisterAttempted.java | 80 +- .../events/TrackRegisterTransition.java | 48 +- .../generated/events/TrackRegisterViewed.java | 28 +- .../events/TrackRelationshipSyncFlow.java | 40 +- .../events/TrackRemoveChannelRecipient.java | 24 +- .../generated/events/TrackRemoveReaction.java | 32 +- .../generated/events/TrackReplyStarted.java | 8 +- .../events/TrackRequestRateLimited.java | 2 +- .../events/TrackRequestToSpeakInitiated.java | 16 +- .../generated/events/TrackResolveInvite.java | 60 +- .../events/TrackRichChatTextBoxToggled.java | 2 +- .../generated/events/TrackRingCall.java | 16 +- .../generated/events/TrackRolePageViewed.java | 28 +- ...ckRoleSubscriptionGroupListingCreated.java | 40 + ...bscriptionGroupListingCreatedReceiver.java | 6 + .../TrackRoleSubscriptionListingCreated.java | 82 + ...oleSubscriptionListingCreatedReceiver.java | 6 + .../TrackRoleSubscriptionListingDeleted.java | 56 + ...oleSubscriptionListingDeletedReceiver.java | 6 + ...TrackRoleSubscriptionListingPublished.java | 56 + ...eSubscriptionListingPublishedReceiver.java | 6 + .../TrackRoleSubscriptionListingUpdated.java | 82 + ...oleSubscriptionListingUpdatedReceiver.java | 6 + ...leSubscriptionListingUpsellPageViewed.java | 78 + ...iptionListingUpsellPageViewedReceiver.java | 6 + .../events/TrackRoleTemplateSelected.java | 2 +- .../generated/events/TrackRpcCommandSent.java | 8 +- .../events/TrackRpcSubscriptionRequested.java | 2 +- .../generated/events/TrackRpcUserCreated.java | 2 +- .../events/TrackScreenshareFailed.java | 12 +- .../events/TrackScreenshareFinished.java | 108 +- .../generated/events/TrackSearchClosed.java | 8 +- .../generated/events/TrackSearchOpened.java | 8 +- .../events/TrackSearchResultEmpty.java | 8 +- .../events/TrackSearchResultExpanded.java | 28 +- .../events/TrackSearchResultSelected.java | 52 +- .../events/TrackSearchResultSortChanged.java | 8 +- .../events/TrackSearchResultViewed.java | 96 +- .../generated/events/TrackSearchStarted.java | 28 +- .../generated/events/TrackSendEmail.java | 8 +- .../generated/events/TrackSendMessage.java | 152 +- .../events/TrackSentMissedMessageEmail.java | 32 +- .../events/TrackServerSetupCtaClicked.java | 20 +- .../generated/events/TrackSessionEnd.java | 2 +- .../generated/events/TrackSessionStart.java | 2 +- .../events/TrackSettingsPaneViewed.java | 16 +- .../generated/events/TrackShowTutorial.java | 8 +- .../events/TrackSkuEntitlementCreated.java | 16 +- .../events/TrackSkuEntitlementDeleted.java | 8 +- .../events/TrackSkuEntitlementUpdated.java | 8 +- .../generated/events/TrackSkuUpdated.java | 80 +- .../TrackSlashCommandSuggestionsToggled.java | 2 +- .../events/TrackSlashCommandUsed.java | 2 +- .../TrackSmiteActionClassification.java | 56 +- .../events/TrackSmsEnqueueFailed.java | 24 +- .../events/TrackSmsEnqueueRequested.java | 20 +- .../events/TrackSmsEnqueueSucceeded.java | 20 +- .../events/TrackSmsMessageStatusChanged.java | 28 +- .../events/TrackSoundpackUpdated.java | 8 +- .../events/TrackSoundshareAttached.java | 12 +- .../events/TrackSoundshareEnable.java | 8 +- .../events/TrackSoundshareFailed.java | 24 +- .../events/TrackSoundshareTransmitting.java | 12 +- .../events/TrackSpotifyButtonClicked.java | 20 +- .../events/TrackSpotifyListenAlongEnded.java | 8 +- .../TrackSpotifyListenAlongStarted.java | 8 +- .../events/TrackStageChannelReported.java | 24 +- .../events/TrackStageDiscoveryExited.java | 20 +- .../events/TrackStageDiscoveryLoaded.java | 28 +- .../events/TrackStageDiscoveryReloaded.java | 20 +- .../TrackStageDiscoveryStageExited.java | 32 +- .../TrackStageDiscoveryStageJoined.java | 32 +- .../TrackStageDiscoveryStageOpened.java | 28 +- .../TrackStageDiscoveryStartStageClicked.java | 2 +- ...rackStageDiscoveryStartStageCompleted.java | 8 +- .../events/TrackStageInstanceEnded.java | 40 +- .../events/TrackStageInstanceStarted.java | 44 +- .../events/TrackStageInstanceUpdated.java | 20 +- .../generated/events/TrackStartCall.java | 16 +- .../generated/events/TrackStartListening.java | 48 +- .../generated/events/TrackStartSpeaking.java | 60 +- .../events/TrackStartStageOpened.java | 8 +- .../events/TrackStickerAttached.java | 12 +- .../events/TrackStickerMessageSent.java | 20 +- .../events/TrackStickerPackViewAll.java | 8 +- .../events/TrackStickerSearchViewAll.java | 8 +- ...TrackStickerSuggestionsEnabledToggled.java | 2 +- .../events/TrackStopRingingCall.java | 20 +- .../generated/events/TrackStopSpeaking.java | 16 +- .../TrackStoreDirectoryBrowseViewed.java | 2 +- .../TrackStoreDirectoryCardInteracted.java | 44 +- .../events/TrackStoreDirectoryExited.java | 16 +- .../TrackStoreDirectoryFilterUpdated.java | 8 +- .../TrackStoreDirectoryHeroScrolled.java | 12 +- .../events/TrackStoreDirectoryHeroViewed.java | 12 +- .../events/TrackStoreDirectoryViewed.java | 2 +- .../events/TrackStoreListingExited.java | 8 +- .../TrackStoreListingMediaScrolled.java | 8 +- .../events/TrackStoreListingUpdated.java | 48 +- .../events/TrackStoreListingViewed.java | 104 +- .../events/TrackStreamReportProblem.java | 40 +- .../events/TrackStreamSettingsUpdate.java | 28 +- .../events/TrackStreamWarningTriggered.java | 40 +- .../events/TrackStreamWarningViewed.java | 40 +- .../events/TrackStreamerModeToggle.java | 8 +- .../events/TrackStrictSslRequestAttempt.java | 8 +- ...TrackSubscriptionAccountHoldRecovered.java | 32 +- .../TrackSubscriptionAccountHoldStarted.java | 32 +- .../events/TrackSubscriptionCanceled.java | 40 +- .../TrackSubscriptionCodeAttempted.java | 8 +- .../events/TrackSubscriptionCodeUsed.java | 16 +- .../TrackSubscriptionLazySyncUserPerks.java | 48 +- .../TrackSubscriptionPaymentSourceAdded.java | 36 +- ...TrackSubscriptionPaymentSourceUpdated.java | 52 +- .../TrackSubscriptionPeriodScheduled.java | 36 +- .../events/TrackSubscriptionPlanUpdated.java | 56 +- .../events/TrackSubscriptionRemoved.java | 24 +- .../events/TrackSubscriptionResubscribed.java | 40 +- .../events/TrackSurveySubmitted.java | 28 +- .../events/TrackSuspiciousRequestBlocked.java | 28 +- .../TrackSystemMessageAgeRestrictedSent.java | 8 +- .../generated/events/TrackSystemSurvey.java | 48 +- .../TrackTemporaryPaymentAuthAttempted.java | 104 +- .../generated/events/TrackTextCopied.java | 2 +- .../generated/events/TrackTextShared.java | 2 +- .../events/TrackThreadBrowserTabChanged.java | 2 +- .../events/TrackThreadLimitReached.java | 12 +- ...rackThreadNotificationSettingsUpdated.java | 52 +- .../events/TrackThreadNudgeShown.java | 8 +- .../events/TrackTipaltiIpnReceived.java | 48 +- .../generated/events/TrackTooltipViewed.java | 2 +- .../events/TrackTransactionCompleted.java | 84 +- .../events/TrackTweetInstantInvite.java | 8 +- .../TrackUnsubscribeEmailNotifications.java | 2 +- .../events/TrackUpdateConnectedAccount.java | 32 +- .../generated/events/TrackUpdateNote.java | 8 +- .../events/TrackUpdateRelationship.java | 20 +- .../generated/events/TrackUpdateSticker.java | 18 +- .../TrackUpdateStreamerModeSettings.java | 24 +- .../events/TrackUpdateUserSettings.java | 128 +- .../events/TrackUploadDragAndDropCount.java | 37 + .../TrackUploadDragAndDropCountReceiver.java | 6 + .../events/TrackUploadFileLimitError.java | 48 + .../TrackUploadFileLimitErrorReceiver.java | 6 + .../generated/events/TrackUploadVirus.java | 24 +- .../generated/events/TrackUpsellClicked.java | 12 +- .../generated/events/TrackUpsellViewed.java | 8 +- .../events/TrackUserAccountUpdated.java | 68 +- .../events/TrackUserAgeSubmitted.java | 2 +- .../events/TrackUserAttributionReceived.java | 24 +- .../events/TrackUserAvatarUpdated.java | 8 +- .../events/TrackUserFlowTransition.java | 24 +- .../TrackUserInitiatedPhoneAssociation.java | 20 +- .../events/TrackUserPhoneUpdated.java | 12 +- ...ackUserPhoneVerificationRequestFailed.java | 2 +- ...rPremiumGuildSubscriptionSlotCanceled.java | 8 +- ...erPremiumGuildSubscriptionSlotCreated.java | 8 +- ...erPremiumGuildSubscriptionSlotRemoved.java | 12 +- ...remiumGuildSubscriptionSlotUncanceled.java | 8 +- .../events/TrackUserReportSubmitted.java | 16 +- .../TrackUserSettingsKeybindUpdated.java | 12 +- .../events/TrackUserSettingsOpened.java | 2 +- .../generated/events/TrackVerifyAccount.java | 8 +- .../events/TrackVerifyAccountAppOpened.java | 2 +- .../events/TrackVerifyEnqueueFailed.java | 12 +- .../events/TrackVerifyEnqueueRequested.java | 8 +- .../events/TrackVerifyEnqueueSucceeded.java | 8 +- .../events/TrackVideoBackgroundFeedback.java | 64 +- .../events/TrackVideoEffectUpdated.java | 40 +- .../events/TrackVideoEventTimes.java | 44 +- .../events/TrackVideoInputInitialized.java | 20 +- .../events/TrackVideoInputToggled.java | 88 +- .../events/TrackVideoLayoutToggled.java | 52 +- .../events/TrackVideoStreamEnded.java | 632 +- .../TrackVideoStreamQualityChanged.java | 28 +- .../events/TrackVideoStreamStarted.java | 76 +- .../events/TrackVideohookInitialized.java | 36 +- .../events/TrackViewAcknowledgements.java | 2 +- .../events/TrackViewAsRolesSelected.java | 2 +- .../generated/events/TrackViewLanding.java | 8 +- .../TrackVoiceAudioOutputModeEnabled.java | 36 +- .../TrackVoiceAudioOutputModeSelected.java | 28 +- .../events/TrackVoiceChannelSelected.java | 2 +- .../events/TrackVoiceConnectionFailure.java | 56 +- .../events/TrackVoiceConnectionSuccess.java | 64 +- .../events/TrackVoiceDisconnect.java | 360 +- .../events/TrackVoiceProcessing.java | 24 +- .../generated/events/TrackVoiceQuality.java | 44 +- .../events/TrackVoiceWatchdogTimeout.java | 2 +- .../generated/events/TrackWebhookCreated.java | 36 +- .../generated/events/TrackWebhookDeleted.java | 36 +- .../events/TrackWelcomeCtaClicked.java | 16 +- .../TrackImpressionGuildInvite.java | 8 +- .../TrackImpressionGuildInviteSearch.java | 8 +- .../TrackImpressionInviteAccept.java | 8 +- ...ckImpressionPushNotificationPreprompt.java | 2 +- ...ionPushNotificationReactivationPrompt.java | 2 +- .../TrackImpressionUserAgeGate.java | 2 +- .../TrackImpressionUserAgeGateUnderage.java | 2 +- .../impression/TrackImpressionUserLogin.java | 2 +- .../TrackImpressionUserRegistration.java | 2 +- .../TrackNetworkActionChannelCreate.java | 20 +- ...etworkActionDirectoryGuildEntryCreate.java | 12 +- ...etworkActionDirectoryGuildEntryDelete.java | 8 +- .../TrackNetworkActionEmailSettingsFetch.java | 2 +- ...TrackNetworkActionEmailSettingsUpdate.java | 16 +- .../TrackNetworkActionGuildCreate.java | 8 +- .../TrackNetworkActionHubEmailVerifySend.java | 2 +- .../TrackNetworkActionHubWaitlistSignup.java | 2 +- .../TrackNetworkActionInviteResolve.java | 52 +- ...ackNetworkActionUserConnectionsUpdate.java | 8 +- .../TrackNetworkActionUserLogin.java | 2 +- ...etworkActionUserPasswordlessLoginCode.java | 2 +- .../TrackNetworkActionUserRegister.java | 12 +- .../TrackNetworkActionUserResetPassword.java | 2 +- .../TrackNetworkActionUserSettingsUpdate.java | 8 +- .../TrackNetworkActionUserSurveyFetch.java | 2 +- .../generated/traits/TrackAfCard.java | 12 +- .../generated/traits/TrackAfGame.java | 16 +- .../generated/traits/TrackAfParty.java | 16 +- .../analytics/generated/traits/TrackBase.java | 575 +- .../generated/traits/TrackChannel.java | 24 +- .../generated/traits/TrackDirectoryEntry.java | 32 +- .../generated/traits/TrackDispatchBase.java | 20 +- .../generated/traits/TrackDispatchPatch.java | 12 +- .../generated/traits/TrackDispatchStats.java | 8 +- .../generated/traits/TrackEmail.java | 20 +- .../traits/TrackEntitlementMetadata.java | 16 +- .../traits/TrackGiftCodeMetadata.java | 20 +- .../generated/traits/TrackGuild.java | 44 +- .../generated/traits/TrackGuildLfgGroup.java | 32 +- .../TrackGuildMembershipGateMetadata.java | 8 +- .../generated/traits/TrackGuildTemplate.java | 16 +- .../traits/TrackGuildWelcomeScreen.java | 16 +- .../traits/TrackImpressionMetadata.java | 16 +- .../generated/traits/TrackInvite.java | 20 +- .../generated/traits/TrackLfgGroup.java | 28 +- .../traits/TrackLocationMetadata.java | 20 +- .../generated/traits/TrackMarketingSite.java | 2 +- .../traits/TrackNetworkInformation.java | 12 +- .../TrackNetworkInformationDurations.java | 44 +- .../traits/TrackNetworkMetadata.java | 20 +- .../generated/traits/TrackOverlay.java | 76 +- .../traits/TrackOverlayClientMetadata.java | 12 +- .../traits/TrackPaymentMetadata.java | 20 +- .../traits/TrackPriceByCurrency.java | 88 +- .../generated/traits/TrackPriceMetadata.java | 12 +- .../generated/traits/TrackSourceMetadata.java | 20 +- .../traits/TrackStoreSkuMetadata.java | 28 +- .../traits/TrackSubscriptionMetadata.java | 16 +- .../generated/traits/TrackThread.java | 24 +- .../com/discord/api/activity/Activity.java | 72 +- .../activity/ActivityActionConfirmation.java | 2 +- .../discord/api/activity/ActivityAssets.java | 16 +- .../discord/api/activity/ActivityEmoji.java | 22 +- .../api/activity/ActivityMetadata.java | 16 +- .../discord/api/activity/ActivityParty.java | 18 +- .../activity/ActivityPlatformTypeAdapter.java | 18 +- .../api/activity/ActivityTimestamps.java | 8 +- .../api/activity/ActivityTypeTypeAdapter.java | 6 +- .../discord/api/application/Application.java | 44 +- .../api/application/ThirdPartySku.java | 18 +- .../java/com/discord/api/auth/OAuthScope.java | 2 +- .../api/auth/OAuthScopeTypeAdapter.java | 8 +- .../discord/api/auth/RegisterResponse.java | 2 +- .../com/discord/api/auth/mfa/BackupCode.java | 8 +- .../api/auth/mfa/DisableMfaRequestBody.java | 2 +- .../api/auth/mfa/DisableMfaResponse.java | 2 +- .../api/auth/mfa/EnableMfaResponse.java | 8 +- .../api/auth/mfa/GetBackupCodesResponse.java | 2 +- .../api/botuikit/ActionRowComponent.java | 8 +- .../discord/api/botuikit/ButtonComponent.java | 28 +- .../api/botuikit/ButtonStyleTypeAdapter.java | 6 +- .../discord/api/botuikit/ComponentEmoji.java | 20 +- .../discord/api/botuikit/SelectComponent.java | 28 +- .../com/discord/api/botuikit/SelectItem.java | 20 +- .../gson/ComponentTypeTypeAdapter.java | 6 +- .../api/bugreport/BugReportConfig.java | 2 +- .../com/discord/api/bugreport/Feature.java | 12 +- .../java/com/discord/api/channel/Channel.java | 132 +- .../discord/api/channel/ChannelRecipient.java | 16 +- .../api/channel/ChannelRecipientNick.java | 20 +- .../com/discord/api/commands/Application.java | 4 +- .../api/commands/ApplicationCommand.java | 44 +- .../ApplicationCommandAutocompleteChoice.java | 8 +- .../ApplicationCommandAutocompleteResult.java | 8 +- .../api/commands/ApplicationCommandData.java | 28 +- .../commands/ApplicationCommandOption.java | 48 +- .../ApplicationCommandPermission.java | 20 +- ...ationCommandPermissionTypeTypeAdapter.java | 8 +- .../api/commands/ApplicationCommandValue.java | 20 +- .../discord/api/commands/CommandChoice.java | 8 +- .../api/commands/CommandTypeAdapter.java | 6 +- .../discord/api/directory/DirectoryEntry.java | 32 +- .../com/discord/api/emoji/GuildEmoji.java | 38 +- .../discord/api/emoji/GuildEmojisUpdate.java | 16 +- .../api/fingerprint/FingerprintResponse.java | 2 +- .../AllowedInSuggestionsTypeAdapter.java | 6 +- .../BulkAddFriendsResponse.java | 8 +- .../BulkFriendSuggestions.java | 8 +- .../friendsuggestions/FriendSuggestion.java | 8 +- .../FriendSuggestionDelete.java | 2 +- .../FriendSuggestionReason.java | 12 +- .../FriendSuggestionReasonTypeAdapter.java | 6 +- .../java/com/discord/api/guild/Guild.java | 188 +- ...GuildExplicitContentFilterTypeAdapter.java | 6 +- .../api/guild/GuildMaxVideoChannelUsers.java | 2 +- .../GuildMaxVideoChannelUsersTypeAdapter.java | 8 +- .../GuildVerificationLevelTypeAdapter.java | 6 +- .../discord/api/guild/PruneCountResponse.java | 2 +- .../discord/api/guild/VanityUrlResponse.java | 8 +- .../api/guild/preview/GuildPreview.java | 52 +- .../guild/welcome/GuildWelcomeChannel.java | 16 +- .../api/guild/welcome/GuildWelcomeScreen.java | 8 +- .../com/discord/api/guildhash/GuildHash.java | 8 +- .../discord/api/guildhash/GuildHashes.java | 16 +- .../ApplicationStatusTypeAdapter.java | 14 +- .../guildjoinrequest/GuildJoinRequest.java | 36 +- .../GuildJoinRequestCreateOrUpdate.java | 12 +- .../discord/api/guildmember/GuildMember.java | 48 +- .../api/guildmember/GuildMemberRemove.java | 12 +- .../api/guildmember/GuildMembersChunk.java | 16 +- .../api/guildmember/PatchGuildMemberBody.java | 16 +- .../GuildRoleSubscriptionBenefit.java | 24 +- ...ildRoleSubscriptionBenefitTypeAdapter.java | 6 +- .../GuildRoleSubscriptionGroupListing.java | 44 +- .../GuildRoleSubscriptionTierListing.java | 48 +- .../api/guildrolesubscription/ImageAsset.java | 32 +- .../GuildRoleSubscriptionRoleBenefits.java | 8 +- .../GuildScheduledEvent.java | 120 +- .../GuildScheduledEventEntityMetadata.java | 2 +- ...ldScheduledEventEntityTypeTypeAdapter.java | 4 +- .../GuildScheduledEventRsvpGuildMember.java | 13 +- .../GuildScheduledEventRsvpUser.java | 57 +- .../GuildScheduledEventRsvpUsersResponse.java | 2 +- .../GuildScheduledEventStatusTypeAdapter.java | 6 +- .../GuildScheduledEventUser.java | 20 +- .../GuildScheduledEventUserUpdate.java | 18 +- .../discord/api/hubs/EmailVerification.java | 8 +- .../api/hubs/EmailVerificationCode.java | 8 +- .../java/com/discord/api/hubs/GuildInfo.java | 20 +- .../com/discord/api/hubs/WaitlistSignup.java | 12 +- .../discord/api/interaction/Interaction.java | 36 +- .../interaction/InteractionStateUpdate.java | 18 +- .../com/discord/api/interaction/Member.java | 16 +- .../api/localizedstring/LocalizedString.java | 8 +- .../LocalizedStringTypeAdapter.java | 24 +- .../discord/api/message/LocalAttachment.java | 22 +- .../java/com/discord/api/message/Message.java | 138 +- .../discord/api/message/MessageReference.java | 12 +- .../api/message/activity/MessageActivity.java | 8 +- .../MessageActivityTypeTypeAdapter.java | 4 +- .../MessageAllowedMentions.java | 16 +- .../message/attachment/MessageAttachment.java | 34 +- .../discord/api/message/call/MessageCall.java | 12 +- .../api/message/embed/EmbedAuthor.java | 16 +- .../discord/api/message/embed/EmbedField.java | 12 +- .../api/message/embed/EmbedFooter.java | 12 +- .../discord/api/message/embed/EmbedImage.java | 16 +- .../api/message/embed/EmbedProvider.java | 8 +- .../api/message/embed/EmbedThumbnail.java | 16 +- .../message/embed/EmbedTypeTypeAdapter.java | 4 +- .../discord/api/message/embed/EmbedVideo.java | 16 +- .../api/message/embed/MessageEmbed.java | 52 +- .../api/message/reaction/MessageReaction.java | 22 +- .../reaction/MessageReactionEmoji.java | 24 +- .../reaction/MessageReactionUpdate.java | 20 +- .../api/permission/PermissionOverwrite.java | 30 +- .../api/premium/ClaimedOutboundPromotion.java | 20 +- .../api/premium/OutboundPromotion.java | 40 +- .../api/premium/PremiumTierTypeAdapter.java | 6 +- .../api/premium/PriceTierTypeAdapter.java | 6 +- .../discord/api/premium/SubscriptionPlan.java | 28 +- .../discord/api/presence/ClientStatuses.java | 16 +- .../com/discord/api/presence/Presence.java | 24 +- .../discord/api/report/MenuAPIResponse.java | 32 +- .../discord/api/report/NodeElementResult.java | 8 +- .../com/discord/api/report/NodeResult.java | 16 +- .../com/discord/api/report/ReportNode.java | 48 +- .../api/report/ReportNodeBottomButton.java | 2 +- .../ReportNodeBottomButtonTypeAdapter.java | 16 +- .../discord/api/report/ReportNodeChild.java | 8 +- .../report/ReportNodeChildTypeAdapter.java | 10 +- .../discord/api/report/ReportNodeElement.java | 16 +- .../api/report/ReportNodeElementData.java | 8 +- .../com/discord/api/report/ReportReason.java | 12 +- .../api/report/ReportSubmissionBody.java | 52 +- .../UserRequiredActionUpdate.java | 2 +- .../java/com/discord/api/role/GuildRole.java | 54 +- .../com/discord/api/role/GuildRoleCreate.java | 20 +- .../com/discord/api/role/GuildRoleDelete.java | 16 +- .../com/discord/api/role/GuildRoleTags.java | 20 +- .../com/discord/api/role/GuildRoleUpdate.java | 20 +- .../science/AnalyticsSchemaTypeAdapter.java | 8 +- .../java/com/discord/api/science/Science.java | 16 +- .../RecommendedStageInstance.java | 32 +- .../RecommendedStageInstanceGuild.java | 26 +- .../api/stageinstance/StageInstance.java | 32 +- .../StageInstancePrivacyLevelTypeAdapter.java | 6 +- .../api/sticker/GuildStickersUpdate.java | 16 +- .../java/com/discord/api/sticker/Sticker.java | 50 +- .../sticker/StickerFormatTypeTypeAdapter.java | 4 +- .../discord/api/sticker/StickerPartial.java | 24 +- .../api/sticker/StickerTypeTypeAdapter.java | 4 +- .../api/thread/AugmentedThreadMember.java | 2 +- .../com/discord/api/thread/MuteConfig.java | 2 +- .../discord/api/thread/ThreadListMember.java | 16 +- .../com/discord/api/thread/ThreadListing.java | 12 +- .../com/discord/api/thread/ThreadMember.java | 6 +- .../api/thread/ThreadMemberListUpdate.java | 12 +- .../api/thread/ThreadMemberUpdate.java | 40 +- .../api/thread/ThreadMembersUpdate.java | 32 +- .../discord/api/thread/ThreadMetadata.java | 16 +- .../api/user/NsfwAllowanceTypeAdapter.java | 2 +- .../com/discord/api/user/PatchUserBody.java | 20 +- .../main/java/com/discord/api/user/Phone.java | 2 +- .../discord/api/user/PhoneTypeAdapter.java | 6 +- .../java/com/discord/api/user/TypingUser.java | 20 +- .../main/java/com/discord/api/user/User.java | 102 +- .../java/com/discord/api/user/UserSurvey.java | 28 +- .../api/user/UserSurveyFetchResponse.java | 8 +- .../discord/api/utcdatetime/UtcDateTime.java | 2 +- .../utcdatetime/UtcDateTimeTypeAdapter.java | 6 +- .../discord/api/voice/server/VoiceServer.java | 16 +- .../discord/api/voice/state/VoiceState.java | 52 +- app/src/main/java/com/discord/app/App.java | 2 +- .../java/com/discord/app/AppActivity.java | 22 +- .../java/com/discord/app/AppBottomSheet.java | 6 +- .../main/java/com/discord/app/AppDialog.java | 12 +- app/src/main/java/com/discord/app/AppLog.java | 28 +- .../main/java/com/discord/app/AppLogger.java | 12 +- .../discord/app/AppTransitionActivity.java | 6 +- .../discord/app/DiscordConnectService.java | 22 +- .../java/com/discord/app/LoggingConfig.java | 24 +- .../com/discord/chips_view/ChipsView.java | 50 +- .../AnchoredVoiceControlsViewBinding.java | 4 +- .../CommandCategoryItemBinding.java | 4 +- .../ConfirmRemovePermissionDialogBinding.java | 4 +- .../ContactSyncPermissionsSheetBinding.java | 4 +- .../ContactSyncUpsellSheetBinding.java | 4 +- ...ldRoleSubscriptionConfirmationBinding.java | 4 +- .../DiscordHubAddServerListItemBinding.java | 4 +- .../EmojiCategoryItemGuildBinding.java | 4 +- .../EmojiCategoryItemStandardBinding.java | 4 +- ...ptyFriendsStateContactSyncViewBinding.java | 4 +- .../EmptyFriendsStateViewBinding.java | 4 +- .../databinding/FeedbackViewBinding.java | 4 +- .../GifCategoryItemViewBinding.java | 4 +- .../GifSuggestedTermViewBinding.java | 4 +- .../GroupInviteFriendsBottomSheetBinding.java | 4 +- .../GroupInviteFriendsSheetItemBinding.java | 4 +- .../GuildEventPromptListViewBinding.java | 4 +- .../GuildEventPromptViewBinding.java | 4 +- ...ScheduledEventBottomButtonViewBinding.java | 4 +- .../GuildScheduledEventDateViewBinding.java | 4 +- .../GuildScheduledEventItemViewBinding.java | 43 +- ...edEventRsvpUserListAdapterItemBinding.java | 4 +- .../GuildTemplateChannelsItemViewBinding.java | 4 +- ...HubAddServerConfirmationDialogBinding.java | 4 +- .../databinding/InlineMediaViewBinding.java | 4 +- .../LayoutUnhandledUriBinding.java | 4 +- .../databinding/LeaveGuildDialogBinding.java | 4 +- ...ModeratorStartStageWaitingItemBinding.java | 4 +- .../NotificationMuteSettingsViewBinding.java | 4 +- ...NuxGuildTemplateCardViewHolderBinding.java | 4 +- ...okenPermissionDetailedListItemBinding.java | 4 +- .../PaymentMethodListItemBinding.java | 4 +- .../databinding/PaymentSourceViewBinding.java | 4 +- .../PremiumStickerUpsellDialogBinding.java | 4 +- .../PublishMessageDialogBinding.java | 4 +- .../RemovablePermissionOwnerViewBinding.java | 4 +- ...ettingsChannelListCategoryItemBinding.java | 4 +- .../SettingsChannelListItemBinding.java | 4 +- ...ceBlockedBottomSheetHeaderItemBinding.java | 4 +- ...AudienceBlockedBottomSheetItemBinding.java | 4 +- .../StageRaisedHandsItemUserBinding.java | 4 +- .../StickerCategoryItemGuildBinding.java | 4 +- .../StickerCategoryItemPackBinding.java | 4 +- .../StickerPackDetailsDialogBinding.java | 4 +- .../StickerPremiumUpsellDialogBinding.java | 4 +- .../StickerStoreHeaderItemBinding.java | 4 +- .../SuggestedFriendViewBinding.java | 4 +- .../TabsHostBottomNavigationViewBinding.java | 4 +- .../ThreadBrowserThreadViewBinding.java | 4 +- .../databinding/UserAkaViewBinding.java | 4 +- .../UserProfileAdminViewBinding.java | 4 +- .../UserProfileConnectionsViewBinding.java | 4 +- .../UserProfileHeaderViewBinding.java | 4 +- .../UserProfileStageActionsViewBinding.java | 4 +- .../UserProfileVoiceSettingsViewBinding.java | 4 +- ...AppcommandsOptiontitleListitemBinding.java | 4 +- .../ViewAuthInviteInfoBinding.java | 4 +- .../ViewCategoryOverrideItemBinding.java | 4 +- .../ViewChannelOverrideItemBinding.java | 4 +- .../ViewChatEmbedGameInviteBinding.java | 4 +- .../ViewCommunityGetStartedHeaderBinding.java | 4 +- ...CommunityGetStartedInformationBinding.java | 4 +- ...ViewConnectionGuildIntegrationBinding.java | 4 +- .../ViewDialogConfirmationBinding.java | 4 +- .../ViewGiftEntitlementListItemBinding.java | 4 +- .../ViewGiftOutboundPromoListItemBinding.java | 4 +- .../ViewGiftSkuListItemBinding.java | 4 +- .../ViewGlobalSearchItemBinding.java | 4 +- .../ViewGuildInviteBottomSheetBinding.java | 4 +- ...ildRoleSubscriptionBenefitItemBinding.java | 4 +- ...ildRoleSubscriptionChannelItemBinding.java | 4 +- ...ildRoleSubscriptionImageUploadBinding.java | 4 +- ...eSubscriptionPlanDetailsReviewBinding.java | 4 +- ...scriptionPlanFormatRadioButtonBinding.java | 4 +- ...uildRoleSubscriptionTierHeaderBinding.java | 4 +- .../ViewMemberVerificationBinding.java | 4 +- .../ViewMobileReportsBottomButtonBinding.java | 4 +- .../ViewNitroBoostPerksBinding.java | 4 +- .../ViewReportsMenuNodeBinding.java | 4 +- ...ViewSelectableFriendSuggestionBinding.java | 4 +- ...ttingsCommunitySettingSelectorBinding.java | 4 +- ...sGuildRoleSubscriptionTierItemBinding.java | 4 +- ...ewSettingsBoostedBoostListitemBinding.java | 4 +- ...ewSettingsBoostedGuildListitemBinding.java | 4 +- ...ViewSettingsBoostedSampleGuildBinding.java | 4 +- .../ViewUserStatusPresenceCustomBinding.java | 4 +- .../VoiceControlsSheetViewBinding.java | 8 +- .../VoiceUserListItemUserBinding.java | 4 +- .../WidgetAddFriendUserListItemBinding.java | 4 +- .../databinding/WidgetAgeVerifyBinding.java | 4 +- ...tApplicationCommandBottomSheetBinding.java | 4 +- .../WidgetAttachmentBottomSheetBinding.java | 4 +- .../WidgetAuditLogFilterBinding.java | 4 +- .../WidgetAuthBirthdayBinding.java | 4 +- .../databinding/WidgetAuthCaptchaBinding.java | 4 +- .../databinding/WidgetAuthLandingBinding.java | 4 +- .../databinding/WidgetAuthLoginBinding.java | 4 +- .../WidgetAuthMfaBackupCodesBinding.java | 4 +- .../databinding/WidgetAuthMfaBinding.java | 4 +- .../WidgetAuthPhoneVerifyBinding.java | 4 +- ...AuthRegisterAccountInformationBinding.java | 4 +- .../WidgetAuthRegisterIdentityBinding.java | 4 +- .../WidgetAuthResetPasswordBinding.java | 4 +- .../WidgetAuthUndeleteAccountBinding.java | 4 +- .../databinding/WidgetBanUserBinding.java | 4 +- .../databinding/WidgetBugReportBinding.java | 8 +- ...BugReportFeatureHeaderListItemBinding.java | 4 +- ...WidgetBugReportFeatureListItemBinding.java | 4 +- .../WidgetCallFullscreenBinding.java | 16 +- .../WidgetChangeGuildIdentityBinding.java | 4 +- .../databinding/WidgetChangeLogBinding.java | 4 +- .../WidgetChangeLogSpecialBinding.java | 4 +- .../WidgetChannelFollowSheetBinding.java | 4 +- ...dgetChannelFollowSuccessDialogBinding.java | 4 +- .../WidgetChannelGroupDmSettingsBinding.java | 4 +- ...annelMembersListItemAddOrLeaveBinding.java | 4 +- ...etChannelMembersListItemHeaderBinding.java | 4 +- ...dgetChannelMembersListItemUserBinding.java | 4 +- ...getChannelNotificationSettingsBinding.java | 4 +- .../WidgetChannelPickerSheetBinding.java | 4 +- ...WidgetChannelSettingsAddMemberBinding.java | 4 +- ...etChannelSettingsAddMemberItemBinding.java | 4 +- ...tChannelSettingsAddMemberSheetBinding.java | 4 +- ...ChannelSettingsEditPermissionsBinding.java | 20 +- ...nelSettingsPermissionsAdvancedBinding.java | 4 +- ...nelSettingsPermissionsOverviewBinding.java | 4 +- .../WidgetChannelSidebarActionsBinding.java | 4 +- .../WidgetChannelTopicBinding.java | 4 +- .../WidgetChannelsListBinding.java | 4 +- .../WidgetChannelsListItemActionsBinding.java | 4 +- ...getChannelsListItemActiveEventBinding.java | 4 +- ...WidgetChannelsListItemCategoryBinding.java | 4 +- .../WidgetChannelsListItemChannelBinding.java | 4 +- ...ChannelsListItemChannelPrivateBinding.java | 4 +- ...nnelsListItemChannelStageVoiceBinding.java | 4 +- ...etChannelsListItemChannelVoiceBinding.java | 4 +- ...idgetChannelsListItemDirectoryBinding.java | 4 +- .../WidgetChannelsListItemHeaderBinding.java | 4 +- ...tChannelsListItemThreadActionsBinding.java | 4 +- .../WidgetChannelsListItemThreadBinding.java | 4 +- ...idgetChannelsListItemVoiceUserBinding.java | 4 +- .../WidgetChannelsListUnreadsBinding.java | 4 +- ...etChatInputApplicationCommandsBinding.java | 4 +- ...idgetChatInputAutocompleteItemBinding.java | 4 +- .../databinding/WidgetChatInputBinding.java | 8 +- ...utCommandApplicationHeaderItemBinding.java | 4 +- ...putEmojiAutocompleteUpsellItemBinding.java | 4 +- .../WidgetChatListActionsBinding.java | 4 +- ...tAdapterItemApplicationCommandBinding.java | 4 +- ...tChatListAdapterItemAttachmentBinding.java | 4 +- ...ListAdapterItemBotComponentRowBinding.java | 4 +- .../WidgetChatListAdapterItemCallBinding.java | 4 +- ...WidgetChatListAdapterItemEmbedBinding.java | 8 +- ...istAdapterItemEphemeralMessageBinding.java | 4 +- .../WidgetChatListAdapterItemGiftBinding.java | 4 +- ...AdapterItemGuildInviteReminderBinding.java | 4 +- ...atListAdapterItemGuildTemplateBinding.java | 4 +- ...hatListAdapterItemGuildWelcomeBinding.java | 4 +- ...idgetChatListAdapterItemInviteBinding.java | 4 +- ...atListAdapterItemMentionFooterBinding.java | 4 +- ...atListAdapterItemMessageHeaderBinding.java | 4 +- ...AdapterItemPrivateChannelStartBinding.java | 4 +- ...etChatListAdapterItemReactionsBinding.java | 4 +- ...apterItemSpotifyListenTogetherBinding.java | 4 +- ...ChatListAdapterItemStageInviteBinding.java | 4 +- ...WidgetChatListAdapterItemStartBinding.java | 4 +- ...hatListAdapterItemStickerGreetBinding.java | 4 +- ...AdapterItemStickerGreetCompactBinding.java | 4 +- ...idgetChatListAdapterItemSystemBinding.java | 4 +- .../WidgetChatListAdapterItemTextBinding.java | 4 +- ...ChatListAdapterItemTextDividerBinding.java | 4 +- ...ListAdapterItemThreadDraftFormBinding.java | 4 +- ...ChatListAdapterItemThreadEmbedBinding.java | 4 +- ...tListAdapterItemUploadProgressBinding.java | 4 +- ...etChatListBotUiButtonComponentBinding.java | 4 +- .../databinding/WidgetChatOverlayBinding.java | 4 +- .../databinding/WidgetChatStatusBinding.java | 4 +- ...idgetChoosePlanAdapterPlanItemBinding.java | 4 +- .../databinding/WidgetChoosePlanBinding.java | 4 +- .../WidgetClaimOutboundPromoBinding.java | 4 +- ...dgetCollapsedVoiceUserListItemBinding.java | 4 +- ...etConfirmRemoveCommunityDialogBinding.java | 4 +- .../WidgetConnectionsAddXboxBinding.java | 4 +- .../databinding/WidgetContactSyncBinding.java | 4 +- .../WidgetCreateChannelBinding.java | 4 +- .../WidgetCreationIntentBinding.java | 4 +- .../WidgetDirectoriesSearchBinding.java | 4 +- .../WidgetDirectoryChannelBinding.java | 4 +- ...dgetDisableDeleteAccountDialogBinding.java | 4 +- .../WidgetEditProfileBannerSheetBinding.java | 4 +- .../databinding/WidgetEditRoleBinding.java | 28 +- .../databinding/WidgetEmojiPickerBinding.java | 4 +- .../databinding/WidgetEmojiSheetBinding.java | 4 +- .../WidgetEnableMfaStepsBinding.java | 4 +- .../WidgetEnableSmsBackupDialogBinding.java | 4 +- .../WidgetEndStageBottomSheetBinding.java | 4 +- .../WidgetExpressionTrayBinding.java | 4 +- .../databinding/WidgetFatalCrashBinding.java | 4 +- .../WidgetFeedbackSheetBinding.java | 4 +- .../WidgetFolderContextMenuBinding.java | 4 +- .../WidgetFriendsAddByIdBinding.java | 4 +- ...etFriendsListAdapterItemFriendBinding.java | 4 +- ...tFriendsListAdapterItemPendingBinding.java | 4 +- .../databinding/WidgetFriendsListBinding.java | 4 +- ...getFriendsListExpandableHeaderBinding.java | 4 +- .../WidgetFriendsNearbyBinding.java | 4 +- .../databinding/WidgetGifCategoryBinding.java | 4 +- .../databinding/WidgetGifPickerBinding.java | 4 +- .../WidgetGifPickerSearchBinding.java | 4 +- .../WidgetGlobalSearchBinding.java | 4 +- .../WidgetGlobalSearchItemGuildBinding.java | 4 +- .../WidgetGlobalStatusIndicatorBinding.java | 4 +- .../WidgetGroupInviteFriendsBinding.java | 4 +- .../WidgetGroupInviteFriendsItemBinding.java | 4 +- .../databinding/WidgetGuildCloneBinding.java | 4 +- .../WidgetGuildContextMenuBinding.java | 4 +- .../databinding/WidgetGuildCreateBinding.java | 4 +- .../WidgetGuildFolderSettingsBinding.java | 4 +- .../WidgetGuildHubProfileActionsBinding.java | 4 +- .../WidgetGuildInviteInfoViewBinding.java | 4 +- .../WidgetGuildInvitePageBinding.java | 4 +- .../WidgetGuildInviteSettingsBinding.java | 4 +- .../WidgetGuildInviteShareBinding.java | 4 +- .../WidgetGuildInviteShareCompactBinding.java | 4 +- ...ildInviteShareEmptySuggestionsBinding.java | 4 +- .../WidgetGuildInviteShareItemBinding.java | 4 +- .../WidgetGuildInviteShareSheetBinding.java | 4 +- .../databinding/WidgetGuildJoinBinding.java | 4 +- ...getGuildJoinCaptchaBottomSheetBinding.java | 4 +- .../WidgetGuildProfileActionsBinding.java | 20 +- .../WidgetGuildProfileSheetBinding.java | 8 +- ...etGuildRoleSubscriptionDetailsBinding.java | 4 +- ...uildRoleSubscriptionEntryPointBinding.java | 4 +- ...ildRoleSubscriptionPlanDetailsBinding.java | 4 +- ...uildRoleSubscriptionPlanFormatBinding.java | 4 +- ...ildRoleSubscriptionTierBenefitBinding.java | 4 +- ...ldRoleSubscriptionTierBenefitsBinding.java | 4 +- ...uildRoleSubscriptionTierDesignBinding.java | 4 +- ...ildScheduledEventCreateSuccessBinding.java | 4 +- ...heduledEventDetailsBottomSheetBinding.java | 66 +- ...dEventDetailsExtrasBottomSheetBinding.java | 4 +- ...dScheduledEventListBottomSheetBinding.java | 4 +- ...ldScheduledEventLocationSelectBinding.java | 4 +- ...getGuildScheduledEventSettingsBinding.java | 4 +- ...cheduledEventUpsellBottomSheetBinding.java | 4 +- .../WidgetGuildSelectorItemBinding.java | 4 +- .../WidgetGuildStickerSheetBinding.java | 4 +- .../WidgetGuildTransferOwnershipBinding.java | 4 +- .../WidgetGuildWelcomeChannelBinding.java | 4 +- .../WidgetGuildWelcomeSheetBinding.java | 4 +- .../databinding/WidgetGuildsListBinding.java | 4 +- .../WidgetGuildsListItemDmBinding.java | 4 +- .../WidgetGuildsListItemFolderBinding.java | 4 +- .../WidgetGuildsListItemGuildBinding.java | 4 +- ...getGuildsListItemGuildVerticalBinding.java | 4 +- .../WidgetGuildsListItemProfileBinding.java | 4 +- .../databinding/WidgetHomeBinding.java | 4 +- .../WidgetHomePanelCenterNsfwBinding.java | 4 +- .../databinding/WidgetHubAddNameBinding.java | 4 +- .../WidgetHubAddServerBinding.java | 4 +- .../WidgetHubAuthenticationBinding.java | 4 +- .../WidgetHubDescriptionBinding.java | 4 +- .../WidgetHubDomainSearchBinding.java | 4 +- .../databinding/WidgetHubDomainsBinding.java | 4 +- .../WidgetHubEmailFlowBinding.java | 4 +- .../databinding/WidgetHubWaitlistBinding.java | 4 +- .../WidgetIncomingShareBinding.java | 4 +- .../WidgetIssueDetailsFormBinding.java | 4 +- .../databinding/WidgetKickUserBinding.java | 4 +- .../WidgetManageReactionsBinding.java | 4 +- .../WidgetManageReactionsEmojiBinding.java | 4 +- ...idgetManageReactionsResultUserBinding.java | 4 +- .../databinding/WidgetMediaBinding.java | 4 +- .../WidgetMemberVerificationBinding.java | 4 +- ...emberVerificationPendingDialogBinding.java | 4 +- ...dgetMemberVerificationRuleItemBinding.java | 4 +- ...idgetMemberVerificationSuccessBinding.java | 4 +- .../WidgetMobileReportsBinding.java | 4 +- .../WidgetModeratorStartStageBinding.java | 4 +- .../WidgetMuteSettingsSheetBinding.java | 4 +- .../WidgetNavigationHelpBinding.java | 4 +- .../WidgetNoticeDialogBinding.java | 4 +- .../WidgetNoticeNuxOverlayBinding.java | 4 +- .../WidgetNoticeNuxSamsungLinkBinding.java | 4 +- .../databinding/WidgetNoticePopupBinding.java | 4 +- .../WidgetNuxChannelPromptBinding.java | 4 +- .../WidgetNuxGuildTemplateBinding.java | 4 +- .../WidgetOauthAuthorizeBinding.java | 4 +- .../WidgetOutboundPromoTermsBinding.java | 4 +- .../WidgetPaymentSourceEditDialogBinding.java | 4 +- ...getPhoneCountryCodeBottomSheetBinding.java | 4 +- ...WidgetPhoneCountryCodeListItemBinding.java | 4 +- .../WidgetPremiumGuildTransferBinding.java | 4 +- ...dgetPreviewGuildScheduledEventBinding.java | 4 +- ...dgetPriceTierPickerBottomSheetBinding.java | 4 +- .../databinding/WidgetPruneUsersBinding.java | 4 +- .../databinding/WidgetQrScannerBinding.java | 4 +- .../WidgetQuickMentionsDialogBinding.java | 4 +- .../databinding/WidgetRemoteAuthBinding.java | 4 +- .../WidgetScreenShareNfxSheetBinding.java | 4 +- .../databinding/WidgetSearchBinding.java | 4 +- ...etSearchSuggestionsItemChannelBinding.java | 4 +- ...WidgetSearchSuggestionsItemHasBinding.java | 4 +- ...archSuggestionsItemRecentQueryBinding.java | 4 +- ...earchSuggestionsItemSuggestionBinding.java | 4 +- ...dgetSelectComponentBottomSheetBinding.java | 4 +- ...SelectComponentBottomSheetItemBinding.java | 4 +- .../WidgetServerBoostConfirmationBinding.java | 4 +- .../WidgetServerBoostStatusBinding.java | 4 +- .../WidgetServerDeleteDialogBinding.java | 4 +- ...erNotificationOverrideSelectorBinding.java | 4 +- .../WidgetServerNotificationsBinding.java | 4 +- .../WidgetServerSettingsAuditLogBinding.java | 4 +- ...gsAuditLogFilterActionListitemBinding.java | 4 +- ...ingsAuditLogFilterUserListitemBinding.java | 4 +- ...ServerSettingsAuditLogListItemBinding.java | 4 +- ...idgetServerSettingsBanListItemBinding.java | 4 +- .../WidgetServerSettingsBansBinding.java | 4 +- .../WidgetServerSettingsBinding.java | 20 +- .../WidgetServerSettingsChannelsBinding.java | 4 +- ...verSettingsChannelsSortActionsBinding.java | 4 +- ...verSettingsChannelsSortFabMenuBinding.java | 4 +- ...erverSettingsCommunityOverviewBinding.java | 4 +- ...ettingsCommunitySetupFirstStepBinding.java | 4 +- ...ttingsCommunitySetupSecondStepBinding.java | 4 +- ...ettingsCommunitySetupThirdStepBinding.java | 4 +- ...tServerSettingsEditIntegrationBinding.java | 4 +- ...WidgetServerSettingsEditMemberBinding.java | 4 +- .../WidgetServerSettingsEmojisBinding.java | 4 +- ...WidgetServerSettingsEmojisEditBinding.java | 4 +- ...dgetServerSettingsEmojisHeaderBinding.java | 4 +- ...WidgetServerSettingsEmojisItemBinding.java | 4 +- ...sGuildRoleSubscriptionEditTierBinding.java | 4 +- ...sGuildRoleSubscriptionTierListBinding.java | 4 +- ...SettingsGuildRoleSubscriptionsBinding.java | 4 +- ...erSettingsInstantInviteActionsBinding.java | 4 +- ...rSettingsInstantInviteListItemBinding.java | 4 +- ...etServerSettingsInstantInvitesBinding.java | 4 +- ...verSettingsIntegrationListItemBinding.java | 4 +- ...dgetServerSettingsIntegrationsBinding.java | 4 +- ...etServerSettingsMemberListItemBinding.java | 4 +- .../WidgetServerSettingsMembersBinding.java | 4 +- ...WidgetServerSettingsModerationBinding.java | 4 +- ...rverSettingsOverviewAfkTimeoutBinding.java | 4 +- .../WidgetServerSettingsOverviewBinding.java | 4 +- .../WidgetServerSettingsRoleItemBinding.java | 4 +- ...idgetServerSettingsRoleMembersBinding.java | 4 +- .../WidgetServerSettingsRolesBinding.java | 4 +- .../WidgetServerSettingsSecurityBinding.java | 4 +- ...etServerSettingsSecurityDialogBinding.java | 4 +- .../WidgetServerSettingsVanityUrlBinding.java | 4 +- .../WidgetSettingsAccessibilityBinding.java | 4 +- ...dgetSettingsAccountBackupCodesBinding.java | 4 +- .../WidgetSettingsAccountBinding.java | 20 +- ...tSettingsAccountChangePasswordBinding.java | 4 +- ...ettingsAccountContactsNameEditBinding.java | 4 +- .../WidgetSettingsAccountEditBinding.java | 4 +- ...WidgetSettingsAccountEmailEditBinding.java | 4 +- .../WidgetSettingsAppearanceBinding.java | 4 +- ...SettingsAuthorizedAppsListItemBinding.java | 4 +- .../WidgetSettingsBehaviorBinding.java | 4 +- .../databinding/WidgetSettingsBinding.java | 20 +- .../WidgetSettingsBlockedUsersBinding.java | 4 +- .../WidgetSettingsBoostBinding.java | 4 +- .../WidgetSettingsConnectionsBinding.java | 4 +- .../WidgetSettingsDeveloperBinding.java | 4 +- .../WidgetSettingsEnableMfaKeyBinding.java | 4 +- .../WidgetSettingsGiftingBinding.java | 8 +- ...ettingsItemAddConnectedAccountBinding.java | 4 +- .../WidgetSettingsItemBlockedUserBinding.java | 4 +- ...etSettingsItemConnectedAccountBinding.java | 4 +- .../WidgetSettingsLanguageBinding.java | 4 +- ...dgetSettingsLanguageSelectItemBinding.java | 4 +- .../WidgetSettingsMediaBinding.java | 4 +- .../WidgetSettingsNotificationOsBinding.java | 4 +- .../WidgetSettingsNotificationsBinding.java | 4 +- .../WidgetSettingsPremiumBinding.java | 8 +- .../WidgetSettingsPrivacyBinding.java | 20 +- .../WidgetSettingsUserProfileBinding.java | 4 +- .../WidgetSettingsVoiceBinding.java | 20 +- .../WidgetSettingsVoiceInputModeBinding.java | 4 +- ...tageAudienceBlockedBottomSheetBinding.java | 4 +- ...StageAudienceNoticeBottomSheetBinding.java | 4 +- .../WidgetStageChannelAudienceBinding.java | 4 +- .../WidgetStageChannelDetailsBinding.java | 4 +- ...ageChannelModeratorPermissionsBinding.java | 4 +- ...getStageChannelPrestartDetailsBinding.java | 4 +- ...tStageModeratorJoinBottomSheetBinding.java | 4 +- ...getStageRaisedHandsBottomSheetBinding.java | 4 +- ...dgetStageStartEventBottomSheetBinding.java | 4 +- .../WidgetStartCallSheetBinding.java | 4 +- .../WidgetStickerPackStoreSheetBinding.java | 4 +- .../WidgetStickerPickerBinding.java | 8 +- .../WidgetStickerSheetBinding.java | 4 +- .../databinding/WidgetTabsHostBinding.java | 4 +- .../WidgetTextChannelSettingsBinding.java | 4 +- ...idgetThreadArchiveActionsSheetBinding.java | 4 +- .../WidgetThreadBrowserActiveBinding.java | 4 +- .../WidgetThreadBrowserArchivedBinding.java | 4 +- .../WidgetThreadBrowserBinding.java | 4 +- ...WidgetThreadBrowserFilterSheetBinding.java | 4 +- .../WidgetThreadSettingsBinding.java | 4 +- .../WidgetThreadStatusBinding.java | 4 +- .../databinding/WidgetTosAcceptBinding.java | 4 +- .../WidgetTosReportViolationBinding.java | 4 +- ...WidgetTosReportViolationReasonBinding.java | 4 +- .../WidgetUnknownStickerSheetBinding.java | 4 +- .../databinding/WidgetUrlActionsBinding.java | 4 +- .../WidgetUserAccountVerifyBinding.java | 4 +- .../WidgetUserEmailUpdateBinding.java | 4 +- .../WidgetUserEmailVerifyBinding.java | 4 +- .../WidgetUserMentionsBinding.java | 4 +- .../WidgetUserMentionsFilterBinding.java | 4 +- .../WidgetUserPasswordVerifyBinding.java | 4 +- .../WidgetUserPhoneManageBinding.java | 4 +- .../WidgetUserPhoneVerifyBinding.java | 4 +- ...getUserProfileAdapterItemEmptyBinding.java | 4 +- ...etUserProfileAdapterItemFriendBinding.java | 4 +- ...etUserProfileAdapterItemServerBinding.java | 4 +- .../WidgetUserSetCustomStatusBinding.java | 4 +- .../databinding/WidgetUserSheetBinding.java | 20 +- .../WidgetUserStatusUpdateBinding.java | 4 +- .../WidgetVoiceBottomSheetBinding.java | 4 +- .../WidgetVoiceCallIncomingBinding.java | 4 +- .../WidgetVoiceCallInlineBinding.java | 4 +- .../WidgetVoiceChannelSettingsBinding.java | 8 +- ...ceNoiseCancellationBottomSheetBinding.java | 4 +- ...WidgetVoiceSettingsBottomSheetBinding.java | 4 +- .../discord/dialogs/ImageUploadDialog.java | 2 +- .../dialogs/SimpleConfirmationDialogArgs.java | 16 +- .../discord/embed/RenderableEmbedMedia.java | 20 +- .../gateway/GatewaySocket$callConnect$1.java | 8 +- .../gateway/GatewaySocket$connect$3.java | 8 +- .../GatewaySocket$expeditedHeartbeat$1.java | 8 +- .../GatewaySocket$presenceUpdate$1.java | 10 +- .../gateway/GatewaySocket$streamDelete$1.java | 6 +- .../gateway/GatewaySocket$streamPing$1.java | 6 +- .../gateway/GatewaySocket$streamWatch$1.java | 6 +- .../GatewaySocket$voiceStateUpdate$1.java | 24 +- .../com/discord/gateway/GatewaySocket.java | 104 +- .../discord/gateway/io/IncomingParser.java | 224 +- .../discord/gateway/io/OutgoingPayload.java | 80 +- .../com/discord/gateway/rest/RestConfig.java | 12 +- .../gsonutils/RuntimeTypeAdapterFactory.java | 42 +- app/src/main/java/com/discord/i18n/Hook.java | 2 +- .../java/com/discord/i18n/RenderContext.java | 4 +- .../discord/models/application/Unread.java | 16 +- .../ActionInteractionComponentState.java | 2 +- .../botuikit/ActionRowMessageComponent.java | 12 +- .../botuikit/ButtonMessageComponent.java | 36 +- .../botuikit/SelectMessageComponent.java | 40 +- .../commands/ActionComponentStoreState.java | 12 +- .../discord/models/commands/Application.java | 42 +- .../models/commands/ApplicationCommand.java | 6 +- .../ApplicationCommandLocalSendData.java | 40 +- .../commands/ApplicationCommandOption.java | 52 +- .../gson/InboundGatewayGsonParser.java | 2 +- .../com/discord/models/domain/Consent.java | 8 +- .../com/discord/models/domain/Consents.java | 12 +- .../com/discord/models/domain/Harvest.java | 30 +- .../java/com/discord/models/domain/Model.java | 28 +- .../models/domain/ModelApplicationStream.java | 28 +- .../domain/ModelApplicationStreamPreview.java | 2 +- .../discord/models/domain/ModelAuditLog.java | 28 +- .../models/domain/ModelAuditLogEntry.java | 120 +- .../com/discord/models/domain/ModelBan.java | 16 +- .../com/discord/models/domain/ModelCall.java | 36 +- .../domain/ModelChannelFollowerStats.java | 28 +- .../domain/ModelChannelFollowerStatsDto.java | 24 +- .../domain/ModelChannelUnreadUpdate.java | 10 +- .../models/domain/ModelConnectedAccount.java | 46 +- .../ModelConnectedAccountIntegration.java | 46 +- .../ModelConnectedIntegrationAccount.java | 22 +- .../ModelConnectedIntegrationGuild.java | 26 +- .../domain/ModelConnectionAccessToken.java | 2 +- .../models/domain/ModelConnectionState.java | 16 +- .../domain/ModelCustomStatusSetting.java | 24 +- .../models/domain/ModelEntitlement.java | 54 +- .../discord/models/domain/ModelGateway.java | 8 +- .../com/discord/models/domain/ModelGift.java | 44 +- .../models/domain/ModelGuildFolder.java | 38 +- .../models/domain/ModelGuildIntegration.java | 94 +- .../domain/ModelGuildMemberListUpdate.java | 144 +- .../models/domain/ModelGuildTemplate.java | 40 +- .../discord/models/domain/ModelInvite.java | 90 +- .../domain/ModelLibraryApplication.java | 28 +- .../models/domain/ModelLocationMetadata.java | 8 +- .../domain/ModelMemberVerificationForm.java | 52 +- .../ModelMemberVerificationFormResponse.java | 12 +- .../models/domain/ModelMessageDelete.java | 12 +- .../models/domain/ModelMuteConfig.java | 16 +- .../domain/ModelNotificationSettings.java | 68 +- .../models/domain/ModelOAuth2Token.java | 30 +- .../discord/models/domain/ModelPayload.java | 148 +- .../models/domain/ModelPaymentSource.java | 78 +- .../domain/ModelPhoneVerificationToken.java | 12 +- .../domain/ModelPremiumGuildSubscription.java | 26 +- .../ModelPremiumGuildSubscriptionSlot.java | 34 +- .../discord/models/domain/ModelReadState.java | 16 +- .../domain/ModelRemoteAuthHandshake.java | 2 +- .../models/domain/ModelRtcLatencyRegion.java | 8 +- .../models/domain/ModelSearchResponse.java | 36 +- .../discord/models/domain/ModelSession.java | 44 +- .../com/discord/models/domain/ModelSku.java | 90 +- .../models/domain/ModelStoreListing.java | 30 +- .../models/domain/ModelSubscription.java | 116 +- .../models/domain/ModelTypingResponse.java | 8 +- .../com/discord/models/domain/ModelUrl.java | 8 +- .../models/domain/ModelUserAffinities.java | 8 +- .../models/domain/ModelUserAffinity.java | 12 +- .../discord/models/domain/ModelUserNote.java | 30 +- .../models/domain/ModelUserProfile.java | 36 +- .../models/domain/ModelUserRelationship.java | 30 +- .../models/domain/ModelUserSettings.java | 102 +- .../models/domain/ModelVoiceRegion.java | 38 +- .../discord/models/domain/ModelWebhook.java | 30 +- .../models/domain/PatchPaymentSourceRaw.java | 8 +- .../models/domain/PaymentSourceRaw.java | 54 +- .../models/domain/StreamCreateOrUpdate.java | 24 +- .../discord/models/domain/StreamDelete.java | 26 +- .../models/domain/StreamServerUpdate.java | 20 +- .../com/discord/models/domain/StreamType.java | 2 +- .../models/domain/auth/ModelLoginResult.java | 20 +- .../auth/ModelUserSettingsBootstrap.java | 8 +- .../domain/billing/ModelBillingAddress.java | 28 +- .../domain/billing/ModelInvoiceDiscount.java | 8 +- .../domain/billing/ModelInvoiceItem.java | 42 +- .../domain/billing/ModelInvoicePreview.java | 50 +- .../discord/models/domain/emoji/EmojiSet.java | 24 +- .../models/domain/emoji/ModelEmojiCustom.java | 78 +- .../models/domain/emoji/ModelEmojiGuild.java | 46 +- .../domain/emoji/ModelEmojiUnicode.java | 44 +- .../domain/premium/SubscriptionPlanType.java | 4 +- .../domain/spotify/ModelSpotifyAlbum.java | 32 +- .../domain/spotify/ModelSpotifyArtist.java | 22 +- .../domain/spotify/ModelSpotifyTrack.java | 38 +- .../models/experiments/domain/Experiment.java | 24 +- .../experiments/domain/ExperimentContext.java | 12 +- .../experiments/domain/ExperimentHash.java | 6 +- .../dto/GuildExperimentBucketDto.java | 8 +- .../experiments/dto/GuildExperimentDto.java | 28 +- .../dto/GuildExperimentFilter.java | 32 +- .../dto/GuildExperimentOverridesDto.java | 8 +- .../dto/GuildExperimentPopulationDto.java | 16 +- .../UnauthenticatedUserExperimentsDto.java | 8 +- .../experiments/dto/UserExperimentDto.java | 24 +- .../friendsuggestions/FriendSuggestion.java | 8 +- .../gifpicker/domain/ModelGifCategory.java | 8 +- .../models/gifpicker/dto/GifCategoryDto.java | 8 +- .../discord/models/gifpicker/dto/GifDto.java | 16 +- .../models/gifpicker/dto/ModelGif.java | 16 +- .../dto/TrendingGifCategoriesResponseDto.java | 8 +- .../gifpicker/dto/TrendingGifPreviewDto.java | 2 +- .../dto/TrendingGifsResponseDto.java | 8 +- .../java/com/discord/models/guild/Guild.java | 148 +- .../discord/models/guild/UserGuildMember.java | 12 +- .../discord/models/invite/InviteUtils.java | 2 +- .../discord/models/member/GuildMember.java | 48 +- .../com/discord/models/message/Message.java | 164 +- .../models/phone/PhoneCountryCode.java | 14 +- .../com/discord/models/presence/Presence.java | 12 +- .../models/sticker/dto/ModelStickerPack.java | 46 +- .../dto/ModelStickerPackStoreListing.java | 38 +- .../dto/ModelStickerStoreDirectory.java | 12 +- .../models/store/dto/ModelStoreAsset.java | 38 +- .../store/dto/ModelStoreDirectoryLayout.java | 22 +- .../thread/dto/ModelThreadListSync.java | 16 +- .../com/discord/models/user/CoreUser.java | 58 +- .../java/com/discord/models/user/MeUser.java | 82 +- .../nullserializable/NullSerializable.java | 16 +- .../NullSerializableTypeAdapter.java | 12 +- .../com/discord/overlay/OverlayService.java | 2 +- .../overlay/views/OverlayBubbleWrap.java | 40 +- .../engine/AudioInputDeviceDescription.java | 8 +- .../engine/AudioOutputDeviceDescription.java | 8 +- .../p000native/engine/ConnectionInfo.java | 16 +- .../engine/VideoInputDeviceDescription.java | 16 +- .../com/discord/player/AppMediaPlayer.java | 347 +- .../java/com/discord/player/MediaSource.java | 16 +- .../restapi/BreadcrumbInterceptor.java | 2 +- .../java/com/discord/restapi/PayloadJSON.java | 8 +- .../restapi/RequiredHeadersInterceptor.java | 2 +- .../com/discord/restapi/RestAPIBuilder.java | 16 +- .../com/discord/restapi/RestAPIParams.java | 512 +- .../restapi/SpotifyTokenInterceptor.java | 8 +- .../restapi/utils/CountingRequestBody.java | 8 +- .../utils/RetryWithDelay$restRetry$1.java | 2 +- .../com/discord/rlottie/RLottieDrawable.java | 36 +- .../com/discord/rlottie/RLottieImageView.java | 2 +- .../rtcconnection/KrispOveruseDetector.java | 2 +- .../rtcconnection/MediaSinkWantsManager.java | 32 +- .../discord/rtcconnection/RtcConnection.java | 90 +- .../discord/rtcconnection/VideoMetadata.java | 32 +- .../audio/DiscordAudioManager.java | 126 +- .../enums/BluetoothHeadsetAudioState.java | 34 +- .../BluetoothProfileConnectionState.java | 34 +- .../rtcconnection/enums/ScoAudioState.java | 12 +- .../mediaengine/MediaEngine.java | 128 +- .../mediaengine/MediaEngineConnection.java | 90 +- .../mediaengine/ThumbnailEmitter.java | 8 +- .../rtcconnection/socket/io/Payloads.java | 238 +- .../samsung/SamsungConnectActivity.java | 18 +- .../ScreenshotDetector.java | 12 +- .../com/discord/simpleast/code/CodeNode.java | 8 +- .../com/discord/simpleast/core/node/Node.java | 8 +- .../simpleast/core/parser/ParseSpec.java | 6 +- .../discord/simpleast/core/parser/Parser.java | 26 +- .../discord/stores/ArchivedThreadsStore.java | 12 +- .../stores/CommandAutocompleteState.java | 2 +- .../CommandOptionAutocompleteQuery.java | 8 +- .../discord/stores/ConnectionTimeStats.java | 72 +- .../com/discord/stores/DiscoverCommands.java | 36 +- .../discord/stores/NotificationTextUtils.java | 4 +- .../com/discord/stores/PendingDowngrade.java | 14 +- .../com/discord/stores/ReadyPayloadUtils.java | 36 +- .../discord/stores/RtcLatencyTestResult.java | 12 +- .../stores/StageChannelRoleContext.java | 2 +- ...oreAnalytics$trackCallReportProblem$1.java | 2 +- .../com/discord/stores/StoreAnalytics.java | 10 +- .../stores/StoreApplicationCommands.java | 8 +- .../stores/StoreApplicationInteractions.java | 16 +- .../StoreApplicationStreamPreviews.java | 2 +- ...reApplicationStreaming$createStream$1.java | 16 +- .../stores/StoreApplicationStreaming.java | 20 +- .../stores/StoreAudioManagerV2$init$1.java | 4 +- ...reAudioManagerV2$selectOutputDevice$1.java | 8 +- ...eAudioManagerV2$toggleSpeakerOutput$1.java | 2 +- ...oreAudioManagerV2$updateMediaVolume$1.java | 6 +- .../discord/stores/StoreAudioManagerV2.java | 18 +- .../com/discord/stores/StoreAuditLog.java | 52 +- .../discord/stores/StoreAuthentication.java | 8 +- .../com/discord/stores/StoreChangeLog.java | 4 +- .../stores/StoreChannelFollowerStats.java | 12 +- .../discord/stores/StoreChannelMembers.java | 50 +- .../com/discord/stores/StoreChannels.java | 6 +- .../discord/stores/StoreChannelsSelected.java | 56 +- .../java/com/discord/stores/StoreChat.java | 36 +- .../discord/stores/StoreClientDataState.java | 16 +- .../com/discord/stores/StoreConnectivity.java | 8 +- .../com/discord/stores/StoreDynamicLink.java | 24 +- .../java/com/discord/stores/StoreEmoji.java | 12 +- .../com/discord/stores/StoreEmojiCustom.java | 10 +- .../com/discord/stores/StoreEntitlements.java | 8 +- ...ldGatewaySocket$gatewayUrlTransform$1.java | 2 +- .../stores/StoreGatewayConnection.java | 56 +- .../java/com/discord/stores/StoreGifting.java | 36 +- .../stores/StoreGooglePlayPurchases.java | 72 +- .../stores/StoreGooglePlaySkuDetails.java | 2 +- .../stores/StoreGuildMemberCounts.java | 6 +- .../StoreGuildMemberVerificationForm.java | 12 +- .../discord/stores/StoreGuildProfiles.java | 12 +- .../stores/StoreGuildRoleSubscriptions.java | 10 +- ...GuildScheduledEvents$fetchRsvpUsers$2.java | 22 +- ...heduledEvents$toggleMeRsvpForEvent$1.java} | 60 +- .../stores/StoreGuildScheduledEvents.java | 265 +- .../discord/stores/StoreGuildStickers.java | 6 +- .../discord/stores/StoreGuildTemplates.java | 8 +- .../stores/StoreGuildVoiceRegions.java | 2 +- .../stores/StoreGuildWelcomeScreens.java | 8 +- .../com/discord/stores/StoreGuildsSorted.java | 52 +- .../discord/stores/StoreInstantInvites.java | 8 +- .../discord/stores/StoreInviteSettings.java | 12 +- ...toreLurking$startLurkingAndNavigate$1.java | 16 +- .../java/com/discord/stores/StoreLurking.java | 16 +- .../java/com/discord/stores/StoreMFA.java | 8 +- .../com/discord/stores/StoreMediaEngine.java | 8 +- .../discord/stores/StoreMediaFavorites.java | 16 +- .../discord/stores/StoreMediaSettings.java | 60 +- .../com/discord/stores/StoreMentions.java | 8 +- .../stores/StoreMessageAck$markUnread$3.java | 12 +- .../com/discord/stores/StoreMessageAck.java | 26 +- .../discord/stores/StoreMessageReactions.java | 36 +- .../discord/stores/StoreMessageReplies.java | 8 +- .../com/discord/stores/StoreMessageState.java | 8 +- .../discord/stores/StoreMessageUploads.java | 14 +- .../discord/stores/StoreMessagesLoader.java | 44 +- .../com/discord/stores/StoreNavigation.java | 56 +- .../discord/stores/StoreNotices$init$3.java | 6 +- .../java/com/discord/stores/StoreNotices.java | 24 +- .../discord/stores/StoreNotifications.java | 11 +- .../java/com/discord/stores/StoreNux.java | 24 +- ...oundPromotions$handleConnectionOpen$2.java | 12 +- .../stores/StoreOutboundPromotions.java | 8 +- .../discord/stores/StorePaymentSources.java | 2 +- .../discord/stores/StorePendingReplies.java | 16 +- .../stores/StorePremiumGuildSubscription.java | 2 +- .../com/discord/stores/StoreReadStates.java | 4 +- ...geChannels$enqueueStageChannelFetch$1.java | 4 +- .../stores/StoreRequestedStageChannels.java | 15 +- .../discord/stores/StoreRtcConnection.java | 32 +- ...reRtcRegion$maybePerformLatencyTest$1.java | 6 +- .../java/com/discord/stores/StoreSearch.java | 22 +- .../java/com/discord/stores/StoreSpotify.java | 16 +- .../discord/stores/StoreStageChannels.java | 26 +- .../com/discord/stores/StoreStickers.java | 8 +- ...eStream$initGatewaySocketListeners$73.java | 4 +- ...eStream$initGatewaySocketListeners$74.java | 4 +- .../java/com/discord/stores/StoreStream.java | 42 +- .../stores/StoreStreamRtcConnection.java | 34 +- .../discord/stores/StoreSubscriptions.java | 2 +- .../com/discord/stores/StoreThreadDraft.java | 20 +- .../discord/stores/StoreThreadMessages.java | 24 +- .../discord/stores/StoreThreadsActive.java | 4 +- .../stores/StoreThreadsActiveJoined.java | 12 +- .../discord/stores/StoreThreadsJoined.java | 28 +- .../java/com/discord/stores/StoreUser.java | 32 +- .../stores/StoreUserGuildSettings.java | 8 +- .../com/discord/stores/StoreUserNotes.java | 8 +- .../com/discord/stores/StoreUserPresence.java | 8 +- .../stores/StoreUserRelationships.java | 2 +- .../stores/StoreUserSettingsSystem.java | 12 +- .../com/discord/stores/StoreVideoStreams.java | 22 +- .../stores/StoreVoiceChannelSelected.java | 4 +- .../stores/StoreVoiceParticipants.java | 64 +- .../com/discord/stores/StoreVoiceStates.java | 2 +- .../com/discord/stores/VoicePropsTracker.java | 2 +- .../stores/updates/ObservationDeck.java | 8 +- .../stores/utilities/BatchManager.java | 6 +- .../stores/utilities/Batched$onNext$1.java | 4 +- .../com/discord/stores/utilities/Batched.java | 8 +- .../com/discord/stores/utilities/Failure.java | 8 +- .../RestCallStateKt$logNetworkAction$2.java | 2 +- .../RestCallStateKt$logNetworkAction$3.java | 2 +- .../com/discord/stores/utilities/Success.java | 8 +- .../com/discord/tooltips/TooltipManager.java | 22 +- .../utilities/ChannelShortcutInfo.java | 12 +- .../main/java/com/discord/utilities/Quad.java | 20 +- .../com/discord/utilities/ShareUtils.java | 8 +- .../accessibility/AccessibilityState.java | 8 +- .../utilities/analytics/AnalyticsTracker.java | 39 +- .../utilities/analytics/InstallReferrer.java | 2 +- .../discord/utilities/analytics/Traits.java | 88 +- .../apng/ApngUtils$renderApngFromFile$3.java | 3 +- .../com/discord/utilities/apng/ApngUtils.java | 3 +- .../attachments/AttachmentUtilsKt.java | 4 +- .../auditlogs/AuditLogChangeUtils.java | 24 +- .../utilities/auditlogs/AuditLogUtils.java | 12 +- ...SmartLockManager$requestCredentials$1.java | 10 +- ...gleSmartLockManager$saveCredentials$1.java | 2 +- .../auth/GoogleSmartLockManager.java | 22 +- .../auth/SmartLockSignInAttempt.java | 8 +- .../utilities/billing/BillingUtils.java | 4 +- .../billing/GooglePlayBillingManager.java | 24 +- .../utilities/billing/GooglePlayInAppSku.java | 16 +- .../utilities/captcha/CaptchaErrorBody.java | 25 +- .../captcha/CaptchaHelper$showCaptcha$1.java | 8 +- .../CaptchaHelper$tryShowCaptcha$1.java | 6 +- .../utilities/captcha/CaptchaHelper.java | 28 +- .../utilities/channel/GuildChannelsInfo.java | 40 +- .../channel/PermissionLabelOverrides.java | 36 +- .../utilities/collections/Histogram.java | 40 +- .../collections/LeastRecentlyAddedSet.java | 6 +- .../collections/SparseMutableList.java | 20 +- .../discord/utilities/color/ColorCompat.java | 2 +- .../utilities/colors/ColorPickerUtils.java | 10 +- .../colors/RepresentativeColors.java | 15 +- .../coroutines/AppCoroutineScopeKt.java | 9 +- .../utilities/coroutines/AppErrorTag.java | 2 +- ...oroutineExtensionsKt$appAwaitSingle$2.java | 4 +- .../coroutines/RxCoroutineExtensionsKt.java | 8 +- .../debug/HistoricalProcessExitReason.java | 14 +- .../utilities/embed/EmbedResourceUtils.java | 12 +- .../utilities/embed/InviteEmbedModel.java | 20 +- .../error/AppCancellationException.java | 16 +- .../com/discord/utilities/error/Error.java | 84 +- .../experiments/RegisteredExperiment.java | 20 +- .../SimpleDraweeViewExtensionsKt.java | 18 + .../utilities/fcm/NotificationActions.java | 6 +- .../utilities/fcm/NotificationClient.java | 40 +- .../utilities/fcm/NotificationData.java | 68 +- .../utilities/fcm/NotificationRenderer.java | 16 +- .../file/DownloadUtils$downloadFile$1.java | 2 +- .../discord/utilities/file/FileUtilsKt.java | 2 +- .../utilities/gifting/GiftingUtils.java | 6 +- .../GuildScheduledEventUtilities.java | 2 +- .../GuildScheduledEventUtilitiesKt.java | 64 +- .../GuildScheduledEventsComparator.java | 12 +- .../com/discord/utilities/icon/IconUtils.java | 56 +- .../utilities/images/ImageEncoder.java | 4 +- .../discord/utilities/images/MGImages.java | 18 +- .../utilities/images/MGImagesBitmap.java | 8 +- ...tAppBitmapMemoryCacheParamsSupplier$1.java | 2 +- .../utilities/images/MGImagesConfig.java | 4 +- .../discord/utilities/intent/IntentUtils.java | 8 +- .../utilities/intent/RouteHandlers.java | 2 +- .../lazy/memberlist/ChannelMemberList.java | 70 +- .../lazy/memberlist/MemberListRow.java | 78 +- .../subscriptions/GuildSubscriptions.java | 24 +- .../com/discord/utilities/media/AppSound.java | 16 +- .../mg_recycler/SingleTypePayload.java | 16 +- ...ilders$deleteConnectionModalBuilder$2.java | 2 +- .../utilities/notices/NoticeBuilders.java | 24 +- .../permissions/ManageGuildContext.java | 36 +- .../permissions/ManageMessageContext.java | 24 +- .../permissions/ManageUserContext.java | 32 +- .../permissions/PermissionUtils.java | 2 +- .../Persister$Companion$persistAll$1$1.java | 12 +- .../utilities/persister/Persister.java | 2 +- .../discord/utilities/phone/PhoneUtils.java | 2 +- .../discord/utilities/platform/Platform.java | 48 +- .../utilities/premium/PremiumUtils.java | 20 +- .../utilities/presence/ActivityUtilsKt.java | 18 +- .../StageCallRichPresencePartyData.java | 32 +- .../spotify/SpotifyMetadataReceiver.java | 2 +- .../utilities/recycler/DiffCreator.java | 20 +- .../SelfHealingLinearLayoutManager.java | 6 +- .../utilities/resources/DurationUtilsKt.java | 2 +- .../utilities/rest/AttachmentRequestBody.java | 16 +- .../rest/ProcessedMessageContent.java | 12 +- ...nalyticsInterceptor$$inlined$invoke$1.java | 2 +- .../com/discord/utilities/rest/RestAPI.java | 16 +- .../SendUtils$compressImageAttachments$1.java | 11 +- .../com/discord/utilities/rest/SendUtils.java | 49 +- .../utilities/rx/LeadingEdgeThrottle.java | 6 +- .../utilities/rx/OperatorBufferedDelay.java | 2 +- .../MGPreferenceSearchHistoryCache.java | 12 +- .../search/network/state/SearchState.java | 28 +- .../search/query/node/answer/ChannelNode.java | 8 +- .../query/node/answer/HasAnswerOption.java | 2 +- .../search/query/node/answer/HasNode.java | 12 +- .../search/query/node/answer/UserNode.java | 8 +- .../query/node/content/ContentNode.java | 2 +- .../search/query/node/filter/FilterNode.java | 12 +- .../suggestion/entries/ChannelSuggestion.java | 8 +- .../suggestion/entries/FilterSuggestion.java | 8 +- .../suggestion/entries/HasSuggestion.java | 8 +- .../entries/RecentQuerySuggestion.java | 2 +- .../suggestion/entries/UserSuggestion.java | 22 +- .../search/validation/SearchData.java | 20 +- .../utilities/sms/AppSignatureHelper.java | 4 +- .../discord/utilities/sms/SmsListener.java | 2 +- .../utilities/stage/StageChannelUtils.java | 6 +- .../utilities/stateful/StatefulViews.java | 4 +- .../utilities/stickers/StickerUtils.java | 36 +- .../utilities/streams/StreamContext.java | 32 +- .../system/DeviceResourceUsageMonitor.java | 12 +- .../utilities/system/ProcfsReader.java | 18 +- ...teIntentService$IpcCallback$handler$1.java | 36 +- .../utilities/system/RemoteIntentService.java | 100 +- .../SystemLogUtils$hashString$1.java | 2 +- .../utilities/systemlog/SystemLogUtils.java | 32 +- .../textprocessing/MessagePreprocessor.java | 10 +- .../textprocessing/MessageRenderContext.java | 60 +- ...ssageUnparser$getChannelMentionRule$1.java | 6 +- .../MessageUnparser$getRoleMentionRule$1.java | 6 +- .../MessageUnparser$getUserMentionRule$1.java | 8 +- .../Rules$PATTERN_UNICODE_EMOJI$2.java | 8 +- ...ateCodeBlockRule$codeStyleProviders$1.java | 2 +- ...ateCodeBlockRule$codeStyleProviders$2.java | 2 +- ...ateCodeBlockRule$codeStyleProviders$3.java | 2 +- ...ateCodeBlockRule$codeStyleProviders$4.java | 2 +- ...ateCodeBlockRule$codeStyleProviders$5.java | 2 +- ...ateCodeBlockRule$codeStyleProviders$6.java | 2 +- ...ateCodeBlockRule$codeStyleProviders$7.java | 2 +- ...ateCodeBlockRule$codeStyleProviders$8.java | 2 +- .../Rules$createInlineCodeRule$1.java | 2 +- .../utilities/textprocessing/Rules.java | 18 +- .../utilities/textprocessing/Tags.java | 16 +- .../utilities/textprocessing/TagsBuilder.java | 2 +- .../textprocessing/node/EmojiNode.java | 36 +- .../textprocessing/node/RoleMentionNode.java | 6 +- .../textprocessing/node/SpoilerNode.java | 6 +- .../textprocessing/node/UserMentionNode.java | 6 +- .../com/discord/utilities/time/TimeSpan.java | 12 +- .../com/discord/utilities/time/TimeUtils.java | 12 +- .../uri/UriHandler$directToPlayStore$1.java | 6 +- .../com/discord/utilities/user/UserUtils.java | 8 +- .../utilities/view/grid/FrameGridLayout.java | 24 +- .../view/recycler/PaddedItemDecorator.java | 2 +- ...eSpanOnTouchListener$onTouch$newJob$1.java | 8 +- .../view/text/LinkifiedTextView.java | 18 +- ...ViewCoroutineScopeKt$coroutineScope$1.java | 4 +- .../utilities/views/ViewCoroutineScopeKt.java | 6 +- .../utilities/voice/CallSoundManager.java | 46 +- .../voice/DiscordOverlayService.java | 6 +- .../ScreenShareManager$startStream$1.java | 2 +- .../utilities/voice/ScreenShareManager.java | 14 +- .../voice/VoiceChannelJoinabilityUtils.java | 4 +- .../voice/VoiceEngineForegroundService.java | 20 +- .../voice/VoiceEngineServiceController.java | 40 +- .../utilities/websocket/WebSocket.java | 2 +- .../com/discord/views/CheckedSetting.java | 12 +- .../discord/views/CodeVerificationView.java | 8 +- .../java/com/discord/views/CutoutView.java | 40 +- .../com/discord/views/FailedUploadList.java | 46 +- .../com/discord/views/NumericBadgingView.java | 28 +- .../views/OverlayMenuBubbleDialog.java | 42 +- .../com/discord/views/OverlayMenuView.java | 12 +- .../main/java/com/discord/views/PileView.java | 6 +- .../com/discord/views/UploadProgressView.java | 2 +- .../com/discord/views/VoiceUserLimitView.java | 4 +- .../views/calls/AppVideoStreamRenderer.java | 10 +- .../discord/views/calls/SpeakerPulseView.java | 18 +- .../views/calls/VideoCallParticipantView.java | 102 +- .../experiments/ExperimentOverrideView.java | 8 +- .../com/discord/views/steps/StepsView.java | 74 +- .../views/user/UserAvatarPresenceView.java | 34 +- .../UserAvatarPresenceViewController.java | 6 +- .../WidgetChannelFollowSheet.java | 20 +- .../WidgetChannelFollowSheetViewModel.java | 28 +- .../WidgetChannelFollowSuccessDialog.java | 4 +- .../widgets/auth/AuthInviteInfoView.java | 14 +- .../discord/widgets/auth/WidgetAgeVerify.java | 14 +- .../auth/WidgetAgeVerifyViewModel.java | 40 +- .../widgets/auth/WidgetAuthAgeGated.java | 2 +- ...idgetAuthBirthday$validationManager$2.java | 2 +- .../widgets/auth/WidgetAuthBirthday.java | 8 +- .../widgets/auth/WidgetAuthCaptcha.java | 4 +- .../widgets/auth/WidgetAuthLanding.java | 4 +- .../auth/WidgetAuthLandingViewModel.java | 56 +- .../discord/widgets/auth/WidgetAuthLogin.java | 4 +- .../auth/WidgetAuthMfa$onViewBound$1.java | 4 +- ...WidgetAuthMfa$showBackupCodesDialog$1.java | 2 +- .../discord/widgets/auth/WidgetAuthMfa.java | 4 +- .../WidgetAuthPhoneVerify$evaluateCode$3.java | 2 +- .../WidgetAuthPhoneVerify$inputCode$3.java | 2 +- .../WidgetAuthPhoneVerify$resendCode$1.java | 2 +- .../WidgetAuthPhoneVerify$resendCode$2.java | 2 +- .../widgets/auth/WidgetAuthPhoneVerify.java | 14 +- ...RegisterAccountInformation$register$2.java | 2 +- .../WidgetAuthRegisterAccountInformation.java | 12 +- .../auth/WidgetAuthRegisterIdentity.java | 4 +- ...WidgetAuthResetPassword$onViewBound$1.java | 6 +- .../widgets/auth/WidgetAuthResetPassword.java | 4 +- .../auth/WidgetAuthUndeleteAccount.java | 4 +- .../widgets/auth/WidgetOauth2Authorize.java | 60 +- ...uthorizeSamsung$authorizeForSamsung$2.java | 4 +- .../auth/WidgetOauth2AuthorizeSamsung.java | 19 +- .../widgets/auth/WidgetRemoteAuth.java | 4 +- .../auth/WidgetRemoteAuthViewModel.java | 19 +- .../botuikit/ComponentChatListState.java | 12 +- .../botuikit/ComponentStateMapper.java | 16 +- .../botuikit/views/ButtonComponentView.java | 4 +- .../views/select/ComponentContext.java | 20 +- .../select/SelectComponentBottomSheet.java | 4 +- .../SelectComponentBottomSheetItem.java | 8 +- ...ectComponentBottomSheetItemViewHolder.java | 2 +- .../BugReportFeatureHeaderViewHolder.java | 4 +- .../BugReportFeatureViewHolder.java | 2 +- .../bugreports/BugReportViewModel.java | 60 +- .../discord/widgets/bugreports/Priority.java | 12 +- .../widgets/bugreports/WidgetBugReport.java | 10 +- .../widgets/changelog/WidgetChangeLog.java | 4 +- .../changelog/WidgetChangeLogSpecial.java | 6 +- .../channels/ChannelPickerAdapterItem.java | 8 +- .../channels/ChannelPickerViewHolder.java | 4 +- .../channels/SimpleMembersAdapter.java | 12 +- .../widgets/channels/SimpleRolesAdapter.java | 8 +- ...View$configure$$inlined$doOnPreDraw$1.java | 2 +- .../discord/widgets/channels/UserAkaView.java | 2 +- .../channels/WidgetChannelOnboarding.java | 2 +- .../WidgetChannelPickerBottomSheet.java | 4 +- ...dgetChannelPickerBottomSheetViewModel.java | 4 +- .../channels/WidgetChannelSelector.java | 28 +- .../channels/WidgetChannelSidebarActions.java | 8 +- ...on$observeStoreState$1$1$storeState$1.java | 2 +- .../WidgetChannelSidebarActionsViewModel.java | 48 +- .../widgets/channels/WidgetChannelTopic.java | 22 +- .../channels/WidgetChannelTopicViewModel.java | 256 +- ...CreateChannel$onViewBoundOrOnResume$4.java | 2 +- .../widgets/channels/WidgetCreateChannel.java | 8 +- .../channels/WidgetGroupInviteFriends.java | 70 +- .../WidgetGroupInviteFriendsAdapter.java | 2 +- .../invite/GroupInviteFriendsSheet.java | 8 +- .../GroupInviteFriendsSheetAdapter.java | 10 +- .../GroupInviteFriendsSheetViewModel.java | 24 +- ...ListBuilder$$inlined$forEach$lambda$5.java | 2 +- .../channels/list/WidgetChannelListModel.java | 100 +- ...ChannelListUnreads$onDatasetChanged$1.java | 4 +- .../list/WidgetChannelListUnreads.java | 24 +- .../WidgetChannelsList$onViewBound$4.java | 2 +- .../WidgetChannelsList$onViewBound$5.java | 2 +- .../WidgetChannelsList$onViewBound$9.java | 2 +- .../channels/list/WidgetChannelsList.java | 14 +- .../list/WidgetChannelsListAdapter.java | 56 +- ...mChannelActions$Model$Companion$get$1.java | 2 +- .../WidgetChannelsListItemChannelActions.java | 20 +- ...emThreadActions$Model$Companion$get$1.java | 4 +- .../WidgetChannelsListItemThreadActions.java | 48 +- .../list/WidgetCollapsedUsersListAdapter.java | 4 +- .../list/WidgetThreadArchiveActions.java | 16 +- .../items/ChannelListItemActiveEventData.java | 28 +- .../list/items/ChannelListItemCategory.java | 16 +- .../list/items/ChannelListItemDirectory.java | 8 +- .../ChannelListItemGuildScheduledEvents.java | 8 +- .../list/items/ChannelListItemHeader.java | 30 +- .../list/items/ChannelListItemInvite.java | 8 +- .../list/items/ChannelListItemPrivate.java | 24 +- .../ChannelListItemStageAudienceCount.java | 8 +- .../ChannelListItemStageVoiceChannel.java | 36 +- .../items/ChannelListItemTextChannel.java | 36 +- .../list/items/ChannelListItemThread.java | 24 +- .../items/ChannelListItemVoiceChannel.java | 56 +- .../list/items/ChannelListItemVoiceUser.java | 24 +- .../channels/list/items/CollapsedUser.java | 12 +- .../memberlist/GuildMemberListItems.java | 20 +- .../PrivateChannelMemberListItems.java | 8 +- .../PrivateChannelMemberListService.java | 16 +- .../memberlist/ThreadMemberListItems.java | 8 +- .../WidgetChannelMembersListViewModel.java | 118 +- .../adapter/ChannelMembersListAdapter.java | 124 +- .../ChannelMembersListViewHolderAdd.java | 2 +- .../ChannelMembersListViewHolderHeader.java | 4 +- ...lMembersListViewHolderJoinLeaveThread.java | 4 +- .../ChannelMembersListViewHolderMember.java | 4 +- ...hannelMembersListViewHolderRoleHeader.java | 4 +- .../permissions/AddMemberAdapter.java | 36 +- .../ConfirmRemovePermissionDialog.java | 4 +- ...onfirmRemovePermissionDialogViewModel.java | 2 +- .../channels/permissions/PermissionOwner.java | 20 +- .../permissions/PermissionOwnerListView.java | 24 +- ...idgetChannelSettingsAddMemberFragment.java | 6 +- ...nelSettingsAddMemberFragmentViewModel.java | 44 +- .../WidgetChannelSettingsAddMemberSheet.java | 4 +- ...ditPermissions$permissionCheckboxes$2.java | 2 +- .../WidgetChannelSettingsEditPermissions.java | 8 +- ...etChannelSettingsEditPermissionsModel.java | 76 +- ...etChannelSettingsPermissionsAddMember.java | 12 +- ...dgetChannelSettingsPermissionsAddRole.java | 12 +- ...getChannelSettingsPermissionsAdvanced.java | 42 +- ...gsPermissionsOverview$configureTabs$1.java | 2 +- ...getChannelSettingsPermissionsOverview.java | 42 +- ...lSettingsPermissionsOverviewViewModel.java | 8 +- .../WidgetCreateChannelAddMember.java | 2 +- ...idgetStageChannelModeratorPermissions.java | 4 +- ...nsViewModel$Companion$observeStores$1.java | 6 +- ...eChannelModeratorPermissionsViewModel.java | 40 +- .../ChannelGroupDMSettingsViewModel.java | 24 +- .../channels/settings/ChannelSettings.java | 12 +- .../WidgetChannelGroupDMSettings.java | 10 +- .../WidgetChannelNotificationSettings.java | 36 +- ...dgetTextChannelSettings$configureUI$1.java | 4 +- ...dgetTextChannelSettings$configureUI$3.java | 2 +- .../settings/WidgetTextChannelSettings.java | 42 +- .../settings/WidgetThreadSettings.java | 6 +- .../WidgetThreadSettingsViewModel.java | 34 +- .../WidgetThreadDraftArchiveSheet.java | 18 +- .../browser/ThreadBrowserThreadView.java | 58 +- .../WidgetThreadBrowser$updateMenu$1.java | 4 +- .../threads/browser/WidgetThreadBrowser.java | 16 +- .../browser/WidgetThreadBrowserActive.java | 4 +- .../WidgetThreadBrowserActiveViewModel.java | 60 +- .../browser/WidgetThreadBrowserAdapter.java | 28 +- .../browser/WidgetThreadBrowserArchived.java | 6 +- .../WidgetThreadBrowserArchivedViewModel.java | 60 +- .../WidgetThreadBrowserFilterSheet.java | 4 +- .../browser/WidgetThreadBrowserViewModel.java | 32 +- .../discord/widgets/chat/MessageContent.java | 8 +- .../discord/widgets/chat/MessageManager.java | 22 +- .../widgets/chat/WidgetUrlActions.java | 4 +- .../chat/input/AppFlexInputViewModel.java | 36 +- .../input/ApplicationCategoryViewHolder.java | 2 +- .../chat/input/AutocompleteStickerItem.java | 16 +- .../chat/input/ChatInputViewModel.java | 292 +- .../chat/input/CommandCategoryItem.java | 8 +- .../widgets/chat/input/SourcedAttachment.java | 12 +- .../input/WidgetChatInput$onViewBound$1.java | 2 +- ...tChatInput$setWindowInsetsListeners$3.java | 2 +- .../widgets/chat/input/WidgetChatInput.java | 37 +- ...putAttachments$createPreviewAdapter$1.java | 4 +- ...WidgetChatInputDiscoveryCommandsModel.java | 28 +- .../input/WidgetChatInputMentionsTags.java | 12 +- .../SelectedAppCommandTitleAdapterItem.java | 16 +- .../attachments/AttachmentBottomSheet.java | 4 +- .../ApplicationCommandAutocompletable.java | 16 +- ...plicationCommandChoiceAutocompletable.java | 8 +- .../ApplicationCommandLoadingPlaceholder.java | 8 +- .../autocomplete/ApplicationPlaceholder.java | 8 +- .../AutocompleteExtensionsKt.java | 38 +- .../autocomplete/AutocompleteViewModel.java | 72 +- .../autocomplete/AutocompleteViewState.java | 42 +- .../autocomplete/ChannelAutocompletable.java | 16 +- .../autocomplete/EmojiAutocompletable.java | 8 +- .../chat/input/autocomplete/Event.java | 16 +- .../GlobalRoleAutocompletable.java | 2 +- .../input/autocomplete/InputAutocomplete.java | 2 +- .../autocomplete/InputEditTextAction.java | 84 +- .../autocomplete/RoleAutocompletable.java | 20 +- .../SelectedCommandViewState.java | 24 +- .../autocomplete/UserAutocompletable.java | 30 +- .../chat/input/autocomplete/ViewState.java | 12 +- .../adapter/AutocompleteItemViewHolder.java | 24 +- .../adapter/ChatInputAutocompleteAdapter.java | 2 +- .../adapter/CommandHeaderViewHolder.java | 2 +- .../EmojiAutocompleteUpsellViewHolder.java | 2 +- .../commands/AutocompleteCommandUtils.java | 26 +- .../sources/EmojiAutocompletableSource.java | 6 +- .../input/emoji/EmojiCategoryAdapter.java | 6 +- .../chat/input/emoji/EmojiCategoryItem.java | 32 +- .../input/emoji/EmojiCategoryViewHolder.java | 4 +- .../input/emoji/EmojiPickerContextType.java | 2 +- .../input/emoji/EmojiPickerViewModel.java | 104 +- .../chat/input/emoji/WidgetEmojiAdapter.java | 38 +- ...dgetEmojiPicker$initializeSearchBar$1.java | 6 +- .../chat/input/emoji/WidgetEmojiPicker.java | 10 +- .../expression/ExpressionDetailPage.java | 8 +- .../expression/ExpressionPickerEvent.java | 12 +- .../expression/ExpressionTrayViewModel.java | 52 +- .../WidgetExpressionPickerAdapter.java | 22 +- ...essionTray$setWindowInsetsListeners$2.java | 2 +- .../expression/WidgetExpressionTray.java | 4 +- .../chat/input/gifpicker/GifAdapterItem.java | 32 +- .../chat/input/gifpicker/GifCategoryItem.java | 10 +- .../gifpicker/GifCategoryViewHolder.java | 4 +- .../input/gifpicker/GifCategoryViewModel.java | 4 +- .../input/gifpicker/GifPickerViewModel.java | 10 +- .../input/gifpicker/GifSearchViewModel.java | 20 +- .../chat/input/gifpicker/GifViewHolder.java | 6 +- ...ifCategory$setWindowInsetsListeners$2.java | 2 +- .../input/gifpicker/WidgetGifCategory.java | 18 +- .../chat/input/gifpicker/WidgetGifPicker.java | 4 +- .../gifpicker/WidgetGifPickerSearch.java | 4 +- .../input/models/ApplicationCommandData.java | 16 +- .../input/models/ApplicationCommandValue.java | 20 +- .../AutocompleteApplicationCommands.java | 16 +- .../input/models/AutocompleteInputModel.java | 16 +- .../AutocompleteInputSelectionModel.java | 20 +- .../input/models/ChatInputMentionsMap.java | 8 +- .../input/models/InputCommandContext.java | 12 +- .../input/models/InputSelectionModel.java | 28 +- .../chat/input/models/MentionInputModel.java | 16 +- .../chat/input/models/MentionToken.java | 16 +- .../chat/input/models/OptionRange.java | 12 +- .../chat/input/sticker/HeaderItem.java | 8 +- .../chat/input/sticker/HeaderType.java | 22 +- .../input/sticker/StickerCategoryAdapter.java | 2 +- .../input/sticker/StickerCategoryItem.java | 48 +- .../sticker/StickerCategoryViewHolder.java | 10 +- .../input/sticker/StickerFullSizeDialog.java | 2 +- .../chat/input/sticker/StickerItem.java | 26 +- .../StickerPackStoreSheetAnalytics.java | 16 +- .../StickerPackStoreSheetViewModel.java | 32 +- .../input/sticker/StickerPickerViewModel.java | 86 +- .../chat/input/sticker/StickerViewHolder.java | 4 +- .../chat/input/sticker/StoreHeaderItem.java | 14 +- .../input/sticker/StoreHeaderViewHolder.java | 2 +- .../sticker/WidgetStickerPackStoreSheet.java | 4 +- .../input/sticker/WidgetStickerPicker.java | 6 +- ...tListItemMessageAccessibilityDelegate.java | 2 +- .../widgets/chat/list/InlineMediaView.java | 36 +- .../chat/list/PublishActionDialog.java | 6 +- .../list/PublishActionDialogViewModel.java | 12 +- .../chat/list/ViewEmbedGameInvite.java | 30 +- .../widgets/chat/list/WidgetChatList.java | 2 +- .../widgets/chat/list/actions/EmojiItem.java | 8 +- .../list/actions/WidgetChatListActions.java | 70 +- ...ollToWithHighlight$animateHighlight$1.java | 4 +- ...ScrollToWithHighlight$scheduleRetry$1.java | 4 +- .../WidgetChatListAdapter$setHandlers$1.java | 6 +- .../list/adapter/WidgetChatListAdapter.java | 9 +- .../WidgetChatListAdapterEventsHandler.java | 20 +- ...ChatListAdapterItemApplicationCommand.java | 2 +- .../WidgetChatListAdapterItemAttachment.java | 22 +- ...getChatListAdapterItemBotComponentRow.java | 2 +- .../WidgetChatListAdapterItemCallMessage.java | 12 +- ...ItemEmbed$configureEmbedDescription$1.java | 6 +- ...dapterItemEmbed$configureEmbedTitle$1.java | 6 +- .../WidgetChatListAdapterItemEmbed.java | 60 +- ...terItemEphemeralMessage$onConfigure$2.java | 2 +- ...etChatListAdapterItemEphemeralMessage.java | 2 +- ...dgetChatListAdapterItemGift$buttons$2.java | 2 +- .../WidgetChatListAdapterItemGift.java | 34 +- ...hatListAdapterItemGuildInviteReminder.java | 2 +- ...EventInvite$Model$Companion$observe$1.java | 33 +- ...ildScheduledEventInvite$configureUI$2.java | 2 +- ...ildScheduledEventInvite$configureUI$3.java | 2 +- ...ildScheduledEventInvite$configureUI$5.java | 2 +- ...tAdapterItemGuildScheduledEventInvite.java | 80 +- ...idgetChatListAdapterItemGuildTemplate.java | 14 +- ...WidgetChatListAdapterItemGuildWelcome.java | 6 +- .../WidgetChatListAdapterItemInvite.java | 46 +- ...idgetChatListAdapterItemMentionFooter.java | 2 +- ...idgetChatListAdapterItemMessageHeader.java | 2 +- .../WidgetChatListAdapterItemNewMessages.java | 2 +- ...hatListAdapterItemPrivateChannelStart.java | 2 +- .../WidgetChatListAdapterItemReactions.java | 2 +- ...tListAdapterItemSpotifyListenTogether.java | 20 +- .../WidgetChatListAdapterItemStageInvite.java | 38 +- .../WidgetChatListAdapterItemStart.java | 6 +- ...WidgetChatListAdapterItemStickerGreet.java | 4 +- ...hatListAdapterItemStickerGreetCompact.java | 2 +- ...idgetChatListAdapterItemSystemMessage.java | 2 +- ...getChatListAdapterItemThreadDraftForm.java | 8 +- .../WidgetChatListAdapterItemThreadEmbed.java | 2 +- .../WidgetChatListAdapterItemTimestamp.java | 2 +- ...dgetChatListAdapterItemUploadProgress.java | 48 +- .../chat/list/entries/AttachmentEntry.java | 36 +- .../list/entries/BlockedMessagesEntry.java | 12 +- .../list/entries/BotUiComponentEntry.java | 16 +- .../widgets/chat/list/entries/EmbedEntry.java | 36 +- .../chat/list/entries/EmptyPinsEntry.java | 2 +- .../chat/list/entries/GameInviteEntry.java | 22 +- .../widgets/chat/list/entries/GiftEntry.java | 16 +- .../GuildScheduledEventInviteEntry.java | 26 +- .../chat/list/entries/GuildTemplateEntry.java | 12 +- .../chat/list/entries/GuildWelcomeEntry.java | 20 +- .../chat/list/entries/InviteEntry.java | 20 +- .../chat/list/entries/MessageEntry.java | 80 +- .../chat/list/entries/MessageHeaderEntry.java | 12 +- .../chat/list/entries/NewMessagesEntry.java | 8 +- .../chat/list/entries/ReactionsEntry.java | 16 +- .../list/entries/SearchResultCountEntry.java | 2 +- .../chat/list/entries/SpacerEntry.java | 2 +- .../entries/SpotifyListenTogetherEntry.java | 18 +- .../chat/list/entries/StageInviteEntry.java | 20 +- .../chat/list/entries/StartOfChatEntry.java | 36 +- .../list/entries/StartOfPrivateChatEntry.java | 24 +- .../chat/list/entries/StickerEntry.java | 12 +- .../entries/StickerGreetCompactEntry.java | 16 +- .../chat/list/entries/StickerGreetEntry.java | 16 +- .../list/entries/ThreadDraftFormEntry.java | 36 +- .../chat/list/entries/ThreadEmbedEntry.java | 42 +- .../entries/ThreadStarterDividerEntry.java | 8 +- .../chat/list/entries/TimestampEntry.java | 8 +- .../list/entries/UploadProgressEntry.java | 8 +- .../chat/list/model/WidgetChatListModel.java | 44 +- .../model/WidgetChatListModelMessages.java | 48 +- .../list/model/WidgetChatListModelTop.java | 8 +- .../WidgetApplicationCommandBottomSheet.java | 18 +- ...etViewModel$Companion$observeStores$1.java | 38 +- ...pplicationCommandBottomSheetViewModel.java | 72 +- .../list/utils/EmbeddedMessageParser.java | 36 +- .../ManageReactionsEmojisAdapter.java | 10 +- .../managereactions/ManageReactionsModel.java | 8 +- .../ManageReactionsResultsAdapter.java | 30 +- .../WidgetManageReactions.java | 4 +- ...ypingModel$Companion$getTypingUsers$2.java | 2 +- .../widgets/chat/overlay/ChatTypingModel.java | 12 +- .../chat/overlay/WidgetChatOverlay.java | 16 +- .../pins/WidgetChannelPinnedMessages.java | 50 +- .../widgets/client/WidgetClientOutdated.java | 2 +- .../contact_sync/AddFriendsFailed.java | 6 +- ...ontactSyncFriendSuggestionListAdapter.java | 4 +- .../ContactSyncPermissionsSheet.java | 6 +- .../contact_sync/ContactSyncUpsellSheet.java | 4 +- .../contact_sync/WidgetContactSync.java | 10 +- .../WidgetContactSyncViewModel.java | 104 +- ...dgetDebugging$onViewBoundOrOnResume$3.java | 6 +- .../widgets/debugging/WidgetDebugging.java | 10 +- .../widgets/debugging/WidgetFatalCrash.java | 4 +- .../directories/DirectoriesSearchArgs.java | 2 +- .../directories/DirectoryCategoryArgs.java | 8 +- .../directories/DirectoryChannelItem.java | 10 +- .../directories/DirectoryEntryData.java | 12 +- ...toriesSearch$$special$$inlined$args$1.java | 8 +- .../directories/WidgetDirectoriesSearch.java | 4 +- .../WidgetDirectoriesSearchViewModel.java | 32 +- .../WidgetDirectoriesViewModel.java | 32 +- ...toryCategory$$special$$inlined$args$1.java | 8 +- .../directories/WidgetDirectoryCategory.java | 2 +- ...l$onViewBound$$inlined$apply$lambda$1.java | 14 +- .../directories/WidgetDirectoryChannel.java | 18 +- ...idgetDirectoryChannelViewPagerAdapter.java | 8 +- .../widgets/emoji/EmojiSheetViewModel.java | 80 +- .../widgets/emoji/WidgetEmojiSheet.java | 6 +- .../feedback/FeedbackSheetViewModel.java | 30 +- .../widgets/feedback/WidgetFeedbackSheet.java | 4 +- .../EmptyFriendsStateContactSyncView.java | 2 +- .../friends/EmptyFriendsStateView.java | 2 +- .../widgets/friends/FriendsListViewModel.java | 162 +- .../widgets/friends/NearbyManager.java | 18 +- .../widgets/friends/SuggestedFriendView.java | 2 +- .../widgets/friends/WidgetFriendsAdd.java | 2 +- .../WidgetFriendsAddById$onViewBound$2.java | 10 +- .../widgets/friends/WidgetFriendsAddById.java | 12 +- .../friends/WidgetFriendsAddUserAdapter.java | 18 +- .../friends/WidgetFriendsFindNearby.java | 8 +- .../WidgetFriendsList$configureToolbar$1.java | 6 +- .../widgets/friends/WidgetFriendsList.java | 4 +- .../friends/WidgetFriendsListAdapter.java | 14 +- .../GuildDeleteFeedbackSheetNavigator.java | 4 +- .../GuildRoleSubscriptionBenefitItemView.java | 6 +- .../GuildRoleSubscriptionUtilsKt.java | 35 + .../GuildSubscriptionRoleImageUploadView.java | 4 +- .../PriceTierPickerBottomSheetViewModel.java | 10 +- .../WidgetPriceTierPickerBottomSheet.java | 6 +- ...oleSubscriptionEntryPoint$viewModel$2.java | 2 +- ...WidgetGuildRoleSubscriptionEntryPoint.java | 18 +- ...tryPointViewModel$observeStoreState$1.java | 25 +- ...ldRoleSubscriptionEntryPointViewModel.java | 127 +- ...dRoleSubscriptionPlanDetailsViewModel.java | 20 +- ...RoleSubscriptionPlanFormatRadioButton.java | 8 +- ...ildRoleSubscriptionPlanSetupViewModel.java | 40 +- ...idgetGuildRoleSubscriptionPlanDetails.java | 4 +- ...WidgetGuildRoleSubscriptionPlanFormat.java | 4 +- .../WidgetGuildRoleSubscriptionPlanSetup.java | 2 +- .../GuildRoleSubscriptionTierAdapter.java | 6 +- .../GuildRoleSubscriptionTierAdapterItem.java | 62 +- .../GuildRoleSubscriptionTierViewHolder.java | 44 +- ...ateGuildRoleSubscriptionTierViewModel.java | 38 +- .../GuildRoleSubscriptionMemberPreview.java | 12 +- .../GuildRoleSubscriptionReviewViewModel.java | 4 +- .../GuildRoleSubscriptionTierViewModel.java | 8 +- ...WidgetCreateGuildRoleSubscriptionTier.java | 2 +- .../WidgetGuildRoleSubscriptionReview.java | 2 +- ...WidgetGuildRoleSubscriptionTierDesign.java | 4 +- ...idgetGuildRoleSubscriptionTierDetails.java | 4 +- .../GuildRoleSubscriptionBenefitAdapter.java | 6 +- ...ildRoleSubscriptionBenefitAdapterItem.java | 48 +- ...dRoleSubscriptionTierBenefitViewModel.java | 36 +- ...RoleSubscriptionTierBenefitsViewModel.java | 12 +- ...idgetGuildRoleSubscriptionTierBenefit.java | 10 +- ...dgetGuildRoleSubscriptionTierBenefits.java | 4 +- .../tier/model/Benefit.java | 36 +- .../tier/model/GuildRoleSubscriptionTier.java | 52 +- .../guilds/WidgetGuildFolderSettings.java | 14 +- .../WidgetGuildFolderSettingsViewModel.java | 28 +- .../widgets/guilds/WidgetGuildSelector.java | 22 +- .../FolderContextMenuViewModel.java | 20 +- .../GuildContextMenuViewModel.java | 32 +- .../contextmenu/WidgetFolderContextMenu.java | 4 +- .../contextmenu/WidgetGuildContextMenu.java | 4 +- .../guilds/create/ChannelTemplate.java | 6 +- .../guilds/create/CreationIntentArgs.java | 12 +- .../guilds/create/GuildCreateCloneViews.java | 2 +- .../create/GuildTemplateChannelsView.java | 10 +- ...eationIntent$$special$$inlined$args$1.java | 8 +- .../guilds/create/WidgetCreationIntent.java | 6 +- .../guilds/create/WidgetGuildClone.java | 12 +- ...tGuildCreate$$special$$inlined$args$1.java | 8 +- .../guilds/create/WidgetGuildCreate.java | 26 +- .../create/WidgetGuildCreateViewModel.java | 48 +- .../widgets/guilds/invite/GuildInvite.java | 30 +- .../invite/GuildInviteSettingsViewModel.java | 32 +- .../GuildInviteShareSheetViewModel.java | 80 +- .../guilds/invite/InviteGenerator.java | 12 +- .../InviteJoinHelper$joinViaInvite$4.java | 2 +- .../guilds/invite/InviteJoinHelper.java | 2 +- .../guilds/invite/InviteSuggestion.java | 16 +- .../guilds/invite/InviteSuggestionItem.java | 28 +- .../guilds/invite/InviteSuggestionItemV2.java | 40 +- .../invite/InviteSuggestionsAdapter.java | 4 +- .../invite/InviteSuggestionsManager.java | 12 +- .../guilds/invite/PrivateChannelAdapter.java | 4 +- .../invite/ViewInviteSettingsSheet.java | 12 +- .../WidgetGuildInvite$configureUI$2.java | 2 +- ...etGuildInvite$onViewBoundOrOnResume$1.java | 10 +- .../guilds/invite/WidgetGuildInvite.java | 13 +- .../invite/WidgetGuildInviteSettings.java | 10 +- .../guilds/invite/WidgetGuildInviteShare.java | 4 +- .../invite/WidgetGuildInviteShareCompact.java | 8 +- ...idgetGuildInviteShareEmptySuggestions.java | 6 +- .../invite/WidgetGuildInviteShareSheet.java | 4 +- ...iewModel$observeViewStateFromStores$1.java | 6 +- .../WidgetGuildInviteShareViewModel.java | 20 +- .../WidgetInviteInfo$parseAttributeSet$1.java | 2 +- .../guilds/invite/WidgetInviteInfo.java | 14 +- .../guilds/invite/WidgetInviteModel.java | 52 +- .../widgets/guilds/join/ChannelItem.java | 20 +- .../guilds/join/ChannelViewHolder.java | 2 +- .../widgets/guilds/join/InviteArgs.java | 28 +- .../discord/widgets/guilds/join/JoinArgs.java | 36 +- .../widgets/guilds/join/WidgetGuildJoin.java | 8 +- .../WidgetGuildJoinCaptchaBottomSheet.java | 6 +- .../guilds/join/WidgetGuildWelcomeSheet.java | 6 +- ...WidgetGuildWelcomeSheetChannelAdapter.java | 2 +- .../WidgetGuildWelcomeSheetViewModel.java | 36 +- .../leave/LeaveGuildDialogViewModel.java | 20 +- .../guilds/leave/WidgetLeaveGuildDialog.java | 8 +- .../widgets/guilds/list/GuildListItem.java | 122 +- .../guilds/list/GuildListViewHolder.java | 22 +- .../guilds/list/WidgetGuildListAdapter.java | 26 +- ...tGuildsList$configureBottomNavSpace$1.java | 4 +- .../widgets/guilds/list/WidgetGuildsList.java | 14 +- .../list/WidgetGuildsListViewModel.java | 180 +- .../widgets/guilds/profile/EmojiItem.java | 10 +- .../profile/WidgetChangeGuildIdentity.java | 8 +- .../WidgetChangeGuildIdentityViewModel.java | 50 +- .../profile/WidgetGuildProfileSheet.java | 20 +- .../WidgetGuildProfileSheetEmojisAdapter.java | 2 +- .../WidgetGuildProfileSheetViewModel.java | 216 +- .../WidgetPublicAnnouncementProfileSheet.java | 2 +- .../GuildEventPromptListView.java | 18 +- .../GuildEventPromptView.java | 2 +- ...ildIdsWithActiveEventsModel$observe$1.java | 2 +- .../GuildScheduledEventBottomButtonView.java | 38 +- .../GuildScheduledEventDateView.java | 8 +- .../GuildScheduledEventDescriptionParser.java | 28 +- ...lsViewModel$Companion$observeStores$1.java | 24 +- .../GuildScheduledEventDetailsViewModel.java | 212 +- ...dScheduledEventExternalLocationParser.java | 8 +- ...uledEventItemView$descriptionParser$2.java | 2 +- .../GuildScheduledEventItemView.java | 197 +- ...Adapter$EventViewHolder$onConfigure$4.java | 4 +- .../GuildScheduledEventListItem.java | 94 +- ...stViewModel$Companion$observeStores$1.java | 48 +- .../GuildScheduledEventListViewModel.java | 123 +- .../GuildScheduledEventLocationInfo.java | 16 +- .../GuildScheduledEventModel.java | 114 +- .../GuildScheduledEventModelKt.java | 13 +- .../GuildScheduledEventPickerDate.java | 12 +- .../GuildScheduledEventPickerTime.java | 12 +- ...tAdapter$UserViewHolder$onConfigure$1.java | 2 +- ...uildScheduledEventRsvpUserListAdapter.java | 33 +- .../GuildScheduledEventRsvpUserListItem.java | 10 +- .../GuildScheduledEventSettingsViewModel.java | 41 +- ...ScheduledEventViewModel$createEvent$2.java | 2 +- .../PreviewGuildScheduledEventViewModel.java | 24 +- ...dgetEndGuildScheduledEventBottomSheet.java | 6 +- ...idgetGuildScheduledEventCreateSuccess.java | 6 +- ...dScheduledEventCreateSuccessViewModel.java | 8 +- ...uledEventDetailsBottomSheet$binding$2.java | 116 +- ...EventDetailsBottomSheet$configureUi$2.java | 81 +- ...EventDetailsBottomSheet$configureUi$3.java | 13 +- ...EventDetailsBottomSheet$configureUi$4.java | 51 +- ...EventDetailsBottomSheet$configureUi$5.java | 53 +- ...EventDetailsBottomSheet$configureUi$6.java | 20 +- ...EventDetailsBottomSheet$configureUi$7.java | 35 +- ...EventDetailsBottomSheet$configureUi$8.java | 39 +- ...EventDetailsBottomSheet$configureUi$9.java | 17 + ...etailsBottomSheet$descriptionParser$2.java | 2 +- ...GuildScheduledEventDetailsBottomSheet.java | 96 +- ...etailsExtrasBottomSheet$configureUi$2.java | 2 +- ...etailsExtrasBottomSheet$configureUi$3.java | 2 +- ...etailsExtrasBottomSheet$configureUi$5.java | 2 +- ...etailsExtrasBottomSheet$configureUi$6.java | 2 +- ...cheduledEventDetailsExtrasBottomSheet.java | 6 +- ...duledEventListBottomSheet$viewModel$2.java | 2 +- ...getGuildScheduledEventListBottomSheet.java | 8 +- ...dgetGuildScheduledEventLocationSelect.java | 8 +- ...ScheduledEventLocationSelectViewModel.java | 66 +- .../WidgetGuildScheduledEventSettings.java | 4 +- ...tGuildScheduledEventUpsellBottomSheet.java | 4 +- ...duledEvent$configureTextForCreation$2.java | 6 +- .../WidgetPreviewGuildScheduledEvent.java | 20 +- .../com/discord/widgets/home/HomeConfig.java | 12 +- .../home/WidgetHome$configureFirstOpen$2.java | 2 +- .../home/WidgetHome$configureLeftPanel$1.java | 4 +- ...ome$configureNavigationDrawerAction$1.java | 2 +- .../com/discord/widgets/home/WidgetHome.java | 36 +- ...meHeaderManager$getOnSelectedAction$1.java | 14 +- .../widgets/home/WidgetHomeHeaderManager.java | 20 +- .../discord/widgets/home/WidgetHomeModel.java | 40 +- .../widgets/home/WidgetHomePanelNsfw.java | 4 +- .../widgets/home/WidgetHomeViewModel.java | 74 +- .../widgets/home/WidgetMainSurveyDialog.java | 6 +- .../discord/widgets/hubs/AddNameState.java | 16 +- .../hubs/AddServerConfirmationArgs.java | 8 +- .../widgets/hubs/AuthenticationResult.java | 2 +- .../widgets/hubs/DescriptionResult.java | 8 +- .../hubs/DiscordHubAddServerViewHolder.java | 2 +- .../discord/widgets/hubs/DomainGuildInfo.java | 8 +- .../discord/widgets/hubs/DomainsState.java | 12 +- .../discord/widgets/hubs/HubAddNameArgs.java | 2 +- .../widgets/hubs/HubAddServerState.java | 24 +- .../widgets/hubs/HubAuthenticationArgs.java | 8 +- .../widgets/hubs/HubAuthenticationState.java | 16 +- .../widgets/hubs/HubDescriptionArgs.java | 28 +- .../widgets/hubs/HubDescriptionState.java | 20 +- .../discord/widgets/hubs/HubDomainArgs.java | 8 +- .../widgets/hubs/HubDomainViewHolder.java | 2 +- .../discord/widgets/hubs/HubEmailArgs.java | 16 +- .../discord/widgets/hubs/HubEmailState.java | 20 +- .../discord/widgets/hubs/HubWaitlistArgs.java | 2 +- .../widgets/hubs/HubWaitlistResult.java | 2 +- .../widgets/hubs/HubWaitlistState.java | 8 +- .../widgets/hubs/RadioSelectorItem.java | 28 +- .../widgets/hubs/RadioSelectorItems.java | 8 +- ...etHubAddName$$special$$inlined$args$1.java | 8 +- .../widgets/hubs/WidgetHubAddName.java | 14 +- .../widgets/hubs/WidgetHubAddServer.java | 4 +- ...mationDialog$$special$$inlined$args$1.java | 8 +- .../WidgetHubAddServerConfirmationDialog.java | 8 +- ...erViewModel$Companion$observeStores$1.java | 12 +- ...thentication$$special$$inlined$args$1.java | 8 +- ...WidgetHubAuthentication$configureUi$1.java | 2 +- .../widgets/hubs/WidgetHubAuthentication.java | 6 +- ...bDescription$$special$$inlined$args$1.java | 8 +- .../WidgetHubDescription$configureUI$4.java | 2 +- .../widgets/hubs/WidgetHubDescription.java | 6 +- ...DomainSearch$$special$$inlined$args$1.java | 8 +- .../widgets/hubs/WidgetHubDomainSearch.java | 4 +- ...etHubDomains$$special$$inlined$args$1.java | 8 +- .../widgets/hubs/WidgetHubDomains.java | 4 +- ...HubEmailFlow$$special$$inlined$args$1.java | 8 +- ...idgetHubEmailFlow$validationManager$2.java | 2 +- .../widgets/hubs/WidgetHubEmailFlow.java | 14 +- ...tHubWaitlist$$special$$inlined$args$1.java | 8 +- .../hubs/WidgetHubWaitlist$configureUI$1.java | 2 +- .../widgets/hubs/WidgetHubWaitlist.java | 6 +- ...rBottomSheet$$special$$inlined$args$1.java | 8 +- .../hubs/WidgetRadioSelectorBottomSheet.java | 4 +- .../WidgetMedia$onViewBoundOrOnResume$1.java | 6 +- .../discord/widgets/media/WidgetMedia.java | 24 +- .../widgets/media/WidgetQRScanner.java | 4 +- .../mobile_reports/MobileReportArgs.java | 36 +- .../MobileReportsBottomButton.java | 8 +- .../MobileReportsViewModel.java | 204 +- .../mobile_reports/ReportsMenuNode.java | 2 +- ...obileReports$$special$$inlined$args$1.java | 8 +- .../mobile_reports/WidgetMobileReports.java | 4 +- .../NoticePopup$enqueue$notice$1$3$2.java | 12 +- .../widgets/notice/NoticePopupChannel.java | 48 +- .../widgets/notice/WidgetNoticeDialog.java | 12 +- .../notice/WidgetNoticeNuxOverlay.java | 4 +- .../notice/WidgetNoticeNuxSamsungLink.java | 4 +- .../discord/widgets/nux/GuildCreateArgs.java | 20 +- .../widgets/nux/GuildTemplateArgs.java | 20 +- .../nux/GuildTemplateCardViewHolder.java | 2 +- .../widgets/nux/GuildTemplateViewType.java | 8 +- .../widgets/nux/GuildTemplatesAdapter.java | 2 +- ...ildTemplates$$special$$inlined$args$1.java | 8 +- .../widgets/nux/WidgetGuildTemplates.java | 4 +- .../widgets/nux/WidgetNavigationHelp.java | 6 +- .../widgets/nux/WidgetNuxChannelPrompt.java | 6 +- ...NuxPostRegistrationJoin$onViewBound$1.java | 2 +- .../nux/WidgetNuxPostRegistrationJoin.java | 2 +- .../phone/PhoneCountryCodeAdapterItem.java | 2 +- .../WidgetPhoneCountryCodeBottomSheet.java | 4 +- .../WidgetQuickMentionsDialog.java | 4 +- .../WidgetSearch$configureSearchInput$1.java | 2 +- .../WidgetSearch$configureSearchInput$5.java | 4 +- .../discord/widgets/search/WidgetSearch.java | 32 +- ...etSearchResults$Model$Companion$get$1.java | 4 +- .../search/results/WidgetSearchResults.java | 26 +- .../suggestions/WidgetSearchSuggestions.java | 10 +- .../WidgetSearchSuggestionsAdapter.java | 8 +- .../servers/NotificationMuteSettingsView.java | 32 +- .../NotificationsOverridesAdapter.java | 8 +- ...ListAdapter$computeChangedPositions$1.java | 6 +- .../servers/SettingsChannelListAdapter.java | 66 +- .../servers/WidgetServerDeleteDialog.java | 12 +- .../servers/WidgetServerNotifications.java | 24 +- ...etServerNotificationsOverrideSelector.java | 4 +- .../widgets/servers/WidgetServerSettings.java | 32 +- .../servers/WidgetServerSettingsBans.java | 36 +- ...ingsChannels$configureFabVisibility$1.java | 2 +- ...igureFabVisibility$setFabVisibility$1.java | 4 +- ...tServerSettingsChannels$configureUI$1.java | 4 +- .../servers/WidgetServerSettingsChannels.java | 24 +- ...ServerSettingsChannelsFabMenuFragment.java | 4 +- ...dgetServerSettingsChannelsSortActions.java | 4 +- .../WidgetServerSettingsEditIntegration.java | 20 +- .../WidgetServerSettingsEditMember.java | 56 +- ...tServerSettingsEditMemberRolesAdapter.java | 12 +- ...itRole$setupHoistAndMentionSettings$1.java | 2 +- .../servers/WidgetServerSettingsEditRole.java | 156 +- .../servers/WidgetServerSettingsEmojis.java | 68 +- .../WidgetServerSettingsEmojisEdit.java | 8 +- ...etServerSettingsInstantInvitesActions.java | 4 +- .../WidgetServerSettingsIntegrations.java | 24 +- ...getServerSettingsIntegrationsListItem.java | 4 +- .../WidgetServerSettingsModeration.java | 12 +- ...tServerSettingsOverview$configureUI$7.java | 4 +- .../servers/WidgetServerSettingsOverview.java | 32 +- .../servers/WidgetServerSettingsRoles.java | 30 +- .../WidgetServerSettingsRolesAdapter.java | 28 +- .../servers/WidgetServerSettingsSecurity.java | 32 +- ...WidgetServerSettingsTransferOwnership.java | 20 +- .../WidgetServerSettingsVanityUrl.java | 26 +- ...ettingsAuditLog$Model$Companion$get$1.java | 8 +- ...tServerSettingsAuditLog$onViewBound$1.java | 4 +- .../WidgetServerSettingsAuditLog.java | 12 +- .../WidgetServerSettingsAuditLogAdapter.java | 6 +- .../WidgetServerSettingsAuditLogFilter.java | 4 +- ...etServerSettingsAuditLogFilterAdapter.java | 10 +- .../CommunityGetStartedHeaderIconView.java | 2 +- .../CommunityGetStartedInformationView.java | 2 +- .../community/CommunitySelectorView.java | 2 +- .../WidgetConfirmRemoveCommunityDialog.java | 4 +- ...tingsCommunityFirstStep$configureUI$1.java | 2 +- ...idgetServerSettingsCommunityFirstStep.java | 6 +- ...WidgetServerSettingsCommunityOverview.java | 6 +- ...verSettingsCommunityOverviewViewModel.java | 56 +- ...dgetServerSettingsCommunitySecondStep.java | 6 +- ...idgetServerSettingsCommunityThirdStep.java | 4 +- .../WidgetServerSettingsEnableCommunity.java | 2 +- ...getServerSettingsEnableCommunitySteps.java | 2 +- ...erverSettingsEnableCommunityViewModel.java | 106 +- ...sGuildRoleSubscriptionTierAdapterItem.java | 24 +- ...uildRoleSubscriptionTierListViewModel.java | 16 +- ...ettingsGuildRoleSubscriptionViewModel.java | 36 +- .../TierViewHolder.java | 2 +- ...erSettingsEmptyGuildRoleSubscriptions.java | 2 +- ...SettingsGuildRoleSubscriptionTierList.java | 6 +- ...tServerSettingsGuildRoleSubscriptions.java | 6 +- ...ildRoleSubscriptionConfirmationDialog.java | 8 +- ...uildRoleSubscriptionEditTierViewModel.java | 56 +- ...SettingsGuildRoleSubscriptionEditTier.java | 4 +- .../MemberVerificationPendingDialog.java | 20 +- .../MemberVerificationPendingViewModel.java | 20 +- .../MemberVerificationRulesAdapter.java | 2 +- .../MemberVerificationSuccessDialog.java | 4 +- .../MemberVerificationView.java | 4 +- .../WidgetMemberVerification.java | 8 +- .../WidgetMemberVerificationViewModel.java | 110 +- .../MemberVerificationItemApproveTerms.java | 8 +- .../MemberVerificationItemHeader.java | 2 +- .../MemberVerificationItemMultipleChoice.java | 12 +- .../MemberVerificationItemParagraph.java | 8 +- .../MemberVerificationItemTerm.java | 32 +- .../MemberVerificationItemTextInput.java | 8 +- ...mGuildSubscriptionInProgressViewModel.java | 36 +- .../PremiumGuildSubscriptionPerkView.java | 4 +- ...emiumGuildSubscriptionPerkViewAdapter.java | 8 +- ...emiumGuildTransferInProgressViewModel.java | 40 +- .../premiumguild/PremiumGuildViewModel.java | 76 +- .../WidgetPremiumGuildSubscription.java | 4 +- ...tPremiumGuildSubscriptionConfirmation.java | 4 +- ...idgetPremiumGuildSubscriptionTransfer.java | 4 +- .../ServerSettingsRoleMemberAdapterItem.java | 12 +- .../ServerSettingsRoleMembersViewHolder.java | 2 +- .../ServerSettingsRoleMembersViewModel.java | 40 +- .../WidgetServerSettingsRoleMembers.java | 4 +- .../WidgetServerSettingsInstantInvites.java | 32 +- ...tServerSettingsInstantInvitesListItem.java | 2 +- .../members/WidgetServerSettingsMembers.java | 4 +- .../WidgetServerSettingsMembersAdapter.java | 2 +- .../WidgetServerSettingsMembersModel.java | 52 +- .../settings/MuteSettingsSheetViewModel.java | 50 +- .../settings/WidgetMuteSettingsSheet.java | 6 +- .../WidgetSettings$configureToolbar$1.java | 4 +- .../widgets/settings/WidgetSettings.java | 30 +- ...etSettingsAccessibility$configureUI$2.java | 4 +- .../settings/WidgetSettingsAccessibility.java | 28 +- .../WidgetSettingsActivityStatus.java | 2 +- ...idgetSettingsAppearance$configureUI$1.java | 6 +- ...idgetSettingsAppearance$configureUI$2.java | 6 +- .../settings/WidgetSettingsAppearance.java | 26 +- .../WidgetSettingsAuthorizedApps.java | 6 +- .../settings/WidgetSettingsBehavior.java | 4 +- .../settings/WidgetSettingsLanguage.java | 4 +- .../WidgetSettingsLanguageSelect.java | 6 +- .../WidgetSettingsMedia$onViewBound$3.java | 4 +- .../widgets/settings/WidgetSettingsMedia.java | 6 +- ...Notifications$onViewBoundOrOnResume$1.java | 2 +- .../settings/WidgetSettingsNotifications.java | 4 +- .../WidgetSettingsNotificationsOs.java | 4 +- ...Privacy$configureContactSyncOptions$2.java | 2 +- ...Privacy$configureContactSyncOptions$3.java | 2 +- ...Privacy$configureContactSyncOptions$4.java | 2 +- ...ngsPrivacy$configurePrivacyControls$1.java | 10 +- ...tSettingsPrivacy$friendSourceRadios$2.java | 2 +- ...ttingsPrivacy$onViewBoundOrOnResume$2.java | 2 +- .../settings/WidgetSettingsPrivacy.java | 120 +- .../WidgetSettingsVoice$onViewBound$1.java | 6 +- .../WidgetSettingsVoice$onViewBound$3$1.java | 4 +- .../widgets/settings/WidgetSettingsVoice.java | 36 +- .../WidgetDisableDeleteAccountDialog.java | 4 +- .../account/WidgetEnableSMSBackupDialog.java | 4 +- .../WidgetSettingsAccount$onViewBound$1.java | 6 +- .../account/WidgetSettingsAccount.java | 45 +- .../WidgetSettingsAccountBackupCodes.java | 14 +- ...gsAccountChangePassword$onViewBound$2.java | 2 +- .../WidgetSettingsAccountChangePassword.java | 14 +- ...WidgetSettingsAccountContactsNameEdit.java | 4 +- .../WidgetSettingsAccountEmailEdit.java | 6 +- ...ingsAccountUsernameEdit$configureUI$1.java | 4 +- ...countUsernameEdit$validationManager$2.java | 2 +- .../WidgetSettingsAccountUsernameEdit.java | 14 +- .../account/WidgetSettingsBlockedUsers.java | 4 +- .../WidgetSettingsBlockedUsersAdapter.java | 2 +- .../WidgetSettingsBlockedUsersViewModel.java | 14 +- .../account/mfa/WidgetEnableMFADownload.java | 2 +- .../account/mfa/WidgetEnableMFAInput.java | 2 +- .../account/mfa/WidgetEnableMFAKey.java | 8 +- ...nableMFASteps$onViewBoundOrOnResume$1.java | 2 +- .../account/mfa/WidgetEnableMFASteps.java | 4 +- .../account/mfa/WidgetEnableMFASuccess.java | 2 +- .../account/mfa/WidgetEnableMFAViewModel.java | 8 +- .../billing/PaymentSourceAdapter.java | 20 +- .../settings/billing/PaymentSourceView.java | 2 +- .../billing/SettingsBillingViewModel.java | 14 +- .../WidgetPaymentSourceEditDialog.java | 16 +- .../ConnectionsGuildIntegrationView.java | 2 +- .../WidgetSettingsUserConnections.java | 16 +- .../WidgetSettingsUserConnectionsAdd.java | 12 +- .../WidgetSettingsUserConnectionsAddXbox.java | 4 +- ...nsViewModel$Companion$observeStores$1.java | 6 +- ...idgetSettingsUserConnectionsViewModel.java | 18 +- .../developer/ExperimentOverridesAdapter.java | 2 +- .../developer/WidgetSettingsDeveloper.java | 4 +- .../premium/BillingGracePeriodExperiment.java | 8 +- .../settings/premium/ChoosePlanViewModel.java | 82 +- .../premium/ClaimOutboundPromoViewModel.java | 20 +- .../widgets/settings/premium/ClaimStatus.java | 36 +- .../premium/SettingsGiftingViewModel.java | 118 +- .../premium/SettingsPremiumViewModel.java | 102 +- .../settings/premium/WidgetChoosePlan.java | 4 +- .../premium/WidgetChoosePlanAdapter.java | 30 +- .../premium/WidgetClaimOutboundPromo.java | 4 +- .../premium/WidgetOutboundPromoTerms.java | 4 +- .../premium/WidgetSettingsGifting.java | 16 +- .../premium/WidgetSettingsGiftingAdapter.java | 40 +- ...tSettingsGiftingOutboundPromosAdapter.java | 4 +- ...gureButtons$$inlined$forEach$lambda$2.java | 4 +- .../premium/WidgetSettingsPremium.java | 66 +- ...umGuildSubscriptionSampleGuildAdapter.java | 10 +- .../SettingsPremiumGuildViewModel.java | 72 +- ...idgetSettingsPremiumGuildSubscription.java | 10 +- ...ttingsPremiumGuildSubscriptionAdapter.java | 24 +- .../EditProfileBannerSheetViewModel.java | 20 +- .../profile/SettingsUserProfileViewModel.java | 72 +- .../profile/WidgetEditProfileBannerSheet.java | 16 +- ...MemberProfile$configureAvatarSelect$1.java | 4 +- .../WidgetEditUserOrGuildMemberProfile.java | 10 +- .../WidgetIncomingShare$onViewBound$4.java | 6 +- .../widgets/share/WidgetIncomingShare.java | 34 +- .../widgets/stage/StageCardSpeaker.java | 12 +- ...ageChannelJoinHelper$connectToStage$2.java | 2 +- .../widgets/stage/StageChannelJoinHelper.java | 6 +- .../stage/StageChannelNotifications.java | 4 +- .../com/discord/widgets/stage/StageRoles.java | 2 +- .../widgets/stage/model/StageCallModel.java | 38 +- .../widgets/stage/model/StageChannel.java | 36 +- ...tageAudienceBlockedBottomSheetAdapter.java | 14 +- ...geAudienceBlockedBottomSheetViewModel.java | 24 +- .../sheet/WidgetEndStageBottomSheet.java | 6 +- ...WidgetStageAudienceBlockedBottomSheet.java | 4 +- .../WidgetStageAudienceNoticeBottomSheet.java | 4 +- .../WidgetStageModeratorJoinBottomSheet.java | 4 +- .../WidgetStageRaisedHandsBottomSheet.java | 4 +- ...getStageRaisedHandsBottomSheetAdapter.java | 22 +- ...tStageRaisedHandsBottomSheetViewModel.java | 52 +- .../WidgetStageStartEventBottomSheet.java | 8 +- ...etStageStartEventBottomSheetViewModel.java | 40 +- .../start/ModeratorStartStageAdapter.java | 4 +- .../stage/start/ModeratorStartStageItem.java | 62 +- ...ores$1$1$$special$$inlined$sortedBy$1.java | 2 +- ...geViewModel$Companion$observeStores$1.java | 6 +- .../start/ModeratorStartStageViewModel.java | 26 +- .../start/WidgetModeratorStartStage.java | 8 +- .../UserProfileStageActionsView.java | 36 +- .../widgets/status/WidgetChatStatus.java | 24 +- .../status/WidgetGlobalStatusIndicator.java | 24 +- .../WidgetGlobalStatusIndicatorState.java | 12 +- .../WidgetGlobalStatusIndicatorViewModel.java | 138 +- .../widgets/status/WidgetThreadStatus.java | 22 +- .../status/WidgetThreadStatusViewModel.java | 32 +- .../stickers/GuildStickerSheetViewModel.java | 56 +- .../stickers/StickerPremiumUpsellDialog.java | 4 +- .../stickers/StickerSheetViewModel.java | 28 +- .../UnsendableStickerPremiumUpsellDialog.java | 4 +- .../stickers/WidgetGuildStickerSheet.java | 4 +- .../WidgetStickerPackDetailsDialog.java | 4 +- .../widgets/stickers/WidgetStickerSheet.java | 6 +- .../stickers/WidgetUnknownStickerSheet.java | 4 +- .../tabs/TabsHostBottomNavigationView.java | 8 +- .../widgets/tabs/TabsHostViewModel.java | 52 +- .../discord/widgets/tabs/WidgetTabsHost.java | 6 +- .../tos/WidgetTosAccept$configureUI$1.java | 2 +- .../discord/widgets/tos/WidgetTosAccept.java | 6 +- .../widgets/tos/WidgetTosReportViolation.java | 16 +- .../WidgetTosReportViolationReasonView.java | 2 +- .../WidgetTosReportViolationViewModel.java | 6 +- .../user/Badge$Companion$onBadgeClick$1.java | 2 +- .../java/com/discord/widgets/user/Badge.java | 20 +- .../discord/widgets/user/WidgetBanUser.java | 4 +- .../discord/widgets/user/WidgetKickUser.java | 4 +- .../widgets/user/WidgetPruneUsers.java | 4 +- .../user/WidgetPruneUsersViewModel.java | 46 +- ...getUserMentions$Model$Companion$get$1.java | 10 +- ...getUserMentionFilter$delayedDismiss$1.java | 4 +- ...ns$WidgetUserMentionFilter$onResume$3.java | 2 +- .../widgets/user/WidgetUserMentions.java | 99 +- .../widgets/user/WidgetUserMutualFriends.java | 38 +- .../widgets/user/WidgetUserMutualGuilds.java | 44 +- ...serPasswordVerify$validationManager$2.java | 2 +- .../user/WidgetUserPasswordVerify.java | 8 +- .../user/WidgetUserSetCustomStatus.java | 4 +- .../WidgetUserSetCustomStatusViewModel.java | 40 +- .../widgets/user/WidgetUserStatusSheet.java | 10 +- .../user/WidgetUserStatusSheetViewModel.java | 16 +- .../user/account/WidgetUserAccountVerify.java | 4 +- .../account/WidgetUserAccountVerifyBase.java | 6 +- .../WidgetUserEmailUpdate$onViewBound$3.java | 2 +- .../user/email/WidgetUserEmailUpdate.java | 6 +- .../user/email/WidgetUserEmailVerify.java | 26 +- .../user/phone/WidgetUserPhoneManage.java | 10 +- .../user/phone/WidgetUserPhoneVerify.java | 4 +- .../user/presence/ModelRichPresence.java | 12 +- .../user/presence/ModelStageRichPresence.java | 52 +- .../user/profile/UserProfileAdminView.java | 48 +- .../profile/UserProfileConnectionsView.java | 24 +- ...ew$updateBannerBackgroundColorAsync$2.java | 2 +- .../user/profile/UserProfileHeaderView.java | 14 +- .../profile/UserProfileHeaderViewModel.java | 130 +- .../profile/UserStatusPresenceCustomView.java | 50 +- .../user/search/ViewGlobalSearchItem.java | 12 +- .../WidgetGlobalSearch$onViewBound$4.java | 2 +- .../WidgetGlobalSearch$onViewBound$6.java | 2 +- .../user/search/WidgetGlobalSearch.java | 18 +- .../WidgetGlobalSearchGuildsAdapter.java | 4 +- .../search/WidgetGlobalSearchGuildsModel.java | 58 +- ...tGlobalSearchModel$Companion$create$4.java | 4 +- .../user/search/WidgetGlobalSearchModel.java | 132 +- .../UserProfileVoiceSettingsView.java | 20 +- .../WidgetUserSheet$onViewCreated$14.java | 2 +- .../WidgetUserSheet$onViewCreated$15.java | 4 +- .../user/usersheet/WidgetUserSheet.java | 40 +- .../usersheet/WidgetUserSheetViewModel.java | 254 +- .../WidgetUserSheetViewModelStoreState.java | 34 +- .../widgets/voice/call/WidgetCallFailed.java | 6 +- ...ng$SystemCallIncoming$onViewCreated$1.java | 8 +- .../voice/call/WidgetVoiceCallIncoming.java | 16 +- .../voice/call/WidgetVoiceCallInline.java | 36 +- .../controls/AnchoredVoiceControlsView.java | 4 +- .../controls/VoiceControlsSheetView.java | 6 +- .../controls/WidgetScreenShareNfxSheet.java | 16 +- .../widgets/voice/feedback/FeedbackView.java | 4 +- .../voice/feedback/PendingFeedback.java | 64 +- .../WidgetIssueDetailsForm$onViewBound$1.java | 2 +- .../feedback/WidgetIssueDetailsForm.java | 8 +- .../call/CallFeedbackSheetNavigator.java | 2 +- .../call/CallFeedbackSheetViewModel.java | 18 +- .../stream/StreamFeedbackSheetNavigator.java | 2 +- .../stream/StreamFeedbackSheetViewModel.java | 2 +- ...tCallFullscreen$bottomSheetCallback$1.java | 2 +- ...figureActionBar$$inlined$let$lambda$1.java | 2 +- ...lFullscreen$configureBottomControls$1.java | 2 +- ...creen$configureConnectionStatusText$1.java | 2 +- ...n$configureEventPrompt$onStartEvent$1.java | 2 +- .../WidgetCallFullscreen$configureMenu$1.java | 8 +- ...lscreen$initializeSystemUiListeners$5.java | 2 +- .../fullscreen/WidgetCallFullscreen.java | 72 +- ...$handleStoreState$$inlined$sortedBy$1.java | 2 +- .../WidgetCallFullscreenViewModel.java | 240 +- .../WidgetGuildCallOnboardingSheet.java | 2 +- ...dgetGuildCallOnboardingSheetViewModel.java | 18 +- .../fullscreen/WidgetStartCallSheet.java | 4 +- .../fullscreen/grid/VideoCallGridAdapter.java | 16 +- .../grid/VideoCallGridViewHolder.java | 2 +- .../fullscreen/stage/AudienceViewHolder.java | 2 +- .../fullscreen/stage/DetailsViewHolder.java | 2 +- .../stage/PrestartDetailsViewHolder.java | 2 +- .../fullscreen/stage/StageCallAdapter.java | 2 +- .../stage/StageCallBottomSheetManager.java | 2 +- .../voice/fullscreen/stage/StageCallItem.java | 86 +- .../widgets/voice/model/CallModel.java | 126 +- ...ChannelSettings$Model$Companion$get$1.java | 2 +- ...getVoiceChannelSettings$configureUI$6.java | 2 +- .../settings/WidgetVoiceChannelSettings.java | 34 +- .../voice/sheet/CallParticipantsAdapter.java | 34 +- .../WidgetNoiseCancellationBottomSheet.java | 6 +- ...NoiseCancellationBottomSheetViewModel.java | 2 +- .../WidgetVoiceBottomSheet$onResume$1.java | 2 +- .../WidgetVoiceBottomSheet$onResume$2.java | 2 +- .../voice/sheet/WidgetVoiceBottomSheet.java | 60 +- .../WidgetVoiceBottomSheetViewModel.java | 101 +- .../sheet/WidgetVoiceSettingsBottomSheet.java | 6 +- ...dgetVoiceSettingsBottomSheetViewModel.java | 48 +- .../java/com/esotericsoftware/kryo/Kryo.java | 110 +- .../esotericsoftware/kryo/Registration.java | 20 +- .../com/esotericsoftware/kryo/Serializer.java | 6 +- .../ReflectionSerializerFactory.java | 10 +- .../kryo/io/ByteBufferInput.java | 10 +- .../kryo/io/ByteBufferOutput.java | 24 +- .../com/esotericsoftware/kryo/io/Input.java | 10 +- .../kryo/io/InputChunked.java | 4 +- .../com/esotericsoftware/kryo/io/Output.java | 36 +- .../kryo/io/OutputChunked.java | 4 +- .../esotericsoftware/kryo/pool/KryoPool.java | 2 +- .../kryo/serializers/AsmCacheFields.java | 4 +- .../kryo/serializers/BeanSerializer.java | 12 +- .../CompatibleFieldSerializer.java | 10 +- .../serializers/DefaultArraySerializers.java | 2 +- .../kryo/serializers/DefaultSerializers.java | 10 +- .../kryo/serializers/EnumNameSerializer.java | 10 +- .../kryo/serializers/FieldSerializer.java | 24 +- .../FieldSerializerAnnotationsUtil.java | 48 +- .../serializers/FieldSerializerConfig.java | 18 +- .../FieldSerializerGenericsUtil.java | 18 +- .../FieldSerializerUnsafeUtilImpl.java | 4 +- .../kryo/serializers/GenericsResolver.java | 2 +- .../kryo/serializers/JavaSerializer.java | 6 +- .../kryo/serializers/ObjectField.java | 58 +- .../serializers/TaggedFieldSerializer.java | 12 +- .../TaggedFieldSerializerConfig.java | 2 +- .../kryo/serializers/UnsafeCacheFields.java | 4 +- .../serializers/VersionFieldSerializer.java | 10 +- .../kryo/util/DefaultClassResolver.java | 28 +- .../kryo/util/IdentityMap.java | 6 +- .../kryo/util/IdentityObjectIntMap.java | 6 +- .../esotericsoftware/kryo/util/IntArray.java | 6 +- .../esotericsoftware/kryo/util/IntMap.java | 6 +- .../esotericsoftware/kryo/util/ObjectMap.java | 6 +- .../kryo/util/UnsafeUtil.java | 22 +- .../com/esotericsoftware/kryo/util/Util.java | 12 +- .../com/facebook/animated/gif/GifImage.java | 6 +- .../com/facebook/animated/webp/WebPImage.java | 2 +- .../facebook/cache/disk/DiskCacheConfig.java | 8 +- .../common/references/CloseableReference.java | 18 +- .../common/references/SharedReference.java | 10 +- .../controller/AbstractDraweeController.java | 64 +- .../AbstractDraweeControllerBuilder.java | 4 +- .../drawable/ScalingUtils$ScaleType.java | 2 +- .../generic/GenericDraweeHierarchy.java | 22 +- .../drawee/span/DraweeSpanStringBuilder.java | 10 +- .../facebook/drawee/view/DraweeHolder.java | 20 +- .../com/facebook/drawee/view/DraweeView.java | 6 +- .../factory/AnimatedFactoryV2Impl.java | 14 +- .../cache/MemoryCacheParams.java | 4 +- .../imagepipeline/memory/BasePool.java | 32 +- .../MemoryPooledByteBufferOutputStream.java | 28 +- .../memory/NativeMemoryChunk.java | 52 +- .../imagepipeline/nativecode/Bitmaps.java | 8 +- .../nativecode/DalvikPurgeableDecoder.java | 18 +- .../nativecode/NativeJpegTranscoder.java | 44 +- .../NativeJpegTranscoderFactory.java | 6 +- .../platform/GingerbreadPurgeableDecoder.java | 12 +- .../platform/KitKatPurgeableDecoder.java | 32 +- .../producers/LocalExifThumbnailProducer.java | 24 +- .../imagepipeline/request/ImageRequest.java | 58 +- .../request/ImageRequestBuilder.java | 4 +- .../samples/zoomable/ZoomableDraweeView.java | 12 +- .../facebook/soloader/Api18TraceUtils.java | 14 +- .../java/com/facebook/soloader/SoLoader.java | 100 +- .../jackson/core/exc/StreamReadException.java | 6 +- .../databind/JsonMappingException.java | 8 +- .../PersistentCookieJar.java | 8 +- .../persistence/SerializableCookie.java | 21 +- .../mmin18/widget/RealtimeBlurView.java | 46 +- ...larmManagerSchedulerBroadcastReceiver.java | 2 +- .../JobInfoSchedulerService.java | 2 +- .../exoplayer2/ExoPlaybackException.java | 84 +- .../exoplayer2/ExoTimeoutException.java | 2 +- .../com/google/android/exoplayer2/Format.java | 429 - .../IllegalSeekPositionException.java | 8 +- .../android/exoplayer2/ParserException.java | 21 +- .../android/exoplayer2/PlaybackException.java | 14 + .../exoplayer2/audio/AudioProcessor.java | 24 +- .../android/exoplayer2/audio/AudioSink.java | 95 +- .../exoplayer2/audio/DefaultAudioSink.java | 2061 +- .../exoplayer2/decoder/CryptoException.java | 4 + .../decoder/DecoderInputBuffer.java | 16 +- .../exoplayer2/drm/DecryptionException.java | 4 - .../exoplayer2/drm/DefaultDrmSession.java | 532 +- .../drm/DefaultDrmSessionManager.java | 433 +- .../android/exoplayer2/drm/DrmInitData.java | 18 +- .../android/exoplayer2/drm/DrmSession.java | 19 +- .../drm/MediaDrmCallbackException.java | 8 +- .../extractor/flv/TagPayloadReader.java | 13 +- .../MediaCodecDecoderException.java | 18 +- .../mediacodec/MediaCodecRenderer.java | 1582 +- .../exoplayer2/mediacodec/MediaCodecUtil.java | 977 +- .../android/exoplayer2/metadata/Metadata.java | 20 +- .../metadata/dvbsi/AppInfoTable.java | 29 +- .../metadata/emsg/EventMessage.java | 51 +- .../metadata/flac/PictureFrame.java | 28 +- .../metadata/flac/VorbisComment.java | 81 +- .../exoplayer2/metadata/icy/IcyHeaders.java | 95 +- .../exoplayer2/metadata/icy/IcyInfo.java | 19 +- .../exoplayer2/metadata/id3/ApicFrame.java | 19 +- .../exoplayer2/metadata/id3/BinaryFrame.java | 4 +- .../exoplayer2/metadata/id3/ChapterFrame.java | 6 +- .../metadata/id3/ChapterTocFrame.java | 6 +- .../exoplayer2/metadata/id3/CommentFrame.java | 13 +- .../exoplayer2/metadata/id3/GeobFrame.java | 16 +- .../exoplayer2/metadata/id3/Id3Frame.java | 14 +- .../metadata/id3/InternalFrame.java | 13 +- .../exoplayer2/metadata/id3/MlltFrame.java | 4 +- .../exoplayer2/metadata/id3/PrivFrame.java | 10 +- .../metadata/id3/TextInformationFrame.java | 262 +- .../exoplayer2/metadata/id3/UrlLinkFrame.java | 10 +- .../metadata/mp4/MdtaMetadataEntry.java | 25 +- .../metadata/mp4/MotionPhotoMetadata.java | 51 +- .../metadata/mp4/SlowMotionData.java | 29 +- .../metadata/mp4/SmtaMetadataEntry.java | 29 +- .../metadata/scte35/PrivateCommand.java | 4 +- .../metadata/scte35/SpliceCommand.java | 19 +- .../metadata/scte35/SpliceInsertCommand.java | 16 +- .../scte35/SpliceScheduleCommand.java | 8 +- .../metadata/scte35/TimeSignalCommand.java | 10 +- .../android/exoplayer2/source/TrackGroup.java | 76 - .../exoplayer2/source/TrackGroupArray.java | 87 - .../UnrecognizedInputFormatException.java | 2 +- .../trackselection/DefaultTrackSelector.java | 966 - .../TrackSelectionParameters.java | 130 - .../android/exoplayer2/ui/DefaultTimeBar.java | 140 +- .../exoplayer2/ui/PlayerControlView.java | 1315 +- .../android/exoplayer2/ui/PlayerView.java | 992 +- .../android/exoplayer2/ui/SubtitleView.java | 286 +- .../exoplayer2/ui/TrackSelectionView.java | 40 +- .../exoplayer2/upstream/AssetDataSource.java | 73 +- .../upstream/ContentDataSource.java | 175 +- .../upstream/DataSourceException.java | 18 +- .../exoplayer2/upstream/FileDataSource.java | 120 +- ...Source$CleartextNotPermittedException.java | 6 +- ...ttpDataSource$HttpDataSourceException.java | 54 +- ...ataSource$InvalidContentTypeException.java | 9 +- ...taSource$InvalidResponseCodeException.java | 7 +- .../android/exoplayer2/upstream/Loader.java | 71 +- .../upstream/RawResourceDataSource.java | 157 +- .../exoplayer2/upstream/UdpDataSource.java | 93 +- .../exoplayer2/upstream/cache/Cache.java | 6 +- .../upstream/cache/CacheDataSink.java | 68 +- .../android/exoplayer2/util/GlUtil.java | 91 + .../android/exoplayer2/video/ColorInfo.java | 96 - .../exoplayer2/video/DummySurface.java | 35 +- .../MediaCodecVideoDecoderException.java | 6 +- .../com/google/android/flexbox/FlexItem.java | 30 +- .../google/android/flexbox/FlexboxLayout.java | 188 +- .../android/flexbox/FlexboxLayoutManager.java | 266 +- .../ads/identifier/AdvertisingIdClient.java | 16 +- .../gms/analytics/AnalyticsJobService.java | 6 +- .../gms/analytics/AnalyticsReceiver.java | 6 +- .../gms/analytics/AnalyticsService.java | 4 +- .../gms/auth/api/credentials/Credential.java | 26 +- .../credentials/CredentialPickerConfig.java | 14 +- .../api/credentials/CredentialRequest.java | 22 +- .../api/credentials/CredentialsClient.java | 4 +- .../gms/auth/api/credentials/IdToken.java | 14 +- .../auth/api/signin/GoogleSignInAccount.java | 40 +- .../auth/api/signin/GoogleSignInOptions.java | 66 +- .../gms/auth/api/signin/SignInAccount.java | 10 +- ...oogleSignInOptionsExtensionParcelable.java | 10 +- .../signin/internal/SignInConfiguration.java | 8 +- .../gms/cloudmessaging/CloudMessage.java | 6 +- .../android/gms/common/ConnectionResult.java | 30 +- .../google/android/gms/common/Feature.java | 22 +- .../gms/common/GoogleApiAvailability.java | 22 +- .../gms/common/api/AvailabilityException.java | 4 +- .../gms/common/api/GoogleApiActivity.java | 2 +- .../google/android/gms/common/api/Scope.java | 8 +- .../google/android/gms/common/api/Status.java | 34 +- .../api/UnsupportedApiCallException.java | 6 +- .../api/internal/BasePendingResult.java | 10 +- .../android/gms/common/data/DataHolder.java | 14 +- .../ConnectionTelemetryConfiguration.java | 16 +- .../common/internal/GetServiceRequest.java | 38 +- .../internal/RootTelemetryConfiguration.java | 14 +- .../android/gms/common/internal/zas.java | 12 +- .../android/gms/common/internal/zau.java | 18 +- .../android/gms/common/internal/zzc.java | 12 +- .../com/google/android/gms/common/zzj.java | 12 +- .../android/gms/dynamite/DynamiteModule.java | 24 +- .../android/gms/internal/icing/zzh.java | 14 +- .../android/gms/internal/icing/zzi.java | 10 +- .../android/gms/internal/icing/zzk.java | 16 +- .../android/gms/internal/icing/zzm.java | 10 +- .../android/gms/internal/icing/zzo.java | 12 +- .../android/gms/internal/icing/zzt.java | 24 +- .../android/gms/internal/icing/zzu.java | 6 +- .../android/gms/internal/icing/zzw.java | 22 +- .../gms/internal/measurement/zzae.java | 18 +- .../gms/internal/measurement/zzhi.java | 4 +- .../android/gms/internal/nearby/zzgp.java | 24 +- .../android/gms/internal/nearby/zzgs.java | 18 +- .../android/gms/internal/nearby/zzgu.java | 12 +- .../android/gms/internal/p001authapi/zzt.java | 6 +- .../android/gms/internal/p001authapi/zzz.java | 6 +- .../gms/measurement/AppMeasurement.java | 83 +- .../AppMeasurementDynamiteService.java | 24 +- .../gms/measurement/internal/zzap.java | 28 +- .../gms/measurement/internal/zzaq.java | 14 +- .../gms/measurement/internal/zzku.java | 22 +- .../android/gms/measurement/internal/zzn.java | 80 +- .../android/gms/measurement/internal/zzz.java | 32 +- .../gms/nearby/messages/BleSignal.java | 4 +- .../android/gms/nearby/messages/Distance.java | 2 +- .../android/gms/nearby/messages/Message.java | 30 +- .../gms/nearby/messages/MessageFilter.java | 18 +- .../android/gms/nearby/messages/Strategy.java | 24 +- .../gms/nearby/messages/SubscribeOptions.java | 8 +- .../messages/internal/ClientAppContext.java | 22 +- .../messages/internal/SubscribeRequest.java | 98 +- .../gms/nearby/messages/internal/Update.java | 74 +- .../gms/nearby/messages/internal/zza.java | 29 +- .../gms/nearby/messages/internal/zzad.java | 14 +- .../gms/nearby/messages/internal/zzaf.java | 12 +- .../gms/nearby/messages/internal/zzbz.java | 34 +- .../gms/nearby/messages/internal/zzcb.java | 18 +- .../gms/nearby/messages/internal/zzce.java | 20 +- .../gms/nearby/messages/internal/zzcg.java | 24 +- .../gms/nearby/messages/internal/zze.java | 18 +- .../gms/nearby/messages/internal/zzj.java | 10 +- .../gms/safetynet/HarmfulAppsData.java | 10 +- .../android/gms/safetynet/SafetyNetApi.java | 2 +- .../gms/safetynet/SafetyNetClient.java | 2 +- .../com/google/android/gms/safetynet/zza.java | 6 +- .../com/google/android/gms/safetynet/zzd.java | 12 +- .../com/google/android/gms/safetynet/zzf.java | 6 +- .../com/google/android/gms/safetynet/zzh.java | 8 +- .../android/gms/signin/internal/zab.java | 12 +- .../android/gms/signin/internal/zag.java | 12 +- .../android/gms/signin/internal/zak.java | 8 +- .../android/gms/signin/internal/zam.java | 10 +- .../gms/tasks/TaskCompletionSource.java | 8 +- .../material/animation/MotionSpec.java | 22 +- .../material/animation/MotionTiming.java | 32 +- .../android/material/appbar/AppBarLayout.java | 6 +- .../appbar/CollapsingToolbarLayout.java | 2 +- .../android/material/badge/BadgeUtils.java | 5 +- .../behavior/SwipeDismissBehavior.java | 2 +- .../material/bottomappbar/BottomAppBar.java | 6 +- .../BottomNavigationPresenter.java | 6 +- .../bottomsheet/BottomSheetBehavior.java | 2 +- .../material/button/MaterialButton.java | 8 +- .../button/MaterialButtonToggleGroup.java | 12 +- .../material/card/MaterialCardView.java | 38 +- .../circularreveal/CircularRevealHelper.java | 2 +- .../datepicker/CalendarConstraints.java | 2 +- .../material/datepicker/MaterialCalendar.java | 14 +- .../android/material/datepicker/Month.java | 2 +- .../datepicker/MonthsPagerAdapter.java | 8 +- .../datepicker/RangeDateSelector.java | 11 +- .../datepicker/SingleDateSelector.java | 3 +- .../material/drawable/DrawableUtils.java | 6 +- .../ExtendedFloatingActionButton.java | 24 +- .../FloatingActionButton.java | 20 +- .../internal/CollapsingTextHelper.java | 2 +- .../internal/NavigationMenuPresenter.java | 20 +- .../material/internal/ThemeEnforcement.java | 2 +- .../android/material/internal/ViewUtils.java | 6 +- .../CircularProgressIndicatorSpec.java | 8 +- .../IndeterminateDrawable.java | 2 +- .../material/resources/TextAppearance.java | 12 +- .../material/shape/MaterialShapeDrawable.java | 24 +- .../shape/ShapeAppearancePathProvider.java | 10 +- .../android/material/shape/ShapePath.java | 30 +- .../snackbar/BaseTransientBottomBar.java | 4 +- .../stateful/ExtendableSavedState.java | 12 +- .../android/material/tabs/TabLayout.java | 10 +- .../material/tabs/TabLayoutMediator.java | 10 +- .../material/textfield/TextInputEditText.java | 2 +- .../material/textfield/TextInputLayout.java | 42 +- .../material/timepicker/ClockFaceView.java | 4 +- .../material/timepicker/ClockHandView.java | 36 +- .../timepicker/MaterialTimePicker.java | 2 +- .../FabTransformationBehavior.java | 12 +- .../material/transition/FadeProvider.java | 6 +- .../transition/FadeThroughProvider.java | 6 +- .../MaterialContainerTransform.java | 86 +- .../transition/MaterialSharedAxis.java | 2 +- .../material/transition/ScaleProvider.java | 6 +- .../transition/SlideDistanceProvider.java | 4 +- .../transition/platform/FadeProvider.java | 6 +- .../platform/FadeThroughProvider.java | 6 +- .../platform/MaterialContainerTransform.java | 86 +- .../platform/MaterialSharedAxis.java | 2 +- .../transition/platform/ScaleProvider.java | 6 +- .../platform/SlideDistanceProvider.java | 4 +- .../concurrent/CycleDetectingLockFactory.java | 17 +- .../firebase/FirebaseCommonRegistrar.java | 23 +- .../firebase/analytics/FirebaseAnalytics.java | 5 +- .../internal/AnalyticsConnectorRegistrar.java | 3 +- .../firebase/appindexing/internal/zza.java | 64 +- .../firebase/appindexing/internal/zzc.java | 60 +- .../components/DependencyCycleException.java | 4 +- .../crashlytics/CrashlyticsRegistrar.java | 3 +- .../crashlytics/FirebaseCrashlytics.java | 3 +- .../ndk/CrashlyticsNdkRegistrar.java | 4 +- .../crashlytics/ndk/JniNativeApi.java | 6 +- .../internal/DynamicLinkData.java | 16 +- .../firebase/dynamiclinks/internal/zzo.java | 10 +- .../firebase/dynamiclinks/internal/zzr.java | 6 +- .../firebase/iid/FirebaseInstanceId.java | 17 +- .../com/google/firebase/iid/Registrar.java | 3 +- .../FirebaseInstallationsRegistrar.java | 2 +- .../ktx/FirebaseCommonKtxRegistrar.java | 4 +- .../messaging/EnhancedIntentService.java | 11 +- .../firebase/messaging/FirebaseMessaging.java | 19 +- .../messaging/FirebaseMessagingRegistrar.java | 2 +- .../firebase/messaging/RemoteMessage.java | 6 +- .../ktx/FirebaseMessagingKtxRegistrar.java | 4 +- .../google/gson/DefaultDateTypeAdapter.java | 28 +- app/src/main/java/com/google/gson/Gson.java | 46 +- .../java/com/google/gson/TypeAdapter.java | 2 +- .../com/google/gson/internal/Excluder.java | 6 +- .../gson/internal/bind/ArrayTypeAdapter.java | 10 +- .../bind/CollectionTypeAdapterFactory.java | 2 +- .../gson/internal/bind/DateTypeAdapter.java | 12 +- ...onAdapterAnnotationTypeAdapterFactory.java | 12 +- .../internal/bind/MapTypeAdapterFactory.java | 28 +- .../gson/internal/bind/ObjectTypeAdapter.java | 8 +- .../bind/ReflectiveTypeAdapterFactory.java | 10 +- .../internal/bind/SqlDateTypeAdapter.java | 2 +- .../gson/internal/bind/TimeTypeAdapter.java | 2 +- .../gson/internal/bind/TreeTypeAdapter.java | 20 +- .../bind/TypeAdapterRuntimeTypeWrapper.java | 8 +- .../gson/internal/bind/TypeAdapters.java | 228 +- .../com/google/gson/reflect/TypeToken.java | 2 +- .../com/google/gson/stream/JsonReader.java | 330 +- .../com/google/gson/stream/JsonWriter.java | 60 +- .../main/java/com/google/zxing/Result.java | 6 +- .../java/com/hcaptcha/sdk/HCaptchaConfig.java | 100 +- .../java/com/hcaptcha/sdk/HCaptchaError.java | 2 +- .../com/hcaptcha/sdk/HCaptchaException.java | 8 +- .../hcaptcha/sdk/HCaptchaTokenResponse.java | 2 +- .../android/colorpicker/ColorPanelView.java | 24 +- .../colorpicker/ColorPickerDialog.java | 84 +- .../android/colorpicker/ColorPickerView.java | 107 +- .../colorpicker/ColorPreferenceCompat.java | 18 +- .../java/com/linecorp/apng/decoder/Apng.java | 10 +- .../linecorp/apng/decoder/ApngException.java | 6 +- .../adapters/AttachmentPreviewAdapter.java | 8 +- .../flexinput/adapters/FileListAdapter.java | 36 +- .../flexinput/fragment/CameraFragment.java | 2 +- .../flexinput/fragment/FilesFragment.java | 8 +- .../flexinput/fragment/FlexInputFragment.java | 26 +- .../flexinput/fragment/MediaFragment.java | 16 +- .../lytefast/flexinput/model/Attachment.java | 24 +- .../com/lytefast/flexinput/model/Media.java | 12 +- .../flexinput/utils/SelectionAggregator.java | 2 +- .../flexinput/utils/SelectionCoordinator.java | 16 +- .../flexinput/viewmodel/FlexInputState.java | 54 +- .../otaliastudios/cameraview/CameraView.java | 304 +- .../com/yalantis/ucrop/UCropActivity.java | 48 +- .../ucrop/view/GestureCropImageView.java | 74 +- .../com/yalantis/ucrop/view/OverlayView.java | 32 +- .../com/yalantis/ucrop/view/UCropView.java | 22 +- .../widget/HorizontalProgressWheelView.java | 6 +- app/src/main/java/d0/b0/b.java | 8 +- app/src/main/java/d0/c0/c.java | 12 +- app/src/main/java/d0/c0/e.java | 20 +- app/src/main/java/d0/d0/a.java | 2 +- app/src/main/java/d0/e0/i.java | 26 +- app/src/main/java/d0/e0/l.java | 6 +- app/src/main/java/d0/e0/o.java | 12 +- app/src/main/java/d0/e0/p/d/d.java | 8 +- app/src/main/java/d0/e0/p/d/e.java | 18 +- app/src/main/java/d0/e0/p/d/e0.java | 10 +- app/src/main/java/d0/e0/p/d/f.java | 26 +- app/src/main/java/d0/e0/p/d/f0.java | 2 +- app/src/main/java/d0/e0/p/d/h.java | 76 +- app/src/main/java/d0/e0/p/d/i.java | 18 +- app/src/main/java/d0/e0/p/d/j.java | 38 +- app/src/main/java/d0/e0/p/d/j0.java | 8 +- app/src/main/java/d0/e0/p/d/l0/a.java | 16 +- app/src/main/java/d0/e0/p/d/l0/b.java | 20 +- app/src/main/java/d0/e0/p/d/l0/d.java | 8 +- app/src/main/java/d0/e0/p/d/l0/e.java | 24 +- app/src/main/java/d0/e0/p/d/l0/g.java | 38 +- app/src/main/java/d0/e0/p/d/l0/h.java | 12 +- app/src/main/java/d0/e0/p/d/l0/i.java | 6 +- app/src/main/java/d0/e0/p/d/m0/a.java | 2 +- app/src/main/java/d0/e0/p/d/m0/b/a.java | 14 +- app/src/main/java/d0/e0/p/d/m0/b/g.java | 10 +- app/src/main/java/d0/e0/p/d/m0/b/h.java | 42 +- app/src/main/java/d0/e0/p/d/m0/b/j.java | 6 +- app/src/main/java/d0/e0/p/d/m0/b/k.java | 64 +- app/src/main/java/d0/e0/p/d/m0/b/o.java | 6 +- app/src/main/java/d0/e0/p/d/m0/b/p/a.java | 2 +- app/src/main/java/d0/e0/p/d/m0/b/p/b.java | 28 +- app/src/main/java/d0/e0/p/d/m0/b/p/c.java | 22 +- app/src/main/java/d0/e0/p/d/m0/b/p/d.java | 4 +- app/src/main/java/d0/e0/p/d/m0/b/q/a.java | 10 +- app/src/main/java/d0/e0/p/d/m0/b/q/c.java | 48 +- app/src/main/java/d0/e0/p/d/m0/b/q/e.java | 8 +- app/src/main/java/d0/e0/p/d/m0/b/q/g.java | 10 +- app/src/main/java/d0/e0/p/d/m0/b/q/l.java | 2 +- app/src/main/java/d0/e0/p/d/m0/b/q/p.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/a.java | 4 +- app/src/main/java/d0/e0/p/d/m0/c/d0.java | 32 +- app/src/main/java/d0/e0/p/d/m0/c/e1.java | 30 +- app/src/main/java/d0/e0/p/d/m0/c/g1/d.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/g1/f.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/g1/g.java | 4 +- app/src/main/java/d0/e0/p/d/m0/c/g1/j.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/h1/a.java | 4 +- app/src/main/java/d0/e0/p/d/m0/c/i1/a.java | 12 +- app/src/main/java/d0/e0/p/d/m0/c/i1/b0.java | 10 +- app/src/main/java/d0/e0/p/d/m0/c/i1/c0.java | 38 +- app/src/main/java/d0/e0/p/d/m0/c/i1/d0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/i1/e.java | 10 +- app/src/main/java/d0/e0/p/d/m0/c/i1/e0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/i1/f.java | 22 +- app/src/main/java/d0/e0/p/d/m0/c/i1/g0.java | 2 +- app/src/main/java/d0/e0/p/d/m0/c/i1/h0.java | 10 +- app/src/main/java/d0/e0/p/d/m0/c/i1/i.java | 12 +- app/src/main/java/d0/e0/p/d/m0/c/i1/k.java | 2 +- app/src/main/java/d0/e0/p/d/m0/c/i1/k0.java | 18 +- app/src/main/java/d0/e0/p/d/m0/c/i1/l0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/i1/o.java | 28 +- app/src/main/java/d0/e0/p/d/m0/c/i1/q.java | 72 +- app/src/main/java/d0/e0/p/d/m0/c/i1/r.java | 8 +- app/src/main/java/d0/e0/p/d/m0/c/i1/s.java | 10 +- app/src/main/java/d0/e0/p/d/m0/c/i1/x.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/i1/y.java | 16 +- app/src/main/java/d0/e0/p/d/m0/c/i1/z.java | 18 +- app/src/main/java/d0/e0/p/d/m0/c/j1/a.java | 4 +- app/src/main/java/d0/e0/p/d/m0/c/j1/b.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/j1/c.java | 4 +- app/src/main/java/d0/e0/p/d/m0/c/k1/a/a.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/a/f.java | 8 +- app/src/main/java/d0/e0/p/d/m0/c/k1/a/j.java | 10 +- app/src/main/java/d0/e0/p/d/m0/c/k1/a/k.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/a.java | 14 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/b.java | 14 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/c.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/e.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/h.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/i.java | 16 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/j.java | 2 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/k.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/l.java | 16 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/o.java | 8 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/q.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/r.java | 2 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/t.java | 2 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/v.java | 4 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/x.java | 2 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/y.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/k1/b/z.java | 4 +- app/src/main/java/d0/e0/p/d/m0/c/l0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/c/r0.java | 10 +- app/src/main/java/d0/e0/p/d/m0/c/t.java | 22 +- app/src/main/java/d0/e0/p/d/m0/d/b/e.java | 8 +- app/src/main/java/d0/e0/p/d/m0/e/a/a0.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/a/b.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/a/b0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/c.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/a/e0.java | 74 +- app/src/main/java/d0/e0/p/d/m0/e/a/g0/a.java | 20 +- app/src/main/java/d0/e0/p/d/m0/e/a/g0/b.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/g0/c.java | 10 +- app/src/main/java/d0/e0/p/d/m0/e/a/g0/d.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/a/g0/j.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/h0/b.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/a/h0/c.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/a/h0/f.java | 8 +- app/src/main/java/d0/e0/p/d/m0/e/a/h0/g.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/h0/k.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/a/i.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/i0/a.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/i0/b.java | 14 +- app/src/main/java/d0/e0/p/d/m0/e/a/i0/g.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/i0/h.java | 6 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/a.java | 12 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/d.java | 8 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/e.java | 6 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/f.java | 32 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/h.java | 62 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/i.java | 6 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/j.java | 20 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/k.java | 66 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/l.java | 2 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/o.java | 10 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/q.java | 8 +- .../main/java/d0/e0/p/d/m0/e/a/i0/l/s.java | 12 +- .../main/java/d0/e0/p/d/m0/e/a/i0/m/a.java | 32 +- .../main/java/d0/e0/p/d/m0/e/a/i0/m/e.java | 8 +- .../main/java/d0/e0/p/d/m0/e/a/i0/m/f.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/k0/a.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/c.java | 12 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/d.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/e.java | 6 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/i.java | 12 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/j.java | 178 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/l.java | 26 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/q.java | 18 +- app/src/main/java/d0/e0/p/d/m0/e/a/l0/s.java | 30 +- app/src/main/java/d0/e0/p/d/m0/e/a/s.java | 24 +- app/src/main/java/d0/e0/p/d/m0/e/a/u.java | 30 +- app/src/main/java/d0/e0/p/d/m0/e/a/w.java | 12 +- app/src/main/java/d0/e0/p/d/m0/e/b/a.java | 24 +- app/src/main/java/d0/e0/p/d/m0/e/b/b.java | 22 +- app/src/main/java/d0/e0/p/d/m0/e/b/b0/a.java | 48 +- app/src/main/java/d0/e0/p/d/m0/e/b/b0/b.java | 36 +- app/src/main/java/d0/e0/p/d/m0/e/b/b0/c.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/b/b0/d.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/b/b0/e.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/b/b0/f.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/b/c.java | 34 +- app/src/main/java/d0/e0/p/d/m0/e/b/e.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/b/f.java | 10 +- app/src/main/java/d0/e0/p/d/m0/e/b/j.java | 14 +- app/src/main/java/d0/e0/p/d/m0/e/b/k.java | 4 +- app/src/main/java/d0/e0/p/d/m0/e/b/m.java | 8 +- app/src/main/java/d0/e0/p/d/m0/e/b/n.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/b/r.java | 8 +- app/src/main/java/d0/e0/p/d/m0/e/b/s.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/b/u.java | 2 +- app/src/main/java/d0/e0/p/d/m0/e/b/z.java | 4 +- app/src/main/java/d0/e0/p/d/m0/f/a0/a.java | 102 +- app/src/main/java/d0/e0/p/d/m0/f/a0/b/b.java | 10 +- app/src/main/java/d0/e0/p/d/m0/f/a0/b/d.java | 10 +- app/src/main/java/d0/e0/p/d/m0/f/a0/b/g.java | 10 +- app/src/main/java/d0/e0/p/d/m0/f/a0/b/h.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/b.java | 170 +- app/src/main/java/d0/e0/p/d/m0/f/c.java | 58 +- app/src/main/java/d0/e0/p/d/m0/f/d.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/e.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/f.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/g.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/h.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/i.java | 22 +- app/src/main/java/d0/e0/p/d/m0/f/l.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/m.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/n.java | 26 +- app/src/main/java/d0/e0/p/d/m0/f/o.java | 26 +- app/src/main/java/d0/e0/p/d/m0/f/p.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/q.java | 58 +- app/src/main/java/d0/e0/p/d/m0/f/r.java | 8 +- app/src/main/java/d0/e0/p/d/m0/f/s.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/t.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/u.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/v.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/w.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/y/a.java | 6 +- app/src/main/java/d0/e0/p/d/m0/f/y/b.java | 10 +- app/src/main/java/d0/e0/p/d/m0/f/z/a.java | 26 +- app/src/main/java/d0/e0/p/d/m0/f/z/b.java | 166 +- app/src/main/java/d0/e0/p/d/m0/f/z/d.java | 2 +- app/src/main/java/d0/e0/p/d/m0/f/z/h.java | 38 +- app/src/main/java/d0/e0/p/d/m0/f/z/i.java | 8 +- app/src/main/java/d0/e0/p/d/m0/g/a.java | 20 +- app/src/main/java/d0/e0/p/d/m0/g/b.java | 8 +- app/src/main/java/d0/e0/p/d/m0/g/c.java | 4 +- app/src/main/java/d0/e0/p/d/m0/g/e.java | 2 +- app/src/main/java/d0/e0/p/d/m0/g/g.java | 4 +- app/src/main/java/d0/e0/p/d/m0/i/a.java | 6 +- app/src/main/java/d0/e0/p/d/m0/i/b.java | 2 +- app/src/main/java/d0/e0/p/d/m0/i/c.java | 7 +- app/src/main/java/d0/e0/p/d/m0/i/d.java | 48 +- app/src/main/java/d0/e0/p/d/m0/i/f.java | 6 +- app/src/main/java/d0/e0/p/d/m0/i/g.java | 16 +- app/src/main/java/d0/e0/p/d/m0/i/m.java | 14 +- app/src/main/java/d0/e0/p/d/m0/i/r.java | 2 +- app/src/main/java/d0/e0/p/d/m0/i/t.java | 4 +- app/src/main/java/d0/e0/p/d/m0/j/b.java | 4 +- app/src/main/java/d0/e0/p/d/m0/j/c.java | 18 +- app/src/main/java/d0/e0/p/d/m0/j/d.java | 36 +- app/src/main/java/d0/e0/p/d/m0/j/i.java | 34 +- app/src/main/java/d0/e0/p/d/m0/k/a0/b.java | 6 +- app/src/main/java/d0/e0/p/d/m0/k/a0/d.java | 40 +- app/src/main/java/d0/e0/p/d/m0/k/a0/e.java | 8 +- app/src/main/java/d0/e0/p/d/m0/k/a0/f.java | 2 +- app/src/main/java/d0/e0/p/d/m0/k/a0/i.java | 8 +- app/src/main/java/d0/e0/p/d/m0/k/a0/m.java | 6 +- app/src/main/java/d0/e0/p/d/m0/k/a0/n.java | 10 +- app/src/main/java/d0/e0/p/d/m0/k/a0/o.java | 6 +- app/src/main/java/d0/e0/p/d/m0/k/a0/p/b.java | 6 +- app/src/main/java/d0/e0/p/d/m0/k/a0/p/c.java | 8 +- app/src/main/java/d0/e0/p/d/m0/k/a0/p/g.java | 6 +- app/src/main/java/d0/e0/p/d/m0/k/b.java | 12 +- app/src/main/java/d0/e0/p/d/m0/k/d.java | 4 +- app/src/main/java/d0/e0/p/d/m0/k/k.java | 20 +- app/src/main/java/d0/e0/p/d/m0/k/u/a/a.java | 10 +- app/src/main/java/d0/e0/p/d/m0/k/u/a/c.java | 8 +- app/src/main/java/d0/e0/p/d/m0/k/u/a/d.java | 6 +- app/src/main/java/d0/e0/p/d/m0/k/v/a0.java | 2 +- app/src/main/java/d0/e0/p/d/m0/k/v/e.java | 2 +- app/src/main/java/d0/e0/p/d/m0/k/v/j.java | 18 +- app/src/main/java/d0/e0/p/d/m0/k/v/k.java | 8 +- app/src/main/java/d0/e0/p/d/m0/k/v/n.java | 18 +- app/src/main/java/d0/e0/p/d/m0/k/v/r.java | 28 +- app/src/main/java/d0/e0/p/d/m0/k/v/w.java | 2 +- app/src/main/java/d0/e0/p/d/m0/k/v/x.java | 2 +- app/src/main/java/d0/e0/p/d/m0/k/v/y.java | 2 +- app/src/main/java/d0/e0/p/d/m0/k/v/z.java | 2 +- app/src/main/java/d0/e0/p/d/m0/k/w/a.java | 6 +- app/src/main/java/d0/e0/p/d/m0/k/x/a.java | 8 +- app/src/main/java/d0/e0/p/d/m0/k/y/d.java | 8 +- app/src/main/java/d0/e0/p/d/m0/l/a.java | 12 +- app/src/main/java/d0/e0/p/d/m0/l/b/a.java | 12 +- app/src/main/java/d0/e0/p/d/m0/l/b/a0.java | 2 +- app/src/main/java/d0/e0/p/d/m0/l/b/c0.java | 20 +- app/src/main/java/d0/e0/p/d/m0/l/b/d.java | 2 +- app/src/main/java/d0/e0/p/d/m0/l/b/d0/a.java | 4 +- app/src/main/java/d0/e0/p/d/m0/l/b/e.java | 50 +- app/src/main/java/d0/e0/p/d/m0/l/b/e0/d.java | 94 +- app/src/main/java/d0/e0/p/d/m0/l/b/e0/h.java | 82 +- app/src/main/java/d0/e0/p/d/m0/l/b/e0/i.java | 6 +- app/src/main/java/d0/e0/p/d/m0/l/b/e0/k.java | 2 +- app/src/main/java/d0/e0/p/d/m0/l/b/e0/l.java | 22 +- app/src/main/java/d0/e0/p/d/m0/l/b/e0/m.java | 10 +- app/src/main/java/d0/e0/p/d/m0/l/b/f.java | 30 +- app/src/main/java/d0/e0/p/d/m0/l/b/h.java | 12 +- app/src/main/java/d0/e0/p/d/m0/l/b/i.java | 6 +- app/src/main/java/d0/e0/p/d/m0/l/b/j.java | 14 +- app/src/main/java/d0/e0/p/d/m0/l/b/l.java | 14 +- app/src/main/java/d0/e0/p/d/m0/l/b/o.java | 8 +- app/src/main/java/d0/e0/p/d/m0/l/b/r.java | 28 +- app/src/main/java/d0/e0/p/d/m0/l/b/u.java | 62 +- app/src/main/java/d0/e0/p/d/m0/l/b/x.java | 6 +- app/src/main/java/d0/e0/p/d/m0/l/b/y.java | 14 +- app/src/main/java/d0/e0/p/d/m0/l/b/z.java | 6 +- app/src/main/java/d0/e0/p/d/m0/m/c.java | 6 +- app/src/main/java/d0/e0/p/d/m0/m/f.java | 54 +- app/src/main/java/d0/e0/p/d/m0/n/a0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/n/c.java | 16 +- app/src/main/java/d0/e0/p/d/m0/n/c1.java | 10 +- app/src/main/java/d0/e0/p/d/m0/n/e.java | 24 +- app/src/main/java/d0/e0/p/d/m0/n/e1.java | 4 +- app/src/main/java/d0/e0/p/d/m0/n/f.java | 16 +- app/src/main/java/d0/e0/p/d/m0/n/g.java | 30 +- app/src/main/java/d0/e0/p/d/m0/n/i.java | 8 +- app/src/main/java/d0/e0/p/d/m0/n/j0.java | 2 +- app/src/main/java/d0/e0/p/d/m0/n/k0.java | 10 +- app/src/main/java/d0/e0/p/d/m0/n/l1/a.java | 12 +- app/src/main/java/d0/e0/p/d/m0/n/l1/b.java | 10 +- app/src/main/java/d0/e0/p/d/m0/n/l1/c.java | 74 +- app/src/main/java/d0/e0/p/d/m0/n/l1/j.java | 20 +- app/src/main/java/d0/e0/p/d/m0/n/l1/k.java | 8 +- app/src/main/java/d0/e0/p/d/m0/n/l1/m.java | 6 +- app/src/main/java/d0/e0/p/d/m0/n/l1/n.java | 2 +- app/src/main/java/d0/e0/p/d/m0/n/l1/v.java | 6 +- app/src/main/java/d0/e0/p/d/m0/n/l1/z.java | 14 +- app/src/main/java/d0/e0/p/d/m0/n/m1/a.java | 8 +- app/src/main/java/d0/e0/p/d/m0/n/o1/a.java | 8 +- app/src/main/java/d0/e0/p/d/m0/n/p.java | 14 +- app/src/main/java/d0/e0/p/d/m0/n/p0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/n/p1/a.java | 12 +- app/src/main/java/d0/e0/p/d/m0/n/p1/d.java | 8 +- app/src/main/java/d0/e0/p/d/m0/n/q0.java | 6 +- app/src/main/java/d0/e0/p/d/m0/n/r0.java | 8 +- app/src/main/java/d0/e0/p/d/m0/n/t.java | 18 +- app/src/main/java/d0/e0/p/d/m0/n/v.java | 2 +- app/src/main/java/d0/e0/p/d/m0/n/v0.java | 14 +- app/src/main/java/d0/e0/p/d/m0/n/w.java | 12 +- app/src/main/java/d0/e0/p/d/m0/n/z.java | 10 +- app/src/main/java/d0/e0/p/d/m0/o/c.java | 6 +- app/src/main/java/d0/e0/p/d/m0/o/d.java | 10 +- app/src/main/java/d0/e0/p/d/m0/o/i.java | 2 +- app/src/main/java/d0/e0/p/d/m0/o/j.java | 20 +- app/src/main/java/d0/e0/p/d/m0/o/k.java | 14 +- app/src/main/java/d0/e0/p/d/m0/o/l.java | 6 +- app/src/main/java/d0/e0/p/d/m0/p/b.java | 4 +- app/src/main/java/d0/e0/p/d/m0/p/d.java | 8 +- app/src/main/java/d0/e0/p/d/m0/p/e.java | 16 +- app/src/main/java/d0/e0/p/d/m0/p/f.java | 8 +- app/src/main/java/d0/e0/p/d/m0/p/i.java | 34 +- app/src/main/java/d0/e0/p/d/n.java | 12 +- app/src/main/java/d0/e0/p/d/n0/a.java | 10 +- app/src/main/java/d0/e0/p/d/n0/b.java | 6 +- app/src/main/java/d0/e0/p/d/n0/c.java | 26 +- app/src/main/java/d0/e0/p/d/s.java | 26 +- app/src/main/java/d0/e0/p/d/v.java | 2 +- app/src/main/java/d0/e0/p/d/w.java | 34 +- app/src/main/java/d0/e0/p/d/x.java | 22 +- app/src/main/java/d0/e0/p/d/y.java | 6 +- app/src/main/java/d0/f0/g.java | 6 +- app/src/main/java/d0/f0/h.java | 6 +- app/src/main/java/d0/f0/j.java | 6 +- app/src/main/java/d0/f0/q.java | 4 +- app/src/main/java/d0/f0/r.java | 16 +- app/src/main/java/d0/g0/a.java | 6 +- app/src/main/java/d0/g0/c.java | 6 +- app/src/main/java/d0/g0/d.java | 6 +- app/src/main/java/d0/g0/e.java | 12 +- app/src/main/java/d0/g0/g.java | 14 +- app/src/main/java/d0/g0/j.java | 6 +- app/src/main/java/d0/g0/m.java | 2 +- app/src/main/java/d0/g0/t.java | 2 +- app/src/main/java/d0/g0/w.java | 10 +- app/src/main/java/d0/g0/y.java | 10 +- app/src/main/java/d0/k.java | 8 +- app/src/main/java/d0/t/a.java | 6 +- app/src/main/java/d0/t/c.java | 20 +- app/src/main/java/d0/t/h.java | 3 +- app/src/main/java/d0/t/l0.java | 16 +- app/src/main/java/d0/t/n.java | 6 +- app/src/main/java/d0/t/p0.java | 8 +- app/src/main/java/d0/t/q0/c.java | 48 +- app/src/main/java/d0/t/s.java | 16 +- app/src/main/java/d0/t/u.java | 10 +- app/src/main/java/d0/t/w.java | 4 +- app/src/main/java/d0/t/z.java | 12 +- app/src/main/java/d0/u/a.java | 6 +- app/src/main/java/d0/v/a.java | 6 +- app/src/main/java/d0/w/c.java | 14 +- app/src/main/java/d0/w/g.java | 6 +- app/src/main/java/d0/w/h/b.java | 6 +- app/src/main/java/d0/w/i/a/a.java | 6 +- app/src/main/java/d0/w/i/a/f.java | 5 +- app/src/main/java/d0/w/i/a/h.java | 8 +- app/src/main/java/d0/x/a.java | 4 +- app/src/main/java/d0/y/d.java | 32 +- app/src/main/java/d0/z/d/c0.java | 6 +- app/src/main/java/d0/z/d/f.java | 4 +- app/src/main/java/d0/z/d/j.java | 8 +- app/src/main/java/d0/z/d/m.java | 6 +- app/src/main/java/d0/z/d/z.java | 8 +- .../WidgetFriendsAddUserRequestsModel.java | 12 +- app/src/main/java/defpackage/f.java | 4 +- app/src/main/java/defpackage/i.java | 6 +- app/src/main/java/e0/a/a/a/a.java | 35 +- app/src/main/java/e0/a/a/a/d.java | 3 +- app/src/main/java/e0/a/a/a/g.java | 38 +- app/src/main/java/f0/a.java | 41 +- app/src/main/java/f0/a0.java | 2 +- app/src/main/java/f0/c0.java | 16 +- app/src/main/java/f0/d.java | 6 +- app/src/main/java/f0/d0.java | 2 +- app/src/main/java/f0/e0/c.java | 34 +- app/src/main/java/f0/e0/d/b.java | 6 +- app/src/main/java/f0/e0/e/a.java | 34 +- app/src/main/java/f0/e0/f/a.java | 6 +- app/src/main/java/f0/e0/f/c.java | 55 +- app/src/main/java/f0/e0/f/d.java | 37 +- app/src/main/java/f0/e0/g/a.java | 8 +- app/src/main/java/f0/e0/g/b.java | 26 +- app/src/main/java/f0/e0/g/c.java | 54 +- app/src/main/java/f0/e0/g/d.java | 34 +- app/src/main/java/f0/e0/g/e.java | 86 +- app/src/main/java/f0/e0/g/j.java | 145 +- app/src/main/java/f0/e0/g/k.java | 16 +- app/src/main/java/f0/e0/g/m.java | 2 +- app/src/main/java/f0/e0/h/b.java | 34 +- app/src/main/java/f0/e0/h/c.java | 4 +- app/src/main/java/f0/e0/h/e.java | 57 +- app/src/main/java/f0/e0/h/g.java | 28 +- app/src/main/java/f0/e0/h/h.java | 2 +- app/src/main/java/f0/e0/h/i.java | 22 +- app/src/main/java/f0/e0/h/j.java | 18 +- app/src/main/java/f0/e0/i/a.java | 6 +- app/src/main/java/f0/e0/i/b.java | 132 +- app/src/main/java/f0/e0/j/a.java | 6 +- app/src/main/java/f0/e0/j/b.java | 4 +- app/src/main/java/f0/e0/j/c.java | 84 +- app/src/main/java/f0/e0/j/d.java | 18 +- app/src/main/java/f0/e0/j/e.java | 78 +- app/src/main/java/f0/e0/j/g.java | 2 +- app/src/main/java/f0/e0/j/h.java | 2 +- app/src/main/java/f0/e0/j/i.java | 2 +- app/src/main/java/f0/e0/j/k.java | 2 +- app/src/main/java/f0/e0/j/l.java | 32 +- app/src/main/java/f0/e0/j/m.java | 88 +- app/src/main/java/f0/e0/j/n.java | 32 +- app/src/main/java/f0/e0/j/o.java | 20 +- app/src/main/java/f0/e0/j/p.java | 10 +- app/src/main/java/f0/e0/k/a.java | 2 +- app/src/main/java/f0/e0/k/b.java | 26 +- app/src/main/java/f0/e0/k/c.java | 6 +- app/src/main/java/f0/e0/k/d.java | 6 +- app/src/main/java/f0/e0/k/e.java | 10 +- app/src/main/java/f0/e0/k/g.java | 6 +- app/src/main/java/f0/e0/k/h.java | 16 +- app/src/main/java/f0/e0/k/i/a.java | 4 +- app/src/main/java/f0/e0/k/i/c.java | 2 +- app/src/main/java/f0/e0/k/i/d.java | 8 +- app/src/main/java/f0/e0/k/i/e.java | 2 +- app/src/main/java/f0/e0/k/i/f.java | 8 +- app/src/main/java/f0/e0/k/i/g.java | 2 +- app/src/main/java/f0/e0/k/i/h.java | 4 +- app/src/main/java/f0/e0/k/i/i.java | 2 +- app/src/main/java/f0/e0/m/d.java | 17 +- app/src/main/java/f0/e0/n/d.java | 98 +- app/src/main/java/f0/e0/n/e.java | 2 +- app/src/main/java/f0/e0/n/f.java | 34 +- app/src/main/java/f0/e0/n/h.java | 42 +- app/src/main/java/f0/e0/n/i.java | 40 +- app/src/main/java/f0/f0/a.java | 159 +- app/src/main/java/f0/g.java | 36 +- app/src/main/java/f0/j.java | 20 +- app/src/main/java/f0/m.java | 38 +- app/src/main/java/f0/n.java | 6 +- app/src/main/java/f0/q.java | 18 +- app/src/main/java/f0/r.java | 2 +- app/src/main/java/f0/u.java | 10 +- app/src/main/java/f0/v.java | 38 +- app/src/main/java/f0/w.java | 82 +- app/src/main/java/f0/x.java | 88 +- app/src/main/java/f0/y.java | 2 +- app/src/main/java/f0/z.java | 2 +- app/src/main/java/g0/b.java | 6 +- app/src/main/java/g0/c.java | 13 +- app/src/main/java/g0/d.java | 14 +- app/src/main/java/g0/e.java | 697 +- app/src/main/java/g0/g.java | 28 +- app/src/main/java/g0/h.java | 25 +- app/src/main/java/g0/l.java | 46 +- app/src/main/java/g0/m.java | 18 +- app/src/main/java/g0/n.java | 23 +- app/src/main/java/g0/o.java | 6 +- app/src/main/java/g0/p.java | 15 +- app/src/main/java/g0/q.java | 60 +- app/src/main/java/g0/r.java | 161 +- app/src/main/java/g0/s.java | 14 +- app/src/main/java/g0/t.java | 14 +- app/src/main/java/g0/u.java | 46 +- app/src/main/java/g0/w.java | 15 +- app/src/main/java/g0/x.java | 2 +- app/src/main/java/g0/y.java | 10 +- app/src/main/java/g0/z/a.java | 8 +- app/src/main/java/h0/a/a/a.java | 68 +- app/src/main/java/h0/a/a/b.java | 12 +- app/src/main/java/h0/a/a/d.java | 69 +- app/src/main/java/h0/a/a/f.java | 176 +- app/src/main/java/h0/a/a/g.java | 10 +- app/src/main/java/h0/a/a/h.java | 4 +- app/src/main/java/h0/a/a/i.java | 2 +- app/src/main/java/h0/a/a/j.java | 4 +- app/src/main/java/h0/a/a/l.java | 8 +- app/src/main/java/h0/a/a/m.java | 36 +- app/src/main/java/h0/a/a/n.java | 12 +- app/src/main/java/h0/a/a/o.java | 8 +- app/src/main/java/h0/a/a/p.java | 12 +- app/src/main/java/h0/a/a/r.java | 113 +- app/src/main/java/h0/a/a/s.java | 4 +- app/src/main/java/h0/a/a/t.java | 2 +- app/src/main/java/h0/a/a/u.java | 4 +- app/src/main/java/h0/a/a/v.java | 14 +- app/src/main/java/h0/a/a/w.java | 14 +- app/src/main/java/h0/b/a/b/b.java | 6 +- app/src/main/java/h0/b/a/b/c.java | 6 +- app/src/main/java/h0/b/a/c/b.java | 24 +- app/src/main/java/h0/b/a/d/a.java | 2 +- app/src/main/java/h0/b/a/d/b.java | 4 +- app/src/main/java/h0/b/a/f/a.java | 280 +- app/src/main/java/h0/b/a/f/b.java | 53 +- app/src/main/java/h0/b/a/f/c.java | 38 + app/src/main/java/h0/b/b/b.java | 4 +- app/src/main/java/h0/b/b/c.java | 8 +- app/src/main/java/i0/b0.java | 2 +- app/src/main/java/i0/c0.java | 50 +- app/src/main/java/i0/d.java | 4 +- app/src/main/java/i0/d0/a/a.java | 2 +- app/src/main/java/i0/d0/a/b.java | 14 +- app/src/main/java/i0/d0/a/c.java | 10 +- app/src/main/java/i0/d0/a/d.java | 16 +- app/src/main/java/i0/d0/a/e.java | 2 +- app/src/main/java/i0/d0/a/f.java | 6 +- app/src/main/java/i0/e0/a/b.java | 8 +- app/src/main/java/i0/e0/b/a.java | 2 +- app/src/main/java/i0/e0/b/d.java | 6 +- app/src/main/java/i0/g.java | 4 +- app/src/main/java/i0/i.java | 8 +- app/src/main/java/i0/j.java | 14 +- app/src/main/java/i0/p.java | 30 +- app/src/main/java/i0/t.java | 78 +- app/src/main/java/i0/u.java | 6 +- app/src/main/java/i0/v.java | 26 +- app/src/main/java/i0/w.java | 22 +- app/src/main/java/i0/x.java | 6 +- app/src/main/java/i0/y.java | 4 +- app/src/main/java/i0/z.java | 110 +- app/src/main/java/j0/f.java | 14 +- app/src/main/java/j0/h.java | 2 +- app/src/main/java/j0/l/a/a.java | 2 +- app/src/main/java/j0/l/a/a1.java | 2 +- app/src/main/java/j0/l/a/a2.java | 6 +- app/src/main/java/j0/l/a/c2.java | 2 +- app/src/main/java/j0/l/a/e.java | 6 +- app/src/main/java/j0/l/a/e1.java | 4 +- app/src/main/java/j0/l/a/f.java | 6 +- app/src/main/java/j0/l/a/g.java | 2 +- app/src/main/java/j0/l/a/h.java | 2 +- app/src/main/java/j0/l/a/h0.java | 4 +- app/src/main/java/j0/l/a/h1.java | 8 +- app/src/main/java/j0/l/a/h2.java | 2 +- app/src/main/java/j0/l/a/i.java | 10 +- app/src/main/java/j0/l/a/j.java | 4 +- app/src/main/java/j0/l/a/j0.java | 4 +- app/src/main/java/j0/l/a/j1.java | 26 +- app/src/main/java/j0/l/a/j2.java | 4 +- app/src/main/java/j0/l/a/k.java | 6 +- app/src/main/java/j0/l/a/l.java | 2 +- app/src/main/java/j0/l/a/l0.java | 4 +- app/src/main/java/j0/l/a/m.java | 6 +- app/src/main/java/j0/l/a/m0.java | 4 +- app/src/main/java/j0/l/a/m2.java | 4 +- app/src/main/java/j0/l/a/n.java | 10 +- app/src/main/java/j0/l/a/n0.java | 6 +- app/src/main/java/j0/l/a/n1.java | 2 +- app/src/main/java/j0/l/a/o.java | 6 +- app/src/main/java/j0/l/a/o1.java | 10 +- app/src/main/java/j0/l/a/p.java | 4 +- app/src/main/java/j0/l/a/p0.java | 16 +- app/src/main/java/j0/l/a/p1.java | 4 +- app/src/main/java/j0/l/a/p2.java | 4 +- app/src/main/java/j0/l/a/q.java | 14 +- app/src/main/java/j0/l/a/q0.java | 2 +- app/src/main/java/j0/l/a/q1.java | 4 +- app/src/main/java/j0/l/a/q2.java | 4 +- app/src/main/java/j0/l/a/r.java | 6 +- app/src/main/java/j0/l/a/s.java | 2 +- app/src/main/java/j0/l/a/t0.java | 6 +- app/src/main/java/j0/l/a/t1.java | 2 +- app/src/main/java/j0/l/a/u.java | 2 +- app/src/main/java/j0/l/a/u1.java | 4 +- app/src/main/java/j0/l/a/x.java | 2 +- app/src/main/java/j0/l/a/x0.java | 50 +- app/src/main/java/j0/l/a/y0.java | 4 +- app/src/main/java/j0/l/a/y1.java | 12 +- app/src/main/java/j0/l/a/z0.java | 2 +- app/src/main/java/j0/l/b/b.java | 4 +- app/src/main/java/j0/l/b/c.java | 4 +- app/src/main/java/j0/l/c/a.java | 22 +- app/src/main/java/j0/l/c/b.java | 12 +- app/src/main/java/j0/l/c/c.java | 2 +- app/src/main/java/j0/l/c/d.java | 2 +- app/src/main/java/j0/l/c/g.java | 2 +- app/src/main/java/j0/l/c/j.java | 16 +- app/src/main/java/j0/l/c/l.java | 4 +- app/src/main/java/j0/l/e/e.java | 2 +- app/src/main/java/j0/l/e/f.java | 16 +- app/src/main/java/j0/l/e/h.java | 6 +- app/src/main/java/j0/l/e/j.java | 20 +- app/src/main/java/j0/l/e/m/a.java | 6 +- app/src/main/java/j0/l/e/m/d.java | 4 +- app/src/main/java/j0/l/e/m/e.java | 10 +- app/src/main/java/j0/l/e/m/g.java | 10 +- app/src/main/java/j0/l/e/n/e.java | 8 +- app/src/main/java/j0/l/e/n/t.java | 18 +- app/src/main/java/j0/m/a.java | 2 +- app/src/main/java/j0/n/b.java | 6 +- app/src/main/java/j0/n/c.java | 6 +- app/src/main/java/j0/o/l.java | 8 +- app/src/main/java/j0/o/o.java | 16 +- app/src/main/java/j0/p/a.java | 6 +- app/src/main/java/j0/q/a.java | 16 +- app/src/main/java/j0/q/c.java | 10 +- app/src/main/java/kotlin/Pair.java | 12 +- app/src/main/java/kotlin/Triple.java | 16 +- .../impl/protobuf/CodedOutputStream.java | 30 +- app/src/main/java/kotlin/text/Regex.java | 6 +- .../coroutines/CoroutineDispatcher.java | 3 +- app/src/main/java/kotlinx/coroutines/Job.java | 6 +- .../zxing/ZXingScannerView.java | 3 +- app/src/main/java/okhttp3/MediaType.java | 14 +- app/src/main/java/okhttp3/MultipartBody.java | 24 +- app/src/main/java/okhttp3/Request.java | 62 +- app/src/main/java/okhttp3/RequestBody.java | 10 +- app/src/main/java/okhttp3/Response.java | 50 +- app/src/main/java/okhttp3/ResponseBody.java | 6 +- .../publicsuffix/PublicSuffixDatabase.java | 16 +- app/src/main/java/okio/BufferedSink.java | 14 +- app/src/main/java/okio/ByteString.java | 43 +- .../objectweb/asm/ClassTooLargeException.java | 2 +- .../java/org/webrtc/AndroidVideoDecoder.java | 38 +- .../java/org/webrtc/Camera1Enumerator.java | 10 +- .../main/java/org/webrtc/Camera1Session.java | 12 +- .../main/java/org/webrtc/Camera2Session.java | 26 +- .../main/java/org/webrtc/CameraCapturer.java | 16 +- .../org/webrtc/CameraEnumerationAndroid.java | 12 +- app/src/main/java/org/webrtc/DataChannel.java | 4 +- app/src/main/java/org/webrtc/EglBase.java | 2 +- .../main/java/org/webrtc/EglBase10Impl.java | 36 +- .../main/java/org/webrtc/EglBase14Impl.java | 46 +- .../main/java/org/webrtc/EncodedImage.java | 2 +- .../java/org/webrtc/FileVideoCapturer.java | 4 +- .../main/java/org/webrtc/GlGenericDrawer.java | 6 +- app/src/main/java/org/webrtc/GlShader.java | 32 +- .../java/org/webrtc/GlTextureFrameBuffer.java | 6 +- .../java/org/webrtc/HardwareVideoEncoder.java | 30 +- .../main/java/org/webrtc/JavaI420Buffer.java | 6 +- .../java/org/webrtc/MediaConstraints.java | 10 +- app/src/main/java/org/webrtc/MediaStream.java | 16 +- .../java/org/webrtc/MediaStreamTrack.java | 2 +- .../org/webrtc/NetworkMonitorAutoDetect.java | 82 +- .../main/java/org/webrtc/PeerConnection.java | 2 +- app/src/main/java/org/webrtc/RTCStats.java | 30 +- .../main/java/org/webrtc/RTCStatsReport.java | 14 +- .../main/java/org/webrtc/RtpParameters.java | 6 +- .../main/java/org/webrtc/RtpTransceiver.java | 2 +- app/src/main/java/org/webrtc/StatsReport.java | 32 +- .../java/org/webrtc/SurfaceTextureHelper.java | 10 +- .../java/org/webrtc/SurfaceViewRenderer.java | 44 +- .../java/org/webrtc/TextureBufferImpl.java | 8 +- .../main/java/org/webrtc/VideoEncoder.java | 8 +- .../java/org/webrtc/VideoFileRenderer.java | 3 +- .../java/org/webrtc/VideoFrameDrawer.java | 10 +- app/src/main/java/org/webrtc/YuvHelper.java | 18 +- .../java/org/webrtc/audio/VolumeLogger.java | 42 +- .../org/webrtc/audio/WebRtcAudioEffects.java | 34 +- .../org/webrtc/audio/WebRtcAudioRecord.java | 68 +- .../org/webrtc/audio/WebRtcAudioTrack.java | 66 +- .../org/webrtc/audio/WebRtcAudioUtils.java | 116 +- .../voiceengine/WebRtcAudioEffects.java | 34 +- .../voiceengine/WebRtcAudioManager.java | 56 +- .../webrtc/voiceengine/WebRtcAudioRecord.java | 48 +- .../webrtc/voiceengine/WebRtcAudioTrack.java | 54 +- .../webrtc/voiceengine/WebRtcAudioUtils.java | 114 +- app/src/main/java/retrofit2/Response.java | 4 +- app/src/main/java/rx/Observable.java | 20 +- app/src/main/java/rx/Subscriber.java | 2 +- .../java/rx/exceptions/OnErrorThrowable.java | 4 +- .../rx/internal/util/SubscriptionList.java | 4 +- .../java/rx/subjects/BehaviorSubject.java | 2 +- .../main/java/rx/subjects/PublishSubject.java | 6 +- .../subscriptions/CompositeSubscription.java | 4 +- app/src/main/java/s/a/a/a.java | 8 +- app/src/main/java/s/a/a/b.java | 2 +- app/src/main/java/s/a/a/f.java | 8 +- app/src/main/java/s/a/a/g.java | 27 +- app/src/main/java/s/a/a/h.java | 22 +- app/src/main/java/s/a/a/k.java | 8 +- app/src/main/java/s/a/a/l.java | 2 +- app/src/main/java/s/a/a/m.java | 4 +- app/src/main/java/s/a/a/n.java | 6 +- app/src/main/java/s/a/a/o.java | 8 +- app/src/main/java/s/a/a/p.java | 4 +- app/src/main/java/s/a/a/q.java | 8 +- app/src/main/java/s/a/a/r.java | 6 +- app/src/main/java/s/a/a/x.java | 4 +- app/src/main/java/s/a/a1.java | 13 +- app/src/main/java/s/a/a2/e/c.java | 26 +- app/src/main/java/s/a/a2/e/e.java | 2 +- app/src/main/java/s/a/b.java | 17 +- app/src/main/java/s/a/b1.java | 13 +- app/src/main/java/s/a/b2/a.java | 40 +- app/src/main/java/s/a/b2/b.java | 5 +- app/src/main/java/s/a/b2/c.java | 2 +- app/src/main/java/s/a/b2/j.java | 21 +- app/src/main/java/s/a/b2/k.java | 17 +- app/src/main/java/s/a/b2/m.java | 4 +- app/src/main/java/s/a/c0.java | 12 +- app/src/main/java/s/a/c1.java | 13 +- app/src/main/java/s/a/d.java | 8 +- app/src/main/java/s/a/e1.java | 6 +- app/src/main/java/s/a/f0.java | 10 +- app/src/main/java/s/a/f1.java | 12 +- app/src/main/java/s/a/g.java | 3 +- app/src/main/java/s/a/g0.java | 2 +- app/src/main/java/s/a/g1.java | 347 +- app/src/main/java/s/a/h.java | 8 +- app/src/main/java/s/a/h0.java | 4 +- app/src/main/java/s/a/h1.java | 2 +- app/src/main/java/s/a/i0.java | 17 +- app/src/main/java/s/a/i1.java | 4 +- app/src/main/java/s/a/j1.java | 4 +- app/src/main/java/s/a/k.java | 45 +- app/src/main/java/s/a/k0.java | 8 +- app/src/main/java/s/a/k1.java | 4 +- app/src/main/java/s/a/m.java | 2 +- app/src/main/java/s/a/m0.java | 8 +- app/src/main/java/s/a/n.java | 14 +- app/src/main/java/s/a/n0.java | 8 +- app/src/main/java/s/a/o0.java | 2 +- app/src/main/java/s/a/o1.java | 2 +- app/src/main/java/s/a/p.java | 10 +- app/src/main/java/s/a/p0.java | 14 +- app/src/main/java/s/a/q.java | 2 +- app/src/main/java/s/a/q0.java | 20 +- app/src/main/java/s/a/q1.java | 4 +- app/src/main/java/s/a/r.java | 18 +- app/src/main/java/s/a/u.java | 36 +- app/src/main/java/s/a/u0.java | 16 +- app/src/main/java/s/a/u1.java | 4 +- app/src/main/java/s/a/w.java | 12 +- app/src/main/java/s/a/w1.java | 11 +- app/src/main/java/s/a/y.java | 12 +- app/src/main/java/s/a/y1/a.java | 4 +- app/src/main/java/s/a/y1/b.java | 6 +- app/src/main/java/s/a/z1/a.java | 17 +- app/src/main/java/s/a/z1/b.java | 2 +- app/src/main/java/s/a/z1/c.java | 23 +- app/src/main/java/s/a/z1/f.java | 12 +- app/src/main/java/s/a/z1/g.java | 19 +- app/src/main/java/x/a/b/b/a/c.java | 20 +- app/src/main/java/z/a.java | 4 +- app/src/main/java/z/b.java | 6 +- app/src/main/java/z/d.java | 6 +- app/src/main/java/z/g.java | 4 +- .../drawable-xxxhdpi/exo_icon_fastforward.png | Bin 0 -> 592 bytes .../exo_icon_fullscreen_enter.png | Bin 0 -> 219 bytes .../exo_icon_fullscreen_exit.png | Bin 0 -> 227 bytes .../res/drawable-xxxhdpi/exo_icon_next.png | Bin 0 -> 502 bytes .../res/drawable-xxxhdpi/exo_icon_pause.png | Bin 0 -> 218 bytes .../res/drawable-xxxhdpi/exo_icon_play.png | Bin 0 -> 495 bytes .../drawable-xxxhdpi/exo_icon_previous.png | Bin 0 -> 513 bytes .../drawable-xxxhdpi/exo_icon_repeat_all.png | Bin 0 -> 529 bytes .../drawable-xxxhdpi/exo_icon_repeat_off.png | Bin 0 -> 529 bytes .../drawable-xxxhdpi/exo_icon_repeat_one.png | Bin 0 -> 595 bytes .../res/drawable-xxxhdpi/exo_icon_rewind.png | Bin 0 -> 627 bytes .../drawable-xxxhdpi/exo_icon_shuffle_off.png | Bin 0 -> 802 bytes .../drawable-xxxhdpi/exo_icon_shuffle_on.png | Bin 0 -> 911 bytes .../res/drawable-xxxhdpi/exo_icon_stop.png | Bin 0 -> 144 bytes .../layout-sw600dp/design_layout_snackbar.xml | 2 +- .../guild_scheduled_event_item_view.xml | 1 + .../res/layout-v22/view_upload_progress.xml | 2 +- .../main/res/layout-v22/widget_bug_report.xml | 2 +- .../widget_channel_picker_sheet.xml | 2 +- ...d_scheduled_event_details_bottom_sheet.xml | 4 +- ...ings_guild_role_subscription_edit_tier.xml | 2 +- ...ings_guild_role_subscription_tier_list.xml | 2 +- .../widget_server_settings_role_members.xml | 2 +- .../exo_styled_player_control_ffwd_button.xml | 2 +- ...xo_styled_player_control_rewind_button.xml | 2 +- .../res/layout/abc_action_bar_title_item.xml | 2 +- .../res/layout/abc_alert_dialog_material.xml | 2 +- .../layout/abc_cascading_menu_item_layout.xml | 8 +- .../res/layout/abc_popup_menu_item_layout.xml | 10 +- .../abc_search_dropdown_item_icons_2line.xml | 8 +- app/src/main/res/layout/abc_search_view.xml | 2 +- .../res/layout/abc_select_dialog_material.xml | 2 +- app/src/main/res/layout/abc_tooltip.xml | 2 +- .../res/layout/design_layout_snackbar.xml | 2 +- .../layout/design_layout_snackbar_include.xml | 4 +- .../design_navigation_item_subheader.xml | 2 +- .../layout/design_navigation_menu_item.xml | 2 +- .../res/layout/exo_player_control_view.xml | 4 +- .../exo_styled_player_control_ffwd_button.xml | 4 +- ...xo_styled_player_control_rewind_button.xml | 4 +- .../layout/exo_styled_player_control_view.xml | 30 +- .../res/layout/exo_styled_settings_list.xml | 2 +- .../layout/exo_styled_settings_list_item.xml | 2 +- .../exo_styled_sub_settings_list_item.xml | 2 +- .../guild_scheduled_event_item_view.xml | 1 + .../res/layout/item_permission_storage.xml | 2 +- .../main/res/layout/material_time_input.xml | 4 +- .../main/res/layout/notification_action.xml | 4 +- .../layout/notification_action_tombstone.xml | 4 +- ...notification_template_big_media_custom.xml | 6 +- ...ation_template_big_media_narrow_custom.xml | 6 +- .../notification_template_custom_big.xml | 2 +- .../notification_template_lines_media.xml | 12 +- .../notification_template_media_custom.xml | 6 +- ...notification_template_part_chronometer.xml | 2 +- .../notification_template_part_time.xml | 2 +- app/src/main/res/layout/test_action_chip.xml | 2 +- .../layout/test_chip_zero_corner_radius.xml | 2 +- .../main/res/layout/test_reflow_chipgroup.xml | 6 +- .../main/res/layout/test_toolbar_surface.xml | 2 +- .../layout/thread_browser_item_loading.xml | 2 +- .../res/layout/ucrop_activity_photobox.xml | 2 +- .../res/layout/view_experiment_override.xml | 2 +- .../main/res/layout/view_upload_progress.xml | 2 +- app/src/main/res/layout/widget_bug_report.xml | 2 +- .../layout/widget_channel_picker_sheet.xml | 2 +- .../widget_chat_list_adapter_item_loading.xml | 2 +- ...d_scheduled_event_details_bottom_sheet.xml | 4 +- .../res/layout/widget_oauth_authorize.xml | 2 +- .../widget_price_tier_picker_bottom_sheet.xml | 2 +- .../layout/widget_server_settings_emojis.xml | 2 +- ...ings_guild_role_subscription_edit_tier.xml | 2 +- ...ings_guild_role_subscription_tier_list.xml | 2 +- ...rver_settings_guild_role_subscriptions.xml | 2 +- .../widget_server_settings_role_members.xml | 2 +- .../res/layout/widget_settings_developer.xml | 2 +- app/src/main/res/values-af/strings.xml | 3 + app/src/main/res/values-am/strings.xml | 3 + app/src/main/res/values-ar-rXB/strings.xml | 47 +- app/src/main/res/values-ar/strings.xml | 3 + app/src/main/res/values-az/strings.xml | 3 + app/src/main/res/values-b+sr+Latn/strings.xml | 9 +- app/src/main/res/values-be/strings.xml | 3 + app/src/main/res/values-bg/strings.xml | 3 + app/src/main/res/values-bn/strings.xml | 3 + app/src/main/res/values-bs/strings.xml | 3 + app/src/main/res/values-ca/strings.xml | 5 +- app/src/main/res/values-cs/strings.xml | 3 + app/src/main/res/values-da/strings.xml | 3 + app/src/main/res/values-de/strings.xml | 3 + app/src/main/res/values-el/strings.xml | 3 + app/src/main/res/values-en-rAU/strings.xml | 3 + app/src/main/res/values-en-rGB/strings.xml | 3 + app/src/main/res/values-en-rIN/strings.xml | 3 + app/src/main/res/values-en-rXA/strings.xml | 47 +- app/src/main/res/values-es-rUS/strings.xml | 3 + app/src/main/res/values-es/strings.xml | 3 + app/src/main/res/values-et/strings.xml | 3 + app/src/main/res/values-eu/strings.xml | 3 + app/src/main/res/values-fa/strings.xml | 3 + app/src/main/res/values-fi/strings.xml | 5 +- app/src/main/res/values-fr-rCA/strings.xml | 3 + app/src/main/res/values-fr/strings.xml | 3 + app/src/main/res/values-gl/strings.xml | 3 + app/src/main/res/values-gu/strings.xml | 5 +- app/src/main/res/values-hdpi/styles.xml | 2 +- app/src/main/res/values-hi/strings.xml | 3 + app/src/main/res/values-hr/strings.xml | 3 + app/src/main/res/values-hu/strings.xml | 3 + app/src/main/res/values-hy/strings.xml | 7 +- app/src/main/res/values-in/strings.xml | 3 + app/src/main/res/values-is/strings.xml | 3 + app/src/main/res/values-it/strings.xml | 5 +- app/src/main/res/values-iw/strings.xml | 3 + app/src/main/res/values-ja/strings.xml | 3 + app/src/main/res/values-ka/strings.xml | 3 + app/src/main/res/values-kk/strings.xml | 5 +- app/src/main/res/values-km/strings.xml | 3 + app/src/main/res/values-kn/strings.xml | 3 + app/src/main/res/values-ko/strings.xml | 3 + app/src/main/res/values-ky/strings.xml | 3 + app/src/main/res/values-land/styles.xml | 4 +- app/src/main/res/values-large/styles.xml | 8 +- app/src/main/res/values-ldltr/styles.xml | 2 +- app/src/main/res/values-lo/strings.xml | 3 + app/src/main/res/values-lt/strings.xml | 3 + app/src/main/res/values-lv/strings.xml | 3 + app/src/main/res/values-mk/strings.xml | 3 + app/src/main/res/values-ml/strings.xml | 3 + app/src/main/res/values-mn/strings.xml | 3 + app/src/main/res/values-mr/strings.xml | 5 +- app/src/main/res/values-ms/strings.xml | 3 + app/src/main/res/values-my/strings.xml | 3 + app/src/main/res/values-nb/strings.xml | 3 + app/src/main/res/values-ne/strings.xml | 3 + app/src/main/res/values-night/styles.xml | 62 +- app/src/main/res/values-nl/strings.xml | 11 +- app/src/main/res/values-pa/strings.xml | 3 + app/src/main/res/values-pl/strings.xml | 3 + app/src/main/res/values-pt-rPT/strings.xml | 3 + app/src/main/res/values-pt/plurals.xml | 4 +- app/src/main/res/values-pt/strings.xml | 5 +- app/src/main/res/values-ro/strings.xml | 3 + app/src/main/res/values-ru/strings.xml | 3 + app/src/main/res/values-si/strings.xml | 3 + app/src/main/res/values-sk/strings.xml | 3 + app/src/main/res/values-sl/strings.xml | 3 + app/src/main/res/values-sq/strings.xml | 3 + app/src/main/res/values-sr/strings.xml | 9 +- app/src/main/res/values-sv/strings.xml | 3 + app/src/main/res/values-sw/strings.xml | 3 + app/src/main/res/values-sw600dp/styles.xml | 2 +- app/src/main/res/values-ta/strings.xml | 3 + app/src/main/res/values-te/strings.xml | 3 + app/src/main/res/values-th/strings.xml | 3 + app/src/main/res/values-tl/strings.xml | 3 + app/src/main/res/values-tr/strings.xml | 3 + app/src/main/res/values-uk/strings.xml | 3 + app/src/main/res/values-ur/strings.xml | 3 + app/src/main/res/values-uz/strings.xml | 3 + app/src/main/res/values-v22/styles.xml | 8 +- app/src/main/res/values-v23/styles.xml | 38 +- app/src/main/res/values-v24/styles.xml | 236 +- app/src/main/res/values-v25/styles.xml | 8 +- app/src/main/res/values-v26/styles.xml | 14 +- app/src/main/res/values-v28/styles.xml | 24 +- app/src/main/res/values-vi/strings.xml | 3 + app/src/main/res/values-watch/styles.xml | 6 +- app/src/main/res/values-zh-rCN/strings.xml | 3 + app/src/main/res/values-zh-rHK/strings.xml | 3 + app/src/main/res/values-zh-rTW/strings.xml | 3 + app/src/main/res/values-zu/strings.xml | 3 + app/src/main/res/values/attrs.xml | 6 - app/src/main/res/values/colors.xml | 2 + app/src/main/res/values/dimens.xml | 1 + app/src/main/res/values/public.xml | 26221 ++++++++-------- app/src/main/res/values/strings.xml | 49 +- app/src/main/res/values/styles.xml | 2623 +- 6609 files changed, 131259 insertions(+), 120568 deletions(-) create mode 100644 app/src/main/java/androidx/recyclerview/widget/ConcatAdapter.java create mode 100644 app/src/main/java/androidx/recyclerview/widget/ConcatAdapterController.java create mode 100644 app/src/main/java/androidx/recyclerview/widget/NestedAdapterWrapper.java create mode 100644 app/src/main/java/androidx/recyclerview/widget/StableIdStorage.java create mode 100644 app/src/main/java/androidx/recyclerview/widget/ViewTypeStorage.java create mode 100644 app/src/main/java/c/i/a/c/a2.java delete mode 100644 app/src/main/java/c/i/a/c/a2/b0/b.java delete mode 100644 app/src/main/java/c/i/a/c/a2/f.java delete mode 100644 app/src/main/java/c/i/a/c/a2/g.java delete mode 100644 app/src/main/java/c/i/a/c/a2/g0/c.java delete mode 100644 app/src/main/java/c/i/a/c/a2/g0/d.java delete mode 100644 app/src/main/java/c/i/a/c/a2/h0/e.java delete mode 100644 app/src/main/java/c/i/a/c/a2/h0/g.java delete mode 100644 app/src/main/java/c/i/a/c/a2/i0/f.java delete mode 100644 app/src/main/java/c/i/a/c/a2/i0/j.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/b0.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/c0.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/e0.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/j.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/j0.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/n.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/p.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/t.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/x.java delete mode 100644 app/src/main/java/c/i/a/c/a2/j0/z.java delete mode 100644 app/src/main/java/c/i/a/c/a2/k0/b.java delete mode 100644 app/src/main/java/c/i/a/c/a2/v.java delete mode 100644 app/src/main/java/c/i/a/c/a2/z.java create mode 100644 app/src/main/java/c/i/a/c/a3/a.java create mode 100644 app/src/main/java/c/i/a/c/a3/a0.java create mode 100644 app/src/main/java/c/i/a/c/a3/b.java create mode 100644 app/src/main/java/c/i/a/c/a3/b0.java create mode 100644 app/src/main/java/c/i/a/c/a3/c.java rename app/src/main/java/c/i/a/c/{d2/a0.java => a3/c0.java} (50%) create mode 100644 app/src/main/java/c/i/a/c/a3/d.java create mode 100644 app/src/main/java/c/i/a/c/a3/d0.java create mode 100644 app/src/main/java/c/i/a/c/a3/e.java create mode 100644 app/src/main/java/c/i/a/c/a3/e0.java create mode 100644 app/src/main/java/c/i/a/c/a3/f.java create mode 100644 app/src/main/java/c/i/a/c/a3/f0.java rename app/src/main/java/c/i/a/c/{d2 => a3}/g.java (60%) create mode 100644 app/src/main/java/c/i/a/c/a3/g0.java create mode 100644 app/src/main/java/c/i/a/c/a3/h.java create mode 100644 app/src/main/java/c/i/a/c/a3/h0.java create mode 100644 app/src/main/java/c/i/a/c/a3/i.java rename app/src/main/java/c/i/a/c/{d2/f0.java => a3/i0.java} (60%) create mode 100644 app/src/main/java/c/i/a/c/a3/j.java rename app/src/main/java/c/i/a/c/{d2/g0.java => a3/j0.java} (58%) create mode 100644 app/src/main/java/c/i/a/c/a3/k.java rename app/src/main/java/c/i/a/c/{d2/h0.java => a3/k0.java} (83%) create mode 100644 app/src/main/java/c/i/a/c/a3/l.java create mode 100644 app/src/main/java/c/i/a/c/a3/l0.java rename app/src/main/java/c/i/a/c/{d2/k.java => a3/m.java} (74%) create mode 100644 app/src/main/java/c/i/a/c/a3/m0.java rename app/src/main/java/c/i/a/c/{d2/l.java => a3/n.java} (63%) create mode 100644 app/src/main/java/c/i/a/c/a3/n0.java create mode 100644 app/src/main/java/c/i/a/c/a3/o.java create mode 100644 app/src/main/java/c/i/a/c/a3/o0.java create mode 100644 app/src/main/java/c/i/a/c/a3/p.java create mode 100644 app/src/main/java/c/i/a/c/a3/p0/a.java create mode 100644 app/src/main/java/c/i/a/c/a3/p0/b.java create mode 100644 app/src/main/java/c/i/a/c/a3/p0/c.java rename app/src/main/java/c/i/a/c/{d2/o.java => a3/q.java} (51%) create mode 100644 app/src/main/java/c/i/a/c/a3/r.java rename app/src/main/java/c/i/a/c/{d2/q.java => a3/s.java} (67%) rename app/src/main/java/c/i/a/c/{d2/r.java => a3/t.java} (53%) create mode 100644 app/src/main/java/c/i/a/c/a3/u.java create mode 100644 app/src/main/java/c/i/a/c/a3/v.java rename app/src/main/java/c/i/a/c/{d2/u.java => a3/w.java} (64%) create mode 100644 app/src/main/java/c/i/a/c/a3/x.java rename app/src/main/java/c/i/a/c/{d2/w.java => a3/y.java} (55%) create mode 100644 app/src/main/java/c/i/a/c/a3/z.java create mode 100644 app/src/main/java/c/i/a/c/b2.java delete mode 100644 app/src/main/java/c/i/a/c/b2/i.java delete mode 100644 app/src/main/java/c/i/a/c/b2/r.java delete mode 100644 app/src/main/java/c/i/a/c/b2/u.java create mode 100644 app/src/main/java/c/i/a/c/b3/a.java create mode 100644 app/src/main/java/c/i/a/c/b3/b.java create mode 100644 app/src/main/java/c/i/a/c/b3/c.java create mode 100644 app/src/main/java/c/i/a/c/b3/d.java create mode 100644 app/src/main/java/c/i/a/c/b3/e.java rename app/src/main/java/c/i/a/c/{e2/d.java => b3/f.java} (57%) rename app/src/main/java/c/i/a/c/{e2/f.java => b3/g.java} (63%) rename app/src/main/java/c/i/a/c/{e2/g.java => b3/h.java} (55%) create mode 100644 app/src/main/java/c/i/a/c/b3/i.java rename app/src/main/java/c/i/a/c/{e2/i.java => b3/j.java} (65%) create mode 100644 app/src/main/java/c/i/a/c/b3/k.java create mode 100644 app/src/main/java/c/i/a/c/b3/l.java rename app/src/main/java/c/i/a/c/{e2/l.java => b3/m.java} (58%) rename app/src/main/java/c/i/a/c/{e2/m => b3/n}/a.java (88%) create mode 100644 app/src/main/java/c/i/a/c/b3/n/b.java rename app/src/main/java/c/i/a/c/{e2/m => b3/n}/c.java (88%) rename app/src/main/java/c/i/a/c/{e2/m => b3/n}/d.java (81%) rename app/src/main/java/c/i/a/c/{e2/m => b3/n}/e.java (69%) rename app/src/main/java/c/i/a/c/{e2/m => b3/n}/f.java (52%) rename app/src/main/java/c/i/a/c/{e2/n => b3/o}/a.java (69%) rename app/src/main/java/c/i/a/c/{e2/n => b3/o}/b.java (84%) create mode 100644 app/src/main/java/c/i/a/c/b3/o/c.java create mode 100644 app/src/main/java/c/i/a/c/b3/p/a.java create mode 100644 app/src/main/java/c/i/a/c/b3/p/b.java rename app/src/main/java/c/i/a/c/{e2/p => b3/q}/a.java (50%) create mode 100644 app/src/main/java/c/i/a/c/b3/q/b.java rename app/src/main/java/c/i/a/c/{e2/p/b.java => b3/q/c.java} (58%) rename app/src/main/java/c/i/a/c/{e2/p/c.java => b3/q/d.java} (56%) rename app/src/main/java/c/i/a/c/{e2/q => b3/r}/a.java (66%) rename app/src/main/java/c/i/a/c/{e2/q => b3/r}/b.java (81%) rename app/src/main/java/c/i/a/c/{e2/q => b3/r}/c.java (69%) rename app/src/main/java/c/i/a/c/{e2/q => b3/r}/d.java (77%) rename app/src/main/java/c/i/a/c/{e2/r => b3/s}/a.java (87%) create mode 100644 app/src/main/java/c/i/a/c/b3/s/b.java rename app/src/main/java/c/i/a/c/{e2/s => b3/t}/a.java (73%) rename app/src/main/java/c/i/a/c/{e2/s => b3/t}/b.java (58%) rename app/src/main/java/c/i/a/c/{e2/s => b3/t}/c.java (65%) rename app/src/main/java/c/i/a/c/{e2/s => b3/t}/d.java (74%) rename app/src/main/java/c/i/a/c/{e2/s => b3/t}/e.java (89%) rename app/src/main/java/c/i/a/c/{e2/s => b3/t}/f.java (72%) rename app/src/main/java/c/i/a/c/{e2/s => b3/t}/g.java (85%) rename app/src/main/java/c/i/a/c/{e2/t => b3/u}/a.java (56%) rename app/src/main/java/c/i/a/c/{e2/t => b3/u}/b.java (53%) rename app/src/main/java/c/i/a/c/{e2/u => b3/v}/a.java (88%) rename app/src/main/java/c/i/a/c/{e2/u => b3/v}/b.java (93%) rename app/src/main/java/c/i/a/c/{e2/u/d.java => b3/v/c.java} (60%) rename app/src/main/java/c/i/a/c/{e2/u/e.java => b3/v/d.java} (52%) rename app/src/main/java/c/i/a/c/{e2/u/c.java => b3/v/e.java} (70%) rename app/src/main/java/c/i/a/c/{e2/u => b3/v}/f.java (88%) rename app/src/main/java/c/i/a/c/{e2/u => b3/v}/g.java (50%) rename app/src/main/java/c/i/a/c/{e2/u => b3/v}/h.java (89%) create mode 100644 app/src/main/java/c/i/a/c/b3/v/i.java rename app/src/main/java/c/i/a/c/{e2/u => b3/v}/j.java (65%) rename app/src/main/java/c/i/a/c/{e2/u => b3/v}/k.java (72%) create mode 100644 app/src/main/java/c/i/a/c/c2.java delete mode 100644 app/src/main/java/c/i/a/c/c2/f.java rename app/src/main/java/c/i/a/c/{f2 => c3}/a.java (70%) rename app/src/main/java/c/i/a/c/{f2 => c3}/b.java (72%) rename app/src/main/java/c/i/a/c/{f2 => c3}/c.java (79%) create mode 100644 app/src/main/java/c/i/a/c/c3/d.java create mode 100644 app/src/main/java/c/i/a/c/c3/e.java rename app/src/main/java/c/i/a/c/{f2/d.java => c3/f.java} (58%) create mode 100644 app/src/main/java/c/i/a/c/c3/g.java create mode 100644 app/src/main/java/c/i/a/c/c3/h.java create mode 100644 app/src/main/java/c/i/a/c/c3/i.java create mode 100644 app/src/main/java/c/i/a/c/c3/j.java create mode 100644 app/src/main/java/c/i/a/c/c3/k.java create mode 100644 app/src/main/java/c/i/a/c/c3/l.java create mode 100644 app/src/main/java/c/i/a/c/c3/m.java create mode 100644 app/src/main/java/c/i/a/c/c3/n.java create mode 100644 app/src/main/java/c/i/a/c/c3/o.java create mode 100644 app/src/main/java/c/i/a/c/c3/p.java create mode 100644 app/src/main/java/c/i/a/c/c3/q.java create mode 100644 app/src/main/java/c/i/a/c/c3/r.java create mode 100644 app/src/main/java/c/i/a/c/d2.java delete mode 100644 app/src/main/java/c/i/a/c/d2/a.java delete mode 100644 app/src/main/java/c/i/a/c/d2/b.java delete mode 100644 app/src/main/java/c/i/a/c/d2/b0.java delete mode 100644 app/src/main/java/c/i/a/c/d2/c.java delete mode 100644 app/src/main/java/c/i/a/c/d2/c0.java delete mode 100644 app/src/main/java/c/i/a/c/d2/d.java delete mode 100644 app/src/main/java/c/i/a/c/d2/d0.java delete mode 100644 app/src/main/java/c/i/a/c/d2/e.java delete mode 100644 app/src/main/java/c/i/a/c/d2/e0.java delete mode 100644 app/src/main/java/c/i/a/c/d2/f.java delete mode 100644 app/src/main/java/c/i/a/c/d2/h.java delete mode 100644 app/src/main/java/c/i/a/c/d2/i.java delete mode 100644 app/src/main/java/c/i/a/c/d2/i0.java delete mode 100644 app/src/main/java/c/i/a/c/d2/j.java delete mode 100644 app/src/main/java/c/i/a/c/d2/j0/a.java delete mode 100644 app/src/main/java/c/i/a/c/d2/j0/b.java delete mode 100644 app/src/main/java/c/i/a/c/d2/m.java delete mode 100644 app/src/main/java/c/i/a/c/d2/n.java delete mode 100644 app/src/main/java/c/i/a/c/d2/p.java delete mode 100644 app/src/main/java/c/i/a/c/d2/s.java delete mode 100644 app/src/main/java/c/i/a/c/d2/t.java delete mode 100644 app/src/main/java/c/i/a/c/d2/v.java delete mode 100644 app/src/main/java/c/i/a/c/d2/x.java delete mode 100644 app/src/main/java/c/i/a/c/d2/y.java delete mode 100644 app/src/main/java/c/i/a/c/d2/z.java rename app/src/main/java/c/i/a/c/{g2 => d3}/a.java (95%) rename app/src/main/java/c/i/a/c/{g2 => d3}/b.java (95%) rename app/src/main/java/c/i/a/c/{g2 => d3}/c.java (97%) rename app/src/main/java/c/i/a/c/{g2 => d3}/d.java (90%) rename app/src/main/java/c/i/a/c/{g2 => d3}/e.java (74%) rename app/src/main/java/c/i/a/c/{g2 => d3}/f.java (74%) create mode 100644 app/src/main/java/c/i/a/c/d3/g.java create mode 100644 app/src/main/java/c/i/a/c/d3/h.java create mode 100644 app/src/main/java/c/i/a/c/d3/i.java rename app/src/main/java/c/i/a/c/{g2/g.java => d3/j.java} (66%) rename app/src/main/java/c/i/a/c/{e2/b.java => d3/k.java} (69%) rename app/src/main/java/c/i/a/c/{g2/h.java => d3/l.java} (71%) rename app/src/main/java/c/i/a/c/{g2/i.java => d3/m.java} (92%) rename app/src/main/java/c/i/a/c/{g2/j.java => d3/n.java} (92%) rename app/src/main/java/c/i/a/c/{g2/k.java => d3/o.java} (68%) rename app/src/main/java/c/i/a/c/{g2/l.java => d3/p.java} (50%) rename app/src/main/java/c/i/a/c/{g2/m.java => d3/q.java} (81%) create mode 100644 app/src/main/java/c/i/a/c/d3/r.java create mode 100644 app/src/main/java/c/i/a/c/e2.java delete mode 100644 app/src/main/java/c/i/a/c/e2/a.java delete mode 100644 app/src/main/java/c/i/a/c/e2/c.java delete mode 100644 app/src/main/java/c/i/a/c/e2/e.java delete mode 100644 app/src/main/java/c/i/a/c/e2/h.java delete mode 100644 app/src/main/java/c/i/a/c/e2/j.java delete mode 100644 app/src/main/java/c/i/a/c/e2/k.java delete mode 100644 app/src/main/java/c/i/a/c/e2/m/b.java delete mode 100644 app/src/main/java/c/i/a/c/e2/n/c.java delete mode 100644 app/src/main/java/c/i/a/c/e2/o/a.java delete mode 100644 app/src/main/java/c/i/a/c/e2/o/b.java delete mode 100644 app/src/main/java/c/i/a/c/e2/r/b.java delete mode 100644 app/src/main/java/c/i/a/c/e2/u/i.java rename app/src/main/java/c/i/a/c/{h2 => e3}/a.java (50%) create mode 100644 app/src/main/java/c/i/a/c/e3/a0.java create mode 100644 app/src/main/java/c/i/a/c/e3/b.java rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/a.java (85%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/b.java (95%) create mode 100644 app/src/main/java/c/i/a/c/e3/b0/c.java rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/d.java (89%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/e.java (89%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/f.java (59%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/g.java (82%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/h.java (86%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/i.java (94%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/j.java (78%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/k.java (76%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/l.java (72%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/m.java (96%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/n.java (86%) rename app/src/main/java/c/i/a/c/{h2/y => e3/b0}/o.java (92%) rename app/src/main/java/c/i/a/c/{i2/y.java => e3/b0/p.java} (82%) rename app/src/main/java/c/i/a/c/{h2/y/p.java => e3/b0/q.java} (65%) rename app/src/main/java/c/i/a/c/{h2/y/q.java => e3/b0/r.java} (69%) rename app/src/main/java/c/i/a/c/{h2/y/r.java => e3/b0/s.java} (90%) rename app/src/main/java/c/i/a/c/{i2 => e3}/c.java (67%) rename app/src/main/java/c/i/a/c/{i2 => e3}/d.java (67%) rename app/src/main/java/c/i/a/c/{h2/c.java => e3/e.java} (63%) rename app/src/main/java/c/i/a/c/{h2/d.java => e3/f.java} (63%) create mode 100644 app/src/main/java/c/i/a/c/e3/g.java rename app/src/main/java/c/i/a/c/{h2/f.java => e3/h.java} (75%) create mode 100644 app/src/main/java/c/i/a/c/e3/i.java rename app/src/main/java/c/i/a/c/{h2/h.java => e3/j.java} (67%) rename app/src/main/java/c/i/a/c/{h2/i.java => e3/k.java} (74%) rename app/src/main/java/c/i/a/c/{h2/j.java => e3/l.java} (70%) rename app/src/main/java/c/i/a/c/{h2/k.java => e3/m.java} (86%) rename app/src/main/java/c/i/a/c/{h2/l.java => e3/n.java} (58%) rename app/src/main/java/c/i/a/c/{h2/m.java => e3/o.java} (52%) create mode 100644 app/src/main/java/c/i/a/c/e3/p.java rename app/src/main/java/c/i/a/c/{h2/o.java => e3/q.java} (57%) create mode 100644 app/src/main/java/c/i/a/c/e3/r.java rename app/src/main/java/c/i/a/c/{h2/r.java => e3/s.java} (70%) create mode 100644 app/src/main/java/c/i/a/c/e3/t.java rename app/src/main/java/c/i/a/c/{h2/t.java => e3/u.java} (91%) create mode 100644 app/src/main/java/c/i/a/c/e3/v.java rename app/src/main/java/c/i/a/c/{h2/u.java => e3/w.java} (53%) rename app/src/main/java/c/i/a/c/{i2/z.java => e3/x.java} (75%) rename app/src/main/java/c/i/a/c/{h2/v.java => e3/y.java} (55%) rename app/src/main/java/c/i/a/c/{h2/w.java => e3/z.java} (55%) create mode 100644 app/src/main/java/c/i/a/c/f2.java delete mode 100644 app/src/main/java/c/i/a/c/f2/e.java delete mode 100644 app/src/main/java/c/i/a/c/f2/f.java delete mode 100644 app/src/main/java/c/i/a/c/f2/g.java delete mode 100644 app/src/main/java/c/i/a/c/f2/h.java delete mode 100644 app/src/main/java/c/i/a/c/f2/i.java delete mode 100644 app/src/main/java/c/i/a/c/f2/j.java delete mode 100644 app/src/main/java/c/i/a/c/f2/k.java delete mode 100644 app/src/main/java/c/i/a/c/f2/l.java delete mode 100644 app/src/main/java/c/i/a/c/f2/m.java rename app/src/main/java/c/i/a/c/{i2 => f3}/a.java (68%) create mode 100644 app/src/main/java/c/i/a/c/f3/a0.java create mode 100644 app/src/main/java/c/i/a/c/f3/b.java create mode 100644 app/src/main/java/c/i/a/c/f3/b0.java create mode 100644 app/src/main/java/c/i/a/c/f3/c.java rename app/src/main/java/c/i/a/c/{i2/d0.java => f3/c0.java} (77%) rename app/src/main/java/c/i/a/c/{i2/e.java => f3/d.java} (70%) rename app/src/main/java/c/i/a/c/{i2/e0.java => f3/d0.java} (61%) rename app/src/main/java/c/i/a/c/{i2/f.java => f3/e.java} (75%) rename app/src/main/java/c/i/a/c/{i2/f0.java => f3/e0.java} (80%) create mode 100644 app/src/main/java/c/i/a/c/f3/f.java rename app/src/main/java/c/i/a/c/{i2 => f3}/g.java (51%) create mode 100644 app/src/main/java/c/i/a/c/f3/h.java rename app/src/main/java/c/i/a/c/{i2 => f3}/i.java (79%) rename app/src/main/java/c/i/a/c/{i2 => f3}/j.java (95%) rename app/src/main/java/c/i/a/c/{i2 => f3}/k.java (79%) rename app/src/main/java/c/i/a/c/{i2 => f3}/l.java (77%) rename app/src/main/java/c/i/a/c/{i2 => f3}/m.java (89%) create mode 100644 app/src/main/java/c/i/a/c/f3/n.java create mode 100644 app/src/main/java/c/i/a/c/f3/o.java rename app/src/main/java/c/i/a/c/{i2/o.java => f3/p.java} (50%) rename app/src/main/java/c/i/a/c/{i2/p.java => f3/q.java} (76%) rename app/src/main/java/c/i/a/c/{i2/q.java => f3/r.java} (73%) create mode 100644 app/src/main/java/c/i/a/c/f3/s.java rename app/src/main/java/c/i/a/c/{i2/s.java => f3/t.java} (82%) create mode 100644 app/src/main/java/c/i/a/c/f3/u.java create mode 100644 app/src/main/java/c/i/a/c/f3/v.java rename app/src/main/java/c/i/a/c/{i2/v.java => f3/w.java} (72%) rename app/src/main/java/c/i/a/c/{i2/w.java => f3/x.java} (75%) rename app/src/main/java/c/i/a/c/{i2/x.java => f3/y.java} (70%) create mode 100644 app/src/main/java/c/i/a/c/f3/z.java create mode 100644 app/src/main/java/c/i/a/c/g2.java delete mode 100644 app/src/main/java/c/i/a/c/g2/n.java delete mode 100644 app/src/main/java/c/i/a/c/g2/o/b.java delete mode 100644 app/src/main/java/c/i/a/c/g2/o/g.java create mode 100644 app/src/main/java/c/i/a/c/g3/a.java create mode 100644 app/src/main/java/c/i/a/c/g3/b.java create mode 100644 app/src/main/java/c/i/a/c/g3/c.java create mode 100644 app/src/main/java/c/i/a/c/g3/d.java create mode 100644 app/src/main/java/c/i/a/c/g3/e.java create mode 100644 app/src/main/java/c/i/a/c/g3/f.java create mode 100644 app/src/main/java/c/i/a/c/g3/g.java create mode 100644 app/src/main/java/c/i/a/c/g3/h.java rename app/src/main/java/c/i/a/c/{v1/e.java => g3/i.java} (55%) create mode 100644 app/src/main/java/c/i/a/c/g3/j.java create mode 100644 app/src/main/java/c/i/a/c/g3/k.java create mode 100644 app/src/main/java/c/i/a/c/g3/l.java create mode 100644 app/src/main/java/c/i/a/c/g3/m.java create mode 100644 app/src/main/java/c/i/a/c/g3/n.java create mode 100644 app/src/main/java/c/i/a/c/g3/o.java rename app/src/main/java/c/i/a/c/{j2/l.java => g3/p.java} (91%) create mode 100644 app/src/main/java/c/i/a/c/g3/q.java rename app/src/main/java/c/i/a/c/{j2/n.java => g3/r.java} (66%) create mode 100644 app/src/main/java/c/i/a/c/g3/s.java rename app/src/main/java/c/i/a/c/{j2/r.java => g3/t.java} (57%) create mode 100644 app/src/main/java/c/i/a/c/g3/u.java rename app/src/main/java/c/i/a/c/{j2/t.java => g3/v.java} (56%) create mode 100644 app/src/main/java/c/i/a/c/g3/w.java create mode 100644 app/src/main/java/c/i/a/c/g3/x.java create mode 100644 app/src/main/java/c/i/a/c/g3/y.java rename app/src/main/java/c/i/a/c/{g2/o => g3/z}/a.java (68%) rename app/src/main/java/c/i/a/c/{g2/o/c.java => g3/z/b.java} (50%) create mode 100644 app/src/main/java/c/i/a/c/g3/z/c.java rename app/src/main/java/c/i/a/c/{j2/x/a.java => g3/z/d.java} (58%) rename app/src/main/java/c/i/a/c/{j2/x/b.java => g3/z/e.java} (55%) rename app/src/main/java/c/i/a/c/{j2/x/c.java => g3/z/f.java} (83%) rename app/src/main/java/c/i/a/c/{g2/o/d.java => g3/z/g.java} (88%) rename app/src/main/java/c/i/a/c/{j2/x/d.java => g3/z/h.java} (72%) rename app/src/main/java/c/i/a/c/{g2/o/e.java => g3/z/i.java} (78%) rename app/src/main/java/c/i/a/c/{g2/o/f.java => g3/z/j.java} (65%) rename app/src/main/java/c/i/a/c/{g2/o/h.java => g3/z/k.java} (52%) rename app/src/main/java/c/i/a/c/{g2/o/i.java => g3/z/l.java} (80%) create mode 100644 app/src/main/java/c/i/a/c/h2.java delete mode 100644 app/src/main/java/c/i/a/c/h2/b.java delete mode 100644 app/src/main/java/c/i/a/c/h2/e.java delete mode 100644 app/src/main/java/c/i/a/c/h2/g.java delete mode 100644 app/src/main/java/c/i/a/c/h2/n.java delete mode 100644 app/src/main/java/c/i/a/c/h2/p.java delete mode 100644 app/src/main/java/c/i/a/c/h2/q.java delete mode 100644 app/src/main/java/c/i/a/c/h2/s.java delete mode 100644 app/src/main/java/c/i/a/c/h2/x.java delete mode 100644 app/src/main/java/c/i/a/c/h2/y/c.java create mode 100644 app/src/main/java/c/i/a/c/i2.java delete mode 100644 app/src/main/java/c/i/a/c/i2/a0.java delete mode 100644 app/src/main/java/c/i/a/c/i2/b.java delete mode 100644 app/src/main/java/c/i/a/c/i2/b0.java delete mode 100644 app/src/main/java/c/i/a/c/i2/c0.java delete mode 100644 app/src/main/java/c/i/a/c/i2/h.java delete mode 100644 app/src/main/java/c/i/a/c/i2/r.java delete mode 100644 app/src/main/java/c/i/a/c/i2/t.java delete mode 100644 app/src/main/java/c/i/a/c/i2/u.java create mode 100644 app/src/main/java/c/i/a/c/j2.java delete mode 100644 app/src/main/java/c/i/a/c/j2/a.java delete mode 100644 app/src/main/java/c/i/a/c/j2/b.java delete mode 100644 app/src/main/java/c/i/a/c/j2/c.java delete mode 100644 app/src/main/java/c/i/a/c/j2/d.java delete mode 100644 app/src/main/java/c/i/a/c/j2/e.java delete mode 100644 app/src/main/java/c/i/a/c/j2/g.java delete mode 100644 app/src/main/java/c/i/a/c/j2/h.java delete mode 100644 app/src/main/java/c/i/a/c/j2/i.java delete mode 100644 app/src/main/java/c/i/a/c/j2/j.java delete mode 100644 app/src/main/java/c/i/a/c/j2/k.java delete mode 100644 app/src/main/java/c/i/a/c/j2/m.java delete mode 100644 app/src/main/java/c/i/a/c/j2/o.java delete mode 100644 app/src/main/java/c/i/a/c/j2/p.java delete mode 100644 app/src/main/java/c/i/a/c/j2/q.java delete mode 100644 app/src/main/java/c/i/a/c/j2/s.java delete mode 100644 app/src/main/java/c/i/a/c/j2/u.java delete mode 100644 app/src/main/java/c/i/a/c/j2/v.java delete mode 100644 app/src/main/java/c/i/a/c/j2/w.java create mode 100644 app/src/main/java/c/i/a/c/k2.java create mode 100644 app/src/main/java/c/i/a/c/l2.java create mode 100644 app/src/main/java/c/i/a/c/m2.java create mode 100644 app/src/main/java/c/i/a/c/n2.java create mode 100644 app/src/main/java/c/i/a/c/o2.java create mode 100644 app/src/main/java/c/i/a/c/p2.java create mode 100644 app/src/main/java/c/i/a/c/q2.java create mode 100644 app/src/main/java/c/i/a/c/r2.java create mode 100644 app/src/main/java/c/i/a/c/s2/a.java create mode 100644 app/src/main/java/c/i/a/c/s2/a0.java create mode 100644 app/src/main/java/c/i/a/c/s2/a1.java create mode 100644 app/src/main/java/c/i/a/c/s2/b.java create mode 100644 app/src/main/java/c/i/a/c/s2/b0.java create mode 100644 app/src/main/java/c/i/a/c/s2/b1.java create mode 100644 app/src/main/java/c/i/a/c/s2/c.java create mode 100644 app/src/main/java/c/i/a/c/s2/c0.java create mode 100644 app/src/main/java/c/i/a/c/s2/c1.java create mode 100644 app/src/main/java/c/i/a/c/s2/d.java create mode 100644 app/src/main/java/c/i/a/c/s2/d0.java create mode 100644 app/src/main/java/c/i/a/c/s2/d1.java create mode 100644 app/src/main/java/c/i/a/c/s2/e.java create mode 100644 app/src/main/java/c/i/a/c/s2/e0.java create mode 100644 app/src/main/java/c/i/a/c/s2/e1.java create mode 100644 app/src/main/java/c/i/a/c/s2/f.java create mode 100644 app/src/main/java/c/i/a/c/s2/f0.java create mode 100644 app/src/main/java/c/i/a/c/s2/f1.java create mode 100644 app/src/main/java/c/i/a/c/s2/g.java create mode 100644 app/src/main/java/c/i/a/c/s2/g0.java create mode 100644 app/src/main/java/c/i/a/c/s2/g1.java create mode 100644 app/src/main/java/c/i/a/c/s2/h.java create mode 100644 app/src/main/java/c/i/a/c/s2/h0.java rename app/src/main/java/c/i/a/c/{u1/d1.java => s2/h1.java} (63%) create mode 100644 app/src/main/java/c/i/a/c/s2/i.java create mode 100644 app/src/main/java/c/i/a/c/s2/i0.java create mode 100644 app/src/main/java/c/i/a/c/s2/j.java create mode 100644 app/src/main/java/c/i/a/c/s2/j0.java create mode 100644 app/src/main/java/c/i/a/c/s2/k.java create mode 100644 app/src/main/java/c/i/a/c/s2/k0.java create mode 100644 app/src/main/java/c/i/a/c/s2/l.java create mode 100644 app/src/main/java/c/i/a/c/s2/l0.java create mode 100644 app/src/main/java/c/i/a/c/s2/m.java create mode 100644 app/src/main/java/c/i/a/c/s2/m0.java create mode 100644 app/src/main/java/c/i/a/c/s2/n.java create mode 100644 app/src/main/java/c/i/a/c/s2/n0.java create mode 100644 app/src/main/java/c/i/a/c/s2/o.java create mode 100644 app/src/main/java/c/i/a/c/s2/o0.java create mode 100644 app/src/main/java/c/i/a/c/s2/p.java create mode 100644 app/src/main/java/c/i/a/c/s2/p0.java create mode 100644 app/src/main/java/c/i/a/c/s2/q.java create mode 100644 app/src/main/java/c/i/a/c/s2/q0.java create mode 100644 app/src/main/java/c/i/a/c/s2/r.java create mode 100644 app/src/main/java/c/i/a/c/s2/r0.java create mode 100644 app/src/main/java/c/i/a/c/s2/s.java create mode 100644 app/src/main/java/c/i/a/c/s2/s0.java create mode 100644 app/src/main/java/c/i/a/c/s2/t.java create mode 100644 app/src/main/java/c/i/a/c/s2/t0.java create mode 100644 app/src/main/java/c/i/a/c/s2/u.java create mode 100644 app/src/main/java/c/i/a/c/s2/u0.java create mode 100644 app/src/main/java/c/i/a/c/s2/v.java create mode 100644 app/src/main/java/c/i/a/c/s2/v0.java create mode 100644 app/src/main/java/c/i/a/c/s2/w.java create mode 100644 app/src/main/java/c/i/a/c/s2/w0.java create mode 100644 app/src/main/java/c/i/a/c/s2/x.java create mode 100644 app/src/main/java/c/i/a/c/s2/x0.java create mode 100644 app/src/main/java/c/i/a/c/s2/y.java create mode 100644 app/src/main/java/c/i/a/c/s2/y0.java create mode 100644 app/src/main/java/c/i/a/c/s2/z.java create mode 100644 app/src/main/java/c/i/a/c/s2/z0.java rename app/src/main/java/c/i/a/c/{v1 => t2}/a.java (53%) rename app/src/main/java/c/i/a/c/{v1/z.java => t2/a0.java} (80%) create mode 100644 app/src/main/java/c/i/a/c/t2/b.java rename app/src/main/java/c/i/a/c/{v1/a0.java => t2/b0.java} (94%) rename app/src/main/java/c/i/a/c/{v1 => t2}/c.java (53%) rename app/src/main/java/c/i/a/c/{v1/b0.java => t2/c0.java} (91%) create mode 100644 app/src/main/java/c/i/a/c/t2/d.java rename app/src/main/java/c/i/a/c/{v1/c0.java => t2/d0.java} (96%) create mode 100644 app/src/main/java/c/i/a/c/t2/e.java rename app/src/main/java/c/i/a/c/{v1/d0.java => t2/e0.java} (67%) rename app/src/main/java/c/i/a/c/{j2 => t2}/f.java (63%) rename app/src/main/java/c/i/a/c/{v1/e0.java => t2/f0.java} (83%) create mode 100644 app/src/main/java/c/i/a/c/t2/g.java create mode 100644 app/src/main/java/c/i/a/c/t2/h.java rename app/src/main/java/c/i/a/c/{v1/h.java => t2/i.java} (54%) create mode 100644 app/src/main/java/c/i/a/c/t2/j.java rename app/src/main/java/c/i/a/c/{v1/j.java => t2/k.java} (70%) rename app/src/main/java/c/i/a/c/{v1/k.java => t2/l.java} (55%) rename app/src/main/java/c/i/a/c/{v1/l.java => t2/m.java} (90%) rename app/src/main/java/c/i/a/c/{v1/m.java => t2/n.java} (81%) create mode 100644 app/src/main/java/c/i/a/c/t2/o.java create mode 100644 app/src/main/java/c/i/a/c/t2/p.java create mode 100644 app/src/main/java/c/i/a/c/t2/q.java create mode 100644 app/src/main/java/c/i/a/c/t2/r.java rename app/src/main/java/c/i/a/c/{v1/r.java => t2/s.java} (85%) rename app/src/main/java/c/i/a/c/{v1/s.java => t2/t.java} (73%) rename app/src/main/java/c/i/a/c/{v1/t.java => t2/u.java} (66%) rename app/src/main/java/c/i/a/c/{v1/u.java => t2/v.java} (92%) rename app/src/main/java/c/i/a/c/{v1/v.java => t2/w.java} (87%) rename app/src/main/java/c/i/a/c/{v1/w.java => t2/x.java} (55%) rename app/src/main/java/c/i/a/c/{v1/x.java => t2/y.java} (92%) create mode 100644 app/src/main/java/c/i/a/c/t2/z.java create mode 100644 app/src/main/java/c/i/a/c/u1.java delete mode 100644 app/src/main/java/c/i/a/c/u1/a.java delete mode 100644 app/src/main/java/c/i/a/c/u1/a0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/a1.java delete mode 100644 app/src/main/java/c/i/a/c/u1/b.java delete mode 100644 app/src/main/java/c/i/a/c/u1/b0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/b1.java delete mode 100644 app/src/main/java/c/i/a/c/u1/c.java delete mode 100644 app/src/main/java/c/i/a/c/u1/c0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/c1.java delete mode 100644 app/src/main/java/c/i/a/c/u1/d.java delete mode 100644 app/src/main/java/c/i/a/c/u1/d0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/e.java delete mode 100644 app/src/main/java/c/i/a/c/u1/e0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/f.java delete mode 100644 app/src/main/java/c/i/a/c/u1/f0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/g.java delete mode 100644 app/src/main/java/c/i/a/c/u1/g0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/h.java delete mode 100644 app/src/main/java/c/i/a/c/u1/h0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/i.java delete mode 100644 app/src/main/java/c/i/a/c/u1/i0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/j.java delete mode 100644 app/src/main/java/c/i/a/c/u1/j0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/k.java delete mode 100644 app/src/main/java/c/i/a/c/u1/k0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/l.java delete mode 100644 app/src/main/java/c/i/a/c/u1/l0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/m.java delete mode 100644 app/src/main/java/c/i/a/c/u1/m0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/n.java delete mode 100644 app/src/main/java/c/i/a/c/u1/n0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/o.java delete mode 100644 app/src/main/java/c/i/a/c/u1/o0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/p.java delete mode 100644 app/src/main/java/c/i/a/c/u1/p0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/q.java delete mode 100644 app/src/main/java/c/i/a/c/u1/q0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/r.java delete mode 100644 app/src/main/java/c/i/a/c/u1/r0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/s.java delete mode 100644 app/src/main/java/c/i/a/c/u1/s0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/t.java delete mode 100644 app/src/main/java/c/i/a/c/u1/t0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/u.java delete mode 100644 app/src/main/java/c/i/a/c/u1/u0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/v.java delete mode 100644 app/src/main/java/c/i/a/c/u1/v0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/w.java delete mode 100644 app/src/main/java/c/i/a/c/u1/w0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/x.java delete mode 100644 app/src/main/java/c/i/a/c/u1/x0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/y.java delete mode 100644 app/src/main/java/c/i/a/c/u1/y0.java delete mode 100644 app/src/main/java/c/i/a/c/u1/z.java delete mode 100644 app/src/main/java/c/i/a/c/u1/z0.java rename app/src/main/java/c/i/a/c/{w1 => u2}/a.java (90%) create mode 100644 app/src/main/java/c/i/a/c/u2/b.java create mode 100644 app/src/main/java/c/i/a/c/u2/c.java create mode 100644 app/src/main/java/c/i/a/c/u2/d.java create mode 100644 app/src/main/java/c/i/a/c/v1.java delete mode 100644 app/src/main/java/c/i/a/c/v1/b.java delete mode 100644 app/src/main/java/c/i/a/c/v1/d.java delete mode 100644 app/src/main/java/c/i/a/c/v1/f.java delete mode 100644 app/src/main/java/c/i/a/c/v1/g.java delete mode 100644 app/src/main/java/c/i/a/c/v1/i.java delete mode 100644 app/src/main/java/c/i/a/c/v1/n.java delete mode 100644 app/src/main/java/c/i/a/c/v1/o.java delete mode 100644 app/src/main/java/c/i/a/c/v1/p.java delete mode 100644 app/src/main/java/c/i/a/c/v1/q.java delete mode 100644 app/src/main/java/c/i/a/c/v1/y.java rename app/src/main/java/c/i/a/c/{x1 => v2}/a.java (96%) create mode 100644 app/src/main/java/c/i/a/c/v2/b.java rename app/src/main/java/c/i/a/c/{x1/b.java => v2/c.java} (67%) rename app/src/main/java/c/i/a/c/{x1/c.java => v2/d.java} (80%) rename app/src/main/java/c/i/a/c/{x1/d.java => v2/e.java} (81%) rename app/src/main/java/c/i/a/c/{x1 => v2}/f.java (53%) rename app/src/main/java/c/i/a/c/{x1/e.java => v2/g.java} (54%) rename app/src/main/java/c/i/a/c/{x1/g.java => v2/h.java} (84%) create mode 100644 app/src/main/java/c/i/a/c/v2/i.java create mode 100644 app/src/main/java/c/i/a/c/w1.java delete mode 100644 app/src/main/java/c/i/a/c/w1/b.java rename app/src/main/java/c/i/a/c/{z1 => w2}/a.java (61%) rename app/src/main/java/c/i/a/c/{z1/x.java => w2/a0.java} (84%) create mode 100644 app/src/main/java/c/i/a/c/w2/b.java rename app/src/main/java/c/i/a/c/{z1/y.java => w2/b0.java} (57%) create mode 100644 app/src/main/java/c/i/a/c/w2/c.java rename app/src/main/java/c/i/a/c/{z1/z.java => w2/c0.java} (60%) create mode 100644 app/src/main/java/c/i/a/c/w2/d.java create mode 100644 app/src/main/java/c/i/a/c/w2/d0.java create mode 100644 app/src/main/java/c/i/a/c/w2/e.java create mode 100644 app/src/main/java/c/i/a/c/w2/e0.java rename app/src/main/java/c/i/a/c/{z1/d.java => w2/f.java} (66%) create mode 100644 app/src/main/java/c/i/a/c/w2/g.java create mode 100644 app/src/main/java/c/i/a/c/w2/h.java create mode 100644 app/src/main/java/c/i/a/c/w2/i.java create mode 100644 app/src/main/java/c/i/a/c/w2/j.java create mode 100644 app/src/main/java/c/i/a/c/w2/k.java create mode 100644 app/src/main/java/c/i/a/c/w2/l.java create mode 100644 app/src/main/java/c/i/a/c/w2/m.java create mode 100644 app/src/main/java/c/i/a/c/w2/n.java rename app/src/main/java/c/i/a/c/{z1/m.java => w2/o.java} (57%) create mode 100644 app/src/main/java/c/i/a/c/w2/p.java create mode 100644 app/src/main/java/c/i/a/c/w2/q.java rename app/src/main/java/c/i/a/c/{z1/p.java => w2/r.java} (53%) create mode 100644 app/src/main/java/c/i/a/c/w2/s.java create mode 100644 app/src/main/java/c/i/a/c/w2/t.java create mode 100644 app/src/main/java/c/i/a/c/w2/u.java create mode 100644 app/src/main/java/c/i/a/c/w2/v.java create mode 100644 app/src/main/java/c/i/a/c/w2/w.java create mode 100644 app/src/main/java/c/i/a/c/w2/x.java rename app/src/main/java/c/i/a/c/{z1/u.java => w2/y.java} (50%) rename app/src/main/java/c/i/a/c/{z1/v.java => w2/z.java} (70%) create mode 100644 app/src/main/java/c/i/a/c/x1.java rename app/src/main/java/c/i/a/c/{a2 => x2}/a.java (82%) create mode 100644 app/src/main/java/c/i/a/c/x2/a0.java rename app/src/main/java/c/i/a/c/{a2 => x2}/b.java (75%) rename app/src/main/java/c/i/a/c/{a2/a0.java => x2/b0.java} (72%) rename app/src/main/java/c/i/a/c/{a2 => x2}/c.java (54%) rename app/src/main/java/c/i/a/c/{a2/b0 => x2/c0}/a.java (63%) create mode 100644 app/src/main/java/c/i/a/c/x2/c0/b.java rename app/src/main/java/c/i/a/c/{a2 => x2}/d.java (52%) rename app/src/main/java/c/i/a/c/{a2/c0 => x2/d0}/a.java (70%) rename app/src/main/java/c/i/a/c/{a2/c0 => x2/d0}/b.java (72%) rename app/src/main/java/c/i/a/c/{a2/c0 => x2/d0}/c.java (75%) rename app/src/main/java/c/i/a/c/{a2/c0 => x2/d0}/d.java (55%) rename app/src/main/java/c/i/a/c/{a2 => x2}/e.java (81%) rename app/src/main/java/c/i/a/c/{a2/d0 => x2/e0}/a.java (70%) rename app/src/main/java/c/i/a/c/{a2/d0 => x2/e0}/b.java (53%) rename app/src/main/java/c/i/a/c/{a2/d0 => x2/e0}/c.java (73%) rename app/src/main/java/c/i/a/c/{a2/d0 => x2/e0}/d.java (68%) rename app/src/main/java/c/i/a/c/{a2/d0 => x2/e0}/e.java (57%) create mode 100644 app/src/main/java/c/i/a/c/x2/f.java rename app/src/main/java/c/i/a/c/{a2/e0 => x2/f0}/a.java (79%) rename app/src/main/java/c/i/a/c/{a2/e0 => x2/f0}/b.java (87%) rename app/src/main/java/c/i/a/c/{a2/e0 => x2/f0}/c.java (63%) rename app/src/main/java/c/i/a/c/{a2/e0 => x2/f0}/d.java (70%) rename app/src/main/java/c/i/a/c/{a2/e0 => x2/f0}/e.java (56%) create mode 100644 app/src/main/java/c/i/a/c/x2/g.java rename app/src/main/java/c/i/a/c/{a2/f0 => x2/g0}/a.java (70%) rename app/src/main/java/c/i/a/c/{a2/f0 => x2/g0}/b.java (72%) rename app/src/main/java/c/i/a/c/{a2/f0 => x2/g0}/c.java (71%) rename app/src/main/java/c/i/a/c/{a2/f0 => x2/g0}/d.java (70%) rename app/src/main/java/c/i/a/c/{a2/f0 => x2/g0}/e.java (59%) rename app/src/main/java/c/i/a/c/{a2/f0 => x2/g0}/f.java (78%) rename app/src/main/java/c/i/a/c/{a2/f0 => x2/g0}/g.java (89%) rename app/src/main/java/c/i/a/c/{a2 => x2}/h.java (92%) rename app/src/main/java/c/i/a/c/{a2/g0 => x2/h0}/a.java (70%) rename app/src/main/java/c/i/a/c/{a2/g0 => x2/h0}/b.java (82%) create mode 100644 app/src/main/java/c/i/a/c/x2/h0/c.java create mode 100644 app/src/main/java/c/i/a/c/x2/h0/d.java rename app/src/main/java/c/i/a/c/{a2/g0 => x2/h0}/e.java (65%) rename app/src/main/java/c/i/a/c/{a2/g0 => x2/h0}/f.java (62%) rename app/src/main/java/c/i/a/c/{a2/g0 => x2/h0}/g.java (76%) rename app/src/main/java/c/i/a/c/{a2/g0 => x2/h0}/h.java (66%) rename app/src/main/java/c/i/a/c/{a2/g0 => x2/h0}/i.java (77%) rename app/src/main/java/c/i/a/c/{a2 => x2}/i.java (73%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/a.java (92%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/b.java (70%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/c.java (94%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/d.java (59%) create mode 100644 app/src/main/java/c/i/a/c/x2/i0/e.java rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/f.java (80%) create mode 100644 app/src/main/java/c/i/a/c/x2/i0/g.java rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/h.java (59%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/i.java (66%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/j.java (78%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/k.java (82%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/l.java (83%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/m.java (70%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/n.java (84%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/o.java (50%) rename app/src/main/java/c/i/a/c/{a2/h0 => x2/i0}/p.java (74%) rename app/src/main/java/c/i/a/c/{a2 => x2}/j.java (81%) rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/a.java (70%) rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/b.java (73%) rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/c.java (65%) rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/d.java (74%) rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/e.java (53%) create mode 100644 app/src/main/java/c/i/a/c/x2/j0/f.java rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/g.java (76%) rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/h.java (67%) rename app/src/main/java/c/i/a/c/{a2/i0 => x2/j0}/i.java (73%) create mode 100644 app/src/main/java/c/i/a/c/x2/j0/j.java rename app/src/main/java/c/i/a/c/{a2 => x2}/k.java (84%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/a.java (70%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/a0.java (71%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/b.java (70%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/b0.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/c.java (70%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/c0.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/d.java (70%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/d0.java (56%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/e.java (71%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/e0.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/f.java (65%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/f0.java (57%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/g.java (50%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/g0.java (70%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/h.java (68%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/h0.java (53%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/i.java (53%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/i0.java (74%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/j.java create mode 100644 app/src/main/java/c/i/a/c/x2/k0/j0.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/k.java (59%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/l.java (53%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/m.java (66%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/n.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/o.java (61%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/p.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/q.java (62%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/r.java (68%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/s.java (51%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/t.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/u.java (51%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/v.java (59%) rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/w.java (89%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/x.java rename app/src/main/java/c/i/a/c/{a2/j0 => x2/k0}/y.java (63%) create mode 100644 app/src/main/java/c/i/a/c/x2/k0/z.java rename app/src/main/java/c/i/a/c/{a2 => x2}/l.java (90%) rename app/src/main/java/c/i/a/c/{a2/k0 => x2/l0}/a.java (70%) create mode 100644 app/src/main/java/c/i/a/c/x2/l0/b.java rename app/src/main/java/c/i/a/c/{a2/k0 => x2/l0}/c.java (78%) rename app/src/main/java/c/i/a/c/{a2/k0 => x2/l0}/d.java (51%) rename app/src/main/java/c/i/a/c/{a2/k0 => x2/l0}/e.java (63%) rename app/src/main/java/c/i/a/c/{a2 => x2}/m.java (66%) rename app/src/main/java/c/i/a/c/{a2 => x2}/n.java (80%) rename app/src/main/java/c/i/a/c/{a2 => x2}/o.java (76%) rename app/src/main/java/c/i/a/c/{a2 => x2}/p.java (93%) rename app/src/main/java/c/i/a/c/{a2 => x2}/q.java (68%) rename app/src/main/java/c/i/a/c/{a2 => x2}/r.java (79%) rename app/src/main/java/c/i/a/c/{a2 => x2}/s.java (80%) rename app/src/main/java/c/i/a/c/{a2 => x2}/t.java (79%) rename app/src/main/java/c/i/a/c/{a2 => x2}/u.java (64%) create mode 100644 app/src/main/java/c/i/a/c/x2/v.java rename app/src/main/java/c/i/a/c/{a2 => x2}/w.java (64%) create mode 100644 app/src/main/java/c/i/a/c/x2/x.java rename app/src/main/java/c/i/a/c/{a2/x.java => x2/y.java} (76%) rename app/src/main/java/c/i/a/c/{a2/y.java => x2/z.java} (50%) create mode 100644 app/src/main/java/c/i/a/c/y1.java delete mode 100644 app/src/main/java/c/i/a/c/y1/a.java delete mode 100644 app/src/main/java/c/i/a/c/y1/b.java rename app/src/main/java/c/i/a/c/{b2 => y2}/a.java (79%) rename app/src/main/java/c/i/a/c/{b2 => y2}/b.java (79%) rename app/src/main/java/c/i/a/c/{b2 => y2}/c.java (65%) rename app/src/main/java/c/i/a/c/{b2 => y2}/d.java (98%) rename app/src/main/java/c/i/a/c/{b2 => y2}/e.java (79%) rename app/src/main/java/c/i/a/c/{b2 => y2}/f.java (83%) rename app/src/main/java/c/i/a/c/{b2 => y2}/g.java (63%) rename app/src/main/java/c/i/a/c/{b2 => y2}/h.java (96%) create mode 100644 app/src/main/java/c/i/a/c/y2/i.java rename app/src/main/java/c/i/a/c/{b2 => y2}/j.java (94%) rename app/src/main/java/c/i/a/c/{b2 => y2}/k.java (73%) rename app/src/main/java/c/i/a/c/{b2 => y2}/l.java (52%) rename app/src/main/java/c/i/a/c/{b2 => y2}/m.java (79%) rename app/src/main/java/c/i/a/c/{b2 => y2}/n.java (81%) rename app/src/main/java/c/i/a/c/{b2 => y2}/o.java (75%) rename app/src/main/java/c/i/a/c/{b2 => y2}/p.java (88%) rename app/src/main/java/c/i/a/c/{b2 => y2}/q.java (52%) create mode 100644 app/src/main/java/c/i/a/c/y2/r.java rename app/src/main/java/c/i/a/c/{i2/n.java => y2/s.java} (84%) create mode 100644 app/src/main/java/c/i/a/c/y2/t.java rename app/src/main/java/c/i/a/c/{b2/s.java => y2/u.java} (66%) rename app/src/main/java/c/i/a/c/{b2/t.java => y2/v.java} (66%) create mode 100644 app/src/main/java/c/i/a/c/y2/w.java create mode 100644 app/src/main/java/c/i/a/c/z1.java delete mode 100644 app/src/main/java/c/i/a/c/z1/a0.java delete mode 100644 app/src/main/java/c/i/a/c/z1/b.java delete mode 100644 app/src/main/java/c/i/a/c/z1/b0.java delete mode 100644 app/src/main/java/c/i/a/c/z1/c.java delete mode 100644 app/src/main/java/c/i/a/c/z1/c0.java delete mode 100644 app/src/main/java/c/i/a/c/z1/e.java delete mode 100644 app/src/main/java/c/i/a/c/z1/f.java delete mode 100644 app/src/main/java/c/i/a/c/z1/g.java delete mode 100644 app/src/main/java/c/i/a/c/z1/h.java delete mode 100644 app/src/main/java/c/i/a/c/z1/i.java delete mode 100644 app/src/main/java/c/i/a/c/z1/j.java delete mode 100644 app/src/main/java/c/i/a/c/z1/k.java delete mode 100644 app/src/main/java/c/i/a/c/z1/l.java delete mode 100644 app/src/main/java/c/i/a/c/z1/n.java delete mode 100644 app/src/main/java/c/i/a/c/z1/o.java delete mode 100644 app/src/main/java/c/i/a/c/z1/q.java delete mode 100644 app/src/main/java/c/i/a/c/z1/r.java delete mode 100644 app/src/main/java/c/i/a/c/z1/s.java delete mode 100644 app/src/main/java/c/i/a/c/z1/t.java delete mode 100644 app/src/main/java/c/i/a/c/z1/w.java rename app/src/main/java/c/i/a/c/{c2 => z2}/a.java (63%) rename app/src/main/java/c/i/a/c/{c2 => z2}/b.java (90%) rename app/src/main/java/c/i/a/c/{c2 => z2}/c.java (70%) rename app/src/main/java/c/i/a/c/{c2 => z2}/d.java (91%) rename app/src/main/java/c/i/a/c/{c2 => z2}/e.java (69%) create mode 100644 app/src/main/java/c/i/a/c/z2/f.java rename app/src/main/java/c/i/a/c/{c2 => z2}/g.java (84%) rename app/src/main/java/c/i/a/c/{c2 => z2}/h/a.java (53%) rename app/src/main/java/c/i/a/c/{c2 => z2}/i/a.java (53%) rename app/src/main/java/c/i/a/c/{c2 => z2}/i/b.java (52%) rename app/src/main/java/c/i/a/c/{c2 => z2}/j/a.java (67%) rename app/src/main/java/c/i/a/c/{c2 => z2}/k/a.java (76%) rename app/src/main/java/c/i/a/c/{c2 => z2}/k/b.java (51%) rename app/src/main/java/c/i/a/c/{c2 => z2}/l/a.java (57%) delete mode 100644 app/src/main/java/c/i/b/b/a1.java delete mode 100644 app/src/main/java/c/i/b/b/b1.java delete mode 100644 app/src/main/java/c/i/b/b/c1.java delete mode 100644 app/src/main/java/c/i/b/b/d1.java delete mode 100644 app/src/main/java/c/i/b/b/t0.java delete mode 100644 app/src/main/java/c/i/b/b/u0.java delete mode 100644 app/src/main/java/c/i/b/b/w0.java delete mode 100644 app/src/main/java/c/i/b/b/x0.java delete mode 100644 app/src/main/java/c/i/b/b/y0.java delete mode 100644 app/src/main/java/c/i/b/b/z0.java delete mode 100644 app/src/main/java/c/q/a/k/e.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackMultiAccountAssociation.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackMultiAccountAssociationReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionGroupListingCreated.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionGroupListingCreatedReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingCreated.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingCreatedReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingDeleted.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingDeletedReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingPublished.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingPublishedReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingUpdated.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingUpdatedReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingUpsellPageViewed.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackRoleSubscriptionListingUpsellPageViewedReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackUploadDragAndDropCount.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackUploadDragAndDropCountReceiver.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackUploadFileLimitError.java create mode 100644 app/src/main/java/com/discord/analytics/generated/events/TrackUploadFileLimitErrorReceiver.java rename app/src/main/java/com/discord/stores/{StoreGuildScheduledEvents$toggleRsvpGuildScheduledEvent$1.java => StoreGuildScheduledEvents$toggleMeRsvpForEvent$1.java} (64%) create mode 100644 app/src/main/java/com/discord/widgets/guildscheduledevent/WidgetGuildScheduledEventDetailsBottomSheet$configureUi$9.java delete mode 100644 app/src/main/java/com/google/android/exoplayer2/Format.java create mode 100644 app/src/main/java/com/google/android/exoplayer2/PlaybackException.java create mode 100644 app/src/main/java/com/google/android/exoplayer2/decoder/CryptoException.java delete mode 100644 app/src/main/java/com/google/android/exoplayer2/drm/DecryptionException.java delete mode 100644 app/src/main/java/com/google/android/exoplayer2/source/TrackGroup.java delete mode 100644 app/src/main/java/com/google/android/exoplayer2/source/TrackGroupArray.java delete mode 100644 app/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java delete mode 100644 app/src/main/java/com/google/android/exoplayer2/trackselection/TrackSelectionParameters.java create mode 100644 app/src/main/java/com/google/android/exoplayer2/util/GlUtil.java delete mode 100644 app/src/main/java/com/google/android/exoplayer2/video/ColorInfo.java create mode 100644 app/src/main/java/h0/b/a/f/c.java create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_fastforward.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_fullscreen_enter.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_fullscreen_exit.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_next.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_pause.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_play.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_previous.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_repeat_all.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_repeat_off.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_repeat_one.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_rewind.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_shuffle_off.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_shuffle_on.png create mode 100644 app/src/main/res/drawable-xxxhdpi/exo_icon_stop.png diff --git a/app/build.gradle b/app/build.gradle index 539e6bcf46..d87ea93174 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId 'com.discord' minSdkVersion 21 targetSdkVersion 30 - versionCode 101201 - versionName "101.1 - Alpha" + versionCode 101202 + versionName "101.2 - Alpha" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index baa50b1fb2..74f0402d94 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ - + @@ -179,7 +179,7 @@ - + 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 d9087b89d0..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; @@ -34,7 +36,7 @@ import java.util.Objects; 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.f13c); - 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."); } } 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 f13c; - public final a d = new a(this); - public final ArrayMap e = new ArrayMap<>(); - public h f; + 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.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/MediaSessionCompat.java b/app/src/main/java/android/support/v4/media/session/MediaSessionCompat.java index f7242094a9..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 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 3ec464b918..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"}) @@ -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; @@ -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.r, "}"); + return c.d.b.a.a.B(sb, this.r, "}"); } @Override // android.os.Parcelable 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/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/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 9a6689368b..ba33f9664a 100644 --- a/app/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java +++ b/app/src/main/java/androidx/appcompat/app/AppCompatDelegateImpl.java @@ -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."); 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/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/trusted/ConnectionHolder.java b/app/src/main/java/androidx/browser/trusted/ConnectionHolder.java index 1ed95f1cfc..5a2465d257 100644 --- a/app/src/main/java/androidx/browser/trusted/ConnectionHolder.java +++ b/app/src/main/java/androidx/browser/trusted/ConnectionHolder.java @@ -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 diff --git a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java index fd7159836e..fe9b9a8bc2 100644 --- a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java +++ b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnection.java @@ -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 65a6564262..3bb1959ab3 100644 --- a/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnectionPool.java +++ b/app/src/main/java/androidx/browser/trusted/TrustedWebActivityServiceConnectionPool.java @@ -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/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/MotionController.java b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionController.java index 8ddda9d2e0..7c95ab9b53 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionController.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionController.java @@ -174,10 +174,10 @@ public class MotionController { private void insertKey(MotionPaths motionPaths) { int binarySearch = Collections.binarySearch(this.mMotionPaths, motionPaths); if (binarySearch == 0) { - StringBuilder O = a.O(" KeyPath positon \""); - O.append(motionPaths.position); - O.append("\" outside of range"); - Log.e(TAG, O.toString()); + StringBuilder R = a.R(" KeyPath positon \""); + R.append(motionPaths.position); + R.append("\" outside of range"); + Log.e(TAG, R.toString()); } this.mMotionPaths.add((-binarySearch) - 1, motionPaths); } @@ -1154,11 +1154,11 @@ public class MotionController { break; } if (iArr4[i15] < MotionPaths.names.length) { - String G = a.G(new StringBuilder(), MotionPaths.names[this.mInterpolateVariables[i15]], " ["); + String H = a.H(new StringBuilder(), MotionPaths.names[this.mInterpolateVariables[i15]], " ["); for (int i16 = 0; i16 < size; i16++) { - StringBuilder O = a.O(G); - O.append(dArr[i16][i15]); - G = O.toString(); + StringBuilder R = a.R(H); + R.append(dArr[i16][i15]); + H = R.toString(); } } i15++; @@ -1242,14 +1242,14 @@ public class MotionController { } public String toString() { - StringBuilder O = a.O(" start: x: "); - O.append(this.mStartMotionPath.f21x); - O.append(" y: "); - O.append(this.mStartMotionPath.f22y); - O.append(" end: x: "); - O.append(this.mEndMotionPath.f21x); - O.append(" y: "); - O.append(this.mEndMotionPath.f22y); - return O.toString(); + StringBuilder R = a.R(" start: x: "); + R.append(this.mStartMotionPath.f21x); + R.append(" y: "); + R.append(this.mStartMotionPath.f22y); + R.append(" end: x: "); + R.append(this.mEndMotionPath.f21x); + R.append(" y: "); + R.append(this.mEndMotionPath.f22y); + return R.toString(); } } diff --git a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionLayout.java b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionLayout.java index 5129e1f6a6..79c0cbd6ee 100644 --- a/app/src/main/java/androidx/constraintlayout/motion/widget/MotionLayout.java +++ b/app/src/main/java/androidx/constraintlayout/motion/widget/MotionLayout.java @@ -321,15 +321,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar float max = Math.max(f4, f6); float min2 = f - Math.min(f3, f5); float max2 = Math.max(f4, f6) - f2; - StringBuilder O = a.O(""); - O.append(((float) ((int) (((double) ((min2 * 100.0f) / Math.abs(f5 - f3))) + 0.5d))) / 100.0f); - String sb = O.toString(); + StringBuilder R = a.R(""); + R.append(((float) ((int) (((double) ((min2 * 100.0f) / Math.abs(f5 - f3))) + 0.5d))) / 100.0f); + String sb = R.toString(); getTextBounds(sb, this.mTextPaint); canvas.drawText(sb, ((min2 / 2.0f) - ((float) (this.mBounds.width() / 2))) + min, f2 - 20.0f, this.mTextPaint); canvas.drawLine(f, f2, Math.min(f3, f5), f2, this.mPaintGraph); - StringBuilder O2 = a.O(""); - O2.append(((float) ((int) (((double) ((max2 * 100.0f) / Math.abs(f6 - f4))) + 0.5d))) / 100.0f); - String sb2 = O2.toString(); + StringBuilder R2 = a.R(""); + R2.append(((float) ((int) (((double) ((max2 * 100.0f) / Math.abs(f6 - f4))) + 0.5d))) / 100.0f); + String sb2 = R2.toString(); getTextBounds(sb2, this.mTextPaint); canvas.drawText(sb2, f + 5.0f, max - ((max2 / 2.0f) - ((float) (this.mBounds.height() / 2))), this.mTextPaint); canvas.drawLine(f, f2, f, Math.max(f4, f6), this.mPaintGraph); @@ -356,24 +356,24 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar path.moveTo(f, f2); path.lineTo(f10, f11); float hypot2 = (float) Math.hypot((double) (f10 - f), (double) (f11 - f2)); - StringBuilder O = a.O(""); - O.append(((float) ((int) ((hypot2 * 100.0f) / hypot))) / 100.0f); - String sb = O.toString(); + StringBuilder R = a.R(""); + R.append(((float) ((int) ((hypot2 * 100.0f) / hypot))) / 100.0f); + String sb = R.toString(); getTextBounds(sb, this.mTextPaint); canvas.drawTextOnPath(sb, path, (hypot2 / 2.0f) - ((float) (this.mBounds.width() / 2)), -20.0f, this.mTextPaint); canvas.drawLine(f, f2, f10, f11, this.mPaintGraph); } private void drawPathScreenTicks(Canvas canvas, float f, float f2, int i, int i2) { - StringBuilder O = a.O(""); - O.append(((float) ((int) (((double) (((f - ((float) (i / 2))) * 100.0f) / ((float) (MotionLayout.this.getWidth() - i)))) + 0.5d))) / 100.0f); - String sb = O.toString(); + StringBuilder R = a.R(""); + R.append(((float) ((int) (((double) (((f - ((float) (i / 2))) * 100.0f) / ((float) (MotionLayout.this.getWidth() - i)))) + 0.5d))) / 100.0f); + String sb = R.toString(); getTextBounds(sb, this.mTextPaint); canvas.drawText(sb, ((f / 2.0f) - ((float) (this.mBounds.width() / 2))) + 0.0f, f2 - 20.0f, this.mTextPaint); canvas.drawLine(f, f2, Math.min(0.0f, 1.0f), f2, this.mPaintGraph); - StringBuilder O2 = a.O(""); - O2.append(((float) ((int) (((double) (((f2 - ((float) (i2 / 2))) * 100.0f) / ((float) (MotionLayout.this.getHeight() - i2)))) + 0.5d))) / 100.0f); - String sb2 = O2.toString(); + StringBuilder R2 = a.R(""); + R2.append(((float) ((int) (((double) (((f2 - ((float) (i2 / 2))) * 100.0f) / ((float) (MotionLayout.this.getHeight() - i2)))) + 0.5d))) / 100.0f); + String sb2 = R2.toString(); getTextBounds(sb2, this.mTextPaint); canvas.drawText(sb2, f + 5.0f, 0.0f - ((f2 / 2.0f) - ((float) (this.mBounds.height() / 2))), this.mTextPaint); canvas.drawLine(f, f2, f, Math.max(0.0f, 1.0f), this.mPaintGraph); @@ -558,34 +558,34 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar } private void debugLayout(String str, ConstraintWidgetContainer constraintWidgetContainer) { - StringBuilder S = a.S(str, " "); - S.append(Debug.getName((View) constraintWidgetContainer.getCompanionWidget())); - String sb = S.toString(); + StringBuilder V = a.V(str, " "); + V.append(Debug.getName((View) constraintWidgetContainer.getCompanionWidget())); + String sb = V.toString(); Log.v(MotionLayout.TAG, sb + " ========= " + constraintWidgetContainer); int size = constraintWidgetContainer.getChildren().size(); for (int i = 0; i < size; i++) { String str2 = sb + "[" + i + "] "; ConstraintWidget constraintWidget = constraintWidgetContainer.getChildren().get(i); - StringBuilder O = a.O(""); + StringBuilder R = a.R(""); String str3 = "_"; - O.append(constraintWidget.mTop.mTarget != null ? ExifInterface.GPS_DIRECTION_TRUE : str3); - StringBuilder O2 = a.O(O.toString()); - O2.append(constraintWidget.mBottom.mTarget != null ? "B" : str3); - StringBuilder O3 = a.O(O2.toString()); - O3.append(constraintWidget.mLeft.mTarget != null ? "L" : str3); - StringBuilder O4 = a.O(O3.toString()); + R.append(constraintWidget.mTop.mTarget != null ? ExifInterface.GPS_DIRECTION_TRUE : str3); + StringBuilder R2 = a.R(R.toString()); + R2.append(constraintWidget.mBottom.mTarget != null ? "B" : str3); + StringBuilder R3 = a.R(R2.toString()); + R3.append(constraintWidget.mLeft.mTarget != null ? "L" : str3); + StringBuilder R4 = a.R(R3.toString()); if (constraintWidget.mRight.mTarget != null) { str3 = "R"; } - O4.append(str3); - String sb2 = O4.toString(); + R4.append(str3); + String sb2 = R4.toString(); View view = (View) constraintWidget.getCompanionWidget(); String name = Debug.getName(view); if (view instanceof TextView) { - StringBuilder S2 = a.S(name, "("); - S2.append((Object) ((TextView) view).getText()); - S2.append(")"); - name = S2.toString(); + StringBuilder V2 = a.V(name, "("); + V2.append((Object) ((TextView) view).getText()); + V2.append(")"); + name = V2.toString(); } Log.v(MotionLayout.TAG, str2 + " " + name + " " + constraintWidget + " " + sb2); } @@ -593,35 +593,35 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar } private void debugLayoutParam(String str, ConstraintLayout.LayoutParams layoutParams) { - StringBuilder O = a.O(" "); - O.append(layoutParams.startToStart != -1 ? "SS" : "__"); - StringBuilder O2 = a.O(O.toString()); + StringBuilder R = a.R(" "); + R.append(layoutParams.startToStart != -1 ? "SS" : "__"); + StringBuilder R2 = a.R(R.toString()); String str2 = "|__"; - O2.append(layoutParams.startToEnd != -1 ? "|SE" : str2); - StringBuilder O3 = a.O(O2.toString()); - O3.append(layoutParams.endToStart != -1 ? "|ES" : str2); - StringBuilder O4 = a.O(O3.toString()); - O4.append(layoutParams.endToEnd != -1 ? "|EE" : str2); - StringBuilder O5 = a.O(O4.toString()); - O5.append(layoutParams.leftToLeft != -1 ? "|LL" : str2); - StringBuilder O6 = a.O(O5.toString()); - O6.append(layoutParams.leftToRight != -1 ? "|LR" : str2); - StringBuilder O7 = a.O(O6.toString()); - O7.append(layoutParams.rightToLeft != -1 ? "|RL" : str2); - StringBuilder O8 = a.O(O7.toString()); - O8.append(layoutParams.rightToRight != -1 ? "|RR" : str2); - StringBuilder O9 = a.O(O8.toString()); - O9.append(layoutParams.topToTop != -1 ? "|TT" : str2); - StringBuilder O10 = a.O(O9.toString()); - O10.append(layoutParams.topToBottom != -1 ? "|TB" : str2); - StringBuilder O11 = a.O(O10.toString()); - O11.append(layoutParams.bottomToTop != -1 ? "|BT" : str2); - StringBuilder O12 = a.O(O11.toString()); + R2.append(layoutParams.startToEnd != -1 ? "|SE" : str2); + StringBuilder R3 = a.R(R2.toString()); + R3.append(layoutParams.endToStart != -1 ? "|ES" : str2); + StringBuilder R4 = a.R(R3.toString()); + R4.append(layoutParams.endToEnd != -1 ? "|EE" : str2); + StringBuilder R5 = a.R(R4.toString()); + R5.append(layoutParams.leftToLeft != -1 ? "|LL" : str2); + StringBuilder R6 = a.R(R5.toString()); + R6.append(layoutParams.leftToRight != -1 ? "|LR" : str2); + StringBuilder R7 = a.R(R6.toString()); + R7.append(layoutParams.rightToLeft != -1 ? "|RL" : str2); + StringBuilder R8 = a.R(R7.toString()); + R8.append(layoutParams.rightToRight != -1 ? "|RR" : str2); + StringBuilder R9 = a.R(R8.toString()); + R9.append(layoutParams.topToTop != -1 ? "|TT" : str2); + StringBuilder R10 = a.R(R9.toString()); + R10.append(layoutParams.topToBottom != -1 ? "|TB" : str2); + StringBuilder R11 = a.R(R10.toString()); + R11.append(layoutParams.bottomToTop != -1 ? "|BT" : str2); + StringBuilder R12 = a.R(R11.toString()); if (layoutParams.bottomToBottom != -1) { str2 = "|BB"; } - O12.append(str2); - String sb = O12.toString(); + R12.append(str2); + String sb = R12.toString(); Log.v(MotionLayout.TAG, str + sb); } @@ -629,50 +629,50 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar String str2; String str3; String str4; - StringBuilder O = a.O(" "); + StringBuilder R = a.R(" "); String str5 = "B"; String str6 = "__"; if (constraintWidget.mTop.mTarget != null) { - StringBuilder O2 = a.O(ExifInterface.GPS_DIRECTION_TRUE); - O2.append(constraintWidget.mTop.mTarget.mType == ConstraintAnchor.Type.TOP ? ExifInterface.GPS_DIRECTION_TRUE : str5); - str2 = O2.toString(); + StringBuilder R2 = a.R(ExifInterface.GPS_DIRECTION_TRUE); + R2.append(constraintWidget.mTop.mTarget.mType == ConstraintAnchor.Type.TOP ? ExifInterface.GPS_DIRECTION_TRUE : str5); + str2 = R2.toString(); } else { str2 = str6; } - O.append(str2); - StringBuilder O3 = a.O(O.toString()); + R.append(str2); + StringBuilder R3 = a.R(R.toString()); if (constraintWidget.mBottom.mTarget != null) { - StringBuilder O4 = a.O(str5); + StringBuilder R4 = a.R(str5); if (constraintWidget.mBottom.mTarget.mType == ConstraintAnchor.Type.TOP) { str5 = ExifInterface.GPS_DIRECTION_TRUE; } - O4.append(str5); - str3 = O4.toString(); + R4.append(str5); + str3 = R4.toString(); } else { str3 = str6; } - O3.append(str3); - StringBuilder O5 = a.O(O3.toString()); + R3.append(str3); + StringBuilder R5 = a.R(R3.toString()); String str7 = "R"; if (constraintWidget.mLeft.mTarget != null) { - StringBuilder O6 = a.O("L"); - O6.append(constraintWidget.mLeft.mTarget.mType == ConstraintAnchor.Type.LEFT ? "L" : str7); - str4 = O6.toString(); + StringBuilder R6 = a.R("L"); + R6.append(constraintWidget.mLeft.mTarget.mType == ConstraintAnchor.Type.LEFT ? "L" : str7); + str4 = R6.toString(); } else { str4 = str6; } - O5.append(str4); - StringBuilder O7 = a.O(O5.toString()); + R5.append(str4); + StringBuilder R7 = a.R(R5.toString()); if (constraintWidget.mRight.mTarget != null) { - StringBuilder O8 = a.O(str7); + StringBuilder R8 = a.R(str7); if (constraintWidget.mRight.mTarget.mType == ConstraintAnchor.Type.LEFT) { str7 = "L"; } - O8.append(str7); - str6 = O8.toString(); + R8.append(str7); + str6 = R8.toString(); } - O7.append(str6); - String sb = O7.toString(); + R7.append(str6); + String sb = R7.toString(); Log.v(MotionLayout.TAG, str + sb + " --- " + constraintWidget); } @@ -1255,15 +1255,15 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar View childAt = getChildAt(i2); int id2 = childAt.getId(); if (id2 == -1) { - StringBuilder U = a.U("CHECK: ", name, " ALL VIEWS SHOULD HAVE ID's "); - U.append(childAt.getClass().getName()); - U.append(" does not!"); - Log.w(TAG, U.toString()); + StringBuilder W = a.W("CHECK: ", name, " ALL VIEWS SHOULD HAVE ID's "); + W.append(childAt.getClass().getName()); + W.append(" does not!"); + Log.w(TAG, W.toString()); } if (constraintSet.getConstraint(id2) == null) { - StringBuilder U2 = a.U("CHECK: ", name, " NO CONSTRAINTS for "); - U2.append(Debug.getName(childAt)); - Log.w(TAG, U2.toString()); + StringBuilder W2 = a.W("CHECK: ", name, " NO CONSTRAINTS for "); + W2.append(Debug.getName(childAt)); + Log.w(TAG, W2.toString()); } } int[] knownIds = constraintSet.getKnownIds(); @@ -1283,9 +1283,9 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar } private void checkStructure(MotionScene.Transition transition) { - StringBuilder O = a.O("CHECK: transition = "); - O.append(transition.debugString(getContext())); - Log.v(TAG, O.toString()); + StringBuilder R = a.R("CHECK: transition = "); + R.append(transition.debugString(getContext())); + Log.v(TAG, R.toString()); Log.v(TAG, "CHECK: transition.setDuration = " + transition.getDuration()); if (transition.getStartConstraintSetId() == transition.getEndConstraintSetId()) { Log.e(TAG, "CHECK: start and end constraint set should not be the same!"); @@ -1306,18 +1306,18 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar private void debugPos() { for (int i = 0; i < getChildCount(); i++) { View childAt = getChildAt(i); - StringBuilder O = a.O(" "); - O.append(Debug.getLocation()); - O.append(" "); - O.append(Debug.getName(this)); - O.append(" "); - O.append(Debug.getName(getContext(), this.mCurrentState)); - O.append(" "); - O.append(Debug.getName(childAt)); - O.append(childAt.getLeft()); - O.append(" "); - O.append(childAt.getTop()); - Log.v(TAG, O.toString()); + StringBuilder R = a.R(" "); + R.append(Debug.getLocation()); + R.append(" "); + R.append(Debug.getName(this)); + R.append(" "); + R.append(Debug.getName(getContext(), this.mCurrentState)); + R.append(" "); + R.append(Debug.getName(childAt)); + R.append(childAt.getLeft()); + R.append(" "); + R.append(childAt.getTop()); + Log.v(TAG, R.toString()); } } @@ -1647,14 +1647,14 @@ public class MotionLayout extends ConstraintLayout implements NestedScrollingPar } Paint paint = new Paint(); paint.setTextSize(42.0f); - StringBuilder O = a.O(this.mLastFps + " fps " + Debug.getState(this, this.mBeginState) + " -> "); - 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/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 34df577665..4928d16d9d 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/ArrayLinkedVariables.java +++ b/app/src/main/java/androidx/constraintlayout/solver/ArrayLinkedVariables.java @@ -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 50c95b5edd..d7d788b8d3 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/ArrayRow.java +++ b/app/src/main/java/androidx/constraintlayout/solver/ArrayRow.java @@ -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 bfe51984f7..4f34e3b22a 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/LinearSystem.java +++ b/app/src/main/java/androidx/constraintlayout/solver/LinearSystem.java @@ -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 { @@ -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) { @@ -812,34 +812,34 @@ public class LinearSystem { 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 f369b9a594..e11f71d2ce 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/PriorityGoalRow.java +++ b/app/src/main/java/androidx/constraintlayout/solver/PriorityGoalRow.java @@ -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(); } } @@ -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 53c328dec6..522586c119 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/SolverVariable.java +++ b/app/src/main/java/androidx/constraintlayout/solver/SolverVariable.java @@ -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()); } @@ -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.f23id); - 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 2036ff30eb..12eceb74f2 100644 --- a/app/src/main/java/androidx/constraintlayout/solver/SolverVariableValues.java +++ b/app/src/main/java/androidx/constraintlayout/solver/SolverVariableValues.java @@ -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]; @@ -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/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/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 cf40da7238..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 @@ -200,13 +200,13 @@ public class WidgetGroup { StringBuilder sb = new StringBuilder(); sb.append(getOrientationString()); sb.append(" ["); - String z2 = a.z(sb, this.f26id, "] <"); + 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/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/NotificationManagerCompat.java b/app/src/main/java/androidx/core/app/NotificationManagerCompat.java index e2b19694f0..32e5f4c644 100644 --- a/app/src/main/java/androidx/core/app/NotificationManagerCompat.java +++ b/app/src/main/java/androidx/core/app/NotificationManagerCompat.java @@ -106,7 +106,7 @@ public final class NotificationManagerCompat { 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, "]"); } } @@ -138,7 +138,7 @@ public final class NotificationManagerCompat { sb.append(", id:"); 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/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/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/graphics/CanvasKt.java b/app/src/main/java/androidx/core/graphics/CanvasKt.java index a2c2de1e57..11fc3598b2 100644 --- a/app/src/main/java/androidx/core/graphics/CanvasKt.java +++ b/app/src/main/java/androidx/core/graphics/CanvasKt.java @@ -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/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/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/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/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/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/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/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/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/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/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/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/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/Pair.java b/app/src/main/java/androidx/core/util/Pair.java index d4640b1b0b..47c33d00e0 100644 --- a/app/src/main/java/androidx/core/util/Pair.java +++ b/app/src/main/java/androidx/core/util/Pair.java @@ -37,11 +37,11 @@ public class Pair { @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/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 08533f038e..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 @@ -12,7 +12,7 @@ public final class RangeKt$toClosedRange$1 implements a { @Override // d0.d0.a public boolean contains(T t) { - return a.C0197a.contains(this, t); + return a.C0196a.contains(this, t); } /* JADX WARNING: Unknown variable types count: 1 */ @@ -28,6 +28,6 @@ public final class RangeKt$toClosedRange$1 implements a { } public boolean isEmpty() { - return a.C0197a.isEmpty(this); + return a.C0196a.isEmpty(this); } } 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/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.java b/app/src/main/java/androidx/core/view/ViewGroupKt.java index 696d28091c..bd15b1d57c 100644 --- a/app/src/main/java/androidx/core/view/ViewGroupKt.java +++ b/app/src/main/java/androidx/core/view/ViewGroupKt.java @@ -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/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/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/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 1f53d54e08..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(); } @@ -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()); } } @@ -3121,7 +3121,7 @@ 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; @@ -3155,7 +3155,7 @@ public class ExifInterface { 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); } @@ -3283,18 +3283,18 @@ public class ExifInterface { 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()); } } } 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; @@ -3305,7 +3305,7 @@ public class ExifInterface { i5 = i; 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); } s3 = readShort; s2 = s4; @@ -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/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/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/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/lifecycle/BlockRunner$cancel$1.java b/app/src/main/java/androidx/lifecycle/BlockRunner$cancel$1.java index f8079067d3..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,6 +1,6 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.l; import d0.w.h.c; import d0.w.i.a.e; @@ -43,7 +43,7 @@ public final class BlockRunner$cancel$1 extends k implements Function2 { 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 0e31ed2fbe..3ce1e307ce 100644 --- a/app/src/main/java/androidx/lifecycle/CloseableCoroutineScope.java +++ b/app/src/main/java/androidx/lifecycle/CloseableCoroutineScope.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import java.io.Closeable; import kotlin.coroutines.CoroutineContext; @@ -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.java b/app/src/main/java/androidx/lifecycle/CoroutineLiveData.java index 60234e09a0..3b8bf6d8f8 100644 --- a/app/src/main/java/androidx/lifecycle/CoroutineLiveData.java +++ b/app/src/main/java/androidx/lifecycle/CoroutineLiveData.java @@ -1,8 +1,7 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.l; -import d0.w.f; import d0.w.h.c; import d0.z.d.m; import d0.z.d.o; @@ -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.java b/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt.java index f4402f30af..cbab735232 100644 --- a/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt.java +++ b/app/src/main/java/androidx/lifecycle/CoroutineLiveDataKt.java @@ -1,8 +1,7 @@ package androidx.lifecycle; import androidx.annotation.RequiresApi; -import c.q.a.k.a; -import d0.w.f; +import c.i.a.f.e.o.f; import d0.z.d.m; import java.time.Duration; import kotlin.Unit; @@ -18,7 +17,7 @@ public final class CoroutineLiveDataKt { 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/EmittedSource.java b/app/src/main/java/androidx/lifecycle/EmittedSource.java index 4f560b2c08..4f6e54d57b 100644 --- a/app/src/main/java/androidx/lifecycle/EmittedSource.java +++ b/app/src/main/java/androidx/lifecycle/EmittedSource.java @@ -1,7 +1,7 @@ package androidx.lifecycle; import androidx.annotation.MainThread; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.w.h.c; import d0.z.d.m; import kotlin.Unit; @@ -39,12 +39,12 @@ public final class EmittedSource implements l0 { @Override // s.a.l0 public void dispose() { CoroutineDispatcher coroutineDispatcher = j0.a; - a.H(a.a(n.b.H()), null, null, new EmittedSource$dispose$1(this, null), 3, null); + f.x0(f.a(n.b.H()), null, null, new EmittedSource$dispose$1(this, null), 3, null); } public final Object disposeNow(Continuation continuation) { CoroutineDispatcher coroutineDispatcher = j0.a; - Object j02 = a.j0(n.b.H(), new EmittedSource$disposeNow$2(this, null), continuation); - return j02 == c.getCOROUTINE_SUSPENDED() ? j02 : 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.java b/app/src/main/java/androidx/lifecycle/FlowLiveDataConversions$asFlow$1.java index 7d1a121c4a..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,6 +1,6 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.l; import d0.w.i.a.e; import d0.w.i.a.k; @@ -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; @@ -178,7 +178,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; } else if (i == 3) { eVar2 = (s.a.z1.e) this.L$2; @@ -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; } } @@ -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/LifecycleController$observer$1.java b/app/src/main/java/androidx/lifecycle/LifecycleController$observer$1.java index d7d36080f9..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,7 +1,7 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import kotlinx.coroutines.Job; /* compiled from: LifecycleController.kt */ @@ -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 f8a9bb38ae..cc4ca4ad0c 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleController.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleController.java @@ -2,7 +2,7 @@ package androidx.lifecycle; import androidx.annotation.MainThread; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import kotlinx.coroutines.Job; /* compiled from: LifecycleController.kt */ @@ -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.java b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope.java index 3b83bfddfb..70219e8246 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScope.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import kotlin.Unit; import kotlin.coroutines.Continuation; @@ -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 ef3884fdbb..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,7 +1,7 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.l; import d0.w.h.c; import d0.w.i.a.e; @@ -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 4577bc3c9e..32200043ee 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleCoroutineScopeImpl.java @@ -1,7 +1,7 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; @@ -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 7495634646..ab6f88e4c5 100644 --- a/app/src/main/java/androidx/lifecycle/LifecycleKt.java +++ b/app/src/main/java/androidx/lifecycle/LifecycleKt.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; @@ -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/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/LiveDataScopeImpl.java b/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl.java index f724c20985..35f7582b89 100644 --- a/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl.java +++ b/app/src/main/java/androidx/lifecycle/LiveDataScopeImpl.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.w.h.c; import d0.z.d.m; import kotlin.Unit; @@ -25,13 +25,13 @@ public final class LiveDataScopeImpl implements LiveDataScope { @Override // androidx.lifecycle.LiveDataScope public Object emit(T t, Continuation continuation) { - Object j02 = a.j0(this.coroutineContext, new LiveDataScopeImpl$emit$2(this, t, null), continuation); - return j02 == c.getCOROUTINE_SUSPENDED() ? j02 : 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/PausingDispatcherKt$whenStateAtLeast$2.java b/app/src/main/java/androidx/lifecycle/PausingDispatcherKt$whenStateAtLeast$2.java index 9588de15d3..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,7 +1,7 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.l; import d0.w.h.c; import d0.w.i.a.e; @@ -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 eda3e5de05..eeea5b8d58 100644 --- a/app/src/main/java/androidx/lifecycle/PausingDispatcherKt.java +++ b/app/src/main/java/androidx/lifecycle/PausingDispatcherKt.java @@ -1,7 +1,7 @@ package androidx.lifecycle; import androidx.lifecycle.Lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import kotlin.coroutines.Continuation; import kotlin.jvm.functions.Function2; @@ -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/ViewModelKt.java b/app/src/main/java/androidx/lifecycle/ViewModelKt.java index 7b78526f55..eba5419ef2 100644 --- a/app/src/main/java/androidx/lifecycle/ViewModelKt.java +++ b/app/src/main/java/androidx/lifecycle/ViewModelKt.java @@ -1,6 +1,6 @@ package androidx.lifecycle; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.z.d.m; import kotlin.coroutines.CoroutineContext; import kotlinx.coroutines.CoroutineDispatcher; @@ -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/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 e6a146cf1b..7752661b3f 100644 --- a/app/src/main/java/androidx/media/MediaBrowserServiceCompat.java +++ b/app/src/main/java/androidx/media/MediaBrowserServiceCompat.java @@ -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.java b/app/src/main/java/androidx/preference/PreferenceGroupKt.java index 4a0766cfc3..0eea3ca206 100644 --- a/app/src/main/java/androidx/preference/PreferenceGroupKt.java +++ b/app/src/main/java/androidx/preference/PreferenceGroupKt.java @@ -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 7a9e7d3a14..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.f29x - snake2.f29x; - return i == 0 ? snake.f30y - snake2.f30y : 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.f29x != 0 || snake.f30y != 0) { - Snake snake2 = new Snake(); - snake2.f29x = 0; - snake2.f30y = 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.f29x; - int i7 = snake.size; - int i8 = i6 + i7; - int i9 = snake.f30y + 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.f29x; - i2 = snake.f30y; - 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.f29x; - int i4 = snake.size; - int i5 = i3 + i4; - int i6 = snake.f30y + 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.f29x + i7; - int i9 = snake.f30y + i7; - int i10 = this.mCallback.areContentsTheSame(i8, i9) ? 1 : 2; - this.mOldItemStatuses[i8] = (i9 << 5) | i10; - this.mNewItemStatuses[i9] = (i8 << 5) | i10; - } - i = snake.f29x; - i2 = snake.f30y; + } + 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.f29x + i3; - int i5 = snake.f30y + 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.f29x; - if ((iArr[i7 + i6] & 31) == 2) { - batchingListUpdateCallback.onChanged(i7 + i6, 1, this.mCallback.getChangePayload(i7 + i6, snake.f30y + 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.f29x; - i2 = snake.f30y; + 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 f29x; + 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 f30y; + 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.f29x += range.oldListStart; - diffPartial.f30y += 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.f29x; - range2.newListEnd = diffPartial.f30y; - } else if (diffPartial.removal) { - range2.oldListEnd = diffPartial.f29x - 1; - range2.newListEnd = diffPartial.f30y; - } else { - range2.oldListEnd = diffPartial.f29x; - range2.newListEnd = diffPartial.f30y - 1; - } + range2.oldListEnd = midPoint.startX; + range2.newListEnd = midPoint.startY; arrayList2.add(range2); - if (!diffPartial.reverse) { - int i2 = diffPartial.f29x; - int i3 = diffPartial.size; - range.oldListStart = i2 + i3; - range.newListStart = diffPartial.f30y + i3; - } else if (diffPartial.removal) { - int i4 = diffPartial.f29x; - int i5 = diffPartial.size; - range.oldListStart = i4 + i5 + 1; - range.newListStart = diffPartial.f30y + i5; - } else { - int i6 = diffPartial.f29x; - int i7 = diffPartial.size; - range.oldListStart = i6 + i7; - range.newListStart = diffPartial.f30y + 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.f29x = i24; - snake.f30y = 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.f29x = i29; - snake2.f30y = 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/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 b8103d66b5..dea57a6373 100644 --- a/app/src/main/java/androidx/versionedparcelable/VersionedParcel.java +++ b/app/src/main/java/androidx/versionedparcelable/VersionedParcel.java @@ -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 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/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/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/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/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/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/model/WorkSpec.java b/app/src/main/java/androidx/work/impl/model/WorkSpec.java index 917f4e7fad..7f218c92c1 100644 --- a/app/src/main/java/androidx/work/impl/model/WorkSpec.java +++ b/app/src/main/java/androidx/work/impl/model/WorkSpec.java @@ -353,6 +353,6 @@ public final class WorkSpec { @NonNull public String toString() { - return a.G(a.O("{WorkSpec: "), this.f31id, "}"); + return a.H(a.R("{WorkSpec: "), this.f31id, "}"); } } 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/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/c/a/a/a.java b/app/src/main/java/c/a/a/a.java index e064053284..9ab994b972 100644 --- a/app/src/main/java/c/a/a/a.java +++ b/app/src/main/java/c/a/a/a.java @@ -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; } @@ -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,22 +205,22 @@ 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)); + g().d.setOnClickListener(new View$OnClickListenerC0000a(4, this)); SwitchMaterial switchMaterial = g().f173c; m.checkNotNullExpressionValue(switchMaterial, "binding.imageUploadFaile…mpressionSettingsCheckbox"); switchMaterial.setChecked(StoreStream.Companion.getUserSettings().getIsAutoImageCompressionEnabled()); 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 cd99c7df33..308e4fc2c3 100644 --- a/app/src/main/java/c/a/a/b/a.java +++ b/app/src/main/java/c/a/a/b/a.java @@ -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; } @@ -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); @@ -247,9 +247,9 @@ public final class a extends AppDialog { public void onViewBound(View view) { m.checkNotNullParameter(view, "view"); super.onViewBound(view); - g().f152c.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/f.java b/app/src/main/java/c/a/a/b/f.java index f24a930a51..316018ed12 100644 --- a/app/src/main/java/c/a/a/b/f.java +++ b/app/src/main/java/c/a/a/b/f.java @@ -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 653216ef13..80416a59d4 100644 --- a/app/src/main/java/c/a/a/b/g.java +++ b/app/src/main/java/c/a/a/b/g.java @@ -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/c/a.java b/app/src/main/java/c/a/a/c/a.java index 8fb3d4c736..7ddebe8876 100644 --- a/app/src/main/java/c/a/a/c/a.java +++ b/app/src/main/java/c/a/a/c/a.java @@ -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; @@ -185,7 +185,7 @@ public final class a extends AppDialog { 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; @@ -216,8 +216,8 @@ public final class a extends AppDialog { 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().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.C0008c) { - Integer num = ((f.c.C0008c) cVar2).f; + } 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); } @@ -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().f191c.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 5b7ba6a165..fbc6beb28d 100644 --- a/app/src/main/java/c/a/a/c/b.java +++ b/app/src/main/java/c/a/a/c/b.java @@ -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,8 +94,8 @@ 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) { } } @@ -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; @@ -187,7 +187,7 @@ public final class b extends AppDialog { m.checkNotNullExpressionValue(materialButton2, "binding.premiumGuildSubscriptionUncancelNevermind"); ViewExtensions.setEnabledAndAlpha$default(materialButton2, z3 && !((k.c.b) cVar2).b, 0.0f, 2, null); bVar.g().f196c.setIsLoading(z3 && ((k.c.b) cVar2).b); - k.c.C0010c cVar3 = k.c.C0010c.a; + k.c.C0009c cVar3 = k.c.C0009c.a; if (!(!m.areEqual(cVar2, cVar3)) || !z3 || ((k.c.b) cVar2).b) { z2 = false; } 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 5760ee156f..78f548f1ea 100644 --- a/app/src/main/java/c/a/a/c/c.java +++ b/app/src/main/java/c/a/a/c/c.java @@ -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; } @@ -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 b1f72605e4..5ada096671 100644 --- a/app/src/main/java/c/a/a/c/d.java +++ b/app/src/main/java/c/a/a/c/d.java @@ -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/f.java b/app/src/main/java/c/a/a/c/f.java index 37a3ad6f6b..8f439d566c 100644 --- a/app/src/main/java/c/a/a/c/f.java +++ b/app/src/main/java/c/a/a/c/f.java @@ -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/i.java b/app/src/main/java/c/a/a/c/i.java index 7d619b5bc2..83fedcccd6 100644 --- a/app/src/main/java/c/a/a/c/i.java +++ b/app/src/main/java/c/a/a/c/i.java @@ -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/k.java b/app/src/main/java/c/a/a/c/k.java index e9928c040b..b84a6d916a 100644 --- a/app/src/main/java/c/a/a/c/k.java +++ b/app/src/main/java/c/a/a/c/k.java @@ -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/d.java b/app/src/main/java/c/a/a/d.java index 2a50abf5c1..26c483105a 100644 --- a/app/src/main/java/c/a/a/d.java +++ b/app/src/main/java/c/a/a/d.java @@ -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 { @@ -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 4bec87d9e1..6c7900360f 100644 --- a/app/src/main/java/c/a/a/e/a.java +++ b/app/src/main/java/c/a/a/e/a.java @@ -24,17 +24,17 @@ 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().f62c.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 5fea9c8d25..c99845a9d7 100644 --- a/app/src/main/java/c/a/a/e/b.java +++ b/app/src/main/java/c/a/a/e/b.java @@ -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,10 +182,10 @@ 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() { + public C0013b() { super(1, m5.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetPremiumUpsellBinding;", 0); } 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 4383a06832..c658594ca0 100644 --- a/app/src/main/java/c/a/a/e/c.java +++ b/app/src/main/java/c/a/a/e/c.java @@ -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 { @@ -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); } 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 ee0eac75c6..0e88860fff 100644 --- a/app/src/main/java/c/a/a/e/d.java +++ b/app/src/main/java/c/a/a/e/d.java @@ -28,7 +28,7 @@ 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 48a8bd77a0..f0827a98b7 100644 --- a/app/src/main/java/c/a/a/e/e.java +++ b/app/src/main/java/c/a/a/e/e.java @@ -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; 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 d6e95d42fe..cf6562d066 100644 --- a/app/src/main/java/c/a/a/e/f.java +++ b/app/src/main/java/c/a/a/e/f.java @@ -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); 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 5a1a0373c0..57451ce405 100644 --- a/app/src/main/java/c/a/a/e/g.java +++ b/app/src/main/java/c/a/a/e/g.java @@ -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); 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 aa44044804..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 @@ -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; @@ -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/c.java b/app/src/main/java/c/a/a/f/a/c.java index 0b64234e78..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 @@ -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 44d7082558..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 @@ -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 ee53c7bd95..b096df5d49 100644 --- a/app/src/main/java/c/a/a/g/a.java +++ b/app/src/main/java/c/a/a/g/a.java @@ -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; @@ -168,7 +168,7 @@ public final class a extends AppDialog { m.checkNotNullExpressionValue(textView, "binding.maskedLinksBodyText"); c.a.k.b.n(textView, R.string.masked_link_body, new Object[]{obj}, null, 4); g().f110c.setOnClickListener(new d(this)); - g().d.setOnClickListener(new View$OnClickListenerC0018a(0, this, str)); - g().e.setOnClickListener(new View$OnClickListenerC0018a(1, this, str)); + 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 9807e0d5e0..38bb59a5d1 100644 --- a/app/src/main/java/c/a/a/h.java +++ b/app/src/main/java/c/a/a/h.java @@ -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; diff --git a/app/src/main/java/c/a/a/i.java b/app/src/main/java/c/a/a/i.java index dc17ac53da..052c4f288f 100644 --- a/app/src/main/java/c/a/a/i.java +++ b/app/src/main/java/c/a/a/i.java @@ -20,7 +20,7 @@ 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); diff --git a/app/src/main/java/c/a/a/j.java b/app/src/main/java/c/a/a/j.java index 28b49749d6..0a75e03e38 100644 --- a/app/src/main/java/c/a/a/j.java +++ b/app/src/main/java/c/a/a/j.java @@ -19,7 +19,7 @@ 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); diff --git a/app/src/main/java/c/a/a/k.java b/app/src/main/java/c/a/a/k.java index 38843fbb2e..41a5b512a8 100644 --- a/app/src/main/java/c/a/a/k.java +++ b/app/src/main/java/c/a/a/k.java @@ -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; diff --git a/app/src/main/java/c/a/a/m.java b/app/src/main/java/c/a/a/m.java index 397252a496..174188078e 100644 --- a/app/src/main/java/c/a/a/m.java +++ b/app/src/main/java/c/a/a/m.java @@ -16,7 +16,7 @@ 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); diff --git a/app/src/main/java/c/a/a/n.java b/app/src/main/java/c/a/a/n.java index f05b154ee9..cb2e479bf7 100644 --- a/app/src/main/java/c/a/a/n.java +++ b/app/src/main/java/c/a/a/n.java @@ -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 52851e9bb0..c399650096 100644 --- a/app/src/main/java/c/a/a/p.java +++ b/app/src/main/java/c/a/a/p.java @@ -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/r.java b/app/src/main/java/c/a/a/r.java index aff5ea8f2d..637f55c10e 100644 --- a/app/src/main/java/c/a/a/r.java +++ b/app/src/main/java/c/a/a/r.java @@ -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; diff --git a/app/src/main/java/c/a/a/s.java b/app/src/main/java/c/a/a/s.java index 99fb43cedd..1302c30417 100644 --- a/app/src/main/java/c/a/a/s.java +++ b/app/src/main/java/c/a/a/s.java @@ -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; @@ -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(); diff --git a/app/src/main/java/c/a/a/w.java b/app/src/main/java/c/a/a/w.java index 98c3bdb6a0..4245ded7cb 100644 --- a/app/src/main/java/c/a/a/w.java +++ b/app/src/main/java/c/a/a/w.java @@ -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/y.java b/app/src/main/java/c/a/a/y.java index a1d9544cf2..80ba533181 100644 --- a/app/src/main/java/c/a/a/y.java +++ b/app/src/main/java/c/a/a/y.java @@ -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 f80d657b28..c08b8f6465 100644 --- a/app/src/main/java/c/a/a/z/a.java +++ b/app/src/main/java/c/a/a/z/a.java @@ -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) { } } 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 ed9edd1c04..f7ee9ec4c0 100644 --- a/app/src/main/java/c/a/a/z/c.java +++ b/app/src/main/java/c/a/a/z/c.java @@ -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,7 +97,7 @@ 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 d0.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)); } } @@ -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; } @@ -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 3806ae2f85..4e995554dc 100644 --- a/app/src/main/java/c/a/b/a.java +++ b/app/src/main/java/c/a/b/a.java @@ -74,54 +74,54 @@ 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.r), o.to(FriendSuggestionReasonType.class, C0024a.f41s), o.to(AllowedInSuggestionsType.class, C0024a.t), o.to(StickerFormatType.class, C0024a.u), o.to(LocalizedString.class, C0024a.v), o.to(MessageActivityType.class, C0024a.w), o.to(EmbedType.class, C0024a.f42x), o.to(StickerType.class, C0024a.f43y), o.to(GuildScheduledEventStatus.class, C0024a.f44z), 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 d0.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 C0024a r = new C0024a(9); + 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: s reason: collision with root package name */ - public static final C0024a f41s = 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); - public static final C0024a w = new C0024a(14); + 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 f42x = new C0024a(15); + public static final C0023a f42x = new C0023a(15); /* renamed from: y reason: collision with root package name */ - public static final C0024a f43y = new C0024a(16); + public static final C0023a f43y = new C0023a(16); /* renamed from: z reason: collision with root package name */ - public static final C0024a f44z = 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; } diff --git a/app/src/main/java/c/a/d/f.java b/app/src/main/java/c/a/d/f.java index 9988e82e75..b518d778f7 100644 --- a/app/src/main/java/c/a/d/f.java +++ b/app/src/main/java/c/a/d/f.java @@ -11,31 +11,31 @@ 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/h.java b/app/src/main/java/c/a/d/h.java index 00d89ddd82..06214c4a30 100644 --- a/app/src/main/java/c/a/d/h.java +++ b/app/src/main/java/c/a/d/h.java @@ -181,12 +181,12 @@ public final class h implements AppPermissionsRequests { /* 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; @@ -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/j.java b/app/src/main/java/c/a/d/j.java index 51d25355e5..3e943a6b21 100644 --- a/app/src/main/java/c/a/d/j.java +++ b/app/src/main/java/c/a/d/j.java @@ -124,7 +124,7 @@ public final class j { 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(); @@ -163,7 +163,7 @@ public final class j { 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); } @@ -197,7 +197,7 @@ public final class j { 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/f/a.java b/app/src/main/java/c/a/f/a.java index 17df2858ae..e3c4da431d 100644 --- a/app/src/main/java/c/a/f/a.java +++ b/app/src/main/java/c/a/f/a.java @@ -13,12 +13,12 @@ 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; @@ -28,7 +28,7 @@ public final class a implements View.OnClickListener { 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.f54c = i3; @@ -38,7 +38,7 @@ public final class a implements View.OnClickListener { } } - 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.f1613z.clearFocus(); + this.p.f1643z.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/g.java b/app/src/main/java/c/a/f/g.java index d1be335522..f7e9e925f2 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.f1613z.requestFocus(); + this.i.f1643z.requestFocus(); this.i.f(null); } } diff --git a/app/src/main/java/c/a/g/a.java b/app/src/main/java/c/a/g/a.java index 4e3ef6c77a..1a42e873c1 100644 --- a/app/src/main/java/c/a/g/a.java +++ b/app/src/main/java/c/a/g/a.java @@ -23,8 +23,8 @@ public final class a { /* 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 @@ -168,7 +168,7 @@ public final class a { } 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; diff --git a/app/src/main/java/c/a/g/d.java b/app/src/main/java/c/a/g/d.java index cf43dba32d..8acb1ca575 100644 --- a/app/src/main/java/c/a/g/d.java +++ b/app/src/main/java/c/a/g/d.java @@ -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/j/a.java b/app/src/main/java/c/a/j/a.java index 8f45e6441e..58310272c6 100644 --- a/app/src/main/java/c/a/j/a.java +++ b/app/src/main/java/c/a/j/a.java @@ -17,21 +17,21 @@ 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 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 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"); @@ -75,7 +75,7 @@ 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; diff --git a/app/src/main/java/c/a/k/a.java b/app/src/main/java/c/a/k/a.java index 2b873ba7f1..0bb10a1275 100644 --- a/app/src/main/java/c/a/k/a.java +++ b/app/src/main/java/c/a/k/a.java @@ -10,7 +10,7 @@ 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 f202c = b.i; @@ -18,10 +18,10 @@ public final class a { /* 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); } diff --git a/app/src/main/java/c/a/k/b.java b/app/src/main/java/c/a/k/b.java index cb21b0e564..acb06e144e 100644 --- a/app/src/main/java/c/a/k/b.java +++ b/app/src/main/java/c/a/k/b.java @@ -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.f2096c; + List list = renderContext.f2126c; 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/f/c.java b/app/src/main/java/c/a/k/f/c.java index 63ce6f77c7..c06dadceb4 100644 --- a/app/src/main/java/c/a/k/f/c.java +++ b/app/src/main/java/c/a/k/f/c.java @@ -38,7 +38,7 @@ public final class c extends Node.a { spannableStringBuilder.setSpan(obj2, length, spannableStringBuilder.length(), 33); } } - Hook.a aVar2 = hook != null ? hook.f2095c : null; + Hook.a aVar2 = hook != null ? hook.f2125c : null; if (aVar2 != null) { aVar = aVar2; } else if (URLUtil.isValidUrl(this.a)) { 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/n/a.java b/app/src/main/java/c/a/n/a.java index e01fcdfa5b..75910c8f5e 100644 --- a/app/src/main/java/c/a/n/a.java +++ b/app/src/main/java/c/a/n/a.java @@ -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/d.java b/app/src/main/java/c/a/n/d.java index f43d589775..3c0454c5a4 100644 --- a/app/src/main/java/c/a/n/d.java +++ b/app/src/main/java/c/a/n/d.java @@ -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); 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 5a689b0e32..daf382e41f 100644 --- a/app/src/main/java/c/a/n/h/a.java +++ b/app/src/main/java/c/a/n/h/a.java @@ -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); diff --git a/app/src/main/java/c/a/o/a.java b/app/src/main/java/c/a/o/a.java index 13c00bed3e..0b9c5a1880 100644 --- a/app/src/main/java/c/a/o/a.java +++ b/app/src/main/java/c/a/o/a.java @@ -9,15 +9,15 @@ 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 4b53d00c8a..9f1aca5114 100644 --- a/app/src/main/java/c/a/o/b.java +++ b/app/src/main/java/c/a/o/b.java @@ -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/e.java b/app/src/main/java/c/a/p/e.java index 2b5434190e..fa07999347 100644 --- a/app/src/main/java/c/a/p/e.java +++ b/app/src/main/java/c/a/p/e.java @@ -1,6 +1,7 @@ package c.a.p; import c.a.p.k; +import c.i.a.c.k2; import com.discord.player.AppMediaPlayer; import j0.j.b.a; import java.util.concurrent.TimeUnit; @@ -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 5176c494de..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 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 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 866e889e40..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 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 5e198ffff2..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 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 1f5b3788c2..b0b702aab8 100644 --- a/app/src/main/java/c/a/p/l.java +++ b/app/src/main/java/c/a/p/l.java @@ -1,8 +1,8 @@ package c.a.p; import android.content.Context; -import c.i.a.c.h2.y.q; -import c.i.a.c.w1.b; +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; @@ -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 mo1invoke() { + 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 83c4d8957e..aa534d9163 100644 --- a/app/src/main/java/c/a/q/a.java +++ b/app/src/main/java/c/a/q/a.java @@ -33,11 +33,11 @@ public final class a { } 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.f205c, ")"); + 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 97b21fc335..e0e4c64e42 100644 --- a/app/src/main/java/c/a/q/a0.java +++ b/app/src/main/java/c/a/q/a0.java @@ -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.f2159a0) { + if (rtcConnection.f2189a0) { 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 6782c49a7d..2f9df24c6a 100644 --- a/app/src/main/java/c/a/q/b.java +++ b/app/src/main/java/c/a/q/b.java @@ -36,13 +36,13 @@ public final class b { } 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.f206c); - 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 a6f9fd051d..7b6fceb6bf 100644 --- a/app/src/main/java/c/a/q/b0.java +++ b/app/src/main/java/c/a/q/b0.java @@ -54,11 +54,11 @@ public final class b0 implements MediaEngineConnection.d { rtcConnection.n = dVar; rtcConnection.o = false; } - if (transportInfo.f2179c.ordinal() != 0) { - StringBuilder O = c.d.b.a.a.O("Unsupported protocol: "); - O.append(transportInfo.f2179c); - O.append('.'); - RtcConnection.j(rtcConnection, true, O.toString(), null, false, 12); + if (transportInfo.f2209c.ordinal() != 0) { + StringBuilder R = c.d.b.a.a.R("Unsupported protocol: "); + R.append(transportInfo.f2209c); + 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; @@ -142,9 +142,9 @@ 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(d0.o.to("connect_count", Integer.valueOf(rtcConnection.D))); diff --git a/app/src/main/java/c/a/q/c.java b/app/src/main/java/c/a/q/c.java index df89e3ec89..273e2fa1c8 100644 --- a/app/src/main/java/c/a/q/c.java +++ b/app/src/main/java/c/a/q/c.java @@ -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/e.java b/app/src/main/java/c/a/q/e.java index 1020ca97c4..3a888f194d 100644 --- a/app/src/main/java/c/a/q/e.java +++ b/app/src/main/java/c/a/q/e.java @@ -54,14 +54,14 @@ public final class e { } 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.f208c); - 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, ")"); } } @@ -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.f209c); - 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(); } } diff --git a/app/src/main/java/c/a/q/e0.java b/app/src/main/java/c/a/q/e0.java index 52211c2077..bd0b598445 100644 --- a/app/src/main/java/c/a/q/e0.java +++ b/app/src/main/java/c/a/q/e0.java @@ -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/h0.java b/app/src/main/java/c/a/q/h0.java index 6411eed82c..94d9c3b69c 100644 --- a/app/src/main/java/c/a/q/h0.java +++ b/app/src/main/java/c/a/q/h0.java @@ -76,7 +76,7 @@ public final class h0 implements a.d { rtcConnection.n = null; rtcConnection.o = false; } - rtcConnection.f2165z = 0; + rtcConnection.f2195z = 0; rtcConnection.C = null; MediaSinkWantsManager mediaSinkWantsManager = rtcConnection.G; if (mediaSinkWantsManager != null) { @@ -261,7 +261,7 @@ public final class h0 implements a.d { r.removeFirst(rtcConnection.u); } if (j > ((long) 500)) { - rtcConnection.f2165z++; + rtcConnection.f2195z++; } double d = (double) j; Objects.requireNonNull(RtcConnection.Quality.Companion); diff --git a/app/src/main/java/c/a/q/i0.java b/app/src/main/java/c/a/q/i0.java index 0105bdff96..4abcbf780a 100644 --- a/app/src/main/java/c/a/q/i0.java +++ b/app/src/main/java/c/a/q/i0.java @@ -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 a93a4d1e7c..45e0cbe959 100644 --- a/app/src/main/java/c/a/q/j.java +++ b/app/src/main/java/c/a/q/j.java @@ -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.f2157c.contains(l2)) { + } else if (this.this$0.f2187c.contains(l2)) { MediaSinkWantsManager mediaSinkWantsManager2 = this.this$0; Long l3 = this.$userId; mediaSinkWantsManager2.e = l3; @@ -46,9 +46,9 @@ 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; } } diff --git a/app/src/main/java/c/a/q/j0.java b/app/src/main/java/c/a/q/j0.java index 34788b6608..c67068735f 100644 --- a/app/src/main/java/c/a/q/j0.java +++ b/app/src/main/java/c/a/q/j0.java @@ -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.f210c); - 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/k0/a.java b/app/src/main/java/c/a/q/k0/a.java index ed7f858322..bf7fd6d543 100644 --- a/app/src/main/java/c/a/q/k0/a.java +++ b/app/src/main/java/c/a/q/k0/a.java @@ -18,7 +18,7 @@ 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 */ @@ -26,8 +26,8 @@ public final class a extends BroadcastReceiver { /* 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) { } } @@ -67,12 +67,12 @@ 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.f211c; int ordinal = audioManagerBroadcastAction.ordinal(); @@ -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 ea83deab14..6eee53a4ac 100644 --- a/app/src/main/java/c/a/q/k0/b.java +++ b/app/src/main/java/c/a/q/k0/b.java @@ -30,13 +30,13 @@ public final class b { 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"); } } @@ -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.f212c); - 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 d767c0017f..b88ff2d0c8 100644 --- a/app/src/main/java/c/a/q/k0/c.java +++ b/app/src/main/java/c/a/q/k0/c.java @@ -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/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 0caf490aec..be47235049 100644 --- a/app/src/main/java/c/a/q/k0/f.java +++ b/app/src/main/java/c/a/q/k0/f.java @@ -20,7 +20,7 @@ public final class f extends ContentObserver { DiscordAudioManager discordAudioManager = this.a; int streamVolume = discordAudioManager.e.getStreamVolume(3); discordAudioManager.w = streamVolume; - SerializedSubject serializedSubject = discordAudioManager.f2171y; + SerializedSubject serializedSubject = discordAudioManager.f2201y; 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 6bb1e5f98e..6233dcdef3 100644 --- a/app/src/main/java/c/a/q/k0/g.java +++ b/app/src/main/java/c/a/q/k0/g.java @@ -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 ba36d87bf1..3379ea04aa 100644 --- a/app/src/main/java/c/a/q/l.java +++ b/app/src/main/java/c/a/q/l.java @@ -96,10 +96,10 @@ public final class l extends o implements Function0 { } if (arrayList2.isEmpty()) { this.this$0.b.remove(Long.valueOf(this.$userId)); - this.this$0.f2157c.remove(Long.valueOf(this.$userId)); + this.this$0.f2187c.remove(Long.valueOf(this.$userId)); } else { this.this$0.b.put(Long.valueOf(this.$userId), arrayList2); - this.this$0.f2157c.add(Long.valueOf(this.$userId)); + this.this$0.f2187c.add(Long.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 715b705a7b..a237206dcc 100644 --- a/app/src/main/java/c/a/q/l0/a.java +++ b/app/src/main/java/c/a/q/l0/a.java @@ -8,12 +8,12 @@ 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/m0/a.java b/app/src/main/java/c/a/q/m0/a.java index 7bb3ec01f0..cc2fa53994 100644 --- a/app/src/main/java/c/a/q/m0/a.java +++ b/app/src/main/java/c/a/q/m0/a.java @@ -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.f215c); - 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 7c36c0bfd1..673e8234be 100644 --- a/app/src/main/java/c/a/q/m0/b.java +++ b/app/src/main/java/c/a/q/m0/b.java @@ -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; @@ -64,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 @@ -216,7 +216,7 @@ public final class b extends ScreenCapturerAndroid { if (thumbnailEmitter != null) { synchronized (thumbnailEmitter) { thumbnailEmitter.d.release(); - thumbnailEmitter.f2182c.release(); + thumbnailEmitter.f2212c.release(); JniCommon.nativeFreeByteBuffer(thumbnailEmitter.b); thumbnailEmitter.a = RecyclerView.FOREVER_NS; } 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 cfdb953b56..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 @@ -34,7 +34,7 @@ public final class d implements Discord.ConnectToServerCallback { 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; 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 ecd3310eca..afab61cc77 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 @@ -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 d0.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; @@ -288,7 +288,7 @@ public final class e implements MediaEngineConnection { Connection connection2 = connection; d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); connection2.setVADLeadingFramesToBuffer(this.$inputModeOptions.b); - connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2181c); + connection2.setVADTrailingFramesToSend(this.$inputModeOptions.f2211c); connection2.setVADTriggerThreshold((float) this.$inputModeOptions.a); connection2.setVADAutoThreshold(this.$inputModeOptions.d ? 3 : -1); connection2.setVADUseKrisp(this.$inputModeOptions.e); @@ -473,7 +473,7 @@ public final class e implements MediaEngineConnection { Connection connection2 = connection; d0.z.d.m.checkNotNullParameter(connection2, "$receiver"); MediaEngineConnection.b bVar = this.$quality; - connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2180c, bVar.d, this.$frameRate); + connection2.setEncodingQuality(bVar.a, bVar.b, bVar.f2210c, bVar.d, this.$frameRate); return Unit.a; } } @@ -610,7 +610,7 @@ public final class e implements MediaEngineConnection { 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.f2178c; + int i3 = aVar.f2208c; 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)); @@ -670,7 +670,7 @@ public final class e implements MediaEngineConnection { @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection public void f(KrispOveruseDetector.Status status) { d0.z.d.m.checkNotNullParameter(status, "status"); - y(new C0038e(this, status)); + y(new C0037e(this, status)); } @Override // com.discord.rtcconnection.mediaengine.MediaEngineConnection @@ -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) { 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 46e38b8306..0abf4d5f1c 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 @@ -143,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; @@ -208,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 @@ -372,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,9 +388,9 @@ public final class k implements MediaEngine { /* renamed from: invoke */ 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; @@ -409,14 +409,14 @@ 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.f2177c; + boolean z4 = voiceConfig.f2207c; Discord discord3 = kVar3.f; if (discord3 != null) { discord3.setNoiseSuppression(z4); @@ -521,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 @@ -646,11 +646,11 @@ 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) { @@ -660,12 +660,12 @@ public final class k implements MediaEngine { 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/m.java b/app/src/main/java/c/a/q/m0/c/m.java index 8cd026a39d..54e647a1e2 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 @@ -38,8 +38,8 @@ public final class m implements Discord.AecConfigCallback { MediaEngine.EchoCancellationInfo echoCancellationInfo = kVar.i; kVar.i = null; if (echoCancellationInfo != null) { - MediaEngine.EchoCancellationInfo echoCancellationInfo2 = new MediaEngine.EchoCancellationInfo(echoCancellationInfo.a, echoCancellationInfo.b, echoCancellationInfo.f2176c, 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.f2206c, 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/n.java b/app/src/main/java/c/a/q/n.java index 24365ace0d..95f4f5e01f 100644 --- a/app/src/main/java/c/a/q/n.java +++ b/app/src/main/java/c/a/q/n.java @@ -35,15 +35,15 @@ public final class n { } 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.f220c); - 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 cac18feac1..3fcf281ae4 100644 --- a/app/src/main/java/c/a/q/n0/a.java +++ b/app/src/main/java/c/a/q/n0/a.java @@ -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; @@ -75,7 +75,7 @@ public final class a extends WebSocketListener implements DebugPrintable { /* 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 */ @@ -167,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; } @@ -191,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)); } } @@ -242,9 +242,9 @@ public final class a extends WebSocketListener implements DebugPrintable { 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; } @@ -346,9 +346,9 @@ 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; @@ -464,11 +464,11 @@ public final class a extends WebSocketListener implements DebugPrintable { 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(); @@ -486,9 +486,9 @@ public final class a extends WebSocketListener implements DebugPrintable { 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) { @@ -533,11 +533,11 @@ 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<>(); @@ -555,8 +555,8 @@ 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."); } } @@ -618,9 +618,9 @@ public final class a extends WebSocketListener implements DebugPrintable { } public final void e() { - StringBuilder O = c.d.b.a.a.O("[CONNECT] "); - O.append(this.C); - i(O.toString()); + 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); @@ -638,14 +638,14 @@ public final class a extends WebSocketListener implements DebugPrintable { aVar.a(1, TimeUnit.MINUTES); SSLSocketFactory sSLSocketFactory = this.E; if (sSLSocketFactory != null) { - h.a aVar2 = f0.e0.k.h.f2830c; + h.a aVar2 = f0.e0.k.h.f2844c; 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); + aVar3.f(H); this.r = xVar.g(aVar3.a(), this); } @@ -708,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,9 +733,9 @@ public final class a extends WebSocketListener implements DebugPrintable { public final void n(int i2, Object obj) { 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 { @@ -775,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/o0/a.java b/app/src/main/java/c/a/q/o0/a.java index 018e0dd7bc..90e268b97c 100644 --- a/app/src/main/java/c/a/q/o0/a.java +++ b/app/src/main/java/c/a/q/o0/a.java @@ -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.f2156c + 1; - krispOveruseDetector.f2156c = i; + int i = krispOveruseDetector.f2186c + 1; + krispOveruseDetector.f2186c = i; if (i > 2) { krispOveruseDetector.d.f(KrispOveruseDetector.Status.FAILED); } } else { - krispOveruseDetector.f2156c = 0; + krispOveruseDetector.f2186c = 0; } } krispOveruseDetector.b = stats2.getOutboundRtpAudio(); 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 f36376f367..0a49c0f443 100644 --- a/app/src/main/java/c/a/q/o0/e.java +++ b/app/src/main/java/c/a/q/o0/e.java @@ -40,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; @@ -119,34 +119,34 @@ public final class e { } 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.f227c); - 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="); - O.append(this.i); - O.append(", freezeCount="); - O.append(this.j); - O.append(", pauseCount="); - O.append(this.k); - O.append(", totalFreezesDuration="); - O.append(this.l); - O.append(", totalPausesDuration="); - O.append(this.m); - O.append(", totalFramesDuration="); - return c.d.b.a.a.A(O, this.n, ")"); + 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, ")"); } } @@ -206,7 +206,7 @@ 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); @@ -220,7 +220,7 @@ public final class e { 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)); } @@ -234,7 +234,7 @@ public final class e { } /* 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; @@ -279,14 +279,14 @@ public final class e { } 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.f229c); - 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(); } } @@ -309,8 +309,8 @@ 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.f228c.addSample(resourceUsage2.getMemoryRssBytes()); } @@ -339,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; @@ -451,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; @@ -479,7 +479,7 @@ public final class e { (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; @@ -491,7 +491,7 @@ public final class e { Histogram.Report report2 = eVar.f228c.getReport(); b bVar = d; long j = (long) 1024; - Map mapOf = h0.mapOf(d0.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"), d0.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"), 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))); + 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; 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 3de7225548..d0fedaba9e 100644 --- a/app/src/main/java/c/a/q/r.java +++ b/app/src/main/java/c/a/q/r.java @@ -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.f2162s.onNext(stateChange); + this.i.f2192s.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 99a43f1336..a155832922 100644 --- a/app/src/main/java/c/a/q/s.java +++ b/app/src/main/java/c/a/q/s.java @@ -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,9 +52,9 @@ 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.f2163x = uri.getHost(); - rtcConnection.f2164y = Integer.valueOf(uri.getPort()); + URI uri = new URI(w); + rtcConnection.f2193x = uri.getHost(); + rtcConnection.f2194y = Integer.valueOf(uri.getPort()); } catch (Exception e) { rtcConnection.U.e(rtcConnection.k, "Failed to parse RTC endpoint", e, g0.mapOf(d0.o.to("endpoint", replace$default))); } diff --git a/app/src/main/java/c/a/r/b.java b/app/src/main/java/c/a/r/b.java index ba19304048..f555e23fb7 100644 --- a/app/src/main/java/c/a/r/b.java +++ b/app/src/main/java/c/a/r/b.java @@ -67,17 +67,17 @@ public final class b extends k implements Function2 it = aVar.invoke(rc).iterator(); @@ -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/c/a.java b/app/src/main/java/c/a/t/c/a.java index 9630d44379..0be2d43a91 100644 --- a/app/src/main/java/c/a/t/c/a.java +++ b/app/src/main/java/c/a/t/c/a.java @@ -32,12 +32,12 @@ public final class 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"); diff --git a/app/src/main/java/c/a/v/d.java b/app/src/main/java/c/a/v/d.java index dfcdbd4acc..930b706e1f 100644 --- a/app/src/main/java/c/a/v/d.java +++ b/app/src/main/java/c/a/v/d.java @@ -3,6 +3,7 @@ package c.a.v; import android.graphics.drawable.Drawable; import androidx.vectordrawable.graphics.drawable.Animatable2Compat; import androidx.vectordrawable.graphics.drawable.AnimatedVectorDrawableCompat; +import c.i.a.f.e.o.f; import com.discord.tooltips.SparkleView; import com.discord.utilities.views.ViewCoroutineScopeKt; import d0.l; @@ -51,7 +52,7 @@ public final class d extends Animatable2Compat.AnimationCallback { 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/w/a.java b/app/src/main/java/c/a/w/a.java index b21a9c0a09..d03f67ef03 100644 --- a/app/src/main/java/c/a/w/a.java +++ b/app/src/main/java/c/a/w/a.java @@ -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/b0.java b/app/src/main/java/c/a/y/b0.java index 3ffa27a252..5b786cd8f6 100644 --- a/app/src/main/java/c/a/y/b0.java +++ b/app/src/main/java/c/a/y/b0.java @@ -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); } diff --git a/app/src/main/java/c/a/y/c0.java b/app/src/main/java/c/a/y/c0.java index 57109d83ad..bc8023394d 100644 --- a/app/src/main/java/c/a/y/c0.java +++ b/app/src/main/java/c/a/y/c0.java @@ -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/j0/e.java b/app/src/main/java/c/a/y/j0/e.java index 6c0daede25..2186bae841 100644 --- a/app/src/main/java/c/a/y/j0/e.java +++ b/app/src/main/java/c/a/y/j0/e.java @@ -36,12 +36,12 @@ public final class e implements RendererCommon.RendererEvents { } 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.f244c, ")"); + 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/m0/a.java b/app/src/main/java/c/a/y/m0/a.java index 65f175694b..41a5424fe8 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.f1802c.setOnClickListener(null); + giftSelectView.i.f1832c.setOnClickListener(null); } } diff --git a/app/src/main/java/c/a/y/o.java b/app/src/main/java/c/a/y/o.java index 514582b84c..af2f910ebc 100644 --- a/app/src/main/java/c/a/y/o.java +++ b/app/src/main/java/c/a/y/o.java @@ -20,7 +20,7 @@ public final class o implements b { 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 47c38f4033..8a4c7f87cd 100644 --- a/app/src/main/java/c/a/y/o0/d.java +++ b/app/src/main/java/c/a/y/o0/d.java @@ -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/b/a/a/a.java b/app/src/main/java/c/b/a/a/a.java index cc69b84cfd..91aebbb577 100644 --- a/app/src/main/java/c/b/a/a/a.java +++ b/app/src/main/java/c/b/a/a/a.java @@ -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; } @@ -395,14 +395,14 @@ public class a extends AppCompatDialogFragment { m.checkNotNullParameter(layoutInflater, "inflater"); View inflate = layoutInflater.inflate(R.g.dialog_add_content_pager_with_fab, viewGroup, false); if (inflate != null) { - inflate.setOnClickListener(new View$OnClickListenerC0052a(0, this)); + 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"); @@ -422,7 +422,7 @@ public class a extends AppCompatDialogFragment { } 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/g.java b/app/src/main/java/c/b/a/a/g.java index 61544ba636..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 */ @@ -16,7 +16,7 @@ public final class g implements DialogInterface.OnDismissListener { public final void onDismiss(DialogInterface dialogInterface) { FlexInputViewModel flexInputViewModel; if (this.i.isAdded() && !this.i.isHidden() && (flexInputViewModel = this.i.r) != null) { - c.c0(flexInputViewModel, false, 1, 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 287da07720..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,7 +1,7 @@ package c.b.a.a; import android.view.View; -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; import d0.z.d.m; @@ -25,7 +25,7 @@ public final class h extends o implements Function1 { m.checkNotNullParameter(view, "it"); 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/d/h.java b/app/src/main/java/c/b/a/d/h.java index 6e4f4c8cd9..02ec7b303e 100644 --- a/app/src/main/java/c/b/a/d/h.java +++ b/app/src/main/java/c/b/a/d/h.java @@ -56,11 +56,11 @@ public final class h extends RecyclerView.Adapter { /* compiled from: MediaCursorAdapter.kt */ /* renamed from: c.b.a.d.h$a$a reason: collision with other inner class name */ - public static final class C0053a extends o implements Function1 { + 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 C0053a(boolean z2) { + public C0052a(boolean z2) { super(1); this.$isAnimationRequested = z2; } @@ -118,7 +118,7 @@ public final class h extends RecyclerView.Adapter { FrameLayout frameLayout = this.r.a; m.checkNotNullExpressionValue(frameLayout, "binding.root"); frameLayout.setSelected(z2); - C0053a aVar = new C0053a(z3); + C0052a aVar = new C0052a(z3); if (z2) { SimpleDraweeView simpleDraweeView = this.r.d; m.checkNotNullExpressionValue(simpleDraweeView, "binding.itemCheckIndicator"); 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 6251342a65..c9ca2ae4d4 100644 --- a/app/src/main/java/c/b/a/d/i.java +++ b/app/src/main/java/c/b/a/d/i.java @@ -18,6 +18,7 @@ import androidx.core.app.NotificationCompat; import androidx.recyclerview.widget.RecyclerView; 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; @@ -72,7 +73,7 @@ public abstract class i extends RecyclerView.ViewHolder { if (a.a(i.l)) { Job job = this.a; if (job != null) { - c.q.a.k.a.k(job, null, 1, null); + f.p(job, null, 1, null); } CancellationSignal cancellationSignal = this.b; if (cancellationSignal != null) { @@ -185,7 +186,7 @@ public abstract class i extends RecyclerView.ViewHolder { bVar.a(); w0 w0Var = w0.i; CoroutineDispatcher coroutineDispatcher = j0.a; - bVar.a = c.q.a.k.a.H(w0Var, n.b, null, new j(bVar, uri2, dVar, null), 2, null); + bVar.a = f.x0(w0Var, n.b, null, new j(bVar, uri2, dVar, null), 2, null); return; } return; 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 0a2444a273..7634256be5 100644 --- a/app/src/main/java/c/b/a/d/j.java +++ b/app/src/main/java/c/b/a/d/j.java @@ -5,7 +5,7 @@ import android.graphics.Bitmap; import android.net.Uri; import android.os.CancellationSignal; import c.b.a.d.i; -import c.q.a.k.a; +import c.i.a.f.e.o.f; import d0.l; import d0.w.h.c; import d0.w.i.a.e; @@ -63,12 +63,12 @@ public final class j extends k implements Function2 { /* 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 224fe5235d..b8c8e41d27 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,33 +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 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; @@ -90,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 +95,7 @@ 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 f257c; + public final /* synthetic */ Object f258c; public a(Class cls, int i, Object obj) { this.a = cls; this.b = i; - this.f257c = 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.f257c, 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 s2 = wVar.s(); - i += s2; - if (s2 != 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.f919c; - } else if (I1 == 4 && I12 >= 8) { - int s2 = wVar.s(); - int x2 = wVar.x(); - int f = x2 == 49 ? wVar.f() : 0; - int s3 = wVar.s(); - if (x2 == 47) { - wVar.E(1); - } - boolean z3 = s2 == 181 && (x2 == 49 || x2 == 47) && s3 == 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 s2 = wVar.s(); - if ((s2 & 64) != 0) { - wVar.E(1); - int i = (s2 & 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) { - d0.z.d.m.checkNotNullParameter(function1, "init"); - d0.z.d.m.checkNotNullParameter(objArr, "orderedArguments"); - RenderContext renderContext = new RenderContext(); - function1.invoke(renderContext); - if (!(objArr.length == 0)) { - if (!(!renderContext.a.isEmpty())) { - renderContext.f2096c = 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) { - d0.z.d.m.checkNotNullParameter(mediaType, "mediaType"); - d0.z.d.m.checkNotNullParameter(str, "progressiveMediaUri"); - d0.z.d.m.checkNotNullParameter(str2, "featureTag"); - Uri parse = Uri.parse(str); - d0.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.f2126c = 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.f600c); + 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) { - d0.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.f392c); + 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) { - d0.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) { - d0.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) { - d0.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.f436c : (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) { - d0.z.d.m.checkNotNullParameter(str, "tag"); - d0.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) { - d0.z.d.m.checkNotNullParameter(str, "tag"); - d0.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) { - d0.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) { - d0.z.d.m.checkNotNullParameter(str, "tag"); - d0.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) { - d0.z.d.m.checkNotNullParameter(str, "tag"); - d0.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) { - d0.z.d.m.checkNotNullParameter(p, "$this$toIntent"); - Intent putExtra = new Intent().putExtra("intent_args_key", p); - d0.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) { - d0.z.d.m.checkNotNullParameter(str, "tag"); - d0.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,52 +2184,52 @@ 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.r == null) { - aVar.r = new c.f.g.f.c(); + aVar.r = new c(); } aVar.r.b = obtainStyledAttributes.getBoolean(index, false); } else if (index == R.a.GenericDraweeHierarchy_roundedCornerRadius) { @@ -2154,15 +2258,15 @@ public class d { z16 = obtainStyledAttributes.getBoolean(index, z16); } else if (index == R.a.GenericDraweeHierarchy_roundWithOverlayColor) { if (aVar.r == null) { - aVar.r = new c.f.g.f.c(); + aVar.r = new c(); } aVar.r.b(obtainStyledAttributes.getColor(index, 0)); } else { if (index == R.a.GenericDraweeHierarchy_roundingBorderWidth) { if (aVar.r == null) { - aVar.r = new c.f.g.f.c(); + aVar.r = new c(); } - c.f.g.f.c cVar = aVar.r; + 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.r == null) { - aVar.r = new c.f.g.f.c(); + aVar.r = new c(); } aVar.r.f = obtainStyledAttributes.getColor(index, 0); } else if (index == R.a.GenericDraweeHierarchy_roundingBorderPadding) { if (aVar.r == null) { - aVar.r = new c.f.g.f.c(); + aVar.r = new c(); } - c.f.g.f.c cVar2 = aVar.r; + 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; } } @@ -2296,310 +2400,41 @@ public class d { } if (i2 > 0) { if (aVar.r == null) { - aVar.r = new c.f.g.f.c(); + aVar.r = new c(); } - c.f.g.f.c cVar3 = aVar.r; - 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.f408c == null) { - cVar3.f408c = 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.f408c; - 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 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"); - } + @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) { - d0.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.f919c; + 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.f919c < 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.f706c; + 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 r = wVar.r(); - int i3 = r + 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, r); - 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(r); + 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) { - d0.z.d.m.checkNotNullParameter(intent, "$this$getIntExtraOrNull"); - d0.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 2506bb24e4..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 r = cVar.r(); - if (r <= 2 && r >= 0) { - i = b.com$airbnb$lottie$model$DocumentData$Justification$s$values()[r]; + 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 f733d612e5..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 @@ -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 c3791a6a05..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 @@ -18,7 +18,7 @@ public final class d extends c { public static final ByteString r = ByteString.h("*/"); /* renamed from: s reason: collision with root package name */ - public final g f259s; + public final g f260s; public final e t; public int u = 0; public long v; @@ -26,17 +26,17 @@ public final class d extends c { @Nullable /* renamed from: x reason: collision with root package name */ - public String f260x; + public String f261x; public d(g gVar) { Objects.requireNonNull(gVar, "source == null"); - this.f259s = 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(); @@ -48,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"; @@ -76,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,11 +102,11 @@ public final class d extends c { } else if (i2 == 17) { 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; } @@ -121,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; @@ -185,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]; @@ -202,7 +202,7 @@ public final class d extends c { this.u = 4; return 4; } else { - G("Unterminated array"); + D("Unterminated array"); throw null; } } @@ -219,7 +219,7 @@ public final class d extends c { this.u = 2; return 2; } else { - G("Unterminated object"); + D("Unterminated object"); throw null; } } @@ -241,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) { @@ -250,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(); @@ -281,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; @@ -307,26 +307,26 @@ public final class d extends c { boolean z3 = false; while (true) { int i6 = i5 + 1; - if (!this.f259s.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; @@ -340,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; @@ -380,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(); @@ -392,11 +392,11 @@ public final class d extends c { while (true) { if (i9 < length) { int i10 = i9 + 1; - if (!this.f259s.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.f259s.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; } @@ -419,7 +419,7 @@ public final class d extends c { H(); throw null; } - G("Unexpected value"); + D("Unexpected value"); throw null; } else { H(); @@ -427,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])) { @@ -439,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; } @@ -472,20 +472,20 @@ public final class d extends c { int i = 0; while (true) { int i2 = i + 1; - if (this.f259s.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.f259s.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; @@ -499,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.f259s.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(); } @@ -526,14 +526,14 @@ public final class d extends c { } public final String R() throws IOException { - long D = this.f259s.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.f259s.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; @@ -554,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.f259s.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.f259s.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.f259s.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 @@ -630,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 @@ -648,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 @@ -670,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 @@ -684,7 +684,7 @@ public final class d extends c { this.j = 1; e eVar = this.t; eVar.skip(eVar.j); - this.f259s.close(); + this.f260s.close(); } @Override // c.c.a.a0.i0.c @@ -703,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 @@ -738,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(); @@ -760,43 +760,43 @@ public final class d extends c { return (double) this.v; } if (i == 17) { - this.f260x = this.t.H((long) this.w); + this.f261x = this.t.H((long) this.w); } else if (i == 9) { - this.f260x = Q(o); + this.f261x = O(o); } else if (i == 8) { - this.f260x = Q(n); + this.f261x = O(n); } else if (i == 10) { - this.f260x = 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.f260x); + 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.f260x = 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.f260x); - 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(); @@ -811,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.f260x = this.t.H((long) this.w); + this.f261x = this.t.H((long) this.w); } else if (i == 9 || i == 8) { - String Q = i == 9 ? Q(o) : Q(n); - this.f260x = 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; @@ -832,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.f260x); + double parseDouble = Double.parseDouble(this.f261x); int i5 = (int) parseDouble; if (((double) i5) == parseDouble) { - this.f260x = 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.f260x); - 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.f260x); - 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()); } } @@ -874,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.f260x; + 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; @@ -901,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.f260x; - this.f260x = 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.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; @@ -927,14 +927,14 @@ public final class d extends c { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("JsonReader("); - O.append(this.f259s); - 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(); @@ -974,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(); @@ -983,22 +983,22 @@ public final class d extends c { return -1; } if (i == 15) { - return K(this.f260x, aVar); + return J(this.f261x, aVar); } - int u0 = this.f259s.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 s2 = s(); - int K = K(s2, aVar); - if (K == -1) { + int J = J(s2, aVar); + if (J == -1) { this.u = 15; - this.f260x = s2; + 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 19f5ffbba5..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 f261c = 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 e26be57f33..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 w = cVar.w(); - int ordinal = w.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 " + w); + 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 df2d3c6fdd..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 f262c = 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(f262c)) { + 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 4c75bb92c3..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.f267c == null && (t = aVar2.b) != null) { - aVar.f267c = 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.f267c == 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 7243bf9077..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 f263c = 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 r = cVar.r(); - aVar = r < 6 ? e.a.values()[r] : 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; @@ -159,7 +159,7 @@ public class s { 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) { @@ -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(f263c) != 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 7ccd9172d2..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 f264c = 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(f264c) != 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.f268c = 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 f2c330d191..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 w = cVar.w(); - if (w == c.b.BEGIN_ARRAY) { + c.b u = cVar.u(); + if (u == c.b.BEGIN_ARRAY) { return p.b(cVar, f); } - if (w == c.b.BEGIN_OBJECT) { + if (u == c.b.BEGIN_OBJECT) { return p.b(cVar, f); } - if (w == 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 " + w); + 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 71ded2675c..9c3ec2688c 100644 --- a/app/src/main/java/c/c/a/b0/d.java +++ b/app/src/main/java/c/c/a/b0/d.java @@ -23,7 +23,7 @@ public class d extends a implements Choreographer.FrameCallback { @VisibleForTesting /* renamed from: s reason: collision with root package name */ - public boolean f265s = false; + public boolean f266s = false; @Override // android.animation.ValueAnimator, android.animation.Animator @MainThread @@ -38,7 +38,7 @@ public class d extends a implements Choreographer.FrameCallback { public void doFrame(long j) { l(); c.c.a.d dVar = this.r; - if (dVar != null && this.f265s) { + if (dVar != null && this.f266s) { long j2 = this.m; long j3 = 0; if (j2 != 0) { @@ -150,7 +150,7 @@ public class d extends a implements Choreographer.FrameCallback { @Override // android.animation.ValueAnimator, android.animation.Animator public boolean isRunning() { - return this.f265s; + return this.f266s; } public float j() { @@ -167,7 +167,7 @@ public class d extends a implements Choreographer.FrameCallback { } public void l() { - if (this.f265s) { + 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.f265s = false; + this.f266s = false; } public void n(float f) { 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 04fa3a86b6..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 f266c = 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 = f266c; + Path path3 = f267c; path3.reset(); pathMeasure.getSegment(0.0f, max % length, path3, true); path2.addPath(path3); } else if (min < 0.0f) { - Path path4 = f266c; + 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 f99b8906f6..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 f267c; + 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.f267c = 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.f267c = 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.f267c); - 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 b3d636bf6d..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> f268c; + 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 33113e55e6..512cb03690 100644 --- a/app/src/main/java/c/c/a/e.java +++ b/app/src/main/java/c/c/a/e.java @@ -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 039325ca2a..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.f348c; + 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 eaf9da3adb..b9739218ef 100644 --- a/app/src/main/java/c/c/a/j.java +++ b/app/src/main/java/c/c/a/j.java @@ -43,7 +43,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @Nullable /* renamed from: s reason: collision with root package name */ - public String f269s; + public String f270s; @Nullable public b t; @Nullable @@ -53,13 +53,13 @@ public class j extends Drawable implements Drawable.Callback, Animatable { public c.c.a.y.m.c w; /* renamed from: x reason: collision with root package name */ - public int f270x; + public int f271x; /* renamed from: y reason: collision with root package name */ - public boolean f271y; + public boolean f272y; /* renamed from: z reason: collision with root package name */ - public boolean f272z; + public boolean f273z; /* compiled from: LottieDrawable */ public class a implements o { @@ -125,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 f274c; + 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.f274c = cVar; + this.f275c = cVar; } @Override // c.c.a.j.o public void a(d dVar) { - j.this.a(this.a, this.b, this.f274c); + j.this.a(this.a, this.b, this.f275c); } } @@ -192,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; } @@ -276,7 +276,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { this.o = new ArrayList<>(); f fVar = new f(); this.p = fVar; - this.f270x = 255; + this.f271x = 255; this.A = true; this.B = false; dVar.i.add(fVar); @@ -293,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.f313c; + c.c.a.y.g gVar = fVar.f314c; if (gVar != null) { gVar.g(t, cVar); } else { @@ -306,7 +306,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { list = arrayList; } for (int i2 = 0; i2 < list.size(); i2++) { - ((c.c.a.y.f) list.get(i2)).f313c.g(t, cVar); + ((c.c.a.y.f) list.get(i2)).f314c.g(t, cVar); } z2 = true ^ list.isEmpty(); } @@ -330,7 +330,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { public void c() { c.c.a.b0.d dVar = this.k; - if (dVar.f265s) { + if (dVar.f266s) { dVar.cancel(); } this.j = null; @@ -373,7 +373,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { } this.i.reset(); this.i.preScale(width, height); - this.w.f(canvas, this.i, this.f270x); + this.w.f(canvas, this.i, this.f271x); if (i2 > 0) { canvas.restoreToCount(i2); } @@ -399,7 +399,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { } this.i.reset(); this.i.preScale(min2, min2); - this.w.f(canvas, this.i, this.f270x); + this.w.f(canvas, this.i, this.f271x); if (i2 > 0) { canvas.restoreToCount(i2); } @@ -436,7 +436,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { @Override // android.graphics.drawable.Drawable public int getAlpha() { - return this.f270x; + return this.f271x; } @Override // android.graphics.drawable.Drawable @@ -471,7 +471,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { if (dVar == null) { return false; } - return dVar.f265s; + return dVar.f266s; } @Override // android.graphics.drawable.Drawable.Callback @@ -506,7 +506,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { } if (this.m || h() == 0) { c.c.a.b0.d dVar = this.k; - dVar.f265s = true; + dVar.f266s = true; boolean k2 = dVar.k(); for (Animator.AnimatorListener animatorListener : dVar.j) { if (Build.VERSION.SDK_INT >= 26) { @@ -534,7 +534,7 @@ public class j extends Drawable implements Drawable.Callback, Animatable { } if (this.m || h() == 0) { c.c.a.b0.d dVar = this.k; - dVar.f265s = true; + dVar.f266s = true; dVar.l(); dVar.m = 0; if (dVar.k() && dVar.n == dVar.j()) { @@ -574,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.f314c)); + 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) { @@ -606,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.f314c) + 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) { @@ -632,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 @@ -645,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.f270x = i2; + this.f271x = i2; invalidateSelf(); } @@ -670,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 ce8d78b745..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 f275c; + 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.f275c = 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 c5af4cd64f..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 f276c = 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(); @@ -31,20 +31,20 @@ public interface o { public static final Float r = Float.valueOf(5.0f); /* renamed from: s reason: collision with root package name */ - public static final Float f277s = Float.valueOf(6.0f); + 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); public static final Float w = Float.valueOf(10.0f); /* renamed from: x reason: collision with root package name */ - public static final Float f278x = 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 f279y = 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 f280z = 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 b7d27d36d2..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.f281c); + 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 c155437304..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> f281c = 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.f281c.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 43c128f5f1..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 f282c = 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 c275bef1f3..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 f283c = 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.f297c == 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.f297c == 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.f283c.set(bVar.a.get(size3).getPath()); - this.f283c.transform(matrix); - this.a.setPath(this.f283c, 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.f283c, floatValue2 > length ? (floatValue2 - length) / length2 : 0.0f, Math.min(f4 / length2, f2), 0.0f); - canvas.drawPath(this.f283c, 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.f283c, floatValue2 < f3 ? 0.0f : (floatValue2 - f3) / length2, floatValue3 > f5 ? 1.0f : (floatValue3 - f3) / length2, 0.0f); - canvas.drawPath(this.f283c, 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.f283c, 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 ccc67c3511..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 f284c; + 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.f327c; + 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.f284c = 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.f284c.set(matrix); + this.f285c.set(matrix); o oVar = this.k; if (oVar != null) { - this.f284c.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.f284c, 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.f284c.set(matrix); + this.f285c.set(matrix); o oVar = this.k; if (oVar != null) { - this.f284c.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.f272z) { + 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.f284c, 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.f284c, 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.f284c.reset(); + this.f285c.reset(); o oVar = this.k; if (oVar != null) { - this.f284c.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.f284c); + 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 5cc21c6631..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 f285c; + 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.f285c = jVar; - a a = aVar.f317c.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.f285c.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.f297c == 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 cde63d58a3..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 f286c; + 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.f286c = bVar; - this.d = lVar.f326c; + 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.f286c.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.f286c.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 5aa0508035..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 f287c; + public final b f288c; public final LongSparseArray d = new LongSparseArray<>(); public final LongSparseArray e = new LongSparseArray<>(); public final Path f; @@ -55,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.f287c = bVar; + this.f288c = bVar; this.a = dVar.g; this.b = dVar.h; this.q = jVar; this.j = dVar.a; path.setFillType(dVar.b); this.r = (int) (jVar.j.b() / 32.0f); - a a = dVar.f318c.a(); + a a = dVar.f319c.a(); this.k = a; a.a.add(this); bVar.e(a); @@ -193,7 +193,7 @@ public class h implements e, a.b, k { } else if (t == o.C) { a aVar2 = this.o; if (aVar2 != null) { - this.f287c.u.remove(aVar2); + this.f288c.u.remove(aVar2); } if (cVar == 0) { this.o = null; @@ -202,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.f287c.e(this.o); + this.f288c.e(this.o); } else if (t == o.D) { p pVar2 = this.p; if (pVar2 != null) { - this.f287c.u.remove(pVar2); + this.f288c.u.remove(pVar2); } if (cVar == 0) { this.p = null; @@ -215,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.f287c.e(this.p); + this.f288c.e(this.p); } } 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 d82d6bf043..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 @@ -24,18 +24,18 @@ public class i extends a { public final LongSparseArray r = new LongSparseArray<>(); /* renamed from: s reason: collision with root package name */ - public final RectF f288s = new RectF(); + public final RectF f289s = new RectF(); public final int t; public final int u; public final a v; public final a w; /* renamed from: x reason: collision with root package name */ - public final a f289x; + public final a f290x; @Nullable /* renamed from: y reason: collision with root package name */ - public p f290y; + 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); @@ -43,7 +43,7 @@ public class i extends a { this.t = eVar.b; this.p = eVar.m; this.u = (int) (jVar.j.b() / 32.0f); - a a = eVar.f319c.a(); + a a = eVar.f320c.a(); this.v = a; a.a.add(this); bVar.e(a); @@ -52,13 +52,13 @@ public class i extends a { a2.a.add(this); bVar.e(a2); a a3 = eVar.f.a(); - this.f289x = a3; + this.f290x = a3; a3.a.add(this); bVar.e(a3); } public final int[] e(int[] iArr) { - p pVar = this.f290y; + p pVar = this.f291y; if (pVar != null) { Integer[] numArr = (Integer[]) pVar.e(); int i = 0; @@ -85,13 +85,13 @@ public class i extends a { public void f(Canvas canvas, Matrix matrix, int i) { RadialGradient radialGradient; if (!this.p) { - d(this.f288s, 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.w.e(); - PointF e2 = this.f289x.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); @@ -101,7 +101,7 @@ public class i extends a { radialGradient = this.r.get(h2); if (radialGradient == null) { PointF e4 = this.w.e(); - PointF e5 = this.f289x.e(); + PointF e5 = this.f290x.e(); c e6 = this.v.e(); int[] e7 = e(e6.b); float[] fArr = e6.a; @@ -123,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.f290y; + p pVar = this.f291y; if (pVar != null) { this.f.u.remove(pVar); } if (cVar == null) { - this.f290y = null; + this.f291y = null; return; } p pVar2 = new p(cVar, null); - this.f290y = pVar2; + this.f291y = pVar2; pVar2.a.add(this); - this.f.e(this.f290y); + this.f.e(this.f291y); } } @@ -145,7 +145,7 @@ public class i extends a { public final int h() { int round = Math.round(this.w.d * ((float) this.u)); - int round2 = Math.round(this.f289x.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 192f76af5d..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 f291c = 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.f284c.reset(); - matrix2 = dVar.f284c; + 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.f284c.reset(); - matrix = dVar2.f284c; + 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.f291c.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.f291c.reset(); + this.f292c.reset(); g gVar = this.e; - if (gVar.f321c) { - return this.f291c; + if (gVar.f322c) { + return this.f292c; } int ordinal = gVar.b.ordinal(); if (ordinal == 0) { for (int i = 0; i < this.d.size(); i++) { - this.f291c.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.f291c; + 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 fb6cbf1fa5..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 f292c; + 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.f292c = jVar; + this.f293c = jVar; this.b = hVar.a; h.a aVar = hVar.b; this.d = aVar; this.e = hVar.j; - a a = hVar.f322c.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.f292c.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.f297c == 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.f277s) { + if (t == o.f278s) { a aVar3 = this.f; c cVar2 = aVar3.e; aVar3.e = cVar; @@ -130,7 +130,7 @@ public class n implements m, a.b, k { } else if (t == o.w && (aVar = this.k) != null) { c cVar7 = aVar.e; aVar.e = cVar; - } else if (t == o.f278x) { + } 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 a9b4f31c41..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 f293c; + 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.f293c = iVar.a; + this.f294c = iVar.a; this.d = iVar.e; this.e = jVar; a a = iVar.b.a(); this.f = a; - a a2 = iVar.f323c.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.f297c == 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.f293c; + 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 6bdac65c75..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 f294c; + 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.f294c = 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.f324c.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.f294c.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.f294c, this.d, "Repeater", this.f, arrayList, null); + this.j = new d(this.f295c, this.d, "Repeater", this.f, arrayList, null); } } 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 4d46b9a0bf..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 f295c; + 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.f295c = jVar; - a a = nVar.f328c.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.f295c.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.f297c == 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 50f874fd3a..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 @@ -20,10 +20,10 @@ public class r extends a { @Nullable /* renamed from: s reason: collision with root package name */ - public a f296s; + 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.f329c, 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; @@ -39,7 +39,7 @@ public class r extends a { Paint paint = this.i; 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.f296s; + a aVar = this.f297s; if (aVar != null) { this.i.setColorFilter(aVar.e()); } @@ -57,16 +57,16 @@ public class r extends a { c cVar2 = aVar.e; aVar.e = cVar; } else if (t == c.c.a.o.C) { - a aVar2 = this.f296s; + a aVar2 = this.f297s; if (aVar2 != null) { this.o.u.remove(aVar2); } if (cVar == 0) { - this.f296s = null; + this.f297s = null; return; } p pVar = new p(cVar, null); - this.f296s = pVar; + this.f297s = pVar; pVar.a.add(this); 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 13d18733e9..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 f297c; + 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.f297c = pVar.b; - a a = pVar.f330c.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 f7e54875e5..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 f298c; + 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 f299c = 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.f299c; + 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.f299c = 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.f298c = dVar; + this.f299c = dVar; } public c.c.a.c0.a a() { - c.c.a.c0.a b2 = this.f298c.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.f298c.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.f298c.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.f298c.isEmpty()) { + if (!this.f299c.isEmpty()) { if (this.g == -1.0f) { - this.g = this.f298c.e(); + this.g = this.f299c.e(); } float f3 = this.g; if (f2 < f3) { if (f3 == -1.0f) { - this.g = this.f298c.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.f298c.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 5cc791dc61..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.f267c == null) { + if (num2 == null || aVar.f268c == null) { throw new IllegalStateException("Missing values for keyframe."); } int intValue = num2.intValue(); - int intValue2 = aVar.f267c.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 c87322cac1..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.f267c == 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.f267c, 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.f267c.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 4ae35ddfd0..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.f267c; + 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 6ad8c5edde..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.f267c == 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.f267c, 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.f267c.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 f74c5c5962..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 f300c; + public final List f301c; public g(List list) { - this.f300c = 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).f320c.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 7490144544..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.f267c, 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.f267c; + PointF pointF2 = this.f268c; boolean z2 = (pointF2 == null || (pointF = this.b) == null || !pointF.equals(pointF2.x, pointF2.y)) ? false : true; - PointF pointF3 = this.f267c; + 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 498cf58f6b..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.f267c, 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 3dfa23db78..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.f267c) == 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 474ead1a6c..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.f267c) == 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 e3ae0c931b..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.f267c; + k kVar2 = aVar.f268c; k kVar3 = this.i; if (kVar3.b == null) { kVar3.b = new PointF(); } - kVar3.f325c = kVar.f325c || kVar2.f325c; + 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.f304c; + PointF pointF5 = aVar2.f305c; PointF pointF6 = aVar3.a; PointF pointF7 = aVar3.b; - PointF pointF8 = aVar3.f304c; + 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).f304c.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.f304c; + 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.f325c) { + 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 fe3c85128c..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 f301c; + 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.f316c; + 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.f301c = new Matrix(); + this.f302c = new Matrix(); this.d = new Matrix(); this.e = new float[9]; } else { this.b = null; - this.f301c = 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.f276c) { + } 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.f279y || (aVar2 = this.m) == null) { - if (t != c.c.a.o.f280z || (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.f301c.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.f301c.preConcat(this.b); - this.d.preConcat(this.f301c); + 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 e39bfb75b9..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 f302c = 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 92a6e5545e..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 f303c; + 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.f303c = str; + this.f304c = str; if (!TextUtils.isEmpty(str)) { - String str2 = this.f303c; + String str2 = this.f304c; if (str2.charAt(str2.length() - 1) != '/') { - this.f303c = a.F(new StringBuilder(), this.f303c, 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 40f55162ae..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 f304c; + public final PointF f305c; public a() { this.a = new PointF(); this.b = new PointF(); - this.f304c = new PointF(); + this.f305c = new PointF(); } public a(PointF pointF, PointF pointF2, PointF pointF3) { this.a = pointF; this.b = pointF2; - this.f304c = 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 dd0282cdab..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[] f305c; + public static /* synthetic */ int[] f306c; public static /* synthetic */ int[] d; public static /* synthetic */ int[] e; public static /* synthetic */ int[] f; @@ -39,20 +39,20 @@ public /* synthetic */ class b { public static /* synthetic */ int[] r; /* renamed from: s reason: collision with root package name */ - public static /* synthetic */ int[] f306s; + public static /* synthetic */ int[] f307s; public static /* synthetic */ int[] t; public static /* synthetic */ int[] u; public static /* synthetic */ int[] v; public static /* synthetic */ int[] w; /* renamed from: x reason: collision with root package name */ - public static /* synthetic */ int[] f307x; + public static /* synthetic */ int[] f308x; /* renamed from: y reason: collision with root package name */ - public static /* synthetic */ int[] f308y; + public static /* synthetic */ int[] f309y; /* renamed from: z reason: collision with root package name */ - public static /* synthetic */ int[] f309z; + public static /* synthetic */ int[] f310z; public static synchronized /* synthetic */ int[] a() { int[] 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 04afab1e95..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 f310c; + 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.f310c = 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.f310c)) * 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 7ddc748397..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 f311c; + public final String f312c; public d(String str, String str2, String str3, float f) { this.a = str; this.b = str2; - this.f311c = 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 82a1001fb8..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 f312c; + 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.f312c = 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 d32a26c6c2..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 f313c; + public g f314c; public f(f fVar) { this.b = new ArrayList(fVar.b); - this.f313c = fVar.f313c; + 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.f313c = 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.f313c != 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 3ebc2ed530..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 f314c; + public final float f315c; public i(String str, float f, float f2) { this.a = str; - this.f314c = 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 b3e03c7488..411d3e1306 100644 --- a/app/src/main/java/c/c/a/y/j.java +++ b/app/src/main/java/c/c/a/y/j.java @@ -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 8a089d116e..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 f315c; + 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.f315c = 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 afcd3082f7..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 f316c; + 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.f316c = 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 3bd717b7c9..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 f317c; + 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.f317c = 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 8cf1283e6e..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 f318c; + 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.f318c = 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 729e623cc7..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 f319c; + 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.f319c = 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 48830e2a3d..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 f320c; + 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.f320c = 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 0bb4c80d23..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 f321c; + 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.f321c = 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 6534c81600..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 f322c; + 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.f322c = 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 fee8f6fdcd..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 f323c; + 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.f323c = 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.f323c); - 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 9506c5312b..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 f324c; + 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.f324c = 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 dced1d08bd..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 f325c; + 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.f325c = 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.f325c); - 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 738c41424c..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 f326c; + 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.f326c = 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 4bbf1d3245..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 f327c; + public final boolean f328c; public m(String str, List list, boolean z2) { this.a = str; this.b = list; - this.f327c = 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 623efad67b..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 f328c; + 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.f328c = 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 6640036ae0..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 f329c; + 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.f329c = 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 f9b8f7fc54..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 f330c; + 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.f330c = 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.f330c); - 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/b.java b/app/src/main/java/c/c/a/y/m/b.java index 00a0ed2174..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 f331c; + public final Paint f332c; public final Paint d; public final Paint e; public final Paint f; @@ -56,7 +56,7 @@ public abstract class b implements e, a.b, g { @Nullable /* renamed from: s reason: collision with root package name */ - public b f332s; + public b f333s; public List t; public final List> u; public final o v; @@ -64,7 +64,7 @@ public abstract class b implements e, a.b, g { public b(j jVar, e eVar) { boolean z2 = true; - this.f331c = 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); @@ -79,7 +79,7 @@ public abstract class b implements e, a.b, g { this.w = true; this.n = jVar; this.o = eVar; - this.l = c.d.b.a.a.G(new StringBuilder(), eVar.f339c, "#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 { @@ -125,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.f339c, i)) { - if (!"__container".equals(this.o.f339c)) { - fVar2 = fVar2.a(this.o.f339c); - if (fVar.c(this.o.f339c, 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.f339c, i)) { - n(fVar, fVar.d(this.o.f339c, i) + i, list, fVar2); + if (fVar.f(this.o.f340c, i)) { + n(fVar, fVar.d(this.o.f340c, i) + i, list, fVar2); } } } @@ -151,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.f332s; + b bVar = this.f333s; if (bVar != null) { this.m.preConcat(bVar.v.e()); } @@ -207,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.f300c.size(); + int size2 = this.p.f301c.size(); int i5 = 0; while (true) { if (i5 < size2) { - f fVar = this.p.f300c.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); @@ -257,8 +257,8 @@ public abstract class b implements e, a.b, g { } c.c.a.c.a("Layer#computeBounds"); if (!this.h.isEmpty()) { - this.f331c.setAlpha(255); - c.c.a.b0.g.f(canvas, this.h, this.f331c, 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); @@ -271,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.f300c.size()) { - f fVar2 = this.p.f300c.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.f331c.setColor(ViewCompat.MEASURED_STATE_MASK); - this.f331c.setAlpha(255); - canvas.drawRect(this.h, this.f331c); + 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.f331c); + 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); @@ -301,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.f300c.size()) { + if (i7 >= this.p.f301c.size()) { z2 = true; break; - } else if (this.p.f300c.get(i7).a != 4) { + } else if (this.p.f301c.get(i7).a != 4) { break; } else { i7++; } } if (!z2) { - this.f331c.setAlpha(255); - canvas.drawRect(this.h, this.f331c); + this.f332c.setAlpha(255); + canvas.drawRect(this.h, this.f332c); } } z2 = false; @@ -321,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.f331c); + 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); @@ -331,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.f331c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); - canvas.drawPath(this.a, this.f331c); + 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.f331c, 31); - canvas.drawRect(this.h, this.f331c); + 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.f331c.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.f331c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); - canvas.drawPath(this.a, this.f331c); + this.f332c.setAlpha((int) (((float) aVar3.e().intValue()) * 2.55f)); + canvas.drawPath(this.a, this.f332c); } i6++; i2 = 1; @@ -386,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.f339c; + return this.o.f340c; } public final void h() { if (this.t == null) { - if (this.f332s == null) { + if (this.f333s == null) { this.t = Collections.emptyList(); return; } this.t = new ArrayList(); - for (b bVar = this.f332s; bVar != null; bVar = bVar.f332s) { + for (b bVar = this.f333s; bVar != null; bVar = bVar.f333s) { this.t.add(bVar); } } @@ -421,12 +421,12 @@ public abstract class b implements e, a.b, g { public final void m(float f) { s sVar = this.n.j.a; - String str = this.o.f339c; + String str = this.o.f340c; if (sVar.a) { - c.c.a.b0.e eVar = sVar.f282c.get(str); + c.c.a.b0.e eVar = sVar.f283c.get(str); if (eVar == null) { eVar = new c.c.a.b0.e(); - sVar.f282c.put(str, eVar); + sVar.f283c.put(str, eVar); } float f2 = eVar.a + f; eVar.a = f2; 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 cebfbd70db..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 f333x; + public a f334x; /* renamed from: y reason: collision with root package name */ - public final List f334y = new ArrayList(); + public final List f335y = new ArrayList(); /* renamed from: z reason: collision with root package name */ - public final RectF f335z = 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.f340s; + b bVar3 = eVar.f341s; if (bVar3 != null) { a a = bVar3.a(); - this.f333x = a; + this.f334x = a; e(a); - this.f333x.a.add(this); + this.f334x.a.add(this); } else { - this.f333x = 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.f268c.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); @@ -79,7 +79,7 @@ public class c extends b { bVar4.r = bVar2; bVar4 = null; } else { - this.f334y.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.f332s = 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.f334y.size() - 1; size >= 0; size--) { - this.f335z.set(0.0f, 0.0f, 0.0f, 0.0f); - this.f334y.get(size).d(this.f335z, this.m, true); - rectF.union(this.f335z); + 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.f333x; + 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.f333x = pVar; + this.f334x = pVar; pVar.a.add(this); - e(this.f333x); + 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.f272z && this.f334y.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.f334y.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.f334y.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.f334y.size(); i2++) { - this.f334y.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.f333x != null) { - f = ((this.f333x.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.f333x == 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.f334y.size(); + int size = this.f335y.size(); while (true) { size--; if (size >= 0) { - this.f334y.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 de7899252a..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 f336x = 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 f337y = new Rect(); + public final Rect f338y = new Rect(); /* renamed from: z reason: collision with root package name */ - public final Rect f338z = 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.f336x.setAlpha(i); + this.f337x.setAlpha(i); a aVar = this.A; if (aVar != null) { - this.f336x.setColorFilter(aVar.e()); + this.f337x.setColorFilter(aVar.e()); } canvas.save(); canvas.concat(matrix); - this.f337y.set(0, 0, q.getWidth(), q.getHeight()); - this.f338z.set(0, 0, (int) (((float) q.getWidth()) * c2), (int) (((float) q.getHeight()) * c2)); - canvas.drawBitmap(q, this.f337y, this.f338z, this.f336x); + 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(); } } @@ -102,7 +102,7 @@ public class d extends b { } } if (jVar.r == null) { - jVar.r = new b(jVar.getCallback(), jVar.f269s, jVar.t, jVar.j.d); + jVar.r = new b(jVar.getCallback(), jVar.f270s, jVar.t, jVar.j.d); } bVar = jVar.r; } @@ -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.f303c)) { - Bitmap e = g.e(BitmapFactory.decodeStream(bVar.b.getAssets().open(bVar.f303c + 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 794188714a..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 f339c; + public final String f340c; public final long d; public final a e; public final long f; @@ -37,7 +37,7 @@ public class e { @Nullable /* renamed from: s reason: collision with root package name */ - public final c.c.a.y.k.b f340s; + 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.f339c = str; + this.f340c = str; this.d = j; this.e = aVar; this.f = j2; @@ -75,49 +75,49 @@ public class e { this.r = kVar; this.t = list3; this.u = i6; - this.f340s = bVar; + this.f341s = bVar; this.v = z2; } public String a(String str) { - StringBuilder O = c.d.b.a.a.O(str); - O.append(this.f339c); - 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.f339c); + R.append("\t\tParents: "); + R.append(e.f340c); e e2 = this.b.e(e.f); while (e2 != null) { - O.append("->"); - O.append(e2.f339c); + 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 9bebe70bac..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 f341x; + 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.f341x = 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.f341x.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.f341x.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.f341x.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 4a70ac8bcc..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 f342x = new RectF(); + public final RectF f343x = new RectF(); /* renamed from: y reason: collision with root package name */ - public final Paint f343y; + public final Paint f344y; /* renamed from: z reason: collision with root package name */ - public final float[] f344z; + 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.f343y = aVar; - this.f344z = 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.f342x; + RectF rectF2 = this.f343x; e eVar = this.B; rectF2.set(0.0f, 0.0f, (float) eVar.j, (float) eVar.k); - this.m.mapRect(this.f342x); - rectF.set(this.f342x); + 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.f343y.setAlpha(intValue); + this.f344y.setAlpha(intValue); a aVar2 = this.C; if (aVar2 != null) { - this.f343y.setColorFilter(aVar2.e()); + this.f344y.setColorFilter(aVar2.e()); } if (intValue > 0) { - float[] fArr = this.f344z; + 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.f344z; + float[] fArr2 = this.f345z; path.moveTo(fArr2[0], fArr2[1]); Path path2 = this.A; - float[] fArr3 = this.f344z; + float[] fArr3 = this.f345z; path2.lineTo(fArr3[2], fArr3[3]); Path path3 = this.A; - float[] fArr4 = this.f344z; + float[] fArr4 = this.f345z; path3.lineTo(fArr4[4], fArr4[5]); Path path4 = this.A; - float[] fArr5 = this.f344z; + float[] fArr5 = this.f345z; path4.lineTo(fArr5[6], fArr5[7]); Path path5 = this.A; - float[] fArr6 = this.f344z; + float[] fArr6 = this.f345z; path5.lineTo(fArr6[0], fArr6[1]); this.A.close(); - canvas.drawPath(this.A, this.f343y); + 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 516902f01c..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 f345x = new StringBuilder(2); + public final StringBuilder f346x = new StringBuilder(2); /* renamed from: y reason: collision with root package name */ - public final RectF f346y = new RectF(); + public final RectF f347y = new RectF(); /* renamed from: z reason: collision with root package name */ - public final Matrix f347z = new Matrix(); + public final Matrix f348z = new Matrix(); /* compiled from: TextLayer */ public class a extends Paint { @@ -102,7 +102,7 @@ public class i extends b { a3.a.add(this); e(this.J); } - if (!(kVar == null || (bVar2 = kVar.f315c) == 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.f310c) / 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.f311c)); + 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.f312c; + 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.f311c)); + 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.f346y, false); - this.f347z.set(matrix); - this.f347z.preTranslate(0.0f, (-e.g) * g.c()); - this.f347z.preScale(floatValue, floatValue); - path.transform(this.f347z); + 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.f312c) * 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.f311c; + ?? 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.f302c.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.f302c.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.f310c)); + 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.f345x.setLength(0); + this.f346x.setLength(0); int i12 = i11; while (i12 < charCount) { int codePointAt3 = str9.codePointAt(i12); - this.f345x.appendCodePoint(codePointAt3); + this.f346x.appendCodePoint(codePointAt3); i12 += Character.charCount(codePointAt3); } - String sb = this.f345x.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 e238d9b168..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 f348c; + 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.f348c = null; + this.f349c = null; } else { - this.f348c = 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.f348c; + 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.f348c; + 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.f348c; + 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 a7a9a39d2b..0986202023 100644 --- a/app/src/main/java/c/d/a/a/a.java +++ b/app/src/main/java/c/d/a/a/a.java @@ -43,7 +43,7 @@ public class a extends BillingClient { public final String b; /* renamed from: c reason: collision with root package name */ - public final Handler f349c; + public final Handler f350c; public volatile s d; public Context e; public volatile d f; @@ -68,7 +68,7 @@ public class a extends BillingClient { str2 = "4.0.0"; } this.a = 0; - this.f349c = new Handler(Looper.getMainLooper()); + this.f350c = new Handler(Looper.getMainLooper()); this.i = 0; this.b = str2; Context applicationContext = context.getApplicationContext(); @@ -179,11 +179,11 @@ public class a extends BillingClient { while (i < arrayList.size()) { String valueOf = String.valueOf(str12); String valueOf2 = String.valueOf(arrayList.get(i)); - String G = c.d.b.a.a.G(new StringBuilder(valueOf.length() + valueOf2.length()), valueOf, valueOf2); + String H = c.d.b.a.a.H(new StringBuilder(valueOf.length() + valueOf2.length()), valueOf, valueOf2); if (i < arrayList.size() - 1) { - G = String.valueOf(G).concat(", "); + H = String.valueOf(H).concat(", "); } - str12 = G; + str12 = H; i++; str11 = str11; } @@ -215,8 +215,8 @@ public class a extends BillingClient { if (!TextUtils.isEmpty(null)) { bundle.putStringArrayList("skusToReplace", new ArrayList<>(Arrays.asList(null))); } - if (!TextUtils.isEmpty(billingFlowParams.f1548c)) { - bundle.putString("oldSkuPurchaseToken", billingFlowParams.f1548c); + if (!TextUtils.isEmpty(billingFlowParams.f1579c)) { + bundle.putString("oldSkuPurchaseToken", billingFlowParams.f1579c); } if (!TextUtils.isEmpty(null)) { bundle.putString("oldSkuPurchaseId", null); @@ -318,13 +318,13 @@ public class a extends BillingClient { bundle.putString("proxyPackageVersion", "package not found"); } } - future = l(new b0(this, (!this.n || !z2) ? this.k ? 9 : billingFlowParams.g ? 7 : 6 : 15, skuDetails, e, billingFlowParams, bundle), 5000, null, this.f349c); + future = l(new b0(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 = l(new u(this, skuDetails, e), 5000, null, this.f349c); + future = l(new u(this, skuDetails, e), 5000, null, this.f350c); } try { Bundle bundle2 = (Bundle) future.get(5000, TimeUnit.MILLISECONDS); @@ -445,7 +445,7 @@ public class a extends BillingClient { bVar.onBillingSetupFinished(p.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(p.f350c); + bVar.onBillingSetupFinished(p.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(p.j); @@ -456,7 +456,7 @@ public class a extends BillingClient { Context context = sVar.a; IntentFilter intentFilter = new IntentFilter("com.android.vending.billing.PURCHASES_UPDATED"); if (!rVar.b) { - context.registerReceiver(rVar.f351c.b, intentFilter); + context.registerReceiver(rVar.f352c.b, intentFilter); rVar.b = true; } c.i.a.f.h.n.a.e("BillingClient", "Starting in-app billing setup."); @@ -488,14 +488,14 @@ public class a extends BillingClient { } public final Handler i() { - return Looper.myLooper() == null ? this.f349c : new Handler(Looper.myLooper()); + return Looper.myLooper() == null ? this.f350c : new Handler(Looper.myLooper()); } public final BillingResult j(BillingResult billingResult) { if (Thread.interrupted()) { return billingResult; } - this.f349c.post(new w(this, billingResult)); + this.f350c.post(new w(this, billingResult)); return billingResult; } diff --git a/app/src/main/java/c/d/a/a/p.java b/app/src/main/java/c/d/a/a/p.java index 925504bfde..1c635a4119 100644 --- a/app/src/main/java/c/d/a/a/p.java +++ b/app/src/main/java/c/d/a/a/p.java @@ -7,7 +7,7 @@ public final class p { public static final BillingResult b; /* renamed from: c reason: collision with root package name */ - public static final BillingResult f350c; + public static final BillingResult f351c; public static final BillingResult d; public static final BillingResult e; public static final BillingResult f; @@ -34,7 +34,7 @@ public final class p { BillingResult billingResult4 = new BillingResult(); billingResult4.a = 5; billingResult4.b = "Client is already in the process of connecting to billing service."; - f350c = billingResult4; + f351c = billingResult4; BillingResult billingResult5 = new BillingResult(); billingResult5.a = 3; billingResult5.b = "Play Store version installed does not support cross selling products."; 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 5de500cfa3..28a941fc47 100644 --- a/app/src/main/java/c/d/a/a/r.java +++ b/app/src/main/java/c/d/a/a/r.java @@ -14,10 +14,10 @@ public final class r extends BroadcastReceiver { public boolean b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ s f351c; + public final /* synthetic */ s f352c; public /* synthetic */ r(s sVar, g gVar) { - this.f351c = sVar; + this.f352c = sVar; this.a = gVar; } 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 808d0dcb00..49ed41c5da 100644 --- a/app/src/main/java/c/d/a/a/s.java +++ b/app/src/main/java/c/d/a/a/s.java @@ -16,7 +16,7 @@ public final class s { r rVar = this.b; Context context = this.a; if (rVar.b) { - context.unregisterReceiver(rVar.f351c.b); + context.unregisterReceiver(rVar.f352c.b); rVar.b = false; return; } 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 e5054f86fe..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,6 +11,7 @@ import androidx.fragment.app.FragmentActivity; import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelStore; import androidx.recyclerview.widget.RecyclerView; +import c.a.a.z.c; import c.a.i.g4; import c.a.q.o0.e; import c.i.c.m.d.b; @@ -19,7 +20,7 @@ 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 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; @@ -28,7 +29,6 @@ import d0.z.d.a0; import d0.z.d.l; import d0.z.d.m; import d0.z.d.y; -import h0.a.a.c; import h0.a.a.v; import java.lang.reflect.Type; import java.util.ArrayList; @@ -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 g4 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.C0259b 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 3b642c1a1c..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 f352c; + 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; - f352c = 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 (f352c == null) { + if (f353c == null) { synchronized (a) { - if (f352c == null) { - f352c = new a(classLoader2); + if (f353c == null) { + f353c = new a(classLoader2); } } } - return f352c; + 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 9e4829770b..d78c253a82 100644 --- a/app/src/main/java/c/e/b/b.java +++ b/app/src/main/java/c/e/b/b.java @@ -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 4832112600..0ee3a369b6 100644 --- a/app/src/main/java/c/e/b/c.java +++ b/app/src/main/java/c/e/b/c.java @@ -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.f2897c); - q(fVar, replace2, arrayList, w.f2897c); + n(fVar, replace2, arrayList, w.f2911c); + q(fVar, replace2, arrayList, w.f2911c); 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(); @@ -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 db847cd708..e82348aa6f 100644 --- a/app/src/main/java/c/e/b/d.java +++ b/app/src/main/java/c/e/b/d.java @@ -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 3f052285ed..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 f353c; + 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 f354c = -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.f354c < 0) { - this.f354c = this.b.a(); + if (this.f355c < 0) { + this.f355c = this.b.a(); } - return this.f354c; + 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.f431c.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.f353c.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.f353c = 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.f353c, 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.f353c.exists()) { + if (this.f354c.exists()) { if (!file2.exists()) { - c.c.a.a0.d.b0(this.f353c); + 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.f353c, 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.f353c.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.f353c, 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 8abc64e8ee..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 f356c; + 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 f357c = -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.f357c += 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 f358c; + public final long f359c; public c(long j, long j2, long j3) { this.a = j; this.b = j2; - this.f358c = 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.f356c = cVar2.b; - long j = cVar2.f358c; + 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.f357c; + 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.f357c = 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.f357c = -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.f364c : 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.f356c; + 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 0bf4375c14..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 f359c; + 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.f359c = 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.f359c); + 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 68dde1b434..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 f360c; + public static int f361c; public CacheKey d; public i e; @@ -19,16 +19,16 @@ public class i { } b = iVar.e; iVar.e = null; - f360c--; + f361c--; return iVar; } } public void b() { synchronized (a) { - int i = f360c; + int i = f361c; if (i < 5) { - f360c = 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 34c1d8e334..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 f361c; + 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 f362c; + 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.f361c = 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.f361c.f362c = aVar; - this.f361c = 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.f362c; + 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.f362c; + 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 f7c88036ad..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 f363c = 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 03692d3e11..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 f364c = 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.f364c = c(this.f364c, 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 26cd7909ce..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[] f365c = 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, f365c) && 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 090b30a7a6..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 f366c = 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.f366c) { + if (this.f367c) { return false; } - this.f366c = 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.f366c) { + 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.f366c; + 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.f366c) { + 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.f366c) { + 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.f366c) { + 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 c7650ee54b..d475e4a960 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 f367x; + public final a f368x; /* renamed from: y reason: collision with root package name */ - public final e f368y; + public final e f369y; /* renamed from: z reason: collision with root package name */ - public final w f369z; + 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.f367x = new a(resources, aVar2); - this.f368y = eVar; - this.f369z = 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.f372c; + 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 w = closeableReference2.w(); - K(w); - Drawable J = J(this.D, w); - if (J == null && (J = J(this.f368y, w)) == null && (J = this.f367x.b(w)) == null) { - throw new UnsupportedOperationException("Unrecognized image class: " + w); + 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.f369z; + 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.f2264c) == null) { + if (imageRequest == null || (uri = imageRequest.f2294c) == null) { if (!(imageRequestArr == null || imageRequestArr.length <= 0 || imageRequestArr[0] == null)) { ImageRequest imageRequest3 = imageRequestArr[0]; - uri = imageRequest3 != null ? imageRequest3.f2264c : null; + uri = imageRequest3 != null ? imageRequest3.f2294c : null; } if (imageRequest2 != null) { - return imageRequest2.f2264c; + return imageRequest2.f2294c; } 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 b397236640..403f5c6e4b 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 4718bdc0a8..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 f370c; + 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.f370c = 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.f371c = 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.f370c, 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 79dc03f4e1..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 f371c; + 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 de78c6326d..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 f372c = 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.f372c.f374s = bounds.width(); - this.f372c.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.f372c; + h hVar = this.f373c; hVar.b = null; - hVar.f373c = null; + hVar.f374c = null; hVar.d = null; hVar.e = null; hVar.f = null; @@ -73,7 +73,7 @@ public class f implements g { hVar.p = 1; hVar.q = null; hVar.r = false; - hVar.f374s = -1; + hVar.f375s = -1; hVar.t = -1; hVar.u = null; hVar.v = -1; @@ -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.f372c, 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.f372c); + 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.f372c, 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 f5cf01be6a..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 f373c; + public ImageRequest f374c; public Object d; public ImageInfo e; public ImageRequest f; @@ -28,20 +28,20 @@ public class h { public boolean r; /* renamed from: s reason: collision with root package name */ - public int f374s = -1; + public int f375s = -1; public int t = -1; public Throwable u; public int v = -1; public int w = -1; /* renamed from: x reason: collision with root package name */ - public long f375x = -1; + public long f376x = -1; /* renamed from: y reason: collision with root package name */ - public long f376y = -1; + public long f377y = -1; /* renamed from: z reason: collision with root package name */ - public long f377z = -1; + public long f378z = -1; public void a() { this.n = -1; @@ -50,12 +50,12 @@ public class h { this.k = -1; this.l = -1; this.m = -1; - this.f375x = -1; - this.f376y = -1; - this.f377z = -1; + this.f376x = -1; + this.f377y = -1; + this.f378z = -1; } public d b() { - return new d(this.a, this.b, this.f373c, 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.f374s, this.t, this.u, this.w, this.f375x, this.f376y, null, this.f377z, 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 76f7e670c0..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 f378c; + 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.f378c = gVar; + this.f379c = gVar; this.d = supplier; this.e = supplier2; } @@ -67,7 +67,7 @@ public class a extends c.f.h.b.a.a { e.A = aVar; g(e, 0); e.w = 1; - e.f375x = now; + e.f376x = now; h(e, 1); } @@ -81,7 +81,7 @@ public class a extends c.f.h.b.a.a { e.u = th; g(e, 5); e.w = 2; - e.f376y = now; + e.f377y = now; h(e, 2); } @@ -97,7 +97,7 @@ public class a extends c.f.h.b.a.a { g(e, 4); } e.w = 2; - e.f376y = now; + 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.f378c); + 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.f378c).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.f378c).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 1abbbe5a7b..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,7 +18,7 @@ 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.f373c = imageRequest; + hVar.f374c = imageRequest; hVar.d = obj; hVar.b = str; hVar.r = z2; @@ -28,7 +28,7 @@ public class c extends a { public void c(ImageRequest imageRequest, String str, boolean z2) { this.b.o = this.a.now(); h hVar = this.b; - hVar.f373c = imageRequest; + hVar.f374c = imageRequest; hVar.b = str; hVar.r = z2; } @@ -37,7 +37,7 @@ public class c extends a { public void g(ImageRequest imageRequest, String str, Throwable th, boolean z2) { this.b.o = this.a.now(); h hVar = this.b; - hVar.f373c = imageRequest; + hVar.f374c = imageRequest; hVar.b = str; hVar.r = z2; } 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 e19cc2f1f8..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 f379c = 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 45217ce158..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 f380c = 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.f380c.size() + 1 > 20) { - this.f380c.poll(); + if (this.f381c.size() + 1 > 20) { + this.f381c.poll(); } - this.f380c.add(aVar); + this.f381c.add(aVar); } } public String toString() { - return this.f380c.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 3d38b35f72..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 f385c = 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 c9af6a3905..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 f386c; + 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.f386c = 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.f386c, 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.f386c.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 00402dd5cf..1d48502143 100644 --- a/app/src/main/java/c/f/g/d/a.java +++ b/app/src/main/java/c/f/g/d/a.java @@ -31,20 +31,20 @@ public class a extends Drawable implements b { public final Paint r = new Paint(1); /* renamed from: s reason: collision with root package name */ - public final Matrix f387s = new Matrix(); + public final Matrix f388s = new Matrix(); public final Rect t = new Rect(); public final RectF u = new RectF(); public int v; public int w; /* renamed from: x reason: collision with root package name */ - public int f388x; + public int f389x; /* renamed from: y reason: collision with root package name */ - public int f389y; + public int f390y; /* renamed from: z reason: collision with root package name */ - public int f390z; + public int f391z; public a() { c(); @@ -55,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.r.measureText(u); + 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.f389y; - int i3 = this.f390z; - canvas.drawRect((float) (i2 - 4), (float) (i3 + 8), ((float) i2) + measureText + measureText2 + 4.0f, (float) (i3 + this.f388x + 8), this.r); + 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(u, (float) this.f389y, (float) this.f390z, this.r); + canvas.drawText(v, (float) this.f390y, (float) this.f391z, this.r); this.r.setColor(i); - canvas.drawText(str2, ((float) this.f389y) + measureText, (float) this.f390z, this.r); - this.f390z += this.f388x; + canvas.drawText(str2, ((float) this.f390y) + measureText, (float) this.f391z, this.r); + this.f391z += this.f389x; } public void c() { @@ -109,8 +109,8 @@ public class a extends Drawable implements b { this.r.setStyle(Paint.Style.FILL); this.r.setStrokeWidth(0.0f); this.r.setColor(-1); - this.f389y = this.v; - this.f390z = this.w; + 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; @@ -125,14 +125,14 @@ public class a extends Drawable implements b { rect.left = 0; rect.right = width; rect.bottom = height; - this.f387s.reset(); - scalingUtils$ScaleType2.a(this.f387s, 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.f387s.mapRect(rectF); + this.f388s.mapRect(rectF); width = Math.min(width, (int) this.u.width()); height = Math.min(height, (int) this.u.height()); } @@ -221,10 +221,10 @@ public class a extends Drawable implements b { int min = Math.min(40, Math.max(10, Math.min(rect.width() / 8, rect.height() / 9))); this.r.setTextSize((float) min); int i = min + 8; - this.f388x = i; + this.f389x = i; int i2 = this.q; if (i2 == 80) { - this.f388x = i * -1; + this.f389x = i * -1; } this.v = rect.left + 10; this.w = i2 == 80 ? rect.bottom - 10 : rect.top + 10 + 10; 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 9e5c5ed594..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 f391c; + public b f392c; public a(b bVar) { - this.f391c = 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.f391c; + 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 f1e3b36f51..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.f392c = 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 8cfee5b8b4..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 f392c = 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 8ea9077079..4e4be3277a 100644 --- a/app/src/main/java/c/f/g/e/f.java +++ b/app/src/main/java/c/f/g/e/f.java @@ -19,7 +19,7 @@ public class f extends b { public final boolean r; /* renamed from: s reason: collision with root package name */ - public final int f393s; + public final int f394s; public final int t; @VisibleForTesting public int u; @@ -30,15 +30,15 @@ public class f extends b { @VisibleForTesting /* renamed from: x reason: collision with root package name */ - public int[] f394x; + public int[] f395x; @VisibleForTesting /* renamed from: y reason: collision with root package name */ - public int[] f395y; + public int[] f396y; @VisibleForTesting /* renamed from: z reason: collision with root package name */ - public int f396z; + public int f397z; /* compiled from: FadeDrawable */ public interface a { @@ -49,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.f394x = iArr; - this.f395y = new int[drawableArr.length]; - this.f396z = 255; + this.f395x = iArr; + this.f396y = new int[drawableArr.length]; + this.f397z = 255; this.A = new boolean[drawableArr.length]; this.B = 0; this.r = z2; int i2 = z2 ? 255 : 0; - this.f393s = i2; + this.f394s = i2; this.t = i; this.u = 2; Arrays.fill(iArr, i2); - this.f394x[0] = 255; - Arrays.fill(this.f395y, i2); - this.f395y[0] = 255; + this.f395x[0] = 255; + Arrays.fill(this.f396y, i2); + this.f396y[0] = 255; Arrays.fill(this.A, z2); this.A[0] = true; } @@ -74,7 +74,7 @@ public class f extends b { int i2 = this.u; int i3 = 2; if (i2 == 0) { - System.arraycopy(this.f395y, 0, this.f394x, 0, this.q.length); + 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) { @@ -108,7 +108,7 @@ public class f extends b { break; } Drawable drawable = drawableArr[i4]; - int ceil = (int) Math.ceil(((double) (this.f395y[i4] * this.f396z)) / 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); @@ -140,14 +140,14 @@ public class f extends b { public void g() { this.u = 2; for (int i = 0; i < this.q.length; i++) { - this.f395y[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.f396z; + return this.f397z; } public final boolean i(float f) { @@ -155,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.f395y; - iArr[i] = (int) ((((float) (i2 * 255)) * f) + ((float) this.f394x[i])); + int[] iArr = this.f396y; + iArr[i] = (int) ((((float) (i2 * 255)) * f) + ((float) this.f395x[i])); if (iArr[i] < 0) { iArr[i] = 0; } @@ -182,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.f396z != i) { - this.f396z = 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 054297832e..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.f392c = 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 61d7c21f19..e301110f93 100644 --- a/app/src/main/java/c/f/g/e/l.java +++ b/app/src/main/java/c/f/g/e/l.java @@ -28,7 +28,7 @@ public class l extends Drawable implements j { @VisibleForTesting /* renamed from: s reason: collision with root package name */ - public final Path f397s = new Path(); + public final Path f398s = new Path(); @VisibleForTesting public final Path t = new Path(); public int u = 0; @@ -58,7 +58,7 @@ public class l extends Drawable implements j { public final void b() { float[] fArr; float[] fArr2; - this.f397s.reset(); + this.f398s.reset(); this.t.reset(); this.v.set(getBounds()); RectF rectF = this.v; @@ -85,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.f397s.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]; @@ -98,9 +98,9 @@ public class l extends Drawable implements j { fArr[i] = this.i[i] - this.n; i++; } - this.f397s.addRoundRect(this.v, fArr, Path.Direction.CW); + this.f398s.addRoundRect(this.v, fArr, Path.Direction.CW); } else { - this.f397s.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); @@ -115,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.w)); + this.l.setColor(d.k1(this.u, this.w)); this.l.setStyle(Paint.Style.FILL); this.l.setFilterBitmap(this.r); - canvas.drawPath(this.f397s, this.l); + canvas.drawPath(this.f398s, this.l); if (this.n != 0.0f) { - this.l.setColor(d.m1(this.p, this.w)); + 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); @@ -151,11 +151,11 @@ public class l extends Drawable implements j { @Override // android.graphics.drawable.Drawable public int getOpacity() { - int m1 = d.m1(this.u, this.w) >>> 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 @@ -169,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(); @@ -180,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(); 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 d0a5f4b1bb..46cd72ce05 100644 --- a/app/src/main/java/c/f/g/e/m.java +++ b/app/src/main/java/c/f/g/e/m.java @@ -27,20 +27,20 @@ public class m extends g implements j { @VisibleForTesting /* renamed from: s reason: collision with root package name */ - public final Paint f398s = new Paint(1); + public final Paint f399s = new Paint(1); public boolean t = false; public float u = 0.0f; public int v = 0; public int w = 0; /* renamed from: x reason: collision with root package name */ - public float f399x = 0.0f; + public float f400x = 0.0f; /* renamed from: y reason: collision with root package name */ - public boolean f400y = false; + public boolean f401y = false; /* renamed from: z reason: collision with root package name */ - public boolean f401z = false; + public boolean f402z = false; public m(Drawable drawable) { super(drawable); @@ -66,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.f400y) { + if (this.f401y) { RectF rectF = this.o; if (rectF == null) { this.o = new RectF(this.n); @@ -92,32 +92,32 @@ public class m extends g implements j { drawable2.draw(canvas); } } - this.f398s.setStyle(Paint.Style.FILL); - this.f398s.setColor(this.w); - this.f398s.setStrokeWidth(0.0f); - this.f398s.setFilterBitmap(this.f401z); + 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.f398s); + 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.f398s); + 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.f398s); + 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.f398s); + 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.f398s); + canvas.drawRect(f6, f7 - height, rectF6.right, f7, this.f399s); } } } else if (h == 1) { @@ -130,32 +130,32 @@ public class m extends g implements j { canvas.restoreToCount(save2); } if (this.v != 0) { - this.f398s.setStyle(Paint.Style.STROKE); - this.f398s.setColor(this.v); - this.f398s.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.f398s); + canvas.drawPath(this.B, this.f399s); } } @Override // c.f.g.e.j public void e(boolean z2) { - if (this.f401z != z2) { - this.f401z = z2; + if (this.f402z != z2) { + this.f402z = z2; invalidateSelf(); } } @Override // c.f.g.e.j public void f(boolean z2) { - this.f400y = z2; + this.f401y = z2; p(); invalidateSelf(); } @Override // c.f.g.e.j public void i(float f) { - this.f399x = f; + this.f400x = f; p(); invalidateSelf(); } @@ -172,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(); @@ -194,7 +194,7 @@ public class m extends g implements j { this.B.reset(); this.C.set(getBounds()); RectF rectF = this.C; - float f = this.f399x; + float f = this.f400x; rectF.inset(f, f); if (this.m == 1) { this.A.addRect(this.C, Path.Direction.CW); @@ -205,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.f399x; + float f2 = -this.f400x; rectF2.inset(f2, f2); RectF rectF3 = this.C; float f3 = this.u / 2.0f; @@ -219,7 +219,7 @@ public class m extends g implements j { if (i >= fArr.length) { break; } - fArr[i] = (this.q[i] + this.f399x) - (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 8996a7f0dc..09fc381537 100644 --- a/app/src/main/java/c/f/g/e/n.java +++ b/app/src/main/java/c/f/g/e/n.java @@ -52,7 +52,7 @@ public abstract class n extends Drawable implements j, d0 { @VisibleForTesting /* renamed from: s reason: collision with root package name */ - public float[] f402s; + public float[] f403s; @VisibleForTesting public final RectF t = new RectF(); @VisibleForTesting @@ -65,15 +65,15 @@ public abstract class n extends Drawable implements j, d0 { @VisibleForTesting /* renamed from: x reason: collision with root package name */ - public RectF f403x; + public RectF f404x; @VisibleForTesting /* renamed from: y reason: collision with root package name */ - public final Matrix f404y = new Matrix(); + public final Matrix f405y = new Matrix(); @VisibleForTesting /* renamed from: z reason: collision with root package name */ - public final Matrix f405z = new Matrix(); + public final Matrix f406z = new Matrix(); public n(Drawable drawable) { this.i = drawable; @@ -165,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.f402s == null) { - this.f402s = new float[8]; + if (this.f403s == null) { + this.f403s = new float[8]; } for (int i2 = 0; i2 < this.r.length; i2++) { - this.f402s[i2] = this.q[i2] - this.l; + this.f403s[i2] = this.q[i2] - this.l; } - this.m.addRoundRect(this.t, this.f402s, Path.Direction.CW); + this.m.addRoundRect(this.t, this.f403s, Path.Direction.CW); } else { this.m.addRoundRect(this.t, this.q, Path.Direction.CW); } @@ -222,37 +222,37 @@ public abstract class n extends Drawable implements j, d0 { } this.v.set(0.0f, 0.0f, (float) getIntrinsicWidth(), (float) getIntrinsicHeight()); this.w.set(this.i.getBounds()); - this.f404y.setRectToRect(this.v, this.w, Matrix.ScaleToFit.FILL); + this.f405y.setRectToRect(this.v, this.w, Matrix.ScaleToFit.FILL); if (this.H) { - RectF rectF = this.f403x; + RectF rectF = this.f404x; if (rectF == null) { - this.f403x = new RectF(this.t); + this.f404x = new RectF(this.t); } else { rectF.set(this.t); } - RectF rectF2 = this.f403x; + 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.f403x, 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.f404y.equals(this.f405z) || ((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.f404y); + this.F.preConcat(this.f405y); this.B.set(this.A); - this.f405z.set(this.f404y); + this.f406z.set(this.f405y); if (this.H) { Matrix matrix3 = this.E; if (matrix3 == null) { @@ -302,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 3948c8e7aa..234d57df9e 100644 --- a/app/src/main/java/c/f/g/e/p.java +++ b/app/src/main/java/c/f/g/e/p.java @@ -24,7 +24,7 @@ public class p extends g { public Matrix r; /* renamed from: s reason: collision with root package name */ - public Matrix f406s = new Matrix(); + public Matrix f407s = new Matrix(); public p(Drawable drawable, ScalingUtils$ScaleType scalingUtils$ScaleType) { super(drawable); @@ -99,10 +99,10 @@ public class p extends g { } drawable.setBounds(0, 0, intrinsicWidth, intrinsicHeight); ScalingUtils$ScaleType scalingUtils$ScaleType3 = this.m; - Matrix matrix = this.f406s; + 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.r = this.f406s; + 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 d51eb4fdcb..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 f407c; + public Resources f408c; public int d = 300; public float e = 0.0f; public Drawable f = null; @@ -37,7 +37,7 @@ public class a { } public a(Resources resources) { - this.f407c = resources; + this.f408c = resources; ScalingUtils$ScaleType scalingUtils$ScaleType = a; this.g = scalingUtils$ScaleType; this.h = null; 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 9cc3895555..407169bc3a 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.f2255c = true; + draweeHolder.f2285c = 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 c381ffef01..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[] f408c = 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.f408c == null) { - cVar.f408c = new float[8]; + if (cVar.f409c == null) { + cVar.f409c = new float[8]; } - Arrays.fill(cVar.f408c, 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.f408c, cVar.f408c); + 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.f408c; + 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 65dad5a711..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.f408c); + jVar.m(cVar.f409c); jVar.a(cVar.f, cVar.e); jVar.i(cVar.g); jVar.f(false); @@ -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 46c7e96889..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 f409c = 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 e4c3d04756..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 f410c; + 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.f410c = scheduledExecutorService; + this.f411c = scheduledExecutorService; } public final synchronized void c() { if (!this.d) { this.d = true; - this.f410c.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 5e920f4e8a..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 f411c; + 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.f411c = 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.f411c.a(); + return this.f412c.a(); } @Override // c.f.h.a.a.d public int b() { - return this.f411c.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.f411c.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.f427c, 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.f414c = 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).f427c.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).f427c.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 53009f3d04..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> f412c = 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.f428c); - if (CloseableReference.z(c2)) { - closeableReference2 = this.f412c.get(i); - this.f412c.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.f412c.size(); i++) { - CloseableReference valueAt = this.f412c.valueAt(i); + for (int i = 0; i < this.f413c.size(); i++) { + CloseableReference valueAt = this.f413c.valueAt(i); if (valueAt != null) { valueAt.close(); } } - this.f412c.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.f412c.get(i); + CloseableReference closeableReference2 = this.f413c.get(i); if (closeableReference2 != null) { - this.f412c.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.f428c); + 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 21f11a4e5b..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 f413c; + 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.f413c); + 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.f413c = 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 5aa72238fb..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).f427c.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 d162dc6b09..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 f414c; + 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.f414c = new d(aVar, aVar2); + this.f415c = new d(aVar, aVar2); } public boolean a(int i, Bitmap bitmap) { try { - this.f414c.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 40875cc39b..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 @@ -22,28 +22,28 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { public long r; /* renamed from: s reason: collision with root package name */ - public long f415s; + public long f416s; public int t; public long u; public int v; public volatile b w; /* renamed from: x reason: collision with root package name */ - public e f416x; + public e f417x; /* renamed from: y reason: collision with root package name */ - public final Runnable f417y; + 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.f417y); + aVar.unscheduleSelf(aVar.f418y); a.this.invalidateSelf(); } } @@ -55,7 +55,7 @@ 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.w = j; - this.f417y = new RunnableC0064a(); + this.f418y = new RunnableC0063a(); this.k = aVar; this.l = aVar == null ? null : new c.f.h.a.e.a(aVar); } @@ -116,7 +116,7 @@ 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.f417y, j7); + scheduleSelf(this.f418y, j7); } else { Objects.requireNonNull(this.w); this.m = false; @@ -178,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.f416x == null) { - this.f416x = new e(); + if (this.f417x == null) { + this.f417x = new e(); } - this.f416x.a = i2; + this.f417x.a = i2; c.f.h.a.a.a aVar = this.k; if (aVar != null) { aVar.f(i2); @@ -190,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.f416x == null) { - this.f416x = new e(); + if (this.f417x == null) { + this.f417x = new e(); } - e eVar = this.f416x; - eVar.f392c = colorFilter; + e eVar = this.f417x; + eVar.f393c = colorFilter; eVar.b = true; c.f.h.a.a.a aVar = this.k; if (aVar != null) { @@ -211,7 +211,7 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { long j2 = uptimeMillis - this.r; this.n = j2; this.p = j2; - this.o = uptimeMillis - this.f415s; + this.o = uptimeMillis - this.f416s; this.q = this.t; invalidateSelf(); Objects.requireNonNull(this.w); @@ -223,14 +223,14 @@ public class a extends Drawable implements Animatable, c.f.f.a.a { if (this.m) { long uptimeMillis = SystemClock.uptimeMillis(); this.r = uptimeMillis - this.n; - this.f415s = uptimeMillis - this.o; + 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.f417y); + 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 da9e2f2d29..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 f418c; + 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.f418c = 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.f418c); + 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 86c5d0cfb3..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 f419c; + 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 0263f52948..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[] f420c; + 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}; - f420c = 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 = f420c; - 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.f421c; + 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 8b3e8c3aa8..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 f421c = 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 6a300a1f79..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 f422c; + 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.f422c; + 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.f422c; + 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 522c6186da..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 f423c; + 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.f423c = 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 fa1778de35..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> f424c; + 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.f424c = CloseableReference.r(fVar.f425c); + 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 51f85a099c..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> f425c; + public List> f426c; public int d; public a e; @@ -26,8 +26,8 @@ public class f { closeableReference.close(); } this.b = null; - CloseableReference.t(this.f425c); - this.f425c = 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.f425c); - this.f425c = 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 94b9ad0076..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 f426c; + 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.f426c = 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.f425c = 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 847bec8313..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 f427c; + 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.f427c = 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.f427c, rect); + this.d = a(this.f428c, rect); this.i = z2; - this.f = new b[this.f427c.a()]; - for (int i5 = 0; i5 < this.f427c.a(); i5++) { - this.f[i5] = this.f427c.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.f427c.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.f427c.d(i); + d d = this.f428c.d(i); try { - if (this.f427c.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.f427c.getWidth()); - double height = ((double) this.d.height()) / ((double) this.f427c.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 f9de72fd77..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 f428c = 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 06f3b5a7d3..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 f429c; + 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.f429c = 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.f423c), (float) (i2 + bVar.d), this.f429c); + 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.f423c == ((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 1db522cde3..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 f430c; + 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.f430c = 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.f430c, bVar.f430c) && 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.f430c, 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 b6dddc9929..c0a791bf1e 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 f431c; + 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.f431c = 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)) { @@ -155,7 +155,7 @@ public class f { Objects.requireNonNull((z) this.g); Executor executor = z.g.a; if (eVar instanceof Boolean) { - return ((Boolean) eVar).booleanValue() ? z.g.f2978c : z.g.d; + return ((Boolean) eVar).booleanValue() ? z.g.f2992c : z.g.d; } z.g gVar = new z.g<>(); if (gVar.h(eVar)) { @@ -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 c5a27f8f83..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 f432c = 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.f432c; + 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.f432c -= c(remove); + this.f433c -= c(remove); this.b.put(k, v); - this.f432c += c(v); + this.f433c += c(v); return remove; } public synchronized V e(K k) { V remove; remove = this.b.remove(k); - this.f432c -= c(remove); + this.f433c -= c(remove); return remove; } @@ -58,7 +58,7 @@ public class l { next.getKey(); } arrayList.add(next.getValue()); - this.f432c -= 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 ea08a4d5fc..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 f433c = 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 1bed3765c2..6799d530c4 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.f2264c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, null, null, obj); + return new b(imageRequest.f2294c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, null, null, obj); } public CacheKey b(ImageRequest imageRequest, Object obj) { - return new f(imageRequest.f2264c.toString()); + return new f(imageRequest.f2294c.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.f2264c.toString(), imageRequest.i, imageRequest.j, imageRequest.h, cacheKey, str, obj); + return new b(imageRequest.f2294c.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 410f32ec02..0f43a7b09c 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> f434c; + 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.f433c > 0); - aVar.f433c--; + 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.f433c == 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.f434c = 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.f434c.e(k); + m.a e2 = this.f435c.e(k); Objects.requireNonNull(e2); - if (e2.f433c == 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.f434c.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 w = closeableReference.w(); + V u = closeableReference.u(); synchronized (this) { - int a2 = this.d.a(w); + 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.f434c.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.f434c; + 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.f434c.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.f434c.a() - this.b.a(); + return this.f435c.a() - this.b.a(); } public synchronized int f() { - return this.f434c.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.f434c; + 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.f2257c, memoryCacheParams2.a - f())); + p = p(min, Math.min(memoryCacheParams2.f2287c, 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.f433c++; + 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.f433c != 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.f434c.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 632f78484c..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 f435c = 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.f435c == bVar.f435c && 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.f435c) * 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.f435c); - 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 733750a78e..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 f436c; + 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.f436c = 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 1f8cd9ad98..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 f437c; + public final int f438c; public final boolean d; public f(int i, boolean z2) { - this.f437c = i; + this.f438c = i; this.d = z2; } public int a() { if (!c()) { - return this.f437c; + return this.f438c; } throw new IllegalStateException("Rotation is set to use EXIF"); } public boolean b() { - return this.f437c != -2; + return this.f438c != -2; } public boolean c() { - return this.f437c == -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.f437c == fVar.f437c && this.d == fVar.d; + return this.f438c == fVar.f438c && this.d == fVar.d; } public int hashCode() { - return d.N0(Integer.valueOf(this.f437c), 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.f437c), 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 2036278066..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 f438c; + 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.f438c = 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.f438c; + 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 a5ba56044d..b3eca81847 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.f2245c, diskCacheConfig.b, diskCacheConfig.h); + e eVar = new e(diskCacheConfig.a, diskCacheConfig.f2275c, 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 a740ee4426..a5c3fe22cf 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 f439c; + 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.f439c = 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); } } @@ -76,7 +76,7 @@ public class h { e eVar3 = imageRequest.r; if (eVar3 == null) { eVar2 = this.b; - b0 b0Var = new b0(eVar2, this.f439c); + 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.f2264c)) { + if (c.f.d.l.b.e(imageRequest.f2294c)) { z2 = false; c1 c1Var = new c1(imageRequest, valueOf, str, b0Var, obj, f, false, z2, imageRequest.l, this.l); c.f.j.r.b.b(); @@ -105,7 +105,7 @@ public class h { e eVar4 = imageRequest.r; if (eVar4 == null) { eVar2 = new c.f.j.k.c(this.b, eVar); - b0 b0Var = new b0(eVar2, this.f439c); + 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.f439c); + 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 b2c637397a..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 f440c; + public final Supplier f441c; public final w.a d; public final i e; public final Context f; @@ -49,20 +49,20 @@ public class j { public final c.f.j.h.c r; /* renamed from: s reason: collision with root package name */ - public final Set f441s; + public final Set f442s; public final Set t; public final boolean u; public final DiskCacheConfig v; public final k w; /* renamed from: x reason: collision with root package name */ - public final boolean f442x; + public final boolean f443x; /* renamed from: y reason: collision with root package name */ - public final c.f.j.g.a f443y; + public final c.f.j.g.a f444y; /* renamed from: z reason: collision with root package name */ - public final c.f.j.c.a f444z; + public final c.f.j.c.a f445z; /* compiled from: ImagePipelineConfig */ public static class a { @@ -70,7 +70,7 @@ public class j { public final Context b; /* renamed from: c reason: collision with root package name */ - public boolean f445c = false; + public boolean f446c = false; public DiskCacheConfig d; public DiskCacheConfig e; public final k.b f = new k.b(this); @@ -96,7 +96,7 @@ public class j { c.f.j.r.b.b(); this.w = new k(aVar.f, null); Supplier supplier = aVar.a; - this.f440c = 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) { @@ -110,7 +110,7 @@ public class j { Objects.requireNonNull(context); this.f = context; this.h = new c(new d()); - this.g = aVar.f445c; + this.g = aVar.f446c; this.i = new o(); synchronized (z.class) { if (z.a == null) { @@ -141,15 +141,15 @@ public class j { x xVar = new x(new c.f.j.l.w(new w.b(null), null)); this.q = xVar; this.r = new c.f.j.h.e(); - this.f441s = new HashSet(); + 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.f442x = aVar.g; - this.f443y = aVar.h; - this.f444z = 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 b79d0c08e6..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 f446c; + 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 f447c = 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.f446c = bVar.b; - this.d = bVar.f447c; + 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 92b7ada555..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 f448c; + public final j f449c; public final a d; public m e; public s f; @@ -62,18 +62,18 @@ public class l { public PlatformBitmapFactory r; /* renamed from: s reason: collision with root package name */ - public d f449s; + public d f450s; public a t; public l(j jVar) { c.f.j.r.b.b(); Objects.requireNonNull(jVar); - this.f448c = jVar; + this.f449c = jVar; Objects.requireNonNull(jVar.w); this.b = new g1(jVar.j.b()); Objects.requireNonNull(jVar.w); CloseableReference.j = 0; - this.d = new a(jVar.f443y); + 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.f448c.w); + Objects.requireNonNull(this.f449c.w); } if (this.o == null) { - ContentResolver contentResolver = this.f448c.f.getApplicationContext().getContentResolver(); + ContentResolver contentResolver = this.f449c.f.getApplicationContext().getContentResolver(); if (this.n == null) { - j jVar = this.f448c; + 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.f448c); + Objects.requireNonNull(this.f449c); a b = b(); b bVar2 = null; if (b != null) { - bVar2 = b.b(this.f448c.b); - bVar = b.c(this.f448c.b); + bVar2 = b.b(this.f449c.b); + bVar = b.c(this.f449c.b); } else { bVar = null; } - Objects.requireNonNull(this.f448c); + Objects.requireNonNull(this.f449c); this.k = new c.f.j.h.a(bVar2, bVar, h()); } b bVar3 = this.k; - j jVar2 = this.f448c; + j jVar2 = this.f449c; c.f.j.h.c cVar = jVar2.r; boolean z2 = jVar2.g; boolean z3 = jVar2.u; Objects.requireNonNull(jVar2.w); - j jVar3 = this.f448c; + j jVar3 = this.f449c; e eVar = jVar3.j; g d = jVar3.q.d(0); - this.f448c.q.e(); + this.f449c.q.e(); s d2 = d(); s e = e(); f f2 = f(); f i = i(); - i iVar = this.f448c.e; + i iVar = this.f449c.e; PlatformBitmapFactory g = g(); - Objects.requireNonNull(this.f448c.w); - Objects.requireNonNull(this.f448c.w); - Objects.requireNonNull(this.f448c.w); - k kVar = this.f448c.w; + 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.f448c; + j jVar4 = this.f449c; n0 n0Var = jVar4.o; boolean z4 = jVar4.u; Objects.requireNonNull(jVar4.w); f1 f1Var = this.b; - j jVar5 = this.f448c; + j jVar5 = this.f449c; boolean z5 = jVar5.g; Objects.requireNonNull(jVar5.w); - j jVar6 = this.f448c; - boolean z6 = jVar6.f442x; + j jVar6 = this.f449c; + boolean z6 = jVar6.f443x; if (this.m == null) { Objects.requireNonNull(jVar6.w); - k kVar2 = this.f448c.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.f448c.w); - Objects.requireNonNull(this.f448c.w); - Objects.requireNonNull(this.f448c.w); - Objects.requireNonNull(this.f448c.w); + 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.f448c.f441s); - Set unmodifiableSet2 = Collections.unmodifiableSet(this.f448c.t); - Supplier supplier = this.f448c.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.f448c; + j jVar7 = this.f449c; i iVar2 = jVar7.e; f1 f1Var2 = this.b; 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.f448c); + 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.f448c.j; + e eVar = this.f449c.j; m c2 = c(); - boolean z2 = this.f448c.w.f446c; + 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.f448c; - c.f.j.c.a aVar = jVar.f444z; - Supplier supplier = jVar.f440c; + 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.f448c.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.f448c); + Objects.requireNonNull(this.f449c); if (this.g == null) { - j jVar = this.f448c; + 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.f448c.k; + r rVar = this.f449c.k; Objects.requireNonNull((z) rVar); this.h = new s<>(mVar, new q(rVar)); } @@ -244,21 +244,21 @@ public class l { public f f() { if (this.i == null) { if (this.j == null) { - j jVar = this.f448c; + j jVar = this.f449c; this.j = ((c) jVar.h).a(jVar.m); } h hVar = this.j; - j jVar2 = this.f448c; + j jVar2 = this.f449c; x xVar = jVar2.q; Objects.requireNonNull(jVar2); - this.i = new f(hVar, xVar.d(0), this.f448c.q.e(), this.f448c.j.e(), this.f448c.j.d(), this.f448c.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.r == null) { - x xVar = this.f448c.q; + x xVar = this.f449c.q; h(); this.r = new c.f.j.b.a(xVar.a(), this.d); } @@ -267,8 +267,8 @@ public class l { public d h() { d dVar; - if (this.f449s == null) { - j jVar = this.f448c; + if (this.f450s == null) { + j jVar = this.f449c; x xVar = jVar.q; Objects.requireNonNull(jVar.w); if (Build.VERSION.SDK_INT >= 26) { @@ -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.f449s = dVar; + this.f450s = dVar; } - return this.f449s; + return this.f450s; } public final f i() { if (this.p == null) { if (this.q == null) { - j jVar = this.f448c; + j jVar = this.f449c; this.q = ((c) jVar.h).a(jVar.v); } h hVar = this.q; - j jVar2 = this.f448c; + j jVar2 = this.f449c; x xVar = jVar2.q; Objects.requireNonNull(jVar2); - this.p = new f(hVar, xVar.d(0), this.f448c.q.e(), this.f448c.j.e(), this.f448c.j.d(), this.f448c.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 a9836da90e..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 f450c; + public AssetManager f451c; public final a d; public final b e; public final c f; @@ -42,22 +42,22 @@ public class o { public final d r; /* renamed from: s reason: collision with root package name */ - public final PlatformBitmapFactory f451s; + public final PlatformBitmapFactory f452s; public final int t; public final int u; public boolean v; public final a w; /* renamed from: x reason: collision with root package name */ - public final int f452x; + public final int f453x; /* renamed from: y reason: collision with root package name */ - public final boolean f453y; + 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.f450c = context.getApplicationContext().getAssets(); + this.f451c = context.getApplicationContext().getAssets(); this.d = aVar; this.e = bVar; this.f = cVar; @@ -71,15 +71,15 @@ public class o { this.l = fVar; this.m = fVar2; this.p = iVar; - this.f451s = platformBitmapFactory; + this.f452s = platformBitmapFactory; this.q = new d<>(i4); this.r = new d<>(i4); this.t = i; this.u = i2; this.v = z5; - this.f452x = i3; + this.f453x = i3; this.w = aVar2; - this.f453y = z6; + 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 3651937c07..ea7be25448 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 f454c; + public final n0 f455c; public final boolean d; public final boolean e; public final f1 f; @@ -85,7 +85,7 @@ public class p { @VisibleForTesting /* renamed from: s reason: collision with root package name */ - public v0> f455s; + public v0> f456s; @Nullable @VisibleForTesting public v0> t; @@ -100,15 +100,15 @@ public class p { @VisibleForTesting /* renamed from: x reason: collision with root package name */ - public Map>, v0>> f456x; + 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.f454c = n0Var; + this.f455c = n0Var; this.d = z2; new HashMap(); - this.f456x = new HashMap(); + this.f457x = new HashMap(); this.f = f1Var; this.g = z4; this.h = z5; @@ -125,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.f454c)); + v0 m = m(new m0(oVar.k, oVar.d, this.f455c)); Objects.requireNonNull(m); a aVar = new a(m); this.o = aVar; @@ -153,7 +153,7 @@ public class p { try { b.b(); Objects.requireNonNull(imageRequest); - Uri uri = imageRequest.f2264c; + Uri uri = imageRequest.f2294c; d.y(uri, "Uri is null."); int i = imageRequest.d; if (i != 0) { @@ -224,7 +224,7 @@ public class p { v0> v0Var = this.w.get(r0Var); if (v0Var == null) { o oVar3 = this.b; - s0 s0Var = new s0(r0Var, oVar3.f451s, 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.w.put(r0Var, r0Var2); @@ -236,18 +236,18 @@ public class p { } if (this.h) { synchronized (this) { - v0> v0Var2 = this.f456x.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.f456x.put(r0Var, iVar); + this.f457x.put(r0Var, iVar); r0Var = iVar; } else { r0Var = v0Var2; } } } - if (this.m && imageRequest.f2265s > 0) { + if (this.m && imageRequest.f2295s > 0) { synchronized (this) { oVar = new o(r0Var, this.b.j.g()); } @@ -264,7 +264,7 @@ 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.f450c)); + this.t = k(new d0(oVar.j.e(), oVar.k, oVar.f451c)); } return this.t; } @@ -282,11 +282,11 @@ public class p { } public final synchronized v0> f() { - if (this.f455s == null) { + if (this.f456s == null) { o oVar = this.b; - this.f455s = k(new i0(oVar.j.e(), oVar.k, oVar.b)); + this.f456s = k(new i0(oVar.j.e(), oVar.k, oVar.b)); } - return this.f455s; + return this.f456s; } public final synchronized v0> g() { @@ -327,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.f452x, oVar.w, 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; } @@ -367,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.f453y, vVar); + return new u(iVar2, oVar4.f454y, vVar); } - return new u(iVar2, oVar4.f453y, new c.f.j.p.w(oVar4.l, oVar4.m, iVar2, oVar4.q, oVar4.r, 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 37abe50900..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 f457c; - 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.f457c.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.f421c) { + } 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.f457c = 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.f457c.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 74a2255405..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 f458c = 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.f458c + 1; - this.f458c = 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.f458c += 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.f458c) { + 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.f458c); + 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 99108718a8..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.f424c); - eVar.f424c = 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 92c6e9655d..3bfbdc3d28 100644 --- a/app/src/main/java/c/f/j/j/e.java +++ b/app/src/main/java/c/f/j/j/e.java @@ -31,7 +31,7 @@ public class e implements Closeable { public a r; /* renamed from: s reason: collision with root package name */ - public ColorSpace f459s; + 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.r = eVar.r; - eVar.w(); - this.f459s = eVar.f459s; + 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.f459s = 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 1fc9bed95c..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 f460c; + public boolean f461c; public boolean d; public h(int i, boolean z2, boolean z3) { this.b = i; - this.f460c = 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.f460c == hVar.f460c && 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.f460c ? 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 d7b6c4cf0c..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 f461c; + 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.f461c = 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 c246b4fc3c..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 f462c; + 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 0ef78111ac..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.f465c.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 24645e5907..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 f463c; + 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.f463c = new LinkedList(); + this.f464c = new LinkedList(); this.e = i3; this.d = z2; } public void a(V v) { - this.f463c.add(v); + this.f464c.add(v); } public void b() { @@ -39,7 +39,7 @@ public class f { } public V c() { - return (V) this.f463c.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 864e3dbcea..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 f464c; + 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 f465c; + public LinkedList f466c; public b d; public b(b bVar, int i, LinkedList linkedList, b bVar2, a aVar) { this.b = i; - this.f465c = 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.f464c = 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.f464c) { - this.f464c = 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 aa64a610a9..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.f469c; + 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 969fd5e791..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 f466c; + public int f467c; public final z d; public int e; public p(int i, int i2, z zVar, c cVar) { this.b = i; - this.f466c = 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.f466c) { + 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.f465c.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 d8aebc39d3..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.f464c; + g.b bVar = gVar.f465c; if (bVar == null) { t = null; } else { - T pollLast = bVar.f465c.pollLast(); - if (bVar.f465c.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 c79ab14fc1..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.f469c; + 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 280b97c608..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 f467c; + 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.f467c = 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 92776d01dc..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 f468c; + public d f469c; public s d; public s e; public g f; @@ -26,7 +26,7 @@ public class x { } public d a() { - if (this.f468c == 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.f468c = new l(); + this.f469c = new l(); } else if (c2 == 1) { - this.f468c = 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.f468c = new p(0, i, h, null); + this.f469c = new p(0, i, h, null); } else if (c2 != 3) { w wVar = this.a; - this.f468c = new h(wVar.d, wVar.a, wVar.b, false); + this.f469c = new h(wVar.d, wVar.a, wVar.b, false); } else { - this.f468c = 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.f468c; + return this.f469c; } public int b() { - return this.a.f467c.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 9996c88395..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 f469c; + 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.f469c = 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 6f4c03eff2..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 f470c; + public final PreverificationHelper f471c; @VisibleForTesting public final Pools.SynchronizedPool d; public b(d dVar, int i, Pools.SynchronizedPool synchronizedPool) { - this.f470c = 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 w = eVar.i.w(); - if (!(w.h(i - 2) == -1 && w.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.f470c) != 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 237cb2a472..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 f471c; + 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.f471c = 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 68cc5b24fb..fcec48af94 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 f472c; + public final ContentResolver f473c; public a1(Executor executor, g gVar, ContentResolver contentResolver) { super(executor, gVar); - this.f472c = contentResolver; + this.f473c = contentResolver; } @Override // c.f.j.p.g0 public e d(ImageRequest imageRequest) throws IOException { - return c(this.f472c.openInputStream(imageRequest.f2264c), -1); + return c(this.f473c.openInputStream(imageRequest.f2294c), -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 89b160fdb0..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 f473c; + public final e f474c; public final d d; public b0(e eVar, d dVar) { this.a = eVar; this.b = dVar; - this.f473c = 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.f473c; + 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.f473c; + 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.f473c; + 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.f473c; + 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 479c3d3c3d..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 f474c; + 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 f475c; + 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.f475c); + 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.f475c = 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.f475c); + 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.f474c = 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.f474c.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 3c6c23eede..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 f476c = 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.f476c); + 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 0792bb8154..f52a2eecbd 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 f477c; + 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.f477c = 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.f2264c); + hashMap.put("uri_source", imageRequest == null ? "null-request" : imageRequest.f2294c); 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.f477c; + 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 03d19c8a18..95acb76ff0 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 f478c; + public final AssetManager f479c; public d0(Executor executor, g gVar, AssetManager assetManager) { super(executor, gVar); - this.f478c = 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.f478c.open(imageRequest.f2264c.getPath().substring(1), 2); + InputStream open = this.f479c.open(imageRequest.f2294c.getPath().substring(1), 2); AssetFileDescriptor assetFileDescriptor = null; try { - assetFileDescriptor = this.f478c.openFd(imageRequest.f2264c.getPath().substring(1)); + assetFileDescriptor = this.f479c.openFd(imageRequest.f2294c.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 c178632d53..05efc1f592 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[] f479c = {"_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.f2264c; + Uri uri = imageRequest.f2294c; 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, f479c, 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 976f559ee4..876b2863f3 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[] f480c = {"_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.f2264c; - if (!b.b(uri) || (eVar = imageRequest.i) == null || (query = this.g.query(uri, f480c, null, null, null)) == null) { + Uri uri = imageRequest.f2294c; + 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 aba71964d8..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> f481c; + 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 f482c; + 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.f482c = 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.f482c)) != 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.f482c, 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.f481c = 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.f481c.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 8be291bd9f..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>> f483c = 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.f483c.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.f483c.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 4fed4dd01f..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 f485c; + 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 f486c; + public final int f487c; public final int d; public a(l> lVar, int i, int i2) { super(lVar); - this.f486c = 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.f486c && 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.f485c = 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.f485c), 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 ee6465637e..ea8e1c7171 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 f487c; + public final Resources f488c; public i0(Executor executor, g gVar, Resources resources) { super(executor, gVar); - this.f487c = 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.f487c.openRawResource(Integer.parseInt(imageRequest.f2264c.getPath().substring(1))); + InputStream openRawResource = this.f488c.openRawResource(Integer.parseInt(imageRequest.f2294c.getPath().substring(1))); AssetFileDescriptor assetFileDescriptor = null; try { - assetFileDescriptor = this.f487c.openRawResourceFd(Integer.parseInt(imageRequest.f2264c.getPath().substring(1))); + assetFileDescriptor = this.f488c.openRawResourceFd(Integer.parseInt(imageRequest.f2294c.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 98b6c1be81..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 f488c; + 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.f488c = 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.f488c)) { + 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.f488c)) { + 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 ac3f4caf2d..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 f489c; + 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 f490c; + 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.f490c = 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.f490c.e(); - ((n) this.g).b(e, this.f490c.b()); - if (this.f490c.l("origin").equals("memory_bitmap")) { - Objects.requireNonNull(this.f490c.g().w); - Objects.requireNonNull(this.f490c.g().w); + 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.f489c = 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.f489c, 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 832341cd1a..6941a1db86 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.f2264c, "r"); + ParcelFileDescriptor openFileDescriptor = j0.this.b.openFileDescriptor(this.p.f2294c, "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.f2264c; + Uri uri2 = imageRequest.f2294c; 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 ed8cf32463..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 f491c; + public w0 f492c; public b(l lVar, w0 w0Var, a aVar) { super(lVar); - this.f491c = 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.f491c); + 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.f491c.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.f491c); + 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 472173c18f..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 f492c; + 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 f493c; + 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.f493c); - bVar.f493c = 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.f493c; + 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.f493c) { + 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.f493c); - this.f493c = 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.f493c); - this.f493c = null; + b(this.f494c); + this.f494c = null; it = this.b.iterator(); size = this.b.size(); if (b.f(i)) { - this.f493c = 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.f492c = 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.f492c = 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 e8b2dc8258..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.f492c || 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 5399f30605..33670c456d 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.f2264c.toString(); - d.j(Boolean.valueOf(uri.substring(0, 5).equals("data:"))); + String uri = imageRequest.f2294c.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 235313b78c..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 f494c; + 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.f494c; + n0 n0Var = m0Var.f495c; int i2 = ((MemoryPooledByteBufferOutputStream) e).k; a0 a0Var = (a0) n0Var; Objects.requireNonNull(a0Var); - ((a0.a) xVar).f = a0Var.f471c.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.f494c = 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.r = null; - eVar2.p(); + 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.f494c); + Objects.requireNonNull((a0) this.f495c); a0.a aVar = new a0.a(lVar, w0Var); - n0 n0Var = this.f494c; + n0 n0Var = this.f495c; a aVar2 = new a(aVar); a0 a0Var = (a0) n0Var; Objects.requireNonNull(a0Var); - aVar.d = a0Var.f471c.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.f494c); + 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.f494c); + Objects.requireNonNull(this.f495c); z2 = true; } - if (z2 && uptimeMillis - xVar.f514c >= 100) { - xVar.f514c = 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 6cde720bc4..5192dedb8e 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 f495c; + 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 f496c; + 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.f496c; - 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.f2264c)) { - 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.f2294c)) { + eVar.p = c.c.a.a0.d.Z(e2.j, e2.i, eVar, this.b); } } 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.f496c.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.f496c.e().f2264c); + String valueOf2 = String.valueOf(cVar2.f497c.e().f2294c); int f = (z3 || m) ? eVar.f() : cVar2.o(eVar); i p = (z3 || m) ? h.a : cVar2.p(); - cVar2.d.e(cVar2.f496c, "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.f496c, "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.f496c, "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.f496c, "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.f496c.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.f496c = 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.f496c.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.f496c, "DecodeProducer")) { + if (!this.d.g(this.f497c, "DecodeProducer")) { return null; } String valueOf = String.valueOf(j); - String valueOf2 = String.valueOf(((h) iVar).f460c); + 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.f495c.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.f495c.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.f496c; - eVar.w(); + w0 w0Var = this.f497c; + eVar.u(); w0Var.d("encoded_width", Integer.valueOf(eVar.n)); - w0 w0Var2 = this.f496c; - eVar.w(); + w0 w0Var2 = this.f497c; + eVar.u(); w0Var2.d("encoded_height", Integer.valueOf(eVar.o)); - this.f496c.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.f496c.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.f496c.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.f495c = 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().f2264c) ? 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().f2294c) ? 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 8b78b2555a..5424841cd4 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.f2265s, TimeUnit.MILLISECONDS); + scheduledExecutorService.schedule(new a(lVar, w0Var), (long) e.f2295s, 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 9ecfb7a8b7..632c22b3f8 100644 --- a/app/src/main/java/c/f/j/p/o0.java +++ b/app/src/main/java/c/f/j/p/o0.java @@ -15,7 +15,7 @@ public class o0 implements c { public final /* synthetic */ w0 b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ l f498c; + public final /* synthetic */ l f499c; public final /* synthetic */ CacheKey d; public final /* synthetic */ q0 e; @@ -23,7 +23,7 @@ public class o0 implements c { this.e = q0Var; this.a = y0Var; this.b = w0Var; - this.f498c = lVar; + this.f499c = lVar; this.d = cacheKey; } @@ -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.f498c.d(); + this.f499c.d(); } else if (gVar.e()) { this.a.k(this.b, "PartialDiskCacheProducer", gVar.d(), null); - q0.c(this.e, this.f498c, this.b, this.d, null); + q0.c(this.e, this.f499c, this.b, this.d, null); } else { synchronized (gVar.e) { eVar = gVar.h; @@ -53,7 +53,7 @@ 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)); + d.i(Boolean.valueOf(f > 0)); eVar2.r = new a(0, f); int f2 = eVar2.f(); ImageRequest e = this.b.e(); @@ -61,10 +61,10 @@ public class o0 implements c { if (aVar != null && aVar.a >= 0 && f >= aVar.b) { this.b.i("disk", "partial"); this.a.c(this.b, "PartialDiskCacheProducer", true); - this.f498c.b(eVar2, 9); + this.f499c.b(eVar2, 9); } else { - this.f498c.b(eVar2, 8); - ImageRequestBuilder b = ImageRequestBuilder.b(e.f2264c); + this.f499c.b(eVar2, 8); + ImageRequestBuilder b = ImageRequestBuilder.b(e.f2294c); 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.f2266c = e.i; + b.f2296c = e.i; b.n = e.r; b.d = e.j; b.m = e.p; - b.p = e.f2265s; + b.p = e.f2295s; 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.f498c, 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.f498c, 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 bfd58a0ba2..ded4ff2f0b 100644 --- a/app/src/main/java/c/f/j/p/q.java +++ b/app/src/main/java/c/f/j/p/q.java @@ -10,14 +10,14 @@ public class q implements c { public final /* synthetic */ w0 b; /* renamed from: c reason: collision with root package name */ - public final /* synthetic */ l f499c; + 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.f499c = lVar; + this.f500c = lVar; } /* Return type fixed from 'java.lang.Object' to match base method */ @@ -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.f499c.d(); + this.f500c.d(); } else if (gVar.e()) { this.a.k(this.b, "DiskCacheProducer", gVar.d(), null); - this.d.d.b(this.f499c, 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.f499c.a(1.0f); - this.f499c.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.f499c, 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 e3d6013dee..d73ba4efe7 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 f500c; + 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 f501c; + 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.f501c = fVar; + this.f502c = fVar; this.d = cacheKey; this.e = gVar; this.f = aVar; @@ -54,9 +54,9 @@ public class q0 implements v0 { e eVar2 = this.g; if (eVar2 == null || eVar.r == null) { if (b.m(i, 8) && b.e(i)) { - eVar.w(); + eVar.u(); if (eVar.k != c.a) { - this.f501c.f(this.d, eVar); + this.f502c.f(this.d, eVar); this.b.b(eVar, i); return; } @@ -76,7 +76,7 @@ public class q0 implements v0 { } eVar.close(); this.g.close(); - f fVar = this.f501c; + f fVar = this.f502c; CacheKey cacheKey = this.d; Objects.requireNonNull(fVar); Objects.requireNonNull(cacheKey); @@ -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.f500c = 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.f500c, 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.f2264c.buildUpon().appendQueryParameter("fresco_partial", "true").build(); + Uri build = e.f2294c.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 1b0b944529..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> f502c; + 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 f503c; + 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.f503c = 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.f503c, 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.f502c = 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.f502c.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.f502c.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 4800f79174..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 f504c; + 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.f504c = 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.f504c).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 2f6f317099..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 f505c; + 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 f506c; + 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.f506c = y0Var; + this.f507c = y0Var; this.e = bVar; this.d = w0Var; w0Var.f(new a(s0.this)); @@ -52,16 +52,16 @@ 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.f506c.e(bVar.d, "PostprocessorProducer"); + bVar.f507c.e(bVar.d, "PostprocessorProducer"); try { - CloseableReference r = bVar.r((c.f.j.j.c) closeableReference.w()); + CloseableReference r = bVar.r((c.f.j.j.c) closeableReference.u()); try { - y0 y0Var = bVar.f506c; + y0 y0Var = bVar.f507c; w0 w0Var = bVar.d; y0Var.j(w0Var, "PostprocessorProducer", bVar.p(y0Var, w0Var, bVar.e)); bVar.q(r, i); @@ -71,7 +71,7 @@ public class s0 implements v0> { } } } catch (Exception e) { - y0 y0Var2 = bVar.f506c; + y0 y0Var2 = bVar.f507c; w0 w0Var2 = bVar.d; y0Var2.k(w0Var2, "PostprocessorProducer", e, bVar.p(y0Var2, w0Var2, bVar.e)); if (bVar.o()) { @@ -99,11 +99,11 @@ public class s0 implements v0> { CloseableReference closeableReference; 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; s2 = s(); @@ -115,7 +115,7 @@ public class s0 implements v0> { closeableReference.close(); } if (s2) { - s0.this.f505c.execute(new t0(this)); + 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 f507c = 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.f507c) { + 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.f507c) { - 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.f507c) { + if (this.f508c) { return false; } closeableReference = this.d; this.d = null; - this.f507c = 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.f505c = 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 161bb34552..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 f508c; + 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 f509c; + 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.f509c = 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.f509c.o().e(this.f509c, "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.f509c.e(); - CacheKey b = ((n) this.f).b(e, this.f509c.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.f509c.o().j(this.f509c, "DiskCacheWriteProducer", null); + this.f510c.o().j(this.f510c, "DiskCacheWriteProducer", null); this.b.b(eVar, i); return; } } - this.f509c.o().j(this.f509c, "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.f508c = 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.f508c, 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 71bc595aa5..6ee0076397 100644 --- a/app/src/main/java/c/f/j/p/t0.java +++ b/app/src/main/java/c/f/j/p/t0.java @@ -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(); @@ -40,7 +40,7 @@ public class t0 implements Runnable { s2 = bVar2.s(); } if (s2) { - s0.this.f505c.execute(new t0(bVar2)); + 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 1d09010c49..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 f510c; + 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 f511c; + 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.f511c = 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.f511c.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.f510c = v0Var; + this.f511c = v0Var; } /* JADX INFO: finally extract failed */ @@ -143,7 +143,7 @@ public class v implements v0 { map = f.of("cached_value_found", "false"); } o.j(w0Var, "EncodedMemoryCacheProducer", map); - this.f510c.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 26170f04c3..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 f512c; + 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 f513c; + 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.f513c = 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.f513c.e(); - CacheKey b = ((n) this.f).b(e, this.f513c.b()); + ImageRequest e = this.f514c.e(); + CacheKey b = ((n) this.f).b(e, this.f514c.b()); this.g.a(b); - if (this.f513c.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.f513c.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.f512c = 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.f512c, 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 a91ee78bfd..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 f514c = 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 161f6f72b4..21fd04852b 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().f2264c, 5); + httpURLConnection = a0Var.a(aVar.b.e().f2294c, 5); try { - aVar.e = a0Var.f471c.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 9868934281..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.f436c; + 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 29656903ca..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[] f515c = 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.f515c[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/b.java b/app/src/main/java/c/f/l/b/b.java index 7ef640d3e5..5d31725623 100644 --- a/app/src/main/java/c/f/l/b/b.java +++ b/app/src/main/java/c/f/l/b/b.java @@ -13,7 +13,7 @@ import java.util.Objects; public class b extends a { /* renamed from: s reason: collision with root package name */ - public final ValueAnimator f516s; + public final ValueAnimator f517s; /* compiled from: AnimatedZoomableController */ public class a implements ValueAnimator.AnimatorUpdateListener { @@ -39,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; } @@ -77,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.f516s = ofFloat; + this.f517s = ofFloat; ofFloat.setInterpolator(new DecelerateInterpolator()); } @@ -91,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.f516s.setDuration(j); + this.f517s.setDuration(j); this.h.getValues(this.n); matrix.getValues(this.o); - this.f516s.addUpdateListener(new a()); - this.f516s.addListener(new C0071b(runnable)); - this.f516s.start(); + this.f517s.addUpdateListener(new a()); + this.f517s.addListener(new C0070b(runnable)); + this.f517s.start(); } @Override // c.f.l.b.a @@ -107,9 +107,9 @@ public class b extends a { public void o() { if (this.m) { c.f.d.e.a.i(b.class, "stopAnimation"); - this.f516s.cancel(); - this.f516s.removeAllUpdateListeners(); - this.f516s.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 fdd8c3a32d..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 f517c = 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.f517c) { + 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.f515c[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.f515c[i2] = -1; + aVar3.f516c[i2] = -1; } else { - aVar3.f515c[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.f517c) { + 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.f517c = 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 9601f59024..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.f519c.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.f519c; + 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.f519c.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 1d7ce9c50e..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 f518c; + 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.f518c = 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.f518c.a(str, i, threadPolicy); + return this.f519c.a(str, i, threadPolicy); } @Override // c.f.m.l public void b(int i) throws IOException { - this.f518c.b(i); + this.f519c.b(i); } public boolean c() throws IOException { - File file = this.f518c.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.f518c = 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.f518c.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 974a2e7088..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.f519c; - 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 2d2b9500fc..e03b7b0300 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.f2268c; + ReentrantReadWriteLock reentrantReadWriteLock = SoLoader.f2298c; 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.f2268c.writeLock().lock(); + SoLoader.f2298c.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.f2268c.writeLock().unlock(); + SoLoader.f2298c.writeLock().unlock(); if (SoLoader.e == i3) { throw e; } } catch (IOException e2) { throw new RuntimeException(e2); } catch (Throwable th2) { - SoLoader.f2268c.writeLock().unlock(); + SoLoader.f2298c.writeLock().unlock(); throw th2; } } } while (z2); return z5; } finally { - SoLoader.f2268c.readLock().unlock(); + SoLoader.f2298c.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 898cf5e6be..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 f519c; + 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.f519c = 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 4935fbbf68..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 f520c; + public final int f521c; public b(int i, int i2) { this.b = i; - this.f520c = 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.f520c == this.f520c; + return bVar.b == this.b && bVar.f521c == this.f521c; } public int hashCode() { - return this.f520c + 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.f520c)); + 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.f520c & 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.f520c; + int i2 = bVar2.f521c; int i3 = bVar2.b; if (!(i2 == 0 && i3 == 0)) { int i4 = bVar.b; - if (i4 == 0 && bVar.f520c == 0) { + if (i4 == 0 && bVar.f521c == 0) { bVar = bVar2; } else { int i5 = ((~i2) & i4) | i3; - int i6 = bVar.f520c; + 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 67e0b18b2a..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.f522c; + 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 fdf2a2c0a9..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 f522c; + 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); - f522c = 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 7c3f0a01e2..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,23 +61,23 @@ 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 s2) throws IOException { + public void O(short s2) throws IOException { H(s2); } @@ -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 e0d695955f..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[] f527c; + 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; - f527c = 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 d966d7b36b..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 f528c; + public final a f529c; public byte[] d; public char[] e; public c(a aVar, Object obj, boolean z2) { - this.f528c = 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.f528c.f537c.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 d2db8a855c..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.f538c; + 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 10313eab13..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[] f529c = 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) { - f529c[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 = f529c[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 = f529c[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 = f529c; + 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 = f529c; + 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 = f529c; + 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 8b938d0f9b..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.f538c >= 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 f7df38eca9..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 f530c; + 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 001681eb38..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 @@ -14,7 +14,7 @@ public abstract class b extends a { public final c r; /* renamed from: s reason: collision with root package name */ - public int[] f531s = q; + public int[] f532s = q; public int t; public k u = d.i; public boolean v; @@ -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 094b56f23f..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 f532c; + 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.f532c = cVar; + this.f533c = cVar; this.d = aVar; this.b = -1; } public c(int i, c cVar, a aVar, Object obj) { this.a = i; - this.f532c = 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.f530c = 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.f530c = 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.f530c; + String str3 = aVar.f531c; if (str3 == null) { - aVar.f530c = 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.f530c); + 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 7e7aa4616a..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 @@ -26,29 +26,29 @@ public class d extends b { public char[] D; /* renamed from: x reason: collision with root package name */ - public final Writer f533x; + public final Writer f534x; /* renamed from: y reason: collision with root package name */ - public char f534y; + public char f535y; /* renamed from: z reason: collision with root package name */ - public char[] f535z; + public char[] f536z; public d(c cVar, int i, i iVar, Writer writer, char c2) { super(cVar, i, iVar); int[] iArr; - this.f533x = writer; + this.f534x = writer; if (cVar.e == null) { - char[] a = cVar.f528c.a(1, 0); + char[] a = cVar.f529c.a(1, 0); cVar.e = a; - this.f535z = a; + this.f536z = a; this.C = a.length; - this.f534y = 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); @@ -59,7 +59,7 @@ public class d extends b { } iArr = iArr2; } - this.f531s = iArr; + this.f532s = iArr; return; } return; @@ -67,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.f535z; + char[] cArr = this.f536z; int i3 = this.B; int i4 = i3 + 1; this.B = i4; @@ -85,7 +91,7 @@ public class d extends b { B0(); } int i5 = this.B; - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; int i6 = i5 + 1; cArr2[i5] = '\\'; int i7 = i6 + 1; @@ -115,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; @@ -128,7 +128,7 @@ public class d extends b { if (i3 > 0) { this.A = 0; this.B = 0; - this.f533x.write(this.f535z, i2, i3); + this.f534x.write(this.f536z, i2, i3); } } @@ -137,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 { @@ -154,7 +154,7 @@ public class d extends b { cArr2 = z0(); } cArr2[1] = (char) i3; - this.f533x.write(cArr2, 0, 2); + this.f534x.write(cArr2, 0, 2); return i; } int i5 = i - 2; @@ -178,13 +178,13 @@ public class d extends b { cArr3[11] = cArr4[i6 & 15]; cArr3[12] = cArr4[i7 >> 4]; cArr3[13] = cArr4[i7 & 15]; - this.f533x.write(cArr3, 8, 6); + this.f534x.write(cArr3, 8, 6); return i; } char[] cArr5 = w; cArr3[6] = cArr5[c2 >> 4]; cArr3[7] = cArr5[c2 & 15]; - this.f533x.write(cArr3, 2, 6); + this.f534x.write(cArr3, 2, 6); return i; } else { int i8 = i - 6; @@ -214,6 +214,19 @@ public class d extends b { } } + @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) { @@ -221,7 +234,7 @@ public class d extends b { if (i3 >= 2) { int i4 = i3 - 2; this.A = i4; - char[] cArr = this.f535z; + char[] cArr = this.f536z; cArr[i4] = '\\'; cArr[i4 + 1] = (char) i; return; @@ -232,11 +245,11 @@ public class d extends b { } this.A = this.B; cArr2[1] = (char) i; - this.f533x.write(cArr2, 0, 2); + this.f534x.write(cArr2, 0, 2); } else if (i != -2) { int i5 = this.B; if (i5 >= 6) { - char[] cArr3 = this.f535z; + char[] cArr3 = this.f536z; int i6 = i5 - 6; this.A = i6; cArr3[i6] = '\\'; @@ -275,13 +288,13 @@ public class d extends b { cArr6[11] = cArr7[i12 & 15]; cArr6[12] = cArr7[i13 >> 4]; cArr6[13] = cArr7[i13 & 15]; - this.f533x.write(cArr6, 8, 6); + this.f534x.write(cArr6, 8, 6); return; } char[] cArr8 = w; cArr6[6] = cArr8[c2 >> 4]; cArr6[7] = cArr8[c2 & 15]; - this.f533x.write(cArr6, 2, 6); + this.f534x.write(cArr6, 2, 6); } else { Objects.requireNonNull(null); throw null; @@ -334,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.f535z, 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.f535z; + char[] cArr = this.f536z; int i9 = b + 1; this.B = i9; cArr[b] = '\\'; @@ -360,23 +373,10 @@ public class d extends b { i2 = 1; } int i11 = i6 + i2; - this.B = aVar.c(i10, i2, this.f535z, 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; @@ -405,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.f535z, 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.f535z; + char[] cArr = this.f536z; int i9 = b + 1; this.B = i9; cArr[b] = '\\'; @@ -430,33 +430,33 @@ public class d extends b { } else { i3 = 1; } - this.B = aVar.c(i10, i3, this.f535z, 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.f535z; + char[] cArr = this.f536z; int i2 = this.B; int i3 = i2 + 1; this.B = i3; - cArr[i2] = this.f534y; + cArr[i2] = this.f535y; int d = g.d(i, cArr, i3); this.B = d; - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; this.B = d + 1; - cArr2[d] = this.f534y; + cArr2[d] = this.f535y; return; } if (this.B + 11 >= this.C) { B0(); } - this.B = g.d(i, this.f535z, this.B); + this.B = g.d(i, this.f536z, this.B); } public final void H0() throws IOException { @@ -464,7 +464,7 @@ public class d extends b { B0(); } int i = this.B; - char[] cArr = this.f535z; + char[] cArr = this.f536z; cArr[i] = 'n'; int i2 = i + 1; cArr[i2] = 'u'; @@ -477,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.f535z; + char[] cArr = this.f536z; int i = this.B; int i2 = i + 1; this.B = i2; - cArr[i] = this.f534y; + cArr[i] = this.f535y; int e = g.e(j, cArr, i2); this.B = e; - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; this.B = e + 1; - cArr2[e] = this.f534y; + cArr2[e] = this.f535y; return; } if (this.B + 21 >= this.C) { B0(); } - this.B = g.e(j, this.f535z, 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.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f534y; + cArr[i] = this.f535y; T(str); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f534y; + 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: @@ -526,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.f533x.write(r3, r5, r4); + r18.f534x.write(r3, r5, r4); */ /* JADX WARNING: Code restructure failed: missing block: B:70:0x0114, code lost: - r3 = r18.f535z; + r3 = r18.f536z; r4 = r18.B; r18.B = r4 + 1; r3 = r3[r4]; @@ -559,17 +571,17 @@ public class d extends b { i7 = length2 - i6; } int i8 = i6 + i7; - str.getChars(i6, i8, this.f535z, 0); + str.getChars(i6, i8, this.f536z, 0); int i9 = this.t; if (i9 != 0) { - int[] iArr = this.f531s; + 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.f535z; + cArr3 = this.f536z; c4 = cArr3[i10]; if (c4 >= min) { if (c4 > i9) { @@ -590,24 +602,24 @@ public class d extends b { i4 = i11; int i13 = i10 - i12; if (i13 > 0) { - this.f533x.write(cArr3, i12, i13); + this.f534x.write(cArr3, i12, i13); if (i10 >= i7) { break; } } int i14 = i10 + 1; - i12 = C0(this.f535z, i14, i7, c4, i4); + i12 = C0(this.f536z, i14, i7, c4, i4); i11 = i4; i10 = i14; } } else { - int[] iArr2 = this.f531s; + int[] iArr2 = this.f532s; int length3 = iArr2.length; int i15 = 0; int i16 = 0; while (i15 < i7) { do { - cArr2 = this.f535z; + cArr2 = this.f536z; c3 = cArr2[i15]; if (c3 < length3 && iArr2[c3] != 0) { break; @@ -616,13 +628,13 @@ public class d extends b { } while (i15 < i7); int i17 = i15 - i16; if (i17 > 0) { - this.f533x.write(cArr2, i16, i17); + this.f534x.write(cArr2, i16, i17); if (i15 >= i7) { break; } } int i18 = i15 + 1; - i16 = C0(this.f535z, i18, i7, c3, iArr2[c3]); + i16 = C0(this.f536z, i18, i7, c3, iArr2[c3]); i15 = i18; } } @@ -636,15 +648,15 @@ public class d extends b { if (this.B + length > i5) { B0(); } - str.getChars(0, length, this.f535z, 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.f531s; + int[] iArr3 = this.f532s; int min2 = Math.min(iArr3.length, i19 + 1); while (this.B < i20) { while (true) { - cArr = this.f535z; + cArr = this.f536z; i = this.B; c2 = cArr[i]; if (c2 < min2) { @@ -671,7 +683,7 @@ public class d extends b { int i21 = this.A; int i22 = i - i21; if (i22 > 0) { - this.f533x.write(cArr, i21, i22); + this.f534x.write(cArr, i21, i22); } this.B++; D0(c2, i3); @@ -679,11 +691,11 @@ public class d extends b { return; } int i23 = this.B + length; - int[] iArr4 = this.f531s; + int[] iArr4 = this.f532s; int length4 = iArr4.length; while (this.B < i23) { while (true) { - char[] cArr4 = this.f535z; + char[] cArr4 = this.f536z; int i24 = this.B; char c5 = cArr4[i24]; if (c5 < length4 && iArr4[c5] != 0) { @@ -700,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) { @@ -736,28 +736,28 @@ public class d extends b { } @Override // c.g.a.b.d - public void Q(short s2) 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.f535z; + char[] cArr = this.f536z; int i = this.B; int i2 = i + 1; this.B = i2; - cArr[i] = this.f534y; + cArr[i] = this.f535y; int d = g.d(s2, cArr, i2); this.B = d; - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; this.B = d + 1; - cArr2[d] = this.f534y; + cArr2[d] = this.f535y; return; } if (this.B + 6 >= this.C) { B0(); } - this.B = g.d(s2, this.f535z, this.B); + this.B = g.d(s2, this.f536z, this.B); } @Override // c.g.a.b.d @@ -765,7 +765,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = c2; @@ -773,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.f535z, this.B); + int b = kVar.b(this.f536z, this.B); if (b < 0) { T(kVar.getValue()); } else { @@ -790,14 +790,14 @@ public class d extends b { i = this.C - this.B; } if (i >= length) { - str.getChars(0, length, this.f535z, 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.f535z, i3); + str.getChars(0, i4, this.f536z, i3); this.B += i4; B0(); int length2 = str.length() - i4; @@ -805,14 +805,14 @@ public class d extends b { int i5 = this.C; if (length2 > i5) { int i6 = i4 + i5; - str.getChars(i4, i6, this.f535z, 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.f535z, 0); + str.getChars(i4, i4 + length2, this.f536z, 0); this.A = 0; this.B = length2; return; @@ -826,17 +826,17 @@ public class d extends b { if (i2 > this.C - this.B) { B0(); } - System.arraycopy(cArr, i, this.f535z, this.B, i2); + System.arraycopy(cArr, i, this.f536z, this.B, i2); this.B += i2; return; } B0(); - this.f533x.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) { @@ -846,15 +846,15 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + 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) { @@ -864,7 +864,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '['; @@ -872,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) { @@ -882,7 +882,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i2 = this.B; this.B = i2 + 1; cArr[i2] = '['; @@ -890,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) { @@ -900,7 +900,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '{'; @@ -908,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.f535z != 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(); } @@ -924,22 +924,22 @@ public class d extends b { B0(); this.A = 0; this.B = 0; - if (this.f533x != null) { + if (this.f534x != null) { if (this.r.b || d(d.a.AUTO_CLOSE_TARGET)) { - this.f533x.close(); + this.f534x.close(); } else if (d(d.a.FLUSH_PASSED_TO_STREAM)) { - this.f533x.flush(); + this.f534x.flush(); } } - char[] cArr = this.f535z; + char[] cArr = this.f536z; if (cArr != null) { - this.f535z = null; + 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.f528c.d.set(1, cArr); + cVar2.f529c.d.set(1, cArr); return; } throw new IllegalArgumentException("Trying to release buffer smaller than original"); @@ -947,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) { @@ -958,7 +958,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '{'; @@ -966,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.f535z; + char[] cArr = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr[i2] = this.f534y; + cArr[i2] = this.f535y; c cVar = this.r; if (cVar.d == null) { - c.g.a.b.t.a aVar2 = cVar.f528c; + 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.f537c.getAndSet(3, null); + byte[] andSet = aVar2.f538c.getAndSet(3, null); if (andSet == null || andSet.length < i3) { andSet = new byte[i3]; } @@ -1004,10 +1004,10 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; int i4 = this.B; this.B = i4 + 1; - cArr2[i4] = this.f534y; + cArr2[i4] = this.f535y; return i; } throw new IllegalStateException("Trying to call same allocXxx() method second time"); @@ -1016,22 +1016,22 @@ public class d extends b { @Override // java.io.Flushable public void flush() throws IOException { B0(); - if (this.f533x != null && d(d.a.FLUSH_PASSED_TO_STREAM)) { - this.f533x.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.f535z; + char[] cArr = this.f536z; int i = this.B; int i2 = i + 1; this.B = i2; - cArr[i] = this.f534y; + cArr[i] = this.f535y; int c2 = kVar.c(cArr, i2); if (c2 < 0) { char[] a = kVar.a(); @@ -1040,19 +1040,19 @@ public class d extends b { if (length > this.C - this.B) { B0(); } - System.arraycopy(a, 0, this.f535z, this.B, length); + System.arraycopy(a, 0, this.f536z, this.B, length); this.B += length; } else { B0(); - this.f533x.write(a, 0, length); + this.f534x.write(a, 0, length); } if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; int i3 = this.B; this.B = i3 + 1; - cArr2[i3] = this.f534y; + cArr2[i3] = this.f535y; return; } int i4 = this.B + c2; @@ -1060,15 +1060,15 @@ public class d extends b { if (i4 >= this.C) { B0(); } - char[] cArr3 = this.f535z; + char[] cArr3 = this.f536z; int i5 = this.B; this.B = i5 + 1; - cArr3[i5] = this.f534y; + 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; @@ -1076,35 +1076,35 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f534y; + cArr[i] = this.f535y; J0(str); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f534y; + 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.f535z; + char[] cArr2 = this.f536z; int i3 = this.B; this.B = i3 + 1; - cArr2[i3] = this.f534y; + cArr2[i3] = this.f535y; int i4 = this.t; if (i4 != 0) { int i5 = i2 + i; - int[] iArr = this.f531s; + int[] iArr = this.f532s; int min = Math.min(iArr.length, i4 + 1); int i6 = 0; while (i < i5) { @@ -1133,12 +1133,12 @@ public class d extends b { B0(); } if (i8 > 0) { - System.arraycopy(cArr, i, this.f535z, this.B, i8); + System.arraycopy(cArr, i, this.f536z, this.B, i8); this.B += i8; } } else { B0(); - this.f533x.write(cArr, i, i8); + this.f534x.write(cArr, i, i8); } if (i7 >= i5) { break; @@ -1148,7 +1148,7 @@ public class d extends b { } } else { int i9 = i2 + i; - int[] iArr2 = this.f531s; + int[] iArr2 = this.f532s; int length = iArr2.length; while (i < i9) { int i10 = i; @@ -1165,12 +1165,12 @@ public class d extends b { B0(); } if (i11 > 0) { - System.arraycopy(cArr, i, this.f535z, this.B, i11); + System.arraycopy(cArr, i, this.f536z, this.B, i11); this.B += i11; } } else { B0(); - this.f533x.write(cArr, i, i11); + this.f534x.write(cArr, i, i11); } if (i10 >= i9) { break; @@ -1183,22 +1183,22 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr3 = this.f535z; + char[] cArr3 = this.f536z; int i12 = this.B; this.B = i12 + 1; - cArr3[i12] = this.f534y; + 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.f535z; + char[] cArr = this.f536z; int i3 = this.B; this.B = i3 + 1; - cArr[i3] = this.f534y; + cArr[i3] = this.f535y; int i4 = i2 + i; int i5 = i4 - 3; int i6 = this.C - 6; @@ -1210,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.f535z, 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.f535z; + char[] cArr2 = this.f536z; int i10 = b + 1; this.B = i10; cArr2[b] = '\\'; @@ -1234,26 +1234,26 @@ public class d extends b { if (i11 == 2) { i13 |= (bArr[i12] & 255) << 8; } - this.B = aVar.c(i13, i11, this.f535z, this.B); + this.B = aVar.c(i13, i11, this.f536z, this.B); } if (this.B >= this.C) { B0(); } - char[] cArr3 = this.f535z; + char[] cArr3 = this.f536z; int i14 = this.B; this.B = i14 + 1; - cArr3[i14] = this.f534y; + 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.f535z; + char[] cArr = this.f536z; if (z2) { cArr[i2] = 't'; int i3 = i2 + 1; @@ -1286,23 +1286,23 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = ']'; } c cVar = this.p; cVar.g = null; - this.p = cVar.f532c; + 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; @@ -1327,7 +1327,7 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = c2; @@ -1353,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) { @@ -1362,19 +1362,19 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; cArr[i] = '}'; } c cVar = this.p; cVar.g = null; - this.p = cVar.f532c; + 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 @@ -1397,25 +1397,25 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f534y; + cArr[i] = this.f535y; U(a, 0, a.length); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f534y; + cArr2[i2] = this.f535y; return; } if (this.B + 1 >= this.C) { B0(); } if (z2) { - char[] cArr3 = this.f535z; + char[] cArr3 = this.f536z; int i3 = this.B; this.B = i3 + 1; cArr3[i3] = ','; @@ -1425,11 +1425,11 @@ public class d extends b { U(a2, 0, a2.length); return; } - char[] cArr4 = this.f535z; + char[] cArr4 = this.f536z; int i4 = this.B; int i5 = i4 + 1; this.B = i5; - cArr4[i4] = this.f534y; + cArr4[i4] = this.f535y; int c2 = kVar.c(cArr4, i5); if (c2 < 0) { char[] a3 = kVar.a(); @@ -1437,10 +1437,10 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr5 = this.f535z; + char[] cArr5 = this.f536z; int i6 = this.B; this.B = i6 + 1; - cArr5[i6] = this.f534y; + cArr5[i6] = this.f535y; return; } int i7 = this.B + c2; @@ -1448,17 +1448,17 @@ public class d extends b { if (i7 >= this.C) { B0(); } - char[] cArr6 = this.f535z; + char[] cArr6 = this.f536z; int i8 = this.B; this.B = i8 + 1; - cArr6[i8] = this.f534y; + 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; @@ -1476,25 +1476,25 @@ public class d extends b { if (this.B >= this.C) { B0(); } - char[] cArr = this.f535z; + char[] cArr = this.f536z; int i = this.B; this.B = i + 1; - cArr[i] = this.f534y; + cArr[i] = this.f535y; J0(str); if (this.B >= this.C) { B0(); } - char[] cArr2 = this.f535z; + char[] cArr2 = this.f536z; int i2 = this.B; this.B = i2 + 1; - cArr2[i2] = this.f534y; + cArr2[i2] = this.f535y; return; } if (this.B + 1 >= this.C) { B0(); } if (z2) { - char[] cArr3 = this.f535z; + char[] cArr3 = this.f536z; int i3 = this.B; this.B = i3 + 1; cArr3[i3] = ','; @@ -1503,18 +1503,18 @@ public class d extends b { J0(str); return; } - char[] cArr4 = this.f535z; + char[] cArr4 = this.f536z; int i4 = this.B; this.B = i4 + 1; - cArr4[i4] = this.f534y; + cArr4[i4] = this.f535y; J0(str); if (this.B >= this.C) { B0(); } - char[] cArr5 = this.f535z; + char[] cArr5 = this.f536z; int i5 = this.B; this.B = i5 + 1; - cArr5[i5] = this.f534y; + 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 64564e6474..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 f536c = 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 3538b33033..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 f537c = 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 25d6808a32..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 f538c; + 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.f538c = -1; + this.f539c = -1; } public void a(String str, int i, int i2) { - if (this.f538c >= 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.f538c >= 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.f538c >= 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.f538c = -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 a28b4c9118..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> f539c; + 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.f539c = 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.f539c)); - 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 5cdcd864e2..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 f540c; + public final boolean f541c; public final j d; public final c e; public final g0 f; @@ -50,12 +50,12 @@ public class b0 { public LinkedList r; /* renamed from: s reason: collision with root package name */ - public HashSet f541s; + public HashSet f542s; public LinkedHashMap t; public b0(l lVar, boolean z2, j jVar, c cVar, a aVar) { this.a = lVar; - this.f540c = 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.f540c, 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.f540c && str != null) { - if (this.f541s == null) { - this.f541s = new HashSet<>(); + if (!this.f541c && str != null) { + if (this.f542s == null) { + this.f542s = new HashSet<>(); } - this.f541s.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.f540c, 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.f540c && !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; @@ -241,7 +241,7 @@ public class b0 { } this.l.put(E, e); } - t o = this.f540c ? 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; @@ -379,7 +379,7 @@ public class b0 { String b2 = b(i2); boolean Z3 = bVar3.Z(next); c0 f4 = f(linkedHashMap, b2); - f4.f544s = new c0.d<>(next, f4.f544s, 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<>(); @@ -413,7 +413,7 @@ public class b0 { a(linkedHashMap, eVar.m(i4)); } } - for (j jVar : this.e.f().f543c) { + 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.r) || next2.z(next2.f544s) || 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.r) || next2.y(next2.f544s) || 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.r = next2.G(next2.r); - next2.f544s = next2.G(next2.f544s); + 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.f540c ? 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.f544s) == 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.f544s) == 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,7 +462,7 @@ public class b0 { b0Var.c(tVar4._simpleName); } } - c0Var2.f544s = null; + c0Var2.f545s = null; c0Var2.q = null; if (!c0Var2.k) { c0Var2.p = null; @@ -477,7 +477,7 @@ public class b0 { c0Var2.q = c0Var2.H(c0Var2.q); if (!q2 || c0Var2.r == null) { c0Var2.p = c0Var2.H(c0Var2.p); - c0Var2.f544s = c0Var2.H(c0Var2.f544s); + c0Var2.f545s = c0Var2.H(c0Var2.f545s); } } } @@ -497,7 +497,7 @@ public class b0 { HashMap hashMap = new HashMap(); value.B(L, hashMap, value.p); value.B(L, hashMap, value.r); - value.B(L, hashMap, value.f544s); + 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.f541s) != null) { + if (g(c0Var3, this.k) && (hashSet = this.f542s) != null) { hashSet.remove(p); } } @@ -530,24 +530,24 @@ public class b0 { } } for (c0 c0Var5 : linkedHashMap.values()) { - if (this.f540c) { + if (this.f541c) { c0.d dVar9 = c0Var5.r; if (dVar9 != null) { - c0Var5.r = c0Var5.A(c0Var5.r, c0Var5.F(0, dVar9, c0Var5.p, c0Var5.q, c0Var5.f544s)); + 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.f544s)); + 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.f544s, c0Var5.p, c0Var5.r)); + c0Var5.q = c0Var5.A(c0Var5.q, c0Var5.F(0, dVar11, c0Var5.f545s, c0Var5.p, c0Var5.r)); } else { - c0.d dVar12 = c0Var5.f544s; + c0.d dVar12 = c0Var5.f545s; if (dVar12 != null) { - c0Var5.f544s = c0Var5.A(c0Var5.f544s, c0Var5.F(0, dVar12, c0Var5.p, c0Var5.r)); + c0Var5.f545s = c0Var5.A(c0Var5.f545s, c0Var5.F(0, dVar12, c0Var5.p, c0Var5.r)); } else { c0.d dVar13 = c0Var5.p; if (dVar13 != null) { @@ -560,7 +560,7 @@ public class b0 { for (c0 c0Var6 : linkedHashMap.values()) { c0Var6.p = c0Var6.J(c0Var6.p); c0Var6.r = c0Var6.J(c0Var6.r); - c0Var6.f544s = c0Var6.J(c0Var6.f544s); + c0Var6.f545s = c0Var6.J(c0Var6.f545s); c0Var6.q = c0Var6.J(c0Var6.q); } Object p2 = this.g.p(this.e); @@ -576,21 +576,21 @@ 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.r) || c0Var7.w(c0Var7.f544s) || c0Var7.w(c0Var7.q)) || this.a.q(p.ALLOW_EXPLICIT_PROPERTY_RENAMING)) { - if (this.f540c) { + 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) { @@ -615,7 +615,7 @@ public class b0 { } g(c0Var7, this.k); } else { - if (c0Var7.f544s != 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); @@ -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 03dd4278f6..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 @@ -35,7 +35,7 @@ public final class c extends b implements e0 { public final boolean r; /* renamed from: s reason: collision with root package name */ - public final c.g.a.c.i0.a f542s; + public final c.g.a.c.i0.a f543s; public a t; public l u; public List v; @@ -47,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 f543c; + public final List f544c; public a(e eVar, List list, List list2) { this.a = eVar; this.b = list; - this.f543c = list2; + this.f544c = list2; } } @@ -61,7 +61,7 @@ public final class c extends b implements e0 { this.k = cls; this.m = list; this.q = cls2; - this.f542s = aVar; + this.f543s = aVar; this.l = mVar; this.n = bVar; this.p = aVar2; @@ -74,7 +74,7 @@ public final class c extends b implements e0 { this.k = cls; this.m = Collections.emptyList(); this.q = null; - this.f542s = o.a; + this.f543s = o.a; this.l = m.k; this.n = null; this.p = null; @@ -89,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.f542s.a(cls); + return (A) this.f543s.a(cls); } @Override // c.g.a.c.c0.b @@ -251,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; @@ -291,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 { @@ -364,7 +364,7 @@ public final class c extends b implements e0 { } if (fVar.e) { e eVar = fVar.f; - if (eVar != null && fVar.f553c.Z(eVar)) { + if (eVar != null && fVar.f554c.Z(eVar)) { fVar.f = null; } int size2 = list.size(); @@ -372,7 +372,7 @@ public final class c extends b implements e0 { size2--; if (size2 < 0) { break; - } else if (fVar.f553c.Z((i) list.get(size2))) { + } else if (fVar.f554c.Z((i) list.get(size2))) { list.remove(size2); } } @@ -381,7 +381,7 @@ public final class c extends b implements e0 { size3--; if (size3 < 0) { break; - } else if (fVar.f553c.Z((i) list2.get(size3))) { + } else if (fVar.f554c.Z((i) list2.get(size3))) { list2.remove(size3); } } @@ -472,7 +472,7 @@ public final class c extends b implements e0 { } else { ArrayList arrayList = new ArrayList(f.size()); for (h.a aVar : f.values()) { - arrayList.add(new g(aVar.a, aVar.b, aVar.f547c.b())); + arrayList.add(new g(aVar.a, aVar.b, aVar.f548c.b())); } list = arrayList; } @@ -519,15 +519,15 @@ public final class c extends b implements e0 { kVar.g(this, jVar._class, linkedHashMap, a2); z2 = true; } - if (z2 && kVar.f553c != 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.f555c.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.f548c = kVar.d(aVar4.f548c, declaredMethod.getDeclaredAnnotations()); + aVar4.f549c = kVar.d(aVar4.f549c, declaredMethod.getDeclaredAnnotations()); aVar4.b = declaredMethod; } } catch (Exception unused) { @@ -542,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.f548c.b(), null); + j jVar2 = method == null ? null : new j(aVar5.a, method, aVar5.f549c.b(), null); if (jVar2 != null) { linkedHashMap2.put(entry2.getKey(), jVar2); } @@ -561,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 0588420f0c..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 @@ -29,7 +29,7 @@ public class c0 extends s implements Comparable { public d r; /* renamed from: s reason: collision with root package name */ - public d f544s; + 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 f545c; + 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.f545c = 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.f545c != null) { - return b.f545c == null ? c(null) : c(b); + if (this.f546c != null) { + return b.f546c == null ? c(null) : c(b); } - if (b.f545c != 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.f545c, 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.f545c, 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(); } } @@ -169,7 +169,7 @@ public class c0 extends s implements Comparable { this.p = c0Var.p; this.q = c0Var.q; this.r = c0Var.r; - this.f544s = c0Var.f544s; + 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.f545c, 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.f545c; + t tVar = dVar2.f546c; if (dVar2.d && tVar != null) { c0 c0Var = map.get(tVar); if (c0Var == null) { @@ -222,34 +222,34 @@ public class c0 extends s implements Comparable { c0Var.p = dVar2.c(c0Var.p); } else if (dVar == this.r) { c0Var.r = dVar2.c(c0Var.r); - } else if (dVar == this.f544s) { - c0Var.f544s = dVar2.c(c0Var.f544s); + } 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.f545c != null) { + if (dVar.d && dVar.f546c != null) { if (set == null) { set = new HashSet<>(); } - set.add(dVar.f545c); + set.add(dVar.f546c); } dVar = dVar.b; } @@ -307,11 +307,11 @@ public class c0 extends s implements Comparable { this.p = N(this.p, c0Var.p); this.q = N(this.q, c0Var.q); this.r = N(this.r, c0Var.r); - this.f544s = N(this.f544s, c0Var.f544s); + this.f545s = N(this.f545s, c0Var.f545s); } public Set L() { - Set C = C(this.q, C(this.f544s, C(this.r, 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; } @@ -332,7 +332,7 @@ public class c0 extends s implements Comparable { if (dVar4 != null) { t = eVar.a(dVar4.a); } - if (t == null && (dVar2 = this.f544s) != 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.f544s == 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; } @@ -470,13 +470,13 @@ 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.r = dVar.e(); @@ -581,7 +581,7 @@ public class c0 extends s implements Comparable { if (dVar3 != null) { jVar = dVar3.a; } else { - d dVar4 = this.f544s; + d dVar4 = this.f545s; if (dVar4 != null) { jVar = dVar4.a; } else { @@ -650,7 +650,7 @@ public class c0 extends s implements Comparable { @Override // c.g.a.c.c0.s public j s() { - d dVar = this.f544s; + 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.f544s = 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.r); - O.append(", setter(s): "); - O.append(this.f544s); - 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.r) || x(this.f544s) || 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.f545c != 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.f545c; + 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 b480477eb6..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 f546c; + 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.f546c = 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.f546c = 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.f549c; + 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 5d02a6effa..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.f549c, 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.f553c == 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.f553c == 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.f582c; + Annotation[][] annotationArr2 = aVar.f583c; if (annotationArr2 == null) { annotationArr2 = aVar.a.getParameterAnnotations(); - aVar.f582c = 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.f582c; + Annotation[][] annotationArr4 = aVar2.f583c; if (annotationArr4 == null) { annotationArr4 = aVar2.a.getParameterAnnotations(); - aVar2.f582c = 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 f5ec1349aa..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 f547c = o.a.f549c; + 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.f547c = b(aVar3.f547c, 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.f547c = b(aVar2.f547c, 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 c2e5f16084..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 f548c; + public o f549c; public a(e0 e0Var, Method method, o oVar) { this.a = e0Var; this.b = method; - this.f548c = 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.f553c == null ? o.a.f549c : c(method.getDeclaredAnnotations()))); + map.put(yVar, new a(e0Var, method, this.f554c == null ? o.a.f550c : c(method.getDeclaredAnnotations()))); } else { if (this.e) { - aVar.f548c = d(aVar.f548c, 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.f553c != 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.f548c = d(aVar.f548c, 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 6bcc570bd2..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 f549c = 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> f550c; + 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.f550c = 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.f550c.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.f550c.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.f550c.size() != 2) { - return new p(this.f550c); + if (this.f551c.size() != 2) { + return new p(this.f551c); } - Iterator, Annotation>> it = this.f550c.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.f550c.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 f551c; + public Class f552c; public Annotation d; public e(Object obj, Class cls, Annotation annotation) { super(obj); - this.f551c = 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.f551c; + 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.f551c; + 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.f551c, 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.f551c; + 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 c618955bd0..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 f552c; + 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.f552c = b0Var; + this.f553c = b0Var; l lVar = b0Var.a; this.d = lVar; if (lVar == null) { @@ -44,7 +44,7 @@ public class q extends c { public q(l lVar, j jVar, c cVar, List list) { super(jVar); - this.f552c = null; + this.f553c = null; this.d = lVar; if (lVar == null) { this.e = null; @@ -72,7 +72,7 @@ public class q extends c { @Override // c.g.a.c.c public i b() { - b0 b0Var = this.f552c; + b0 b0Var = this.f553c; if (b0Var == null) { return null; } @@ -99,7 +99,7 @@ public class q extends c { public List d() { if (this.i == null) { - b0 b0Var = this.f552c; + 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 244ce6c261..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 f553c; + public final b f554c; public u(b bVar) { - this.f553c = 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.f553c.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.f549c; + o oVar = o.a.f550c; for (Annotation annotation : annotationArr) { oVar = oVar.a(annotation); - if (this.f553c.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.f553c.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.f553c.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.f553c.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 0fa49cbfd6..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.f556c : 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 dee8e100a3..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 f554c; + 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.f557c.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.f554c = 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.f554c; + 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.f554c.length()) : d(str, this.f554c.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 0a4da214ea..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.f542s.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(); @@ -375,7 +375,7 @@ public class x extends b implements Serializable { 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), j02, sVar, aVar.include()), cVar.f542s, 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,10 +384,10 @@ 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 j03 = j0(bVar2.name(), bVar2.namespace()); j d = lVar.d(bVar2.type()); @@ -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.f539c, 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 fb5b20f05b..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[] f555c; + public final Class[] f556c; public y(Constructor constructor) { Class[] parameterTypes = constructor.getParameterTypes(); this.b = ""; - this.f555c = 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.f555c = 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.f555c; - int length = this.f555c.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.f555c[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.f555c.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.f555c.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 fe8982ff25..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 f556c = 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 d1446229f0..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 f557c; + public final Method f558c; public final Method d; static { @@ -25,7 +25,7 @@ public class a { public a() throws RuntimeException { try { - this.f557c = 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 7db2641b4e..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.f539c; + 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 34bc4ce494..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.f559c); + 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 1610b2616c..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 f558c; + public final String f559c; public c(e eVar, d dVar, String str) { super(eVar, dVar); - this.f558c = 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.f558c); + 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.f558c; + 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 675e9dfd66..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 f559c; + public final String f560c; public d(e eVar, c.g.a.c.d dVar, String str) { super(eVar, dVar); - this.f559c = str; + this.f560c = str; } @Override // c.g.a.c.e0.h.m, c.g.a.c.e0.g public String b() { - return this.f559c; + 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.f559c); + 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 2852a4d5b9..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.f583c; + 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.f578x; + 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 298a2ec6db..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 f560c; + 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.f560c = "."; + this.f561c = "."; return; } - this.f560c = 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.f560c) ? name.substring(this.f560c.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 ea9955d512..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 f561c; + 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.f561c = 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.f561c.p()) { - str = this.f561c.e().O(((q) this.f561c.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 48a01d71ce..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.f536c == null) { + if (bVar.f537c == null) { Object obj = bVar.a; Class cls = bVar.b; - bVar.f536c = 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.f536c; + 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.f536c; + 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 1eed85c023..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 f562c; + public n f563c; public t d; public a(d dVar, i iVar, n nVar) { this.b = iVar; this.a = dVar; - this.f562c = 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.f562c.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 0485124906..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.f552c; + 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 812188fb57..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 @@ -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 f16cbbcaa9..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 f563c; + 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.f563c.q(p.CAN_OVERRIDE_ACCESS_MODIFIERS)) { - this.h.f(this.f563c.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.f563c.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.f563c.q(p.CAN_OVERRIDE_ACCESS_MODIFIERS)) { + if (this.f564c.q(p.CAN_OVERRIDE_ACCESS_MODIFIERS)) { for (c cVar : cVarArr) { - cVar._member.f(this.f563c.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 83d1108bb5..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.f542s, e, y2, c2, a, z3, obj, i); - q = lVar.f564c.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.f564c.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.f542s, e, y2, c2, a, z3, obj, i); - q = lVar.f564c.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.f564c.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.f542s, e, y2, c2, a, z3, obj, i); - q = lVar.f564c.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.f564c.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.f542s, e, y2, c2, a, z3, obj, i); - q = lVar.f564c.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.f564c.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.f542s, e, y2, c2, a, z3, obj, i); - q = lVar.f564c.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.f564c.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.f542s, e, y2, c2, a, z3, obj, i); - q = lVar.f564c.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.f564c.Q(iVar); + c.g.a.c.i0.n Q = lVar.f565c.Q(iVar); if (Q == null) { } } @@ -559,9 +559,9 @@ public class f extends b implements Serializable { obj3 = null; 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; @@ -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.f563c = 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; @@ -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; @@ -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.f539c; + 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.f552c; + 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.f552c; + 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.f542s.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 029e998857..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.f568c == cls && aVar.e)) { + if (!(aVar.f569c == cls && aVar.e)) { while (true) { aVar = aVar.b; if (aVar == null) { break; } - if (aVar.f568c != 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 377d20c922..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 f564c; + 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.f564c = 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.f564c.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.f564c.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 ce8edc7606..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(); } @@ -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 d132cfb037..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 f565c; + 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.f565c = 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 bd6072e596..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 f566c; + 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.f566c = 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.f566c, 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.f566c) { + 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 f567c; + public final n f568c; public e(l lVar, Class cls, n nVar) { super(lVar); this.b = cls; - this.f567c = 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.f567c, 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.f567c; + 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 21c62cdf15..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 f568c; + 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.f568c = uVar.b; - this.d = uVar.f586c; + this.f569c = uVar.b; + this.d = uVar.f587c; } } @@ -75,7 +75,7 @@ public final class m { if (aVar == null) { return null; } - if (aVar.f568c == 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.f568c != 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 b648df5bb5..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 f569c = 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.f569c && !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 f69036c07c..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]); @@ -171,7 +171,7 @@ public abstract class d extends q0 implements i, o { a0 r = v.r(member); if (r != null) { a0 s3 = v.s(member, r); - Class> cls2 = s3.f539c; + Class> cls2 = s3.f540c; j jVar3 = xVar.d().i(xVar.b(cls2), i0.class)[0]; if (cls2 == l0.class) { String str = s3.b._simpleName; @@ -202,7 +202,7 @@ public abstract class d extends q0 implements i, o { jVar2 = this._objectIdWriter; boolean z2 = s2.f; if (z2 != jVar2.e) { - jVar2 = new c.g.a.c.g0.t.j(jVar2.a, jVar2.b, jVar2.f565c, 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.f565c, 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.f562c; + 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.f562c = y2; + aVar.f563c = y2; if (y2 instanceof t) { aVar.d = (t) y2; } @@ -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.f565c); + u p = xVar.p(obj, jVar.f566c); if (!p.a(dVar, xVar, jVar)) { if (p.b == null) { p.b = p.a.c(obj); @@ -361,7 +361,7 @@ public abstract class d extends q0 implements i, o { c.g.a.c.g0.t.j jVar2 = this._objectIdWriter; c.g.a.b.s.b r = r(gVar, obj, c.g.a.b.h.START_OBJECT); gVar.e(dVar, r); - p.f569c = true; + p.f570c = true; Objects.requireNonNull(dVar); c.g.a.b.k kVar = jVar2.b; if (kVar != null) { @@ -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.f565c); + 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.f569c = 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.f536c = 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 fa93461ae4..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); } } } 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 f732e4d80b..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); } } } 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 d8400db9ce..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 @@ -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 acf0f49af5..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()) { @@ -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 da447cacbd..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 f574c; + 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.f574c; - 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 2961ac0920..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 f575c; + public final int f576c; public a(Class cls, j[] jVarArr, int i) { this.a = cls; this.b = jVarArr; - this.f575c = 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.f575c == aVar.f575c && 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.f575c; + 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[] f576c = 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.f576c : 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 ae5540fe1e..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 @@ -45,7 +45,7 @@ public class n implements Serializable { public static final Class r; /* renamed from: s reason: collision with root package name */ - public static final Class f577s; + public static final Class f578s; private static final long serialVersionUID = 1; public static final Class t; public static final k u; @@ -53,13 +53,13 @@ public class n implements Serializable { public static final k w; /* renamed from: x reason: collision with root package name */ - public static final k f578x = 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 f579y = 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 f580z = 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,7 +69,7 @@ public class n implements Serializable { Class cls = Boolean.TYPE; r = cls; Class cls2 = Integer.TYPE; - f577s = cls2; + f578s = cls2; Class cls3 = Long.TYPE; t = cls3; u = new k(cls); @@ -79,7 +79,7 @@ public class n implements Serializable { public static j k() { Objects.requireNonNull(j); - return f579y; + return f580y; } public j a(Class cls) { @@ -87,7 +87,7 @@ public class n implements Serializable { if (cls == r) { return u; } - if (cls == f577s) { + if (cls == f578s) { return v; } if (cls == t) { @@ -95,10 +95,10 @@ public class n implements Serializable { } return null; } else if (cls == l) { - return f578x; + return f579x; } else { if (cls == m) { - return f579y; + return f580y; } if (cls == q) { return C; @@ -119,7 +119,7 @@ public class n implements Serializable { if (cls == p) { jVar = A; } else if (cls == n) { - jVar = f580z; + jVar = f581z; } else if (cls == o) { jVar = B; } else { @@ -149,7 +149,7 @@ public class n implements Serializable { if (e != null) { jVar = e; } else if (mVar.h(name)) { - jVar = f579y; + jVar = f580y; } else { m l2 = mVar.l(name); synchronized (typeVariable) { @@ -158,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) { @@ -223,10 +223,10 @@ public class n implements Serializable { } if (cVar3 != null) { j jVar7 = new j(cls, k); - if (cVar3.f574c == null) { - cVar3.f574c = new ArrayList<>(); + if (cVar3.f575c == null) { + cVar3.f575c = new ArrayList<>(); } - cVar3.f574c.add(jVar7); + cVar3.f575c.add(jVar7); return jVar7; } cVar2 = new c(cVar, cls); @@ -245,7 +245,7 @@ public class n implements Serializable { e = e(cVar2, cls, mVar); } if (cls == Properties.class) { - k kVar3 = f578x; + k kVar3 = f579x; jVar6 = g.Q(cls, mVar, b, e, kVar3, kVar3); } else if (b != null) { jVar6 = b.C(cls, mVar, b, e); @@ -254,12 +254,12 @@ public class n implements Serializable { m mVar2 = mVar == null ? k : mVar; if (cls == Map.class) { if (cls == Properties.class) { - kVar2 = f578x; + kVar2 = f579x; } else { List g = mVar2.g(); int size = g.size(); if (size == 0) { - kVar2 = f579y; + kVar2 = f580y; } else if (size != 2) { Object[] objArr = new Object[4]; objArr[0] = d.u(cls); @@ -279,22 +279,22 @@ public class n implements Serializable { } else if (cls == Collection.class) { List g2 = mVar2.g(); if (g2.isEmpty()) { - jVar4 = f579y; + 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 = f579y; + 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; @@ -333,7 +333,7 @@ public class n implements Serializable { jVar = jVar6; } } - ArrayList arrayList = cVar2.f574c; + ArrayList arrayList = cVar2.f575c; if (arrayList != null) { Iterator it = arrayList.iterator(); while (it.hasNext()) { @@ -341,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()); } } } @@ -490,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 abfc1d6967..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 f581c = 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[][] f582c; + 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 f583c = 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 a7612feaea..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 @@ -33,7 +33,7 @@ public class r extends DateFormat { public transient Calendar r; /* renamed from: s reason: collision with root package name */ - public transient DateFormat f584s; + public transient DateFormat f585s; static { try { @@ -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.f584s == 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.f584s = dateFormat; + this.f585s = dateFormat; } - return this.f584s.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.f584s = null; + this.f585s = null; } } @Override // java.text.DateFormat public void setTimeZone(TimeZone timeZone) { if (!timeZone.equals(this.q)) { - this.f584s = 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 856fdf26c7..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 s2) throws IOException { - q0(h.VALUE_NUMBER_INT, Short.valueOf(s2)); + 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 40d524ee81..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 f585c = 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 3b6cd8842c..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 f586c; + public j f587c; public boolean d; public u() { } public u(j jVar, boolean z2) { - this.f586c = 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.f586c = 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.f586c.equals(uVar.f586c); + 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.f586c); - 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 db12d2f42f..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.f581c; + 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 e1119005e9..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 f595c; + 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.f595c.setInput(this.d); - this.f595c.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.f595c = 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.f595c.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.f595c; + ScriptIntrinsicBlur scriptIntrinsicBlur = this.f596c; if (scriptIntrinsicBlur != null) { scriptIntrinsicBlur.destroy(); - this.f595c = 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 1473aa6a56..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 f596c; + 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.f596c.setInput(this.d); - this.f596c.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.f596c = 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.f596c.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.f596c; + ScriptIntrinsicBlur scriptIntrinsicBlur = this.f597c; if (scriptIntrinsicBlur != null) { scriptIntrinsicBlur.destroy(); - this.f596c = 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 339b6ac941..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 f597c; + 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.f597c.setInput(this.d); - this.f597c.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.f597c = 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.f597c.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.f597c; + ScriptIntrinsicBlur scriptIntrinsicBlur = this.f598c; if (scriptIntrinsicBlur != null) { scriptIntrinsicBlur.destroy(); - this.f597c = 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 0973962fcb..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 f598c; + 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"); - f598c = 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 9b728c6a42..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.f600c; + 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 1283ad16b7..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 f599c; + 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 f600c; + public final String f601c; public a(URL url, j jVar, @Nullable String str) { this.a = url; this.b = jVar; - this.f600c = 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 f601c; + public final long f602c; public b(int i, @Nullable URL url, long j) { this.a = i; this.b = url; - this.f601c = 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.f599c = 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.f604c = 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.f604c == 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.f604c.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.f601c); + 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.f599c.getSystemService("phone")).getSimOperator()); - Context context = this.f599c; + 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 2995fc957e..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.f1370c.remove(j.class); + eVar.f1401c.remove(j.class); eVar.b.put(d.class, bVar2); - eVar.f1370c.remove(d.class); + eVar.f1401c.remove(d.class); e eVar2 = e.a; eVar.b.put(m.class, eVar2); - eVar.f1370c.remove(m.class); + eVar.f1401c.remove(m.class); eVar.b.put(g.class, eVar2); - eVar.f1370c.remove(g.class); + eVar.f1401c.remove(g.class); c cVar = c.a; eVar.b.put(k.class, cVar); - eVar.f1370c.remove(k.class); + eVar.f1401c.remove(k.class); eVar.b.put(e.class, cVar); - eVar.f1370c.remove(e.class); + eVar.f1401c.remove(e.class); a aVar = a.a; eVar.b.put(a.class, aVar); - eVar.f1370c.remove(a.class); + eVar.f1401c.remove(a.class); eVar.b.put(c.class, aVar); - eVar.f1370c.remove(c.class); + eVar.f1401c.remove(c.class); d dVar = d.a; eVar.b.put(l.class, dVar); - eVar.f1370c.remove(l.class); + eVar.f1401c.remove(l.class); eVar.b.put(f.class, dVar); - eVar.f1370c.remove(f.class); + eVar.f1401c.remove(f.class); f fVar = f.a; eVar.b.put(o.class, fVar); - eVar.f1370c.remove(o.class); + eVar.f1401c.remove(o.class); eVar.b.put(i.class, fVar); - eVar.f1370c.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 8f43077641..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 f602c; + 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.f602c = 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.f602c; + 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.f602c; + 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.f602c; + 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.f602c); - 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 1d3ff01653..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 f603c; + 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 f604c; + 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.f603c = 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.f603c; + 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.f603c == 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.f603c; + 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.f603c); - 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 e095ee0d2a..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 f605c; + 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.f605c = 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.f605c; + 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.f605c) != 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.f605c; + 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.f605c); - 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 fdd0c01944..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 f614c; + 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 f615c; + 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.f615c == 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.f615c, 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.f615c = 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.f614c = 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.f614c; + 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.f614c.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.f614c.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.f614c); - 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 d349570112..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 f616c; + 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 f617c; + public d f618c; @Override // c.i.a.b.j.i.a public i a() { String str = this.a == null ? " backendName" : ""; - if (this.f617c == 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.f617c, 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.f617c = 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.f616c = 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.f616c; + 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.f616c.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.f616c.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 00a956b0ce..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 @@ -35,7 +35,7 @@ public final class c extends o { public c0.a.a r; /* renamed from: s reason: collision with root package name */ - public c0.a.a

f618s; + public c0.a.a

f619s; public c0.a.a t; public c(Context context, a aVar) { @@ -68,7 +68,7 @@ public final class c extends o { m mVar = new m(aVar4, aVar6, aVar3, gVar, aVar5, aVar3, bVar2); this.r = mVar; q qVar = new q(aVar5, aVar3, gVar, aVar3); - this.f618s = 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/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 0a41acbd81..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 f619c; + public final m f620c; public j(Set set, i iVar, m mVar) { this.a = set; this.b = iVar; - this.f619c = 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.f619c); + 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 cae42faf14..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 f620c; + 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.f620c = 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.f620c; + 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.f621c.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 46a6e0f13e..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 f621c; + 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.f621c = 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 6241a54dc3..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 @@ -9,20 +9,20 @@ public final class p implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f622c; + 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.f622c = aVar3; + this.f623c = aVar3; this.d = aVar4; this.e = aVar5; } @Override // c0.a.a public Object get() { - return new n(this.a.get(), this.b.get(), this.f622c.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 4c7d00c589..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 f623c; + 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.f623c = 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.f623c; + 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.f623c.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.f623c.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.f623c); - 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 e83e34ab1c..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 f624c; + public final a f625c; public i(Context context, a aVar, a aVar2) { this.a = context; this.b = aVar; - this.f624c = 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 f636058999..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 @@ -8,16 +8,16 @@ public final class j implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f625c; + public final a f626c; public j(a aVar, a aVar2, a aVar3) { this.a = aVar; this.b = aVar2; - this.f625c = aVar3; + this.f626c = aVar3; } @Override // c0.a.a public Object get() { - return new i(this.a.get(), this.b.get(), this.f625c.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 32ecbc918b..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 f626c = 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.f626c.containsKey(str)) { - return this.f626c.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.f624c, str)); - this.f626c.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/r/a/a.java b/app/src/main/java/c/i/a/b/j/r/a/a.java index a8bb763755..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 @@ -5,7 +5,7 @@ public final class a implements c0.a.a { public volatile c0.a.a b; /* renamed from: c reason: collision with root package name */ - public volatile Object f627c = a; + public volatile Object f628c = a; public a(c0.a.a aVar) { this.b = aVar; @@ -20,15 +20,15 @@ public final class a implements c0.a.a { @Override // c0.a.a public T get() { - T t = (T) this.f627c; + T t = (T) this.f628c; Object obj = a; if (t == obj) { synchronized (this) { - t = this.f627c; + t = this.f628c; if (t == obj) { t = this.b.get(); - a(this.f627c, t); - this.f627c = t; + a(this.f628c, t); + this.f628c = t; this.b = null; } } 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 6f4e21e29d..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 f628c; + public final f f629c; public b(c cVar, i iVar, f fVar) { this.a = cVar; this.b = iVar; - this.f628c = 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.f628c); + 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 d41641b9a1..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 f629c; + 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.f629c = 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.f629c.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 87f5d0b210..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 @@ -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 f630c; + 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.f630c = aVar3; + this.f631c = aVar3; this.d = aVar4; this.e = aVar5; } @Override // c0.a.a public Object get() { - return new c(this.a.get(), this.b.get(), this.f630c.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 1f5f03bf56..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 @@ -24,23 +24,23 @@ public final class f implements a { 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.f633c = 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 766da7d6ac..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 @@ -11,19 +11,19 @@ public final class g implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f631c; + 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.f631c = aVar3; + this.f632c = aVar3; this.d = aVar4; } @Override // c0.a.a public Object get() { this.d.get(); - return new d(this.a.get(), this.b.get(), this.f631c.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 873559215b..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 f632c; + 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 f633c; + 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.f633c == 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.f633c, 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.f632c = 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.f632c; + 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.f632c.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.f632c.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.f632c); - 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 018fdfc43c..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 f634c; + public final f f635c; public d(Context context, c cVar, f fVar) { this.a = context; this.b = cVar; - this.f634c = 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.f634c; + 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.f634c.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 8c30a387a8..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.f633c = 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 047122f118..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.f637c; + 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 eadc61d861..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.f637c.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 d38c408fc9..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 f635c; + 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.f635c = 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.f635c; + 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.f637c.m0(iterable); + lVar.f638c.n0(iterable); lVar.d.a(iVar, i + 1); return null; } - lVar.f637c.m(iterable); + lVar.f638c.m(iterable); if (gVar.c() == g.a.OK) { - lVar.f637c.u(iVar, gVar.b() + lVar.g.a()); + lVar.f638c.v(iVar, gVar.b() + lVar.g.a()); } - if (!lVar.f637c.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 b6e11f7958..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 f636c; + public final int f637c; public k(l lVar, i iVar, int i) { this.a = lVar; this.b = iVar; - this.f636c = 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.f636c + 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 389c3ba215..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 f637c; + 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.f637c = 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 6341cff677..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 @@ -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 f638c; + public final a f639c; public final a d; public final a e; public final a f; @@ -20,7 +20,7 @@ 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.f638c = aVar3; + this.f639c = aVar3; this.d = aVar4; this.e = aVar5; this.f = aVar6; @@ -29,6 +29,6 @@ public final class m implements a { @Override // c0.a.a public Object get() { - return new l(this.a.get(), this.b.get(), this.f638c.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 6ef79cc3c2..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.f639c.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 3bbbc5499d..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 f639c; + 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.f639c = 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 684b95230a..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 @@ -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 f640c; + 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.f640c = aVar3; + this.f641c = aVar3; this.d = aVar4; } @Override // c0.a.a public Object get() { - return new p(this.a.get(), this.b.get(), this.f640c.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 d4a5b67544..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 f641c; + 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.f641c = 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.f641c; + 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.f641c == 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.f641c) * 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.f641c); - 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 a16fe7d73c..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 @@ -8,16 +8,16 @@ public final class a0 implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f642c; + public final a f643c; public a0(a aVar, a aVar2, a aVar3) { this.a = aVar; this.b = aVar2; - this.f642c = aVar3; + this.f643c = aVar3; } @Override // c0.a.a public Object get() { - return new z(this.a.get(), this.b.get(), this.f642c.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 68a5616e66..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 f643c; + 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.f643c = fVar; + this.f644c = fVar; } @Override // c.i.a.b.j.t.i.h public f a() { - return this.f643c; + 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.f643c.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.f643c.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.f643c); - 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/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 3834ceca26..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 f644c; + public final i f645c; public k(t tVar, List list, i iVar) { this.a = tVar; this.b = list; - this.f644c = 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.f644c; + 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 76bb713caa..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 f645c; + public final f f646c; public s(t tVar, i iVar, f fVar) { this.a = tVar; this.b = iVar; - this.f645c = 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.f645c; + 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 94b640c9f1..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 @@ -7,18 +7,18 @@ public final class u implements a { public final a b; /* renamed from: c reason: collision with root package name */ - public final a f646c; + 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.f646c = aVar3; + this.f647c = aVar3; this.d = aVar4; } @Override // c0.a.a public Object get() { - return new t(this.a.get(), this.b.get(), this.f646c.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/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/b0/b.java b/app/src/main/java/c/i/a/c/a2/b0/b.java deleted file mode 100644 index 4a59dd3f9b..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[] f652c = 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; - public t r; - - /* renamed from: s reason: collision with root package name */ - public boolean f653s; - - 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 = f652c; - 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.f653s) { - this.f653s = 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.f2281x = 1; - bVar.f2282y = 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.r = 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.r; - 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/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/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/c.java b/app/src/main/java/c/i/a/c/a2/g0/c.java deleted file mode 100644 index 49f6a143cc..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.f1012c); - } - - @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 cf0671511e..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 f685c; - 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.f685c = 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.f685c, 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.f685c.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.f685c.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/h0/e.java b/app/src/main/java/c/i/a/c/a2/h0/e.java deleted file mode 100644 index 4e6e0291fe..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 f692c; - - public b(d.b bVar, Format format) { - w wVar = bVar.b; - this.f692c = wVar; - wVar.D(12); - int v = wVar.v(); - if ("audio/raw".equals(format.t)) { - int s2 = f0.s(format.I, format.G); - if (v == 0 || v % s2 != 0) { - Log.w("AtomParsers", "Audio sample size mismatch. stsd sample size: " + s2 + ", stsz sample size: " + v); - v = s2; - } - } - 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.f692c.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 f693c; - public int d; - public int e; - - public c(d.b bVar) { - w wVar = bVar.b; - this.a = wVar; - wVar.D(12); - this.f693c = 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.f693c; - 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 s2 = this.a.s(); - this.e = s2; - return (s2 & 240) >> 4; - } - } - - public static Pair a(w wVar, int i) { - wVar.D(i + 8 + 4); - wVar.E(1); - b(wVar); - wVar.E(2); - int s2 = wVar.s(); - if ((s2 & 128) != 0) { - wVar.E(2); - } - if ((s2 & 64) != 0) { - wVar.E(wVar.x()); - } - if ((s2 & 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 s2 = wVar.s(); - int i = s2 & 127; - while ((s2 & 128) == 128) { - s2 = wVar.s(); - i = (i << 7) | (s2 & 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 s2 = wVar.s(); - i4 = s2 & 15; - i3 = (s2 & 240) >> 4; - } - boolean z2 = wVar.s() == 1; - int s3 = wVar.s(); - byte[] bArr2 = new byte[16]; - System.arraycopy(wVar.a, wVar.b, bArr2, 0, 16); - wVar.b += 16; - if (!z2 || s3 != 0) { - bArr = null; - } else { - int s4 = wVar.s(); - byte[] bArr3 = new byte[s4]; - System.arraycopy(wVar.a, wVar.b, bArr3, 0, s4); - wVar.b += s4; - bArr = bArr3; - } - num = num2; - nVar = new n(z2, str, s3, 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.f708c); - jArr3 = mVar2.h; - if (jArr3 != null) { - f0.F(jArr2, 1000000, mVar2.f708c); - 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.f708c, 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.f708c); - long E4 = f0.E(j9, (long) mVar2.f.H, mVar2.f708c); - if (!(E3 == 0 && E4 == 0) && E3 <= 2147483647L && E4 <= 2147483647L) { - pVar.b = (int) E3; - pVar.f762c = (int) E4; - f0.F(jArr2, 1000000, mVar2.f708c); - 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.f708c); - } - return new p(mVar, jArr, iArr, i5, jArr2, iArr2, f0.E(j - j10, 1000000, mVar2.f708c)); - } - 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.f708c, 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.f708c); - 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.f708c); - 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.f927c; - 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 s2 = wVar5.s(); - wVar5.E(3); - if (s2 == 0) { - int s3 = wVar5.s(); - if (s3 == 0) { - i35 = 0; - } else if (s3 == 1) { - i35 = 1; - } else if (s3 == 2) { - i35 = 2; - } else if (s3 == 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.f2280s = 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 s4 = wVar5.s(); - int i43 = l.d[(s4 & 56) >> 3]; - if ((s4 & 4) != 0) { - i43++; - } - i21 = i16; - str8 = str5; - Format.b bVar = new Format.b(); - bVar.a = num; - bVar.k = str15; - bVar.f2281x = i43; - bVar.f2282y = i42; - bVar.n = drmInitData3; - bVar.f2279c = 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 s5 = wVar5.s(); - int i45 = l.d[(s5 & 14) >> 1]; - if ((s5 & 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.f2281x = i45; - bVar2.f2282y = i44; - bVar2.n = drmInitData3; - bVar2.f2279c = 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.f2281x = 2; - bVar3.f2282y = i46; - bVar3.n = drmInitData3; - bVar3.f2279c = str11; - format = bVar3.a(); - } else if (f17 == 1684305011) { - Format.b r02 = c.d.b.a.a.r0(f3); - r02.k = str6; - r02.f2281x = i19; - r02.f2282y = i18; - r02.n = drmInitData3; - r02.f2279c = 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 s6 = wVar6.s(); - wVar6.D(20); - Pair create2 = Pair.create(Integer.valueOf(wVar6.v()), Integer.valueOf(s6)); - 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.f997c; - } - 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.f2281x = i19; - r03.f2282y = i18; - r03.f2283z = i16; - r03.m = uVar; - r03.n = drmInitData3; - r03.f2279c = 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.f2281x = i19; - r03.f2282y = i18; - r03.f2283z = i16; - r03.m = uVar; - r03.n = drmInitData3; - r03.f2279c = 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.f2281x = i19; - r03.f2282y = i18; - r03.f2283z = i16; - r03.m = uVar; - r03.n = drmInitData3; - r03.f2279c = 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.f2279c = 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.f2279c = 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.f2279c = 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/g.java b/app/src/main/java/c/i/a/c/a2/h0/g.java deleted file mode 100644 index 5e7bf51df1..0000000000 --- a/app/src/main/java/c/i/a/c/a2/h0/g.java +++ /dev/null @@ -1,1443 +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 f695c; - 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; - public int r; - @Nullable - - /* renamed from: s reason: collision with root package name */ - public c.i.a.c.i2.w f696s; - public long t; - public int u; - public long v; - public long w; - - /* renamed from: x reason: collision with root package name */ - public long f697x; - @Nullable - - /* renamed from: y reason: collision with root package name */ - public b f698y; - - /* renamed from: z reason: collision with root package name */ - public int f699z; - - /* 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 f700c = 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.f711c[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.f919c = 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.f700c.z(8); - c.i.a.c.i2.w wVar4 = this.f700c; - 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.f700c.z(i5); - byte[] bArr3 = this.f700c.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.f700c; - } - this.a.f(wVar5, i5, 1); - return i3 + 1 + i5; - } - - public void e() { - o oVar = this.b; - oVar.d = 0; - oVar.q = 0; - oVar.r = 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.f695c = 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.w = -9223372036854775807L; - this.v = -9223372036854775807L; - this.f697x = -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.f919c = 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.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: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.r == 0) { - if (!iVar2.c(this.l.a, 0, 8, true)) { - z3 = false; - if (z3) { - return -1; - } - } else { - this.r = 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.r += 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.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.f710c = position; - oVar.b = position; - } - } - int i6 = this.p; - if (i6 == 1835295092) { - this.f698y = 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 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.f696s = 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.f696s = 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.f698y; - 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.f698y = 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.f699z = 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.f698y = null; - } - this.o = 3; - if (i3 != 0) { - } - } else { - if (bVar.d.a.g == 1) { - this.f699z = i8 - 8; - iVar2.l(8); - } - if ("audio/ac4".equals(bVar.d.a.f.t)) { - this.A = bVar.d(this.f699z, 7); - m.a(this.f699z, this.j); - bVar.a.c(this.j, 7); - this.A += 7; - } else { - this.A = bVar.d(this.f699z, 0); - } - this.f699z += 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.f699z; - 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.f699z) { - 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.f699z += i15; - } - } - z2 = false; - this.C = z2; - this.A += 5; - this.f699z += 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.f919c); - 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.f699z, 0, b5 != null ? b5.f709c : 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.f698y = 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.f710c; - 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.f919c); - oVar5.o.D(0); - oVar5.p = false; - } else { - throw new ParserException("Offset to encryption data was negative."); - } - } - } - } else { - int i20 = ((int) this.q) - this.r; - c.i.a.c.i2.w wVar6 = this.f696s; - 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().f691c.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.f697x = ((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.f697x; - 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.f695c & 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.f691c); - d.a b2 = pop.b(1836475768); - Objects.requireNonNull(b2); - SparseArray sparseArray2 = new SparseArray<>(); - int size = b2.f691c.size(); - long j3 = -9223372036854775807L; - int i19 = 0; - while (i19 < size) { - d.b bVar3 = b2.f691c.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.f695c & 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.w = Math.max(gVar3.w, 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.f695c; - 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 w = wVar4.w(); - o oVar2 = valueAt.b; - oVar2.b = w; - oVar2.f710c = w; - } - 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.f694c, (f & 32) != 0 ? wVar4.f() : fVar2.d); - } - if (valueAt != null) { - o oVar3 = valueAt.b; - long j4 = oVar3.q; - boolean z7 = oVar3.r; - valueAt.e(); - valueAt.l = true; - d.b c3 = aVar4.c(1952867444); - if (c3 == null || (i24 & 2) != 0) { - oVar3.q = j4; - oVar3.r = 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.r = true; - } - List list2 = aVar4.f691c; - 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.f708c); - 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.f708c; - 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.f694c; - } - 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.r) { - 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.f708c; - 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 s2 = wVar8.s(); - int v2 = wVar8.v(); - if (v2 <= oVar3.e) { - if (s2 == 0) { - boolean[] zArr2 = oVar3.m; - i5 = 0; - for (int i37 = 0; i37 < v2; i37++) { - int s3 = wVar8.s(); - i5 += s3; - zArr2[i37] = s3 > i36; - } - } else { - i5 = (s2 * v2) + 0; - Arrays.fill(oVar3.m, 0, v2, s2 > 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.f710c += ((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.f691c.size(); i38++) { - d.b bVar8 = aVar4.f691c.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 s4 = wVar12.s(); - int i40 = (s4 & 240) >> 4; - int i41 = s4 & 15; - boolean z14 = wVar12.s() == 1; - if (z14) { - int s5 = wVar12.s(); - byte[] bArr8 = new byte[16]; - System.arraycopy(wVar12.a, wVar12.b, bArr8, 0, 16); - wVar12.b += 16; - if (s5 == 0) { - int s6 = wVar12.s(); - byte[] bArr9 = new byte[s6]; - System.arraycopy(wVar12.a, wVar12.b, bArr9, 0, s6); - wVar12.b += s6; - bArr3 = bArr9; - } else { - bArr3 = null; - } - oVar3.l = true; - oVar3.n = new n(z14, str, s5, 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.f691c.size(); - int i42 = 0; - while (i42 < size5) { - d.b bVar9 = aVar4.f691c.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.f691c); - 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/i0/f.java b/app/src/main/java/c/i/a/c/a2/i0/f.java deleted file mode 100644 index 303c4f325f..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 f716c; - 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 s2 = this.h.s(); - this.a = s2; - if (s2 == 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.f716c = ((((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 s3 = this.h.s(); - this.d = s3; - this.e = s3 + 27; - this.h.z(s3); - 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.f716c = 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/j.java b/app/src/main/java/c/i/a/c/a2/i0/j.java deleted file mode 100644 index c9b8627125..0000000000 --- a/app/src/main/java/c/i/a/c/a2/i0/j.java +++ /dev/null @@ -1,400 +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 - public y r; - - /* 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[] f718c; - public final int d; - - public a(a0 a0Var, y yVar, byte[] bArr, z[] zVarArr, int i) { - this.a = a0Var; - this.b = bArr; - this.f718c = 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.f718c[(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.f919c + 4; - if (length < i3) { - wVar.A(Arrays.copyOf(bArr2, i3)); - } else { - wVar.C(i3); - } - byte[] bArr3 = wVar.a; - int i4 = wVar.f919c; - 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 s2 = 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 s3 = wVar.s(); - this.q = new a0(k, s2, k2, i4, i5, i6, (int) Math.pow(2.0d, (double) (s3 & 15)), (int) Math.pow(2.0d, (double) ((s3 & 240) >> 4)), (1 & wVar.s()) > 0, Arrays.copyOf(wVar.a, wVar.f919c)); - } else { - y yVar = this.r; - if (yVar == null) { - this.r = d.N1(wVar, true, true); - } else { - int i7 = wVar.f919c; - 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 s4 = wVar.s() + 1; - x xVar = new x(wVar.a); - xVar.c(wVar.b * 8); - int i10 = 0; - while (true) { - int i11 = 16; - if (i10 >= s4) { - 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 = s4; - jArr[i39] = (long) (xVar.b(i9) + 1); - } else if (xVar.a()) { - bArr2 = bArr3; - i3 = s4; - jArr[i39] = (long) (xVar.b(i9) + 1); - } else { - bArr2 = bArr3; - i3 = s4; - jArr[i39] = 0; - } - i39++; - i9 = 5; - s4 = i3; - bArr3 = bArr2; - } - i2 = s4; - bArr = bArr3; - } else { - byte[] bArr4 = bArr3; - i2 = s4; - 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; - s4 = 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.f766c * 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.f651c; - bVar2.f2281x = a0Var2.a; - bVar2.f2282y = 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.r = null; - } - this.o = 0; - this.p = false; - } -} 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 71aff9bb0f..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 f720c = 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 f721c = 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.f719c) { - 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.f919c - 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.f919c; - 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.f720c.a, 0, 4, true)) { - return -1; - } - this.f720c.D(0); - int f2 = this.f720c.f(); - if (f2 == 441) { - return -1; - } - if (f2 == 442) { - iVar.n(this.f720c.a, 0, 10); - this.f720c.D(9); - iVar.l((this.f720c.s() & 7) + 14); - return 0; - } else if (f2 == 443) { - iVar.n(this.f720c.a, 0, 2); - this.f720c.D(0); - iVar.l(this.f720c.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.f720c.a, 0, 2); - this.f720c.D(0); - int x2 = this.f720c.x() + 6; - if (aVar == null) { - iVar.l(x2); - return 0; - } - this.f720c.z(x2); - iVar.readFully(this.f720c.a, 0, x2); - this.f720c.D(6); - w wVar3 = this.f720c; - wVar3.e(aVar.f721c.a, 0, 3); - aVar.f721c.k(0); - aVar.f721c.m(8); - aVar.d = aVar.f721c.f(); - aVar.e = aVar.f721c.f(); - aVar.f721c.m(6); - int g = aVar.f721c.g(8); - aVar.g = g; - wVar3.e(aVar.f721c.a, 0, g); - aVar.f721c.k(0); - aVar.h = 0; - if (aVar.d) { - aVar.f721c.m(4); - aVar.f721c.m(1); - aVar.f721c.m(1); - long g2 = (((long) aVar.f721c.g(3)) << 30) | ((long) (aVar.f721c.g(15) << 15)) | ((long) aVar.f721c.g(15)); - aVar.f721c.m(1); - if (!aVar.f && aVar.e) { - aVar.f721c.m(4); - aVar.f721c.m(1); - aVar.f721c.m(1); - aVar.f721c.m(1); - aVar.b.b((((long) aVar.f721c.g(3)) << 30) | ((long) (aVar.f721c.g(15) << 15)) | ((long) aVar.f721c.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.f720c; - 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.f909c = -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/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/e0.java b/app/src/main/java/c/i/a/c/a2/j0/e0.java deleted file mode 100644 index 35e7516e1c..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.f2279c = 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/j.java b/app/src/main/java/c/i/a/c/a2/j0/j.java deleted file mode 100644 index 1bd89a5c33..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 f734c; - 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.f734c = wVar; - this.d = new v(wVar.a); - } - - public final int a(i iVar) throws IOException { - int i = 0; - while (true) { - iVar.n(this.f734c.a, 0, 10); - this.f734c.D(0); - if (this.f734c.u() != 4801587) { - break; - } - this.f734c.E(3); - int r = this.f734c.r(); - i += r + 10; - iVar.g(r); - } - 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.f734c.a, 0, 2); - this.f734c.D(0); - if (!k.g(this.f734c.x())) { - break; - } - i2++; - if (i2 >= 4 && i3 > 188) { - return true; - } - iVar.n(this.f734c.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 3340ffa7eb..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 s2 = wVar.s(); - if (f == 434 && f2 == 1195456820 && s2 == 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.f2279c = 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/n.java b/app/src/main/java/c/i/a/c/a2/j0/n.java deleted file mode 100644 index ec4bfbc3cd..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 f738c; - 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.f738c = false; - } - this.d--; - return this.f738c; - } - - @Override // c.i.a.c.a2.j0.o - public void b(c.i.a.c.i2.w wVar) { - if (!this.f738c) { - 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.f738c = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - if (this.f738c) { - for (w wVar : this.b) { - wVar.d(this.f, 1, this.e, 0, null); - } - this.f738c = 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.f2279c = 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.f738c = true; - this.f = j; - this.e = 0; - this.d = 2; - } - } -} 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 b90a9300c6..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 f739c; - @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 f740c; - 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.f740c; - if (length < i4 + i3) { - this.e = Arrays.copyOf(bArr2, (i4 + i3) * 2); - } - System.arraycopy(bArr, i, this.e, this.f740c, i3); - this.f740c += 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.f739c); - int i7 = wVar.b; - int i8 = wVar.f919c; - byte[] bArr = wVar.a; - this.i += (long) wVar.a(); - this.f739c.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.f740c - i12; - aVar.f740c = 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.f740c); - 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.f739c.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.f739c.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.f739c.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.f739c.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.f739c.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.f739c.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.f739c.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.f740c = 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.f739c = 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/t.java b/app/src/main/java/c/i/a/c/a2/j0/t.java deleted file mode 100644 index d5fa847c69..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 f749c; - 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.f749c) { - 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.f749c = 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.f749c = false; - } - - @Override // c.i.a.c.a2.j0.o - public void d() { - int i; - d.H(this.b); - if (this.f749c && (i = this.e) != 0 && this.f == i) { - this.b.d(this.d, 1, i, 0, null); - this.f749c = 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.f749c = true; - this.d = j; - this.e = 0; - this.f = 0; - } - } -} 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 8730c34c4b..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 f754c; - - 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.f754c = 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.f2276x) { - Format.b a = format.a(); - a.o = d; - Format a2 = a.a(); - this.a = a2; - this.f754c.e(a2); - } - int a3 = wVar.a(); - this.f754c.c(wVar, a3); - w wVar2 = this.f754c; - e0 e0Var = this.b; - synchronized (e0Var) { - long j3 = e0Var.f909c; - 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/z.java b/app/src/main/java/c/i/a/c/a2/j0/z.java deleted file mode 100644 index 2dfc4c4a75..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.f919c; - if (wVar.a() >= 10) { - wVar.E(9); - int s2 = wVar.s() & 7; - if (wVar.a() >= s2) { - wVar.E(s2); - 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.f919c, 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/k0/b.java b/app/src/main/java/c/i/a/c/a2/k0/b.java deleted file mode 100644 index 12e99eaf4d..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 f756c; - 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 f757c; - 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.f757c = jVar; - this.d = wVar; - this.e = cVar; - int max = Math.max(1, cVar.f759c / 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.f759c; - 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.f2281x = cVar.b; - bVar.f2282y = i4; - bVar.f2283z = 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.f757c.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.f759c); - 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 f758c; - 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.f758c = cVar; - int i2 = (cVar.b * cVar.e) / 8; - if (cVar.d == i2) { - int i3 = cVar.f759c * 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.f2281x = cVar.b; - bVar.f2282y = cVar.f759c; - bVar.f2283z = 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.f758c, 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.f758c; - 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.f759c), 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.f756c == null) { - c x1 = d.x1(iVar); - if (x1 != null) { - int i4 = x1.a; - if (i4 == 17) { - this.f756c = new a(this.a, this.b, x1); - } else if (i4 == 6) { - this.f756c = new c(this.a, this.b, x1, "audio/g711-alaw", -1); - } else if (i4 == 7) { - this.f756c = 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.f756c = 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.f756c.b(this.d, longValue); - } - } - } else if (iVar.getPosition() == 0) { - iVar.l(this.d); - } - if (this.e == -1) { - z2 = false; - } - d.D(z2); - return this.f756c.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.f756c; - 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/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/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/d2/a0.java b/app/src/main/java/c/i/a/c/a3/c0.java similarity index 50% rename from app/src/main/java/c/i/a/c/d2/a0.java rename to app/src/main/java/c/i/a/c/a3/c0.java index 250c6e0305..099baeb575 100644 --- a/app/src/main/java/c/i/a/c/d2/a0.java +++ b/app/src/main/java/c/i/a/c/a3/c0.java @@ -1,4 +1,4 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; /* compiled from: MediaSourceFactory */ -public interface a0 { +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..c2558f584f --- /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.f2363c.execute(new Loader.g(e0Var)); + loader.f2363c.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/d2/g.java b/app/src/main/java/c/i/a/c/a3/g.java similarity index 60% rename from app/src/main/java/c/i/a/c/d2/g.java rename to app/src/main/java/c/i/a/c/a3/g.java index 96b81e7abc..1777f69d2e 100644 --- a/app/src/main/java/c/i/a/c/d2/g.java +++ b/app/src/main/java/c/i/a/c/a3/g.java @@ -1,10 +1,10 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; /* compiled from: lambda */ public final /* synthetic */ class g implements Runnable { - public final /* synthetic */ b0 i; + public final /* synthetic */ e0 i; - public /* synthetic */ g(b0 b0Var) { - this.i = b0Var; + public /* synthetic */ g(e0 e0Var) { + this.i = e0Var; } @Override // java.lang.Runnable 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/d2/f0.java b/app/src/main/java/c/i/a/c/a3/i0.java similarity index 60% rename from app/src/main/java/c/i/a/c/d2/f0.java rename to app/src/main/java/c/i/a/c/a3/i0.java index 37ea5f0191..374c5d4c8b 100644 --- a/app/src/main/java/c/i/a/c/d2/f0.java +++ b/app/src/main/java/c/i/a/c/a3/i0.java @@ -1,11 +1,11 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; -import c.i.a.c.s0; +import c.i.a.c.k1; 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); +public interface i0 { + int a(k1 k1Var, DecoderInputBuffer decoderInputBuffer, int i); void b() throws IOException; 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/d2/g0.java b/app/src/main/java/c/i/a/c/a3/j0.java similarity index 58% rename from app/src/main/java/c/i/a/c/d2/g0.java rename to app/src/main/java/c/i/a/c/a3/j0.java index ee7ea27748..17c9b3251e 100644 --- a/app/src/main/java/c/i/a/c/d2/g0.java +++ b/app/src/main/java/c/i/a/c/a3/j0.java @@ -1,9 +1,9 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; /* compiled from: SequenceableLoader */ -public interface g0 { +public interface j0 { /* compiled from: SequenceableLoader */ - public interface a { + 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/d2/h0.java b/app/src/main/java/c/i/a/c/a3/k0.java similarity index 83% rename from app/src/main/java/c/i/a/c/d2/h0.java rename to app/src/main/java/c/i/a/c/a3/k0.java index f10c79b440..8f3f0fe802 100644 --- a/app/src/main/java/c/i/a/c/d2/h0.java +++ b/app/src/main/java/c/i/a/c/a3/k0.java @@ -1,17 +1,17 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; import java.util.Arrays; import java.util.Random; /* compiled from: ShuffleOrder */ -public interface h0 { +public interface k0 { /* compiled from: ShuffleOrder */ - public static class a implements h0 { + 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[] f804c; + public final int[] f664c; /* JADX WARNING: Illegal instructions before constructor call */ public a(int i, Random random) { @@ -30,14 +30,14 @@ public interface h0 { public a(int[] iArr, Random random) { this.b = iArr; this.a = random; - this.f804c = new int[iArr.length]; + this.f664c = new int[iArr.length]; for (int i = 0; i < iArr.length; i++) { - this.f804c[iArr[i]] = i; + this.f664c[iArr[i]] = i; } } - @Override // c.i.a.c.d2.h0 - public h0 a(int i, int i2) { + @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; @@ -56,12 +56,12 @@ public interface h0 { } } - @Override // c.i.a.c.d2.h0 + @Override // c.i.a.c.a3.k0 public int b() { return this.b.length; } - @Override // c.i.a.c.d2.h0 + @Override // c.i.a.c.a3.k0 public int c() { int[] iArr = this.b; if (iArr.length > 0) { @@ -70,18 +70,18 @@ public interface h0 { return -1; } - @Override // c.i.a.c.d2.h0 + @Override // c.i.a.c.a3.k0 public int d(int i) { - int i2 = this.f804c[i] - 1; + int i2 = this.f664c[i] - 1; if (i2 >= 0) { return this.b[i2]; } return -1; } - @Override // c.i.a.c.d2.h0 + @Override // c.i.a.c.a3.k0 public int e(int i) { - int i2 = this.f804c[i] + 1; + int i2 = this.f664c[i] + 1; int[] iArr = this.b; if (i2 < iArr.length) { return iArr[i2]; @@ -89,8 +89,8 @@ public interface h0 { return -1; } - @Override // c.i.a.c.d2.h0 - public h0 f(int i, int i2) { + @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; @@ -127,7 +127,7 @@ public interface h0 { } } - @Override // c.i.a.c.d2.h0 + @Override // c.i.a.c.a3.k0 public int g() { int[] iArr = this.b; if (iArr.length > 0) { @@ -136,13 +136,13 @@ public interface h0 { return -1; } - @Override // c.i.a.c.d2.h0 - public h0 h() { + @Override // c.i.a.c.a3.k0 + public k0 h() { return new a(0, new Random(this.a.nextLong())); } } - h0 a(int i, int i2); + k0 a(int i, int i2); int b(); @@ -152,9 +152,9 @@ public interface h0 { int e(int i); - h0 f(int i, int i2); + k0 f(int i, int i2); int g(); - h0 h(); + 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/d2/k.java b/app/src/main/java/c/i/a/c/a3/m.java similarity index 74% rename from app/src/main/java/c/i/a/c/d2/k.java rename to app/src/main/java/c/i/a/c/a3/m.java index d375fa7202..8343cded5d 100644 --- a/app/src/main/java/c/i/a/c/d2/k.java +++ b/app/src/main/java/c/i/a/c/a3/m.java @@ -1,16 +1,15 @@ -package c.i.a.c.d2; +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.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 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; @@ -18,21 +17,21 @@ import java.util.List; import java.util.Map; import java.util.Objects; /* compiled from: BundledExtractorsAdapter */ -public final class k { +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 f809c; + public i f666c; - public k(l lVar) { + public m(l lVar) { this.a = lVar; } public long a() { - i iVar = this.f809c; + i iVar = this.f666c; if (iVar != null) { return iVar.getPosition(); } @@ -48,9 +47,9 @@ public final class k { /* 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.f809c = eVar; + 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; @@ -63,10 +62,10 @@ public final class k { if (i >= length) { break; } - h hVar = b[i]; + h hVar2 = b[i]; try { - if (hVar.b(eVar)) { - this.b = hVar; + if (hVar2.b(eVar)) { + this.b = hVar2; d.D(true); eVar.f = 0; break; @@ -90,8 +89,7 @@ public final class k { } } if (this.b == null) { - StringBuilder O = a.O("None of the available extractors ("); - int i2 = f0.a; + int i2 = e0.a; StringBuilder sb = new StringBuilder(); for (int i3 = 0; i3 < b.length; i3++) { sb.append(b[i3].getClass().getSimpleName()); @@ -99,11 +97,14 @@ public final class k { sb.append(", "); } } - O.append(sb.toString()); - O.append(") could read the stream."); - String sb2 = O.toString(); + 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(sb2, 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/d2/l.java b/app/src/main/java/c/i/a/c/a3/n.java similarity index 63% rename from app/src/main/java/c/i/a/c/d2/l.java rename to app/src/main/java/c/i/a/c/a3/n.java index adadcad5a3..057ea33335 100644 --- a/app/src/main/java/c/i/a/c/d2/l.java +++ b/app/src/main/java/c/i/a/c/a3/n.java @@ -1,71 +1,70 @@ -package c.i.a.c.d2; +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.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 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 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; +public final class n implements x, x.a { + public final x i; @Nullable - public v.a j; + 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 f0 { - public final f0 a; + public final class a implements i0 { + public final i0 a; public boolean b; - public a(f0 f0Var) { - this.a = f0Var; + public a(i0 i0Var) { + this.a = i0Var; } - @Override // c.i.a.c.d2.f0 - public int a(s0 s0Var, DecoderInputBuffer decoderInputBuffer, boolean z2) { - if (l.this.d()) { + @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(s0Var, decoderInputBuffer, z2); + int a = this.a.a(k1Var, decoderInputBuffer, i); 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; + 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 (lVar.n == Long.MIN_VALUE) { - i2 = format.K; + if (nVar.n == Long.MIN_VALUE) { + i3 = j1Var.M; } - Format.b a2 = format.a(); - a2.A = i; - a2.B = i2; - s0Var.b = a2.a(); + j1.b a2 = j1Var.a(); + a2.A = i2; + a2.B = i3; + k1Var.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))) { + 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(); @@ -74,48 +73,48 @@ public final class l implements v, v.a { return -4; } - @Override // c.i.a.c.d2.f0 + @Override // c.i.a.c.a3.i0 public void b() throws IOException { this.a.b(); } - @Override // c.i.a.c.d2.f0 + @Override // c.i.a.c.a3.i0 public int c(long j) { - if (l.this.d()) { + if (n.this.d()) { return -3; } return this.a.c(j); } - @Override // c.i.a.c.d2.f0 + @Override // c.i.a.c.a3.i0 public boolean d() { - return !l.this.d() && this.a.d(); + return !n.this.d() && this.a.d(); } } - public l(v vVar, boolean z2, long j, long j2) { - this.i = vVar; + 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.d2.g0] */ - @Override // c.i.a.c.d2.g0.a - public void a(v vVar) { - v.a aVar = this.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.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; + @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.d2.v + @Override // c.i.a.c.a3.x public long c() { long c2 = this.i.c(); if (c2 != Long.MIN_VALUE) { @@ -131,7 +130,7 @@ public final class l implements v, v.a { return this.l != -9223372036854775807L; } - @Override // c.i.a.c.d2.v + @Override // c.i.a.c.a3.x public void e() throws IOException { this.i.e(); } @@ -139,7 +138,7 @@ public final class l implements v, v.a { /* 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 + @Override // c.i.a.c.a3.x public long f(long j) { this.l = -9223372036854775807L; a[] aVarArr = this.k; @@ -164,33 +163,33 @@ public final class l implements v, v.a { return f; } - @Override // c.i.a.c.d2.v + @Override // c.i.a.c.a3.x public boolean g(long j) { return this.i.g(j); } - @Override // c.i.a.c.d2.v + @Override // c.i.a.c.a3.x public boolean h() { return this.i.h(); } - @Override // c.i.a.c.d2.v - public long i(long j, o1 o1Var) { + @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 = f0.i(o1Var.f942c, 0, j - j2); - long j3 = o1Var.d; + long i = e0.i(j2Var.f828c, 0, j - j2); + long j3 = j2Var.d; long j4 = this.n; - long i2 = f0.i(j3, 0, j4 == Long.MIN_VALUE ? RecyclerView.FOREVER_NS : j4 - j); - if (!(i == o1Var.f942c && i2 == o1Var.d)) { - o1Var = new o1(i, i2); + 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, o1Var); + return this.i.i(j, j2Var); } - @Override // c.i.a.c.d2.v + @Override // c.i.a.c.a3.x public long k() { if (d()) { long j = this.l; @@ -212,8 +211,8 @@ public final class l implements v, v.a { return k2; } - @Override // c.i.a.c.d2.v - public void l(v.a aVar, long j) { + @Override // c.i.a.c.a3.x + public void l(x.a aVar, long j) { this.j = aVar; this.i.l(this, j); } @@ -224,42 +223,42 @@ public final class l implements v, v.a { /* 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) { + @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[f0VarArr.length]; - f0[] f0VarArr2 = new f0[f0VarArr.length]; + this.k = new a[i0VarArr.length]; + i0[] i0VarArr2 = new i0[i0VarArr.length]; int i = 0; while (true) { - f0 f0Var = null; - if (i >= f0VarArr.length) { + i0 i0Var = null; + if (i >= i0VarArr.length) { break; } a[] aVarArr = this.k; - aVarArr[i] = (a) f0VarArr[i]; + aVarArr[i] = (a) i0VarArr[i]; if (aVarArr[i] != null) { - f0Var = aVarArr[i].a; + i0Var = aVarArr[i].a; } - f0VarArr2[i] = f0Var; + i0VarArr2[i] = i0Var; i++; } - long m = this.i.m(gVarArr, zArr, f0VarArr2, zArr2, j); + 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 = gVarArr.length; + int length = jVarArr.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)) { + j jVar = jVarArr[i2]; + if (jVar != null) { + j1 h = jVar.h(); + if (!t.a(h.v, h.f819s)) { z2 = true; break; } @@ -278,16 +277,16 @@ public final class l implements v, v.a { z3 = false; } d.D(z3); - for (int i3 = 0; i3 < f0VarArr.length; i3++) { - if (f0VarArr2[i3] == null) { + 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 != f0VarArr2[i3]) { - aVarArr2[i3] = new a(f0VarArr2[i3]); + if (aVarArr2[i3] == null || aVarArr2[i3].a != i0VarArr2[i3]) { + aVarArr2[i3] = new a(i0VarArr2[i3]); } } - f0VarArr[i3] = this.k[i3]; + i0VarArr[i3] = this.k[i3]; } return m; } @@ -302,17 +301,17 @@ public final class l implements v, v.a { if (m != j) { } d.D(z3); - while (i3 < f0VarArr.length) { + while (i3 < i0VarArr.length) { } return m; } - @Override // c.i.a.c.d2.v - public TrackGroupArray n() { + @Override // c.i.a.c.a3.x + public o0 n() { return this.i.n(); } - @Override // c.i.a.c.d2.v + @Override // c.i.a.c.a3.x public long q() { long q = this.i.q(); if (q != Long.MIN_VALUE) { @@ -324,12 +323,12 @@ public final class l implements v, v.a { return Long.MIN_VALUE; } - @Override // c.i.a.c.d2.v + @Override // c.i.a.c.a3.x public void r(long j, boolean z2) { this.i.r(j, z2); } - @Override // c.i.a.c.d2.v + @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/d2/o.java b/app/src/main/java/c/i/a/c/a3/q.java similarity index 51% rename from app/src/main/java/c/i/a/c/d2/o.java rename to app/src/main/java/c/i/a/c/a3/q.java index 8352490906..a6b89fa8db 100644 --- a/app/src/main/java/c/i/a/c/d2/o.java +++ b/app/src/main/java/c/i/a/c/a3/q.java @@ -1,25 +1,25 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; -import c.i.a.c.s0; +import c.i.a.c.k1; 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) { +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.d2.f0 + @Override // c.i.a.c.a3.i0 public void b() { } - @Override // c.i.a.c.d2.f0 + @Override // c.i.a.c.a3.i0 public int c(long j) { return 0; } - @Override // c.i.a.c.d2.f0 + @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/d2/q.java b/app/src/main/java/c/i/a/c/a3/s.java similarity index 67% rename from app/src/main/java/c/i/a/c/d2/q.java rename to app/src/main/java/c/i/a/c/a3/s.java index 967ecd8899..bc87554d92 100644 --- a/app/src/main/java/c/i/a/c/d2/q.java +++ b/app/src/main/java/c/i/a/c/a3/s.java @@ -1,24 +1,25 @@ -package c.i.a.c.d2; +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.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 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 q implements j { - public final j a; +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 f812c; + public final a f670c; public final byte[] d; public int e; @@ -26,45 +27,45 @@ public final class q implements j { public interface a { } - public q(j jVar, int i, a aVar) { - d.k(i > 0); - this.a = jVar; + public s(l lVar, int i, a aVar) { + d.j(i > 0); + this.a = lVar; this.b = i; - this.f812c = aVar; + this.f670c = aVar; this.d = new byte[1]; this.e = i; } - @Override // c.i.a.c.h2.j - public long a(l lVar) { + @Override // c.i.a.c.e3.l + public long a(n nVar) { throw new UnsupportedOperationException(); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l 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.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.a.d(a0Var); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l public Map> j() { return this.a.j(); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l @Nullable - public Uri m() { - return this.a.m(); + 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.h2.f + @Override // c.i.a.c.e3.h public int read(byte[] bArr, int i, int i2) throws IOException { long j; if (this.e == 0) { @@ -85,21 +86,21 @@ public final class q implements j { i3 = i6; } if (i3 > 0) { - a aVar = this.f812c; - w wVar = new w(bArr2, i3); - b0.a aVar2 = (b0.a) aVar; + a aVar = this.f670c; + x xVar = new x(bArr2, i3); + e0.a aVar2 = (e0.a) aVar; if (!aVar2.n) { j = aVar2.j; } else { - b0 b0Var = b0.this; - Map map = b0.i; - j = Math.max(b0Var.v(), aVar2.j); + e0 e0Var = e0.this; + Map map = e0.i; + j = Math.max(e0Var.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); + 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 { diff --git a/app/src/main/java/c/i/a/c/d2/r.java b/app/src/main/java/c/i/a/c/a3/t.java similarity index 53% rename from app/src/main/java/c/i/a/c/d2/r.java rename to app/src/main/java/c/i/a/c/a3/t.java index a899e31a8e..1041f2f060 100644 --- a/app/src/main/java/c/i/a/c/d2/r.java +++ b/app/src/main/java/c/i/a/c/a3/t.java @@ -1,27 +1,22 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; import android.net.Uri; -import c.i.a.c.h2.l; +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 r { +public final class t { public static final AtomicLong a = new AtomicLong(); public final Map> b; - /* renamed from: c reason: collision with root package name */ - public final long f813c; - - public r(long j, l lVar, long j2) { - Uri uri = lVar.a; + public t(long j, n nVar, long j2) { + Uri uri = nVar.a; this.b = Collections.emptyMap(); - this.f813c = 0; } - public r(long j, l lVar, Uri uri, Map> map, long j2, long j3, long j4) { + public t(long j, n nVar, Uri uri, Map> map, long j2, long j3, long j4) { this.b = map; - this.f813c = j3; } } 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/d2/u.java b/app/src/main/java/c/i/a/c/a3/w.java similarity index 64% rename from app/src/main/java/c/i/a/c/d2/u.java rename to app/src/main/java/c/i/a/c/a3/w.java index c767bd71f2..03a3ed82f5 100644 --- a/app/src/main/java/c/i/a/c/d2/u.java +++ b/app/src/main/java/c/i/a/c/a3/w.java @@ -1,25 +1,25 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; +import c.i.a.c.j1; /* compiled from: MediaLoadData */ -public final class u { +public final class w { public final int a; public final int b; @Nullable /* renamed from: c reason: collision with root package name */ - public final Format f815c; + public final j1 f671c; 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) { + 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.f815c = format; + this.f671c = j1Var; this.d = i3; this.e = obj; this.f = j; 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/d2/w.java b/app/src/main/java/c/i/a/c/a3/y.java similarity index 55% rename from app/src/main/java/c/i/a/c/d2/w.java rename to app/src/main/java/c/i/a/c/a3/y.java index 87d7590099..36ec817c4f 100644 --- a/app/src/main/java/c/i/a/c/d2/w.java +++ b/app/src/main/java/c/i/a/c/a3/y.java @@ -1,52 +1,52 @@ -package c.i.a.c.d2; +package c.i.a.c.a3; import androidx.annotation.Nullable; /* compiled from: MediaPeriodId */ -public class w { +public class y { public final Object a; public final int b; /* renamed from: c reason: collision with root package name */ - public final int f816c; + public final int f672c; public final long d; public final int e; - public w(w wVar) { - this.a = wVar.a; - this.b = wVar.b; - this.f816c = wVar.f816c; - this.d = wVar.d; - this.e = wVar.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 w(Object obj) { + public y(Object obj) { this.a = obj; this.b = -1; - this.f816c = -1; + this.f672c = -1; this.d = -1; this.e = -1; } - public w(Object obj, int i, int i2, long j) { + public y(Object obj, int i, int i2, long j) { this.a = obj; this.b = i; - this.f816c = i2; + this.f672c = i2; this.d = j; this.e = -1; } - public w(Object obj, int i, int i2, long j, int i3) { + public y(Object obj, int i, int i2, long j, int i3) { this.a = obj; this.b = i; - this.f816c = i2; + this.f672c = i2; this.d = j; this.e = i3; } - public w(Object obj, long j, int i) { + public y(Object obj, long j, int i) { this.a = obj; this.b = -1; - this.f816c = -1; + this.f672c = -1; this.d = j; this.e = i; } @@ -59,14 +59,14 @@ public class w { if (this == obj) { return true; } - if (!(obj instanceof w)) { + if (!(obj instanceof y)) { return false; } - w wVar = (w) obj; - return this.a.equals(wVar.a) && this.b == wVar.b && this.f816c == wVar.f816c && this.d == wVar.d && this.e == wVar.e; + 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.f816c) * 31) + ((int) this.d)) * 31) + this.e; + 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 f48a04ba58..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 f767c = 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.f769c.size()) { - break; - } else if (cVar.f769c.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 f768c; - - public b(y yVar, y.b bVar, z zVar) { - this.a = yVar; - this.b = bVar; - this.f768c = 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 f769c = 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.f817c.add(new z.a.C0092a(handler, c1Var)); - aVar2.f1023c.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.f769c.clear(); - } else { - cVar.d = 0; - cVar.e = false; - cVar.f769c.clear(); - } - b(i2, cVar.a.n.p()); - this.a.add(i2, cVar); - this.f767c.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.f769c.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.f769c.isEmpty()) { - b remove = this.g.remove(cVar); - Objects.requireNonNull(remove); - remove.a.a(remove.b); - remove.a.c(remove.f768c); - 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.f806c; - Objects.requireNonNull(aVar2); - aVar2.f817c.add(new z.a.C0092a(handler, aVar)); - Handler handler2 = new Handler(f0.o(), null); - q.a aVar3 = tVar.d; - Objects.requireNonNull(aVar3); - aVar3.f1023c.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.f769c.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.f767c.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/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/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/u.java b/app/src/main/java/c/i/a/c/b2/u.java deleted file mode 100644 index fb1934affc..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[] f777c; - - /* 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.f777c = 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.f777c[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.f777c = 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.f777c = 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/e2/d.java b/app/src/main/java/c/i/a/c/b3/f.java similarity index 57% rename from app/src/main/java/c/i/a/c/e2/d.java rename to app/src/main/java/c/i/a/c/b3/f.java index a7413e87af..395c19e159 100644 --- a/app/src/main/java/c/i/a/c/e2/d.java +++ b/app/src/main/java/c/i/a/c/b3/f.java @@ -1,42 +1,43 @@ -package c.i.a.c.e2; +package c.i.a.c.b3; import androidx.annotation.Nullable; -import c.i.a.c.x1.g; +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 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); +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.e2.g + @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.x1.f, boolean] */ - @Override // c.i.a.c.x1.g + /* 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(i iVar, j jVar, boolean z2) { - i iVar2 = iVar; + public SubtitleDecoderException e(j jVar, k kVar, boolean z2) { j jVar2 = jVar; + k kVar2 = kVar; try { - ByteBuffer byteBuffer = iVar2.k; + ByteBuffer byteBuffer = jVar2.k; Objects.requireNonNull(byteBuffer); - jVar2.r(iVar2.m, j(byteBuffer.array(), byteBuffer.limit(), z2), iVar2.q); - jVar2.i &= Integer.MAX_VALUE; + 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 f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException; + public abstract g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException; } diff --git a/app/src/main/java/c/i/a/c/e2/f.java b/app/src/main/java/c/i/a/c/b3/g.java similarity index 63% rename from app/src/main/java/c/i/a/c/e2/f.java rename to app/src/main/java/c/i/a/c/b3/g.java index 5dce67dc0b..6e8d57049a 100644 --- a/app/src/main/java/c/i/a/c/e2/f.java +++ b/app/src/main/java/c/i/a/c/b3/g.java @@ -1,13 +1,13 @@ -package c.i.a.c.e2; +package c.i.a.c.b3; import java.util.List; /* compiled from: Subtitle */ -public interface f { +public interface g { int f(long j); long g(int i); - List h(long j); + 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/b3/h.java similarity index 55% rename from app/src/main/java/c/i/a/c/e2/g.java rename to app/src/main/java/c/i/a/c/b3/h.java index cd5433cc91..7afd7f635e 100644 --- a/app/src/main/java/c/i/a/c/e2/g.java +++ b/app/src/main/java/c/i/a/c/b3/h.java @@ -1,8 +1,8 @@ -package c.i.a.c.e2; +package c.i.a.c.b3; -import c.i.a.c.x1.c; +import c.i.a.c.v2.d; import com.google.android.exoplayer2.text.SubtitleDecoderException; /* compiled from: SubtitleDecoder */ -public interface g extends c { +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/e2/i.java b/app/src/main/java/c/i/a/c/b3/j.java similarity index 65% rename from app/src/main/java/c/i/a/c/e2/i.java rename to app/src/main/java/c/i/a/c/b3/j.java index 4fbe9c530b..05ae480181 100644 --- a/app/src/main/java/c/i/a/c/e2/i.java +++ b/app/src/main/java/c/i/a/c/b3/j.java @@ -1,11 +1,11 @@ -package c.i.a.c.e2; +package c.i.a.c.b3; import com.google.android.exoplayer2.decoder.DecoderInputBuffer; /* compiled from: SubtitleInputBuffer */ -public class i extends DecoderInputBuffer { +public class j extends DecoderInputBuffer { public long q; - public i() { + 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/e2/l.java b/app/src/main/java/c/i/a/c/b3/m.java similarity index 58% rename from app/src/main/java/c/i/a/c/e2/l.java rename to app/src/main/java/c/i/a/c/b3/m.java index 4e383dbc1e..2cc933ef9f 100644 --- a/app/src/main/java/c/i/a/c/e2/l.java +++ b/app/src/main/java/c/i/a/c/b3/m.java @@ -1,106 +1,105 @@ -package c.i.a.c.e2; +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.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 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 l extends g0 implements Handler.Callback { +public final class m extends v0 implements Handler.Callback { public int A; @Nullable - public Format B; + public j1 B; @Nullable - public g C; + public h C; @Nullable - public i D; + public j D; @Nullable - public j E; + public k E; @Nullable - public j F; + public k F; public int G; public long H; @Nullable public final Handler t; - public final k u; - public final h v; - public final s0 w; + public final l u; + public final i v; + public final k1 w; /* renamed from: x reason: collision with root package name */ - public boolean f822x; + public boolean f681x; /* renamed from: y reason: collision with root package name */ - public boolean f823y; + public boolean f682y; /* renamed from: z reason: collision with root package name */ - public boolean f824z; + public boolean f683z; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public l(k kVar, @Nullable Looper looper) { + public m(l lVar, @Nullable Looper looper) { super(3); Handler handler; - h hVar = h.a; - Objects.requireNonNull(kVar); - this.u = kVar; + i iVar = i.a; + Objects.requireNonNull(lVar); + this.u = lVar; if (looper == null) { handler = null; } else { - int i = f0.a; + int i = e0.a; handler = new Handler(looper, this); } this.t = handler; - this.v = hVar; - this.w = new s0(); + this.v = iVar; + this.w = new k1(); this.H = -9223372036854775807L; } - @Override // c.i.a.c.g0 + @Override // c.i.a.c.v0 public void B() { this.B = null; this.H = -9223372036854775807L; J(); N(); - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.release(); + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.release(); this.C = null; this.A = 0; } - @Override // c.i.a.c.g0 + @Override // c.i.a.c.v0 public void D(long j, boolean z2) { J(); - this.f822x = false; - this.f823y = false; + this.f681x = false; + this.f682y = false; this.H = -9223372036854775807L; if (this.A != 0) { O(); return; } N(); - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.flush(); + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.flush(); } - @Override // c.i.a.c.g0 - public void H(Format[] formatArr, long j, long j2) { - this.B = formatArr[0]; + @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 { @@ -109,12 +108,12 @@ public final class l extends g0 implements Handler.Callback { } public final void J() { - List emptyList = Collections.emptyList(); + List emptyList = Collections.emptyList(); Handler handler = this.t; if (handler != null) { handler.obtainMessage(0, emptyList).sendToTarget(); } else { - this.u.m(emptyList); + this.u.e(emptyList); } } @@ -124,39 +123,41 @@ public final class l extends g0 implements Handler.Callback { } Objects.requireNonNull(this.E); int i = this.G; - f fVar = this.E.k; - Objects.requireNonNull(fVar); - if (i >= fVar.i()) { + g gVar = this.E.k; + Objects.requireNonNull(gVar); + if (i >= gVar.i()) { return RecyclerView.FOREVER_NS; } - j jVar = this.E; + k kVar = this.E; int i2 = this.G; - f fVar2 = jVar.k; - Objects.requireNonNull(fVar2); - return fVar2.g(i2) + jVar.l; + g gVar2 = kVar.k; + Objects.requireNonNull(gVar2); + return gVar2.g(i2) + kVar.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); + 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:32:0x008e, code lost: - if (r1.equals("application/pgs") == false) goto L_0x009c; + /* 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() { - g gVar; + h hVar; char c2 = 1; - this.f824z = true; - h hVar = this.v; - Format format = this.B; - Objects.requireNonNull(format); - Objects.requireNonNull((h.a) hVar); - String str = format.t; + 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: @@ -203,30 +204,37 @@ public final class l extends g0 implements Handler.Callback { } 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 = 7; + c2 = '\b'; break; } c2 = 65535; break; case 1566016562: if (str.equals("application/cea-708")) { - c2 = '\b'; + c2 = '\t'; break; } c2 = 65535; break; case 1668750253: if (str.equals("application/x-subrip")) { - c2 = '\t'; + c2 = '\n'; break; } c2 = 65535; break; case 1693976202: if (str.equals("application/ttml+xml")) { - c2 = '\n'; + c2 = 11; break; } c2 = 65535; @@ -237,97 +245,102 @@ public final class l extends g0 implements Handler.Callback { } switch (c2) { case 0: - gVar = new c.i.a.c.e2.n.a(format.v); - this.C = gVar; + hVar = new a(j1Var.f820x); + this.C = hVar; return; case 1: - gVar = new c.i.a.c.e2.o.a(); - this.C = gVar; + hVar = new c.i.a.c.b3.p.a(); + this.C = hVar; return; case 2: - gVar = new d(); - this.C = gVar; + hVar = new c(); + this.C = hVar; return; case 3: - gVar = new i(); - this.C = gVar; + hVar = new c.i.a.c.b3.v.i(); + this.C = hVar; return; case 4: - gVar = new c.i.a.c.e2.t.a(format.v); - this.C = gVar; + hVar = new c.i.a.c.b3.u.a(j1Var.f820x); + this.C = hVar; return; case 5: - gVar = new c.i.a.c.e2.q.a(format.v); - this.C = gVar; + hVar = new c.i.a.c.b3.r.a(j1Var.f820x); + this.C = hVar; 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; + 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': - gVar = new c.i.a.c.e2.r.a(); - this.C = gVar; + hVar = new d(j1Var.N, j1Var.f820x); + this.C = hVar; return; case '\n': - gVar = new c.i.a.c.e2.s.c(); - this.C = gVar; + 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; } } - throw new IllegalArgumentException(a.u("Attempted to create decoder for unsupported MIME type: ", str)); + 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; - j jVar = this.E; - if (jVar != null) { - jVar.p(); + k kVar = this.E; + if (kVar != null) { + kVar.p(); this.E = null; } - j jVar2 = this.F; - if (jVar2 != null) { - jVar2.p(); + k kVar2 = this.F; + if (kVar2 != null) { + kVar2.p(); this.F = null; } } public final void O() { N(); - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.release(); + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.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; + @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 (format.M == null ? 4 : 2) | 0 | 0; + return (j1Var.O == 0 ? 4 : 2) | 0 | 0; } - @Override // c.i.a.c.k1 + @Override // c.i.a.c.f2 public boolean b() { - return this.f823y; + return this.f682y; } - @Override // c.i.a.c.k1 + @Override // c.i.a.c.f2 public boolean d() { return true; } - @Override // c.i.a.c.k1, c.i.a.c.l1 + @Override // c.i.a.c.f2, c.i.a.c.g2 public String getName() { return "TextRenderer"; } @@ -335,31 +348,31 @@ public final class l extends g0 implements Handler.Callback { @Override // android.os.Handler.Callback public boolean handleMessage(Message message) { if (message.what == 0) { - this.u.m((List) message.obj); + this.u.e((List) message.obj); return true; } throw new IllegalStateException(); } - @Override // c.i.a.c.k1 + @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.f823y = true; + this.f682y = true; } } - if (!this.f823y) { + if (!this.f682y) { if (this.F == null) { - g gVar = this.C; - Objects.requireNonNull(gVar); - gVar.a(j); + h hVar = this.C; + Objects.requireNonNull(hVar); + hVar.a(j); try { - g gVar2 = this.C; - Objects.requireNonNull(gVar2); - this.F = gVar2.b(); + h hVar2 = this.C; + Objects.requireNonNull(hVar2); + this.F = hVar2.b(); } catch (SubtitleDecoderException e) { L(e); return; @@ -377,85 +390,85 @@ public final class l extends g0 implements Handler.Callback { } else { z2 = false; } - j jVar = this.F; - if (jVar != null) { - if (jVar.n()) { + k kVar = this.F; + if (kVar != null) { + if (kVar.n()) { if (!z2 && K() == RecyclerView.FOREVER_NS) { if (this.A == 2) { O(); } else { N(); - this.f823y = true; + this.f682y = true; } } - } else if (jVar.j <= j) { - j jVar2 = this.E; - if (jVar2 != null) { - jVar2.p(); + } else if (kVar.j <= j) { + k kVar2 = this.E; + if (kVar2 != null) { + kVar2.p(); } - f fVar = jVar.k; - Objects.requireNonNull(fVar); - this.G = fVar.f(j - jVar.l); - this.E = jVar; + 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); - j jVar3 = this.E; - f fVar2 = jVar3.k; - Objects.requireNonNull(fVar2); - List h = fVar2.h(j - jVar3.l); + 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.m(h); + this.u.e(h); } } if (this.A != 2) { - while (!this.f822x) { + while (!this.f681x) { try { - i iVar = this.D; - if (iVar == null) { - g gVar3 = this.C; - Objects.requireNonNull(gVar3); - iVar = gVar3.c(); - if (iVar != null) { - this.D = iVar; + 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) { - iVar.i = 4; - g gVar4 = this.C; - Objects.requireNonNull(gVar4); - gVar4.d(iVar); + 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, iVar, false); + int I = I(this.w, jVar, 0); if (I == -4) { - if (iVar.n()) { - this.f822x = true; - this.f824z = false; + if (jVar.n()) { + this.f681x = true; + this.f683z = false; } else { - Format format = this.w.b; - if (format != null) { - iVar.q = format.f2276x; - iVar.s(); - this.f824z &= !iVar.o(); + j1 j1Var = this.w.b; + if (j1Var != null) { + jVar.q = j1Var.f822z; + jVar.s(); + this.f683z &= !jVar.o(); } else { return; } } - if (!this.f824z) { - g gVar5 = this.C; - Objects.requireNonNull(gVar5); - gVar5.d(iVar); + if (!this.f683z) { + h hVar5 = this.C; + Objects.requireNonNull(hVar5); + hVar5.d(jVar); this.D = null; } } else if (I == -3) { diff --git a/app/src/main/java/c/i/a/c/e2/m/a.java b/app/src/main/java/c/i/a/c/b3/n/a.java similarity index 88% rename from app/src/main/java/c/i/a/c/e2/m/a.java rename to app/src/main/java/c/i/a/c/b3/n/a.java index 49e61a5c92..cebe3cad40 100644 --- a/app/src/main/java/c/i/a/c/e2/m/a.java +++ b/app/src/main/java/c/i/a/c/b3/n/a.java @@ -1,6 +1,6 @@ -package c.i.a.c.e2.m; +package c.i.a.c.b3.n; -import c.i.a.c.e2.m.d; +import c.i.a.c.b3.n.d; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class a implements Comparator { 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/e2/m/c.java b/app/src/main/java/c/i/a/c/b3/n/c.java similarity index 88% rename from app/src/main/java/c/i/a/c/e2/m/c.java rename to app/src/main/java/c/i/a/c/b3/n/c.java index a85df23e40..3974f93b47 100644 --- a/app/src/main/java/c/i/a/c/e2/m/c.java +++ b/app/src/main/java/c/i/a/c/b3/n/c.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.m; +package c.i.a.c.b3.n; import android.text.Layout; import android.text.SpannableString; @@ -12,11 +12,12 @@ 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 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; @@ -40,36 +41,36 @@ public final class c extends e { public int D = 0; public boolean E; public long F; - public final w o = new w(); + 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 f825s; + public final long f684s; public final ArrayList t = new ArrayList<>(); public a u = new a(0, 4); @Nullable - public List v; + public List v; @Nullable - public List w; + public List w; /* renamed from: x reason: collision with root package name */ - public int f826x; + public int f685x; /* renamed from: y reason: collision with root package name */ - public int f827y; + public int f686y; /* renamed from: z reason: collision with root package name */ - public boolean f828z; + public boolean f687z; /* compiled from: Cea608Decoder */ public static final class a { - public final List a = new ArrayList(); + public final List a = new ArrayList(); public final List b = new ArrayList(); /* renamed from: c reason: collision with root package name */ - public final StringBuilder f829c = new StringBuilder(); + public final StringBuilder f688c = new StringBuilder(); public int d; public int e; public int f; @@ -77,18 +78,18 @@ public final class c extends e { 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 { + /* 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 f830c; + public int f689c; - public C0093a(int i, boolean z2, int i2) { + public C0087a(int i, boolean z2, int i2) { this.a = i; this.b = z2; - this.f830c = i2; + this.f689c = i2; } } @@ -98,20 +99,20 @@ public final class c extends e { } public void a(char c2) { - if (this.f829c.length() < 32) { - this.f829c.append(c2); + if (this.f688c.length() < 32) { + this.f688c.append(c2); } } public void b() { - int length = this.f829c.length(); + int length = this.f688c.length(); if (length > 0) { - this.f829c.delete(length - 1, length); + this.f688c.delete(length - 1, length); for (int size = this.a.size() - 1; size >= 0; size--) { - C0093a aVar = this.a.get(size); - int i = aVar.f830c; + C0087a aVar = this.a.get(size); + int i = aVar.f689c; if (i == length) { - aVar.f830c = i - 1; + aVar.f689c = i - 1; } else { return; } @@ -120,14 +121,14 @@ public final class c extends e { } @Nullable - public c.i.a.c.e2.c c(int i) { + 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 = f0.a; + int i5 = e0.a; if (spannableString.length() > i3) { spannableString = spannableString.subSequence(0, i3); } @@ -135,7 +136,7 @@ public final class c extends e { spannableStringBuilder.append('\n'); } SpannableString d = d(); - int i6 = f0.a; + int i6 = e0.a; int length = d.length(); CharSequence charSequence = d; if (length > i3) { @@ -162,11 +163,11 @@ public final class c extends e { } 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); + 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.f829c); + SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(this.f688c); int length = spannableStringBuilder.length(); int i = 0; int i2 = -1; @@ -176,7 +177,7 @@ public final class c extends e { boolean z2 = false; int i6 = -1; while (i < this.a.size()) { - C0093a aVar = this.a.get(i); + C0087a aVar = this.a.get(i); boolean z3 = aVar.b; int i7 = aVar.a; if (i7 != 8) { @@ -186,9 +187,9 @@ public final class c extends e { } z2 = z4; } - int i8 = aVar.f830c; + int i8 = aVar.f689c; i++; - if (i8 != (i < this.a.size() ? this.a.get(i).f830c : length)) { + 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; @@ -223,14 +224,14 @@ public final class c extends e { } public boolean e() { - return this.a.isEmpty() && this.b.isEmpty() && this.f829c.length() == 0; + 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.f829c.setLength(0); + this.f688c.setLength(0); this.d = 15; this.e = 0; this.f = 0; @@ -238,7 +239,7 @@ public final class c extends e { } public c(String str, int i2, long j2) { - this.f825s = j2 > 0 ? j2 * 1000 : -9223372036854775807L; + this.f684s = j2 > 0 ? j2 * 1000 : -9223372036854775807L; this.p = "application/x-mp4-cea-608".equals(str) ? 2 : 3; if (i2 == 1) { this.r = 0; @@ -263,9 +264,9 @@ public final class c extends e { this.F = -9223372036854775807L; } - @Override // c.i.a.c.e2.m.e - public f e() { - List list = this.v; + @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); @@ -274,31 +275,31 @@ public final class c extends e { /* 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) { + @Override // c.i.a.c.b3.n.e + public void f(j jVar) { boolean z2; boolean z3; - ByteBuffer byteBuffer = iVar.k; + ByteBuffer byteBuffer = jVar.k; Objects.requireNonNull(byteBuffer); - this.o.B(byteBuffer.array(), byteBuffer.limit()); + 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 s2 = i2 == 2 ? -4 : (byte) this.o.s(); - int s3 = this.o.s(); - int s4 = this.o.s(); - if ((s2 & 2) == 0 && (s2 & 1) == this.q) { - byte b = (byte) (s3 & 127); - byte b2 = (byte) (s4 & 127); + 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.f828z; - if ((s2 & 4) == 4) { + boolean z5 = this.f687z; + if ((t & 4) == 4) { boolean[] zArr = n; - if (zArr[s3] && zArr[s4]) { + if (zArr[t2] && zArr[t3]) { z2 = true; - this.f828z = z2; + this.f687z = z2; if (z2) { if ((b & 240) == 16) { if (this.A && this.B == b && this.C == b2) { @@ -356,7 +357,7 @@ public final class c extends e { this.u.a(' '); boolean z6 = (b2 & 1) == 1; a aVar = this.u; - aVar.a.add(new a.C0093a((b2 >> 1) & 7, z6, aVar.f829c.length())); + 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]; @@ -365,8 +366,8 @@ public final class c extends e { } a aVar2 = this.u; if (i6 != aVar2.d) { - if (this.f826x != 1 && !aVar2.e()) { - a aVar3 = new a(this.f826x, this.f827y); + if (this.f685x != 1 && !aVar2.e()) { + a aVar3 = new a(this.f685x, this.f686y); this.u = aVar3; this.t.add(aVar3); } @@ -376,7 +377,7 @@ public final class c extends e { 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.f829c.length())); + aVar4.a.add(new a.C0087a(z7 ? 8 : i7, z8, aVar4.f688c.length())); if (z7) { this.u.e = h[i7]; } @@ -402,7 +403,7 @@ public final class c extends e { m(4); break; default: - int i8 = this.f826x; + int i8 = this.f685x; if (i8 != 0) { if (b2 == 33) { this.u.b(); @@ -411,7 +412,7 @@ public final class c extends e { switch (b2) { case 44: this.v = Collections.emptyList(); - int i9 = this.f826x; + int i9 = this.f685x; if (i9 == 1 || i9 == 3) { k(); break; @@ -420,7 +421,7 @@ public final class c extends e { if (i8 == 1 && !this.u.e()) { a aVar5 = this.u; aVar5.b.add(aVar5.d()); - aVar5.f829c.setLength(0); + aVar5.f688c.setLength(0); aVar5.a.clear(); int min = Math.min(aVar5.h, aVar5.d); while (aVar5.b.size() >= min) { @@ -474,7 +475,7 @@ public final class c extends e { } } z2 = false; - this.f828z = z2; + this.f687z = z2; if (z2) { } this.A = false; @@ -484,7 +485,7 @@ public final class c extends e { } } } else if (z4) { - int i10 = this.f826x; + int i10 = this.f685x; if (i10 == 1 || i10 == 3) { this.v = j(); this.F = this.e; @@ -497,7 +498,7 @@ public final class c extends e { } } - @Override // c.i.a.c.e2.m.e, c.i.a.c.x1.c + @Override // c.i.a.c.b3.n.e, c.i.a.c.v2.d public void flush() { super.flush(); this.v = null; @@ -505,7 +506,7 @@ public final class c extends e { l(0); m(4); k(); - this.f828z = false; + this.f687z = false; this.A = false; this.B = 0; this.C = 0; @@ -514,16 +515,16 @@ public final class c extends e { this.F = -9223372036854775807L; } - @Override // c.i.a.c.e2.m.e + @Override // c.i.a.c.b3.n.e @Nullable /* renamed from: g */ - public j b() throws SubtitleDecoderException { - j pollFirst; - j g2 = super.b(); + public k b() throws SubtitleDecoderException { + k pollFirst; + k g2 = super.b(); if (g2 != null) { return g2; } - long j2 = this.f825s; + long j2 = this.f684s; boolean z2 = false; if (j2 != -9223372036854775807L) { long j3 = this.F; @@ -534,7 +535,7 @@ public final class c extends e { if (!z2 || (pollFirst = this.b.pollFirst()) == null) { return null; } - List emptyList = Collections.emptyList(); + List emptyList = Collections.emptyList(); this.v = emptyList; this.F = -9223372036854775807L; this.w = emptyList; @@ -543,46 +544,46 @@ public final class c extends e { return pollFirst; } - @Override // c.i.a.c.e2.m.e + @Override // c.i.a.c.b3.n.e public boolean h() { return this.v != this.w; } - public final List j() { + 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); + b c2 = this.t.get(i3).c(Integer.MIN_VALUE); arrayList.add(c2); if (c2 != null) { - i2 = Math.min(i2, c2.i); + i2 = Math.min(i2, c2.f675s); } } 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); + 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(cVar); + arrayList2.add(bVar); } } return arrayList2; } public final void k() { - this.u.f(this.f826x); + this.u.f(this.f685x); this.t.clear(); this.t.add(this.u); } public final void l(int i2) { - int i3 = this.f826x; + int i3 = this.f685x; if (i3 != i2) { - this.f826x = i2; + this.f685x = i2; if (i2 == 3) { for (int i4 = 0; i4 < this.t.size(); i4++) { this.t.get(i4).g = i2; @@ -597,11 +598,11 @@ public final class c extends e { } public final void m(int i2) { - this.f827y = i2; + this.f686y = i2; this.u.h = i2; } - @Override // c.i.a.c.e2.m.e, c.i.a.c.x1.c + @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/e2/m/d.java b/app/src/main/java/c/i/a/c/b3/n/d.java similarity index 81% rename from app/src/main/java/c/i/a/c/e2/m/d.java rename to app/src/main/java/c/i/a/c/b3/n/d.java index a0c9304437..d78c76ef2a 100644 --- a/app/src/main/java/c/i/a/c/e2/m/d.java +++ b/app/src/main/java/c/i/a/c/b3/n/d.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.m; +package c.i.a.c.b3.n; import android.graphics.Color; import android.text.Layout; @@ -11,10 +11,10 @@ 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 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; @@ -23,23 +23,23 @@ 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 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; + public List m; @Nullable - public List n; + 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 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) { @@ -52,7 +52,7 @@ public final class d extends e { 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.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; } } @@ -63,7 +63,7 @@ public final class d extends e { public static final int b; /* renamed from: c reason: collision with root package name */ - public static final int f831c; + 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}; @@ -88,26 +88,26 @@ public final class d extends e { public int r; /* renamed from: s reason: collision with root package name */ - public int f832s; + 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 f833x; + public int f692x; /* renamed from: y reason: collision with root package name */ - public int f834y; + public int f693y; /* renamed from: z reason: collision with root package name */ - public int f835z; + public int f694z; static { int d2 = d(0, 0, 0, 0); b = d2; int d3 = d(0, 0, 0, 3); - f831c = d3; + f690c = d3; h = new int[]{d2, d3, d2, d2, d3, d2, d2}; k = new int[]{d2, d2, d2, d2, d2, d3, d3}; } @@ -220,15 +220,15 @@ public final class d extends e { this.p = 4; this.q = false; this.r = 0; - this.f832s = 0; + this.f691s = 0; this.t = 0; this.u = 15; this.v = true; this.w = 0; - this.f833x = 0; - this.f834y = 0; + this.f692x = 0; + this.f693y = 0; int i2 = b; - this.f835z = i2; + this.f694z = i2; this.D = a; this.F = i2; } @@ -276,13 +276,13 @@ public final class d extends e { public final int b; /* renamed from: c reason: collision with root package name */ - public final byte[] f836c; + public final byte[] f695c; public int d = 0; public c(int i, int i2) { this.a = i; this.b = i2; - this.f836c = new byte[((i2 * 2) - 1)]; + this.f695c = new byte[((i2 * 2) - 1)]; } } @@ -297,63 +297,63 @@ public final class d extends e { this.l = this.k[0]; } - @Override // c.i.a.c.e2.m.e - public f e() { - List list = this.m; + @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.e2.m.e - public void f(i iVar) { - ByteBuffer byteBuffer = iVar.k; + @Override // c.i.a.c.b3.n.e + public void f(j jVar) { + ByteBuffer byteBuffer = jVar.k; Objects.requireNonNull(byteBuffer); - this.g.B(byteBuffer.array(), byteBuffer.limit()); + this.g.C(byteBuffer.array(), byteBuffer.limit()); while (this.g.a() >= 3) { - int s2 = this.g.s() & 7; - int i = s2 & 3; + int t = this.g.t() & 7; + int i = t & 3; boolean z2 = false; - boolean z3 = (s2 & 4) == 4; - byte s3 = (byte) this.g.s(); - byte s4 = (byte) this.g.s(); + 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 = (s3 & 192) >> 6; + int i2 = (t2 & 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); + Log.w("Cea708Decoder", c.d.b.a.a.g(71, "Sequence number discontinuity. previous=", this.i, " current=", i2)); } this.i = i2; - int i4 = s3 & 63; + int i4 = t2 & 63; if (i4 == 0) { i4 = 64; } c cVar = new c(i2, i4); this.o = cVar; - byte[] bArr = cVar.f836c; + byte[] bArr = cVar.f695c; int i5 = cVar.d; cVar.d = i5 + 1; - bArr[i5] = s4; + bArr[i5] = t3; } else { if (i == 2) { z2 = true; } - c.c.a.a0.d.k(z2); + 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.f836c; + byte[] bArr2 = cVar2.f695c; int i6 = cVar2.d; int i7 = i6 + 1; cVar2.d = i7; - bArr2[i6] = s3; + bArr2[i6] = t2; cVar2.d = i7 + 1; - bArr2[i7] = s4; + bArr2[i7] = t3; } } c cVar3 = this.o; @@ -365,7 +365,7 @@ public final class d extends e { } } - @Override // c.i.a.c.e2.m.e, c.i.a.c.x1.c + @Override // c.i.a.c.b3.n.e, c.i.a.c.v2.d public void flush() { super.flush(); this.m = null; @@ -376,7 +376,7 @@ public final class d extends e { this.o = null; } - @Override // c.i.a.c.e2.m.e + @Override // c.i.a.c.b3.n.e public boolean h() { return this.m != this.n; } @@ -384,34 +384,38 @@ public final class d extends e { 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); + 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(this.o.a); + O.append(i3); O.append(");"); Log.d("Cea708Decoder", O.toString()); } - v vVar = this.h; + w wVar = this.h; c cVar2 = this.o; - vVar.j(cVar2.f836c, cVar2.d); - int i = 3; + wVar.j(cVar2.f695c, cVar2.d); + int i4 = 3; int g = this.h.g(3); int g2 = this.h.g(5); - int i2 = 7; - int i3 = 6; + 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.i0("Invalid extended service number: ", g, "Cea708Decoder"); + c.d.b.a.a.d0(44, "Invalid extended service number: ", g, "Cea708Decoder"); } } if (g2 == 0) { if (g != 0) { - Log.w("Cea708Decoder", "serviceNumber is non-zero (" + g + ") when blockSize is 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; @@ -420,7 +424,7 @@ public final class d extends e { if (g3 != 16) { if (g3 <= 31) { if (g3 != 0) { - if (g3 == i) { + if (g3 == i4) { this.m = k(); } else if (g3 != 8) { switch (g3) { @@ -435,15 +439,15 @@ public final class d extends e { default: if (g3 < 17 || g3 > 23) { if (g3 < 24 || g3 > 31) { - c.d.b.a.a.i0("Invalid C0 command: ", g3, "Cea708Decoder"); + c.d.b.a.a.d0(31, "Invalid C0 command: ", g3, "Cea708Decoder"); break; } else { - c.d.b.a.a.i0("Currently unsupported COMMAND_P16 Command: ", g3, "Cea708Decoder"); + 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.i0("Currently unsupported COMMAND_EXT1 Command: ", g3, "Cea708Decoder"); + c.d.b.a.a.d0(55, "Currently unsupported COMMAND_EXT1 Command: ", g3, "Cea708Decoder"); this.h.m(8); continue; } @@ -472,46 +476,46 @@ public final class d extends e { case 133: case 134: case 135: - int i4 = g3 - 128; - if (this.p != i4) { - this.p = i4; - this.l = this.k[i4]; + int i7 = g3 - 128; + if (this.p != i7) { + this.p = i7; + this.l = this.k[i7]; break; } break; case 136: - for (int i5 = 1; i5 <= 8; i5++) { + for (int i8 = 1; i8 <= 8; i8++) { if (this.h.f()) { - this.k[8 - i5].c(); + this.k[8 - i8].c(); } } break; case 137: - for (int i6 = 1; i6 <= 8; i6++) { + for (int i9 = 1; i9 <= 8; i9++) { if (this.h.f()) { - this.k[8 - i6].o = true; + this.k[8 - i9].o = true; } } break; case 138: - for (int i7 = 1; i7 <= 8; i7++) { + for (int i10 = 1; i10 <= 8; i10++) { if (this.h.f()) { - this.k[8 - i7].o = false; + this.k[8 - i10].o = false; } } break; case 139: - for (int i8 = 1; i8 <= 8; i8++) { + for (int i11 = 1; i11 <= 8; i11++) { if (this.h.f()) { - b bVar2 = this.k[8 - i8]; + b bVar2 = this.k[8 - i11]; bVar2.o = !bVar2.o; } } break; case 140: - for (int i9 = 1; i9 <= 8; i9++) { + for (int i12 = 1; i12 <= 8; i12++) { if (this.h.f()) { - this.k[8 - i9].f(); + this.k[8 - i12].f(); } } break; @@ -571,7 +575,7 @@ public final class d extends e { case 149: case FontUtils.MAX_FONT_SCALING /* 150 */: default: - Log.w("Cea708Decoder", c.d.b.a.a.l("Invalid C1 command: ", g3)); + Log.w("Cea708Decoder", c.d.b.a.a.f(31, "Invalid C1 command: ", g3)); break; case 151: if (!this.l.n) { @@ -588,7 +592,7 @@ public final class d extends e { int g5 = this.h.g(2); this.h.m(8); b bVar4 = this.l; - bVar4.f835z = d3; + bVar4.f694z = d3; bVar4.w = g5; break; } @@ -600,62 +604,62 @@ public final class d extends e { case 157: case 158: case 159: - int i10 = g3 - 152; - b bVar5 = this.k[i10]; + 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(i); + int g6 = this.h.g(i4); boolean f5 = this.h.f(); - int g7 = this.h.g(i2); + 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(i3); + this.h.g(i6); this.h.m(2); - int g11 = this.h.g(i); - int g12 = this.h.g(i); + 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.f832s = g8; + bVar5.f691s = g8; bVar5.t = g9; - int i11 = g10 + 1; - if (bVar5.u != i11) { - bVar5.u = i11; + 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.f833x == g11)) { - bVar5.f833x = 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.f835z = i13; - bVar5.w = i16; + 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.f834y == g12)) { - bVar5.f834y = g12; - int i17 = g12 - 1; - int i18 = b.j[i17]; - int i19 = b.i[i17]; + 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[i17]); + bVar5.h(b.a, b.k[i20]); } - if (this.p != i10) { - this.p = i10; - this.l = this.k[i10]; + if (this.p != i13) { + this.p = i13; + this.l = this.k[i13]; break; } break; @@ -663,11 +667,11 @@ public final class d extends e { } else if (g3 <= 255) { this.l.a((char) (g3 & 255)); } else { - c.d.b.a.a.i0("Invalid base command: ", g3, "Cea708Decoder"); + c.d.b.a.a.d0(33, "Invalid base command: ", g3, "Cea708Decoder"); } - i = 3; - i2 = 7; - i3 = 6; + i4 = 3; + i5 = 7; + i6 = 6; } else { int g13 = this.h.g(8); if (g13 <= 31) { @@ -752,7 +756,7 @@ public final class d extends e { this.l.a(9484); break; default: - c.d.b.a.a.i0("Invalid G2 character: ", g13, "Cea708Decoder"); + c.d.b.a.a.d0(33, "Invalid G2 character: ", g13, "Cea708Decoder"); break; } } @@ -769,21 +773,21 @@ public final class d extends e { this.h.m(this.h.g(6) * 8); } } else if (g13 > 255) { - c.d.b.a.a.i0("Invalid extended command: ", g13, "Cea708Decoder"); + 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.i0("Invalid G3 character: ", g13, "Cea708Decoder"); + c.d.b.a.a.d0(33, "Invalid G3 character: ", g13, "Cea708Decoder"); this.l.a('_'); } - i = 3; - i2 = 7; - i3 = 6; + i4 = 3; + i5 = 7; + i6 = 6; } z2 = true; - i = 3; - i2 = 7; - i3 = 6; + i4 = 3; + i5 = 7; + i6 = 6; } if (z2) { this.m = k(); @@ -793,15 +797,15 @@ public final class d extends e { } } - /* 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() { + /* 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; @@ -828,15 +832,13 @@ public final class d extends e { } 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.w); - throw new IllegalArgumentException(O.toString()); + throw new IllegalArgumentException(c.d.b.a.a.f(43, "Unexpected justification value: ", bVar.w)); } if (!bVar.q) { - f2 = ((float) bVar.f832s) / 99.0f; + f2 = ((float) bVar.f691s) / 99.0f; f = ((float) bVar.r) / 99.0f; } else { - f2 = ((float) bVar.f832s) / 209.0f; + f2 = ((float) bVar.f691s) / 209.0f; f = ((float) bVar.r) / 74.0f; } float f3 = (f2 * 0.9f) + 0.05f; @@ -844,7 +846,7 @@ public final class d extends e { 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.f835z == b.b, bVar.f835z, bVar.p); + 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) { @@ -854,7 +856,7 @@ public final class d extends e { 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.f835z == b.b, bVar.f835z, bVar.p); + 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); diff --git a/app/src/main/java/c/i/a/c/e2/m/e.java b/app/src/main/java/c/i/a/c/b3/n/e.java similarity index 69% rename from app/src/main/java/c/i/a/c/e2/m/e.java rename to app/src/main/java/c/i/a/c/b3/n/e.java index 1d1baf01f4..f2f3728e74 100644 --- a/app/src/main/java/c/i/a/c/e2/m/e.java +++ b/app/src/main/java/c/i/a/c/b3/n/e.java @@ -1,31 +1,33 @@ -package c.i.a.c.e2.m; +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.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 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 g { +public abstract class e implements h { public final ArrayDeque a = new ArrayDeque<>(); - public final ArrayDeque b; + public final ArrayDeque b; /* renamed from: c reason: collision with root package name */ - public final PriorityQueue f837c; + public final PriorityQueue f696c; @Nullable public b d; public long e; public long f; /* compiled from: CeaDecoder */ - public static final class b extends i implements Comparable { + public static final class b extends j implements Comparable { public long r; public b() { @@ -57,16 +59,19 @@ public abstract class e implements g { } /* compiled from: CeaDecoder */ - public static final class c extends j { + public static final class c extends k { public f.a m; public c(f.a aVar) { this.m = aVar; } - @Override // c.i.a.c.x1.f + @Override // c.i.a.c.v2.f public final void p() { - this.m.a(this); + e eVar = ((b) this.m).a; + Objects.requireNonNull(eVar); + q(); + eVar.b.add(this); } } @@ -78,18 +83,18 @@ public abstract class e implements g { for (int i2 = 0; i2 < 2; i2++) { this.b.add(new c(new b(this))); } - this.f837c = new PriorityQueue<>(); + this.f696c = new PriorityQueue<>(); } - @Override // c.i.a.c.e2.g + @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.x1.c + @Override // c.i.a.c.v2.d @Nullable - public i c() throws DecoderException { + public j c() throws DecoderException { d.D(this.d == null); if (this.a.isEmpty()) { return null; @@ -100,33 +105,33 @@ public abstract class e implements g { } /* 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; + @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.f837c.add(bVar); + this.f696c.add(bVar); } this.d = null; } - public abstract c.i.a.c.e2.f e(); + public abstract g e(); - public abstract void f(i iVar); + public abstract void f(j jVar); - @Override // c.i.a.c.x1.c + @Override // c.i.a.c.v2.d public void flush() { this.f = 0; this.e = 0; - while (!this.f837c.isEmpty()) { - int i = f0.a; - i(this.f837c.poll()); + while (!this.f696c.isEmpty()) { + int i = e0.a; + i(this.f696c.poll()); } b bVar = this.d; if (bVar != null) { @@ -137,26 +142,26 @@ public abstract class e implements g { @Nullable /* renamed from: g */ - public j b() throws SubtitleDecoderException { + public k b() throws SubtitleDecoderException { if (this.b.isEmpty()) { return null; } - while (!this.f837c.isEmpty()) { - int i = f0.a; - if (this.f837c.peek().m > this.e) { + while (!this.f696c.isEmpty()) { + int i = e0.a; + if (this.f696c.peek().m > this.e) { break; } - b poll = this.f837c.poll(); + b poll = this.f696c.poll(); if (poll.n()) { - j pollFirst = this.b.pollFirst(); + k 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(); + g e = e(); + k pollFirst2 = this.b.pollFirst(); pollFirst2.r(poll.m, e, RecyclerView.FOREVER_NS); i(poll); return pollFirst2; @@ -173,7 +178,7 @@ public abstract class e implements g { this.a.add(bVar); } - @Override // c.i.a.c.x1.c + @Override // c.i.a.c.v2.d 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/b3/n/f.java similarity index 52% rename from app/src/main/java/c/i/a/c/e2/m/f.java rename to app/src/main/java/c/i/a/c/b3/n/f.java index b2a1dd0324..40e84df5eb 100644 --- a/app/src/main/java/c/i/a/c/e2/m/f.java +++ b/app/src/main/java/c/i/a/c/b3/n/f.java @@ -1,34 +1,35 @@ -package c.i.a.c.e2.m; +package c.i.a.c.b3.n; import c.c.a.a0.d; -import c.i.a.c.e2.c; +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 c.i.a.c.e2.f { - public final List i; +public final class f implements g { + public final List i; - public f(List list) { + public f(List list) { this.i = list; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public int f(long j) { return j < 0 ? 0 : -1; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public long g(int i) { - d.k(i == 0); + d.j(i == 0); return 0; } - @Override // c.i.a.c.e2.f - public List h(long j) { + @Override // c.i.a.c.b3.g + public List h(long j) { return j >= 0 ? this.i : Collections.emptyList(); } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g 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/b3/o/a.java similarity index 69% rename from app/src/main/java/c/i/a/c/e2/n/a.java rename to app/src/main/java/c/i/a/c/b3/o/a.java index 77d645bf18..c9e48df173 100644 --- a/app/src/main/java/c/i/a/c/e2/n/a.java +++ b/app/src/main/java/c/i/a/c/b3/o/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.n; +package c.i.a.c.b3.o; import android.graphics.Bitmap; import android.graphics.Canvas; @@ -7,17 +7,16 @@ 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 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 d { +public final class a extends f { public final b n; public a(List list) { @@ -29,8 +28,8 @@ public final class a extends d { 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) { + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) { c cVar; c cVar2; List list; @@ -47,7 +46,7 @@ public final class a extends d { int i8; if (z2) { b.h hVar = this.n.i; - hVar.f844c.clear(); + hVar.f703c.clear(); hVar.d.clear(); hVar.e.clear(); hVar.f.clear(); @@ -57,34 +56,34 @@ public final class a extends d { } b bVar = this.n; Objects.requireNonNull(bVar); - v vVar = new v(bArr, i); - while (vVar.b() >= 48 && vVar.g(8) == 15) { + w wVar = new w(bArr, i); + while (wVar.b() >= 48 && wVar.g(8) == 15) { b.h hVar2 = bVar.i; - int g = vVar.g(8); + int g = wVar.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()) { + 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"); - vVar.m(vVar.b()); + wVar.m(wVar.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 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 = vVar.g(i10); - vVar.m(i10); + int g7 = wVar.g(i10); + wVar.m(i10); i11 -= 6; - sparseArray3.put(g7, new b.e(vVar.g(16), vVar.g(16))); + sparseArray3.put(g7, new b.e(wVar.g(16), wVar.g(16))); i10 = 8; } b.d dVar2 = new b.d(g4, g5, g6, sparseArray3); @@ -95,7 +94,7 @@ public final class a extends d { } } else { hVar2.i = dVar2; - hVar2.f844c.clear(); + hVar2.f703c.clear(); hVar2.d.clear(); hVar2.e.clear(); break; @@ -105,34 +104,34 @@ public final class a extends d { 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 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 = 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); + 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 = vVar.g(8); - i3 = vVar.g(8); + i4 = wVar.g(8); + i3 = wVar.g(8); } else { i4 = 0; i3 = 0; @@ -141,24 +140,24 @@ public final class a extends d { 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.f844c.get(g8)) != null) { + 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.f844c.put(fVar2.a, fVar2); + hVar2.f703c.put(fVar2.a, fVar2); break; } case 18: if (g2 != hVar2.a) { if (g2 == hVar2.b) { - b.a f2 = b.f(vVar, g3); + b.a f2 = b.f(wVar, g3); hVar2.f.put(f2.a, f2); break; } } else { - b.a f3 = b.f(vVar, g3); + b.a f3 = b.f(wVar, g3); hVar2.d.put(f3.a, f3); break; } @@ -166,28 +165,28 @@ public final class a extends d { case 19: if (g2 != hVar2.a) { if (g2 == hVar2.b) { - b.c g22 = b.g(vVar); + b.c g22 = b.g(wVar); hVar2.g.put(g22.a, g22); break; } } else { - b.c g23 = b.g(vVar); + b.c g23 = b.g(wVar); 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); + wVar.m(4); + boolean f4 = wVar.f(); + wVar.m(3); + int g24 = wVar.g(16); + int g25 = wVar.g(16); if (f4) { - int g26 = vVar.g(16); - i7 = vVar.g(16); - i6 = vVar.g(16); - i5 = vVar.g(16); + int g26 = wVar.g(16); + i7 = wVar.g(16); + i6 = wVar.g(16); + i5 = wVar.g(16); i8 = g26; } else { i7 = g24; @@ -195,12 +194,12 @@ public final class a extends d { i8 = 0; i6 = 0; } - hVar2.h = new b.C0094b(g24, g25, i8, i7, i6, i5); + hVar2.h = new b.C0088b(g24, g25, i8, i7, i6, i5); break; } break; } - vVar.n(d - vVar.d()); + wVar.n(d - wVar.d()); } } b.h hVar3 = bVar.i; @@ -209,7 +208,7 @@ public final class a extends d { list = Collections.emptyList(); cVar2 = cVar; } else { - b.C0094b bVar2 = hVar3.h; + b.C0088b bVar2 = hVar3.h; if (bVar2 == null) { bVar2 = bVar.g; } @@ -220,15 +219,15 @@ public final class a extends d { bVar.f.setBitmap(createBitmap); } ArrayList arrayList = new ArrayList(); - SparseArray sparseArray6 = dVar4.f842c; + 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.f844c.get(sparseArray6.keyAt(i14)); - int i15 = valueAt.a + bVar2.f840c; + 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.f843c + i15, bVar2.d), Math.min(fVar3.d + i16, bVar2.f)); + 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; @@ -251,9 +250,9 @@ public final class a extends d { sparseArray = sparseArray7; Canvas canvas = bVar.f; cVar3 = cVar; - int[] iArr = i18 == 3 ? aVar.d : i18 == 2 ? aVar.f839c : aVar.b; + int[] iArr = i18 == 3 ? aVar.d : i18 == 2 ? aVar.f698c : aVar.b; i2 = i14; - b.e(cVar4.f841c, iArr, i18, i19, i20, paint, canvas); + b.e(cVar4.f700c, iArr, i18, i19, i20, paint, canvas); b.e(cVar4.d, iArr, i18, i19, i20 + 1, paint, canvas); } else { cVar3 = cVar; @@ -269,13 +268,13 @@ public final class a extends d { } if (fVar3.b) { int i21 = fVar3.e; - bVar.e.setColor(i21 == 3 ? aVar.d[fVar3.g] : i21 == 2 ? aVar.f839c[fVar3.h] : aVar.b[fVar3.i]); - bVar.f.drawRect((float) i15, (float) i16, (float) (fVar3.f843c + i15), (float) (fVar3.d + i16), bVar.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.f843c, fVar3.d); + 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(null, null, createBitmap2, ((float) i16) / f6, 0, 0, ((float) i15) / f5, 0, Integer.MIN_VALUE, -3.4028235E38f, ((float) fVar3.f843c) / f5, ((float) fVar3.d) / f6, false, ViewCompat.MEASURED_STATE_MASK, Integer.MIN_VALUE, 0.0f, null)); + 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++; diff --git a/app/src/main/java/c/i/a/c/e2/n/b.java b/app/src/main/java/c/i/a/c/b3/o/b.java similarity index 84% rename from app/src/main/java/c/i/a/c/e2/n/b.java rename to app/src/main/java/c/i/a/c/b3/o/b.java index e9b4ae6c1d..e925c27ab7 100644 --- a/app/src/main/java/c/i/a/c/e2/n/b.java +++ b/app/src/main/java/c/i/a/c/b3/o/b.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.n; +package c.i.a.c.b3.o; import android.graphics.Bitmap; import android.graphics.Canvas; @@ -8,19 +8,19 @@ 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; +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[] f838c = {0, 17, 34, 51, 68, 85, 102, 119, -120, -103, -86, -69, -52, -35, -18, -1}; + 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 C0094b g = new C0094b(719, 575, 0, 719, 0, 575); + 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; @@ -31,33 +31,33 @@ public final class b { public final int[] b; /* renamed from: c reason: collision with root package name */ - public final int[] f839c; + 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.f839c = iArr2; + this.f698c = 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 { + /* 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 f840c; + public final int f699c; 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) { + public C0088b(int i, int i2, int i3, int i4, int i5, int i6) { this.a = i; this.b = i2; - this.f840c = i3; + this.f699c = i3; this.d = i4; this.e = i5; this.f = i6; @@ -70,13 +70,13 @@ public final class b { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final byte[] f841c; + 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.f841c = bArr; + this.f700c = bArr; this.d = bArr2; } } @@ -87,12 +87,12 @@ public final class b { public final int b; /* renamed from: c reason: collision with root package name */ - public final SparseArray f842c; + public final SparseArray f701c; public d(int i, int i2, int i3, SparseArray sparseArray) { this.a = i2; this.b = i3; - this.f842c = sparseArray; + this.f701c = sparseArray; } } @@ -113,7 +113,7 @@ public final class b { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final int f843c; + public final int f702c; public final int d; public final int e; public final int f; @@ -125,7 +125,7 @@ public final class b { 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.f843c = i2; + this.f702c = i2; this.d = i3; this.e = i5; this.f = i6; @@ -153,13 +153,13 @@ public final class b { public final int b; /* renamed from: c reason: collision with root package name */ - public final SparseArray f844c = new SparseArray<>(); + 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 C0094b h; + public C0088b h; @Nullable public d i; @@ -183,10 +183,10 @@ public final class b { this.i = new h(i, i2); } - public static byte[] a(int i, int i2, v vVar) { + 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) vVar.g(i2); + bArr[i3] = (byte) wVar.g(i2); } return bArr; } @@ -310,15 +310,15 @@ public final class b { int i12; int i13; boolean z5; - v vVar = new v(bArr); + w wVar = new w(bArr); int i14 = i2; int i15 = i3; byte[] bArr5 = null; byte[] bArr6 = null; byte[] bArr7 = null; - while (vVar.b() != 0) { + while (wVar.b() != 0) { int i16 = 8; - int g3 = vVar.g(8); + int g3 = wVar.g(8); if (g3 != 240) { int i17 = 4; int i18 = 2; @@ -333,15 +333,15 @@ public final class b { i4 = i14; z2 = false; while (true) { - g2 = vVar.g(2); + g2 = wVar.g(2); if (g2 == 0) { - if (vVar.f()) { - i8 = vVar.g(3) + 3; - i7 = vVar.g(2); - } else if (vVar.f()) { + if (wVar.f()) { + i8 = wVar.g(3) + 3; + i7 = wVar.g(2); + } else if (wVar.f()) { g2 = 0; } else { - int g4 = vVar.g(2); + int g4 = wVar.g(2); if (g4 == 0) { z2 = true; } else if (g4 == 1) { @@ -360,18 +360,18 @@ public final class b { } i4 = i6 + i5; if (z3) { - vVar.c(); + wVar.c(); i14 = i4; continue; } else { z2 = z3; } } else if (g4 == 2) { - i8 = vVar.g(4) + 12; - i7 = vVar.g(2); + i8 = wVar.g(4) + 12; + i7 = wVar.g(2); } else if (g4 == 3) { - i8 = vVar.g(8) + 29; - i7 = vVar.g(2); + i8 = wVar.g(8) + 29; + i7 = wVar.g(2); } z3 = z2; b2 = 0; @@ -408,7 +408,7 @@ public final class b { i4 = i14; z2 = false; while (true) { - g2 = vVar.g(2); + g2 = wVar.g(2); if (g2 == 0) { } z3 = z2; @@ -424,17 +424,17 @@ public final class b { } case 17: if (i == 3) { - bArr4 = bArr6 == null ? f838c : bArr6; + bArr4 = bArr6 == null ? f697c : bArr6; } else { bArr4 = null; } int i19 = i14; boolean z6 = false; while (true) { - int g5 = vVar.g(i17); + int g5 = wVar.g(i17); if (g5 == 0) { - if (!vVar.f()) { - int g6 = vVar.g(3); + if (!wVar.f()) { + int g6 = wVar.g(3); if (g6 != 0) { z4 = z6; i9 = g6 + 2; @@ -451,7 +451,7 @@ public final class b { } i19 = i10 + i9; if (z4) { - vVar.c(); + wVar.c(); i14 = i19; continue; } else { @@ -464,11 +464,11 @@ public final class b { z6 = true; } } else { - if (!vVar.f()) { - i12 = vVar.g(i18) + i17; - i11 = vVar.g(i17); + if (!wVar.f()) { + i12 = wVar.g(i18) + i17; + i11 = wVar.g(i17); } else { - int g7 = vVar.g(i18); + int g7 = wVar.g(i18); if (g7 == 0) { g5 = 0; } else if (g7 == 1) { @@ -482,11 +482,11 @@ public final class b { if (z4) { } } else if (g7 == i18) { - i12 = vVar.g(i17) + 9; - i11 = vVar.g(i17); + i12 = wVar.g(i17) + 9; + i11 = wVar.g(i17); } else if (g7 == 3) { - i12 = vVar.g(i16) + 25; - i11 = vVar.g(i17); + i12 = wVar.g(i16) + 25; + i11 = wVar.g(i17); } } z4 = z6; @@ -523,12 +523,12 @@ public final class b { int i20 = i14; boolean z7 = false; while (true) { - int g8 = vVar.g(8); + int g8 = wVar.g(8); if (g8 != 0) { z5 = z7; i13 = 1; - } else if (!vVar.f()) { - int g9 = vVar.g(7); + } else if (!wVar.f()) { + int g9 = wVar.g(7); if (g9 != 0) { z5 = z7; i13 = g9; @@ -540,8 +540,8 @@ public final class b { } } else { z5 = z7; - i13 = vVar.g(7); - g8 = vVar.g(8); + i13 = wVar.g(7); + g8 = wVar.g(8); } if (i13 != 0 && paint != null) { paint.setColor(iArr[g8]); @@ -558,13 +558,13 @@ public final class b { default: switch (g3) { case 32: - bArr7 = a(4, 4, vVar); + bArr7 = a(4, 4, wVar); continue; case 33: - bArr5 = a(4, 8, vVar); + bArr5 = a(4, 8, wVar); continue; case 34: - bArr6 = a(16, 8, vVar); + bArr6 = a(16, 8, wVar); continue; default: continue; @@ -577,36 +577,36 @@ public final class b { } } - public static a f(v vVar, int i) { + public static a f(w wVar, int i) { int i2; int i3; int i4; int i5; int i6 = 8; - int g2 = vVar.g(8); - vVar.m(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 = vVar.g(i6); - int g4 = vVar.g(i6); + 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 = vVar.g(i6); - i4 = vVar.g(i6); - i3 = vVar.g(i6); - i2 = vVar.g(i6); + i5 = wVar.g(i6); + i4 = wVar.g(i6); + i3 = wVar.g(i6); + i2 = wVar.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; + 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; @@ -616,7 +616,7 @@ public final class b { 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)); + 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; @@ -625,26 +625,26 @@ public final class b { return new a(g2, iArr, b2, c2); } - public static c g(v vVar) { + public static c g(w wVar) { 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; + 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) { - vVar.m(vVar.g(8) * 16); + wVar.m(wVar.g(8) * 16); } else if (g3 == 0) { - int g4 = vVar.g(16); - int g5 = vVar.g(16); + int g4 = wVar.g(16); + int g5 = wVar.g(16); if (g4 > 0) { bArr2 = new byte[g4]; - vVar.i(bArr2, 0, g4); + wVar.i(bArr2, 0, g4); } if (g5 > 0) { bArr = new byte[g5]; - vVar.i(bArr, 0, g5); + wVar.i(bArr, 0, g5); 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/e2/p/a.java b/app/src/main/java/c/i/a/c/b3/q/a.java similarity index 50% rename from app/src/main/java/c/i/a/c/e2/p/a.java rename to app/src/main/java/c/i/a/c/b3/q/a.java index e452918f1d..43ea698deb 100644 --- a/app/src/main/java/c/i/a/c/e2/p/a.java +++ b/app/src/main/java/c/i/a/c/b3/q/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.p; +package c.i.a.c.b3.q; /* compiled from: HorizontalTextInVerticalContextSpan */ -public final class a { +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/e2/p/b.java b/app/src/main/java/c/i/a/c/b3/q/c.java similarity index 58% rename from app/src/main/java/c/i/a/c/e2/p/b.java rename to app/src/main/java/c/i/a/c/b3/q/c.java index 4750859dde..7e98a21d4e 100644 --- a/app/src/main/java/c/i/a/c/e2/p/b.java +++ b/app/src/main/java/c/i/a/c/b3/q/c.java @@ -1,10 +1,10 @@ -package c.i.a.c.e2.p; +package c.i.a.c.b3.q; /* compiled from: RubySpan */ -public final class b { +public final class c implements b { public final String a; public final int b; - public b(String str, int i) { + public c(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/b3/q/d.java similarity index 56% rename from app/src/main/java/c/i/a/c/e2/p/c.java rename to app/src/main/java/c/i/a/c/b3/q/d.java index 9200e80c9d..387debc1dc 100644 --- a/app/src/main/java/c/i/a/c/e2/p/c.java +++ b/app/src/main/java/c/i/a/c/b3/q/d.java @@ -1,15 +1,15 @@ -package c.i.a.c.e2.p; +package c.i.a.c.b3.q; /* compiled from: TextEmphasisSpan */ -public final class c { +public final class d implements b { public int a; public int b; /* renamed from: c reason: collision with root package name */ - public final int f846c; + public final int f705c; - public c(int i, int i2, int i3) { + public d(int i, int i2, int i3) { this.a = i; this.b = i2; - this.f846c = i3; + this.f705c = 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/b3/r/a.java similarity index 66% rename from app/src/main/java/c/i/a/c/e2/q/a.java rename to app/src/main/java/c/i/a/c/b3/r/a.java index 98ea7e4689..0698fc01c3 100644 --- a/app/src/main/java/c/i/a/c/e2/q/a.java +++ b/app/src/main/java/c/i/a/c/b3/r/a.java @@ -1,21 +1,24 @@ -package c.i.a.c.e2.q; +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.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 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; @@ -25,7 +28,7 @@ import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; /* compiled from: SsaDecoder */ -public final class a extends d { +public final class a extends f { public static final Pattern n = Pattern.compile("(?:(\\d+):)?(\\d+):(\\d+)[:.](\\d+)"); public final boolean o; @Nullable @@ -34,7 +37,7 @@ public final class a extends d { public float r = -3.4028235E38f; /* renamed from: s reason: collision with root package name */ - public float f847s = -3.4028235E38f; + public float f706s = -3.4028235E38f; public a(@Nullable List list) { super("SsaDecoder"); @@ -44,15 +47,15 @@ public final class a extends d { return; } this.o = true; - String l = f0.l(list.get(0)); - c.c.a.a0.d.k(l.startsWith("Format:")); + 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 w(list.get(1))); + m(new x(list.get(1))); } - public static int k(long j, List list, List> list2) { + public static int k(long j, List list, List> list2) { int i; int size = list.size() - 1; while (true) { @@ -90,14 +93,14 @@ public final class a extends d { return -9223372036854775807L; } String group = matcher.group(1); - int i = f0.a; + 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.e2.d - public f j(byte[] bArr, int i, boolean z2) { - w wVar; + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) { + x xVar; b bVar; long j; float f; @@ -113,16 +116,18 @@ public final class a extends d { float f5; int i7; int i8; + int i9; + int i10; a aVar = this; ArrayList arrayList = new ArrayList(); ArrayList arrayList2 = new ArrayList(); - w wVar2 = new w(bArr, i); + x xVar2 = new x(bArr, i); if (!aVar.o) { - aVar.m(wVar2); + aVar.m(xVar2); } b bVar2 = aVar.o ? aVar.p : null; while (true) { - String g = wVar2.g(); + String g = xVar2.g(); if (g == null) { return new d(arrayList, arrayList2); } @@ -131,29 +136,29 @@ public final class a extends d { } else { if (g.startsWith("Dialogue:")) { if (bVar2 == null) { - c.d.b.a.a.k0("Skipping dialogue line before complete format: ", g, "SsaDecoder"); + Log.w("SsaDecoder", g.length() != 0 ? "Skipping dialogue line before complete format: ".concat(g) : new String("Skipping dialogue line before complete format: ")); } else { - c.c.a.a0.d.k(g.startsWith("Dialogue:")); + d.j(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"); + 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) { - c.d.b.a.a.k0("Skipping invalid timing: ", g, "SsaDecoder"); + 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) { - c.d.b.a.a.k0("Skipping invalid timing: ", g, "SsaDecoder"); + 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 || (i8 = bVar2.f848c) == -1) ? null : map.get(split[i8].trim()); + 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 i9 = -1; + int i11 = -1; while (true) { - wVar = wVar2; + xVar = xVar2; if (matcher.find()) { String group = matcher.group(1); Objects.requireNonNull(group); @@ -169,26 +174,26 @@ public final class a extends d { if (matcher2.find()) { String group2 = matcher2.group(1); Objects.requireNonNull(group2); - i7 = c.a(group2); + i9 = c.a(group2); } else { - i7 = -1; + i9 = -1; } - if (i7 != -1) { - i9 = i7; + if (i9 != -1) { + i11 = i9; } } catch (RuntimeException unused2) { } - wVar2 = wVar; + 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.f847s; + float f7 = aVar.f706s; SpannableString spannableString = new SpannableString(replace); if (cVar != null) { - if (cVar.f849c != null) { + if (cVar.f708c != null) { bVar = bVar2; j = n3; - spannableString.setSpan(new ForegroundColorSpan(cVar.f849c.intValue()), 0, spannableString.length(), 33); + spannableString.setSpan(new ForegroundColorSpan(cVar.f708c.intValue()), 0, spannableString.length(), 33); } else { bVar = bVar2; j = n3; @@ -204,15 +209,25 @@ public final class a extends d { 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; @@ -223,13 +238,13 @@ public final class a extends d { i2 = Integer.MIN_VALUE; f = -3.4028235E38f; } - if (i9 == i3) { - i9 = cVar != null ? cVar.b : i3; + if (i11 == i3) { + i11 = cVar != null ? cVar.b : i3; } - switch (i9) { + switch (i11) { case 0: default: - Log.w("SsaDecoder", c.d.b.a.a.l("Unknown alignment: ", i9)); + Log.w("SsaDecoder", c.d.b.a.a.f(30, "Unknown alignment: ", i11)); case -1: alignment = null; break; @@ -249,10 +264,10 @@ public final class a extends d { alignment = Layout.Alignment.ALIGN_OPPOSITE; break; } - switch (i9) { + switch (i11) { case 0: default: - Log.w("SsaDecoder", c.d.b.a.a.l("Unknown alignment: ", i9)); + Log.w("SsaDecoder", c.d.b.a.a.f(30, "Unknown alignment: ", i11)); case -1: i4 = Integer.MIN_VALUE; break; @@ -272,10 +287,10 @@ public final class a extends d { i4 = 2; break; } - switch (i9) { + switch (i11) { case 0: default: - Log.w("SsaDecoder", c.d.b.a.a.l("Unknown alignment: ", i9)); + Log.w("SsaDecoder", c.d.b.a.a.f(30, "Unknown alignment: ", i11)); case -1: i5 = Integer.MIN_VALUE; break; @@ -302,14 +317,14 @@ public final class a extends d { 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); + 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(cVar2); + ((List) arrayList.get(k2)).add(bVar3); } aVar = this; bVar2 = bVar; - wVar2 = wVar; + xVar2 = xVar; } } } @@ -317,44 +332,40 @@ public final class a extends d { } } } - wVar = wVar2; + xVar = xVar2; bVar = bVar2; aVar = this; bVar2 = bVar; - wVar2 = wVar; + xVar2 = xVar; } } } /* 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) { + /* 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 = wVar.g(); + String g = xVar.g(); if (g != null) { int i = 91; char c3 = 2; - char c4 = 1; + char c4 = 0; if ("[Script Info]".equalsIgnoreCase(g)) { while (true) { - String g2 = wVar.g(); - if (g2 != null && (wVar.a() == 0 || wVar.c() != 91)) { + String g2 = xVar.g(); + if (g2 != null && (xVar.a() == 0 || xVar.c() != 91)) { String[] split = g2.split(":"); if (split.length == 2) { - String K = f0.K(split[0].trim()); - K.hashCode(); - if (K.equals("playresx")) { + 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 (K.equals("playresy")) { + } else if (d1.equals("playresy")) { try { - this.f847s = Float.parseFloat(split[1].trim()); + this.f706s = Float.parseFloat(split[1].trim()); } catch (NumberFormatException unused) { } } @@ -366,8 +377,8 @@ public final class a extends d { while (true) { c.a aVar = null; while (true) { - String g3 = wVar.g(); - if (g3 != null && (wVar.a() == 0 || wVar.c() != i)) { + 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; @@ -376,122 +387,162 @@ public final class a extends d { 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()) { + 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 (K2.equals("italic")) { + if (d12.equals("italic")) { c2 = 0; break; } c2 = 65535; break; - case -70925746: - if (K2.equals("primarycolour")) { + case -1026963764: + if (d12.equals("underline")) { c2 = 1; break; } c2 = 65535; break; - case 3029637: - if (K2.equals("bold")) { + case -192095652: + if (d12.equals("strikeout")) { c2 = 2; break; } c2 = 65535; break; - case 3373707: - if (K2.equals(ModelAuditLogEntry.CHANGE_KEY_NAME)) { + case -70925746: + if (d12.equals("primarycolour")) { c2 = 3; break; } c2 = 65535; break; - case 366554320: - if (K2.equals("fontsize")) { + case 3029637: + if (d12.equals("bold")) { c2 = 4; break; } c2 = 65535; break; - case 1767875043: - if (K2.equals("alignment")) { + 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; } - 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; + 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, split2.length); - i = 91; - } else { - i = 91; + aVar = new c.a(i2, i3, i4, i5, i6, i7, i8, i9, split2.length); } } else { if (g3.startsWith("Style:")) { if (aVar == null) { - c.d.b.a.a.k0("Skipping 'Style:' line before 'Format:' line: ", g3, "SsaDecoder"); + Log.w("SsaDecoder", g3.length() != 0 ? "Skipping 'Style:' line before 'Format:' line: ".concat(g3) : new String("Skipping 'Style:' line before 'Format:' line: ")); } else { - c.c.a.a0.d.k(g3.startsWith("Style:")); + d.j(g3.startsWith("Style:")); String[] split3 = TextUtils.split(g3.substring(6), ","); int length = split3.length; - int i9 = aVar.g; - if (length != i9) { + int i11 = aVar.i; + if (length != i11) { Object[] objArr = new Object[3]; - objArr[0] = Integer.valueOf(i9); - objArr[c4] = Integer.valueOf(split3.length); + objArr[c4] = Integer.valueOf(i11); + objArr[1] = Integer.valueOf(split3.length); objArr[c3] = g3; - Log.w("SsaStyle", f0.k("Skipping malformed 'Style:' line (expected %s values, found %s): '%s'", objArr)); + 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 i10 = aVar.b; - int a = i10 != -1 ? c.a(split3[i10].trim()) : -1; - int i11 = aVar.f850c; - Integer c5 = i11 != -1 ? c.c(split3[i11].trim()) : null; - int i12 = aVar.d; - if (i12 != -1) { - String trim2 = split3[i12].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) { - p.c("SsaStyle", "Failed to parse font size: '" + trim2 + "'", 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 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); + 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 i13 = aVar.e; - if (i13 == -1) { + int i15 = aVar.e; + if (i15 == -1) { } - int i14 = aVar.f; - cVar = new c(trim, a, c5, f, b, i14 == -1 ? c.b(split3[i14].trim()) : false); + 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) { - p.c("SsaStyle", "Skipping malformed 'Style:' line: '" + g3 + "'", e2); + q.c("SsaStyle", c.d.b.a.a.j(g3.length() + 36, "Skipping malformed 'Style:' line: '", g3, "'"), e2); } if (cVar != null) { } @@ -503,7 +554,7 @@ public final class a extends d { } i = 91; c3 = 2; - c4 = 1; + c4 = 0; } } } diff --git a/app/src/main/java/c/i/a/c/e2/q/b.java b/app/src/main/java/c/i/a/c/b3/r/b.java similarity index 81% rename from app/src/main/java/c/i/a/c/e2/q/b.java rename to app/src/main/java/c/i/a/c/b3/r/b.java index 4a5c4c2d0e..1c240aa78b 100644 --- a/app/src/main/java/c/i/a/c/e2/q/b.java +++ b/app/src/main/java/c/i/a/c/b3/r/b.java @@ -1,24 +1,24 @@ -package c.i.a.c.e2.q; +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.c.i2.f0; +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 f848c; + 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.f848c = i3; + this.f707c = i3; this.d = i4; this.e = i5; } @@ -27,39 +27,39 @@ public final class b { @Nullable public static b a(String str) { char c2; - d.k(str.startsWith("Format:")); + 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 K = f0.K(split[i5].trim()); - K.hashCode(); - switch (K.hashCode()) { + String d1 = f.d1(split[i5].trim()); + d1.hashCode(); + switch (d1.hashCode()) { case 100571: - if (K.equals("end")) { + if (d1.equals("end")) { c2 = 0; break; } c2 = 65535; break; case 3556653: - if (K.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { + if (d1.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { c2 = 1; break; } c2 = 65535; break; case 109757538: - if (K.equals("start")) { + if (d1.equals("start")) { c2 = 2; break; } c2 = 65535; break; case 109780401: - if (K.equals("style")) { + if (d1.equals("style")) { c2 = 3; break; } diff --git a/app/src/main/java/c/i/a/c/e2/q/c.java b/app/src/main/java/c/i/a/c/b3/r/c.java similarity index 69% rename from app/src/main/java/c/i/a/c/e2/q/c.java rename to app/src/main/java/c/i/a/c/b3/r/c.java index 1f481b4dcd..de00b3e1cd 100644 --- a/app/src/main/java/c/i/a/c/e2/q/c.java +++ b/app/src/main/java/c/i/a/c/b3/r/c.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.q; +package c.i.a.c.b3.r; import android.graphics.Color; import android.graphics.PointF; @@ -6,8 +6,9 @@ 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 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; @@ -19,10 +20,12 @@ public final class c { @ColorInt /* renamed from: c reason: collision with root package name */ - public final Integer f849c; + 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 { @@ -30,30 +33,34 @@ public final class c { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f850c; + 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) { + 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.f850c = i3; + 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(f0.k("\\\\pos\\((%1$s),(%1$s)\\)", "\\s*\\d+(?:\\.\\d+)?\\s*")); + 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 f851c = 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 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 @@ -61,12 +68,16 @@ public final class c { String str2; String str3; Matcher matcher = b.matcher(str); - Matcher matcher2 = f851c.matcher(str); + Matcher matcher2 = f710c.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 + "'"); + 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); @@ -83,13 +94,15 @@ public final class c { } } - public c(String str, int i, @Nullable @ColorInt Integer num, float f, boolean z2, boolean z3) { + 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.f849c = num; + this.f708c = num; this.d = f; this.e = z2; this.f = z3; + this.g = z4; + this.h = z5; } public static int a(String str) { @@ -117,7 +130,8 @@ public final class c { } } catch (NumberFormatException unused) { } - c.d.b.a.a.k0("Ignoring unknown alignment: ", str, "SsaStyle"); + String valueOf = String.valueOf(str); + Log.w("SsaStyle", valueOf.length() != 0 ? "Ignoring unknown alignment: ".concat(valueOf) : new String("Ignoring unknown alignment: ")); return -1; } @@ -126,7 +140,7 @@ public final class c { int parseInt = Integer.parseInt(str); return parseInt == 1 || parseInt == -1; } catch (NumberFormatException e) { - p.c("SsaStyle", "Failed to parse bold/italic: '" + str + "'", 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; } } @@ -136,10 +150,10 @@ public final class c { 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))); + 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) { - p.c("SsaStyle", "Failed to parse color expression: '" + str + "'", 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/e2/q/d.java b/app/src/main/java/c/i/a/c/b3/r/d.java similarity index 77% rename from app/src/main/java/c/i/a/c/e2/q/d.java rename to app/src/main/java/c/i/a/c/b3/r/d.java index 0cc0a0dcc0..8a4a459c93 100644 --- a/app/src/main/java/c/i/a/c/e2/q/d.java +++ b/app/src/main/java/c/i/a/c/b3/r/d.java @@ -1,26 +1,26 @@ -package c.i.a.c.e2.q; +package c.i.a.c.b3.r; -import c.i.a.c.e2.c; -import c.i.a.c.e2.f; -import c.i.a.c.i2.f0; +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 f { - public final List> i; +public final class d implements g { + public final List> i; public final List j; - public d(List> list, List list2) { + public d(List> list, List list2) { this.i = list; this.j = list2; } - @Override // c.i.a.c.e2.f + @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 = f0.a; + int i2 = e0.a; int binarySearch = Collections.binarySearch(list, valueOf); if (binarySearch < 0) { i = ~binarySearch; @@ -40,23 +40,23 @@ public final class d implements f { return -1; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public long g(int i) { boolean z2 = true; - c.c.a.a0.d.k(i >= 0); + c.c.a.a0.d.j(i >= 0); if (i >= this.j.size()) { z2 = false; } - c.c.a.a0.d.k(z2); + c.c.a.a0.d.j(z2); return this.j.get(i).longValue(); } - @Override // c.i.a.c.e2.f - public List h(long j) { + @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 = f0.a; + int i2 = e0.a; int binarySearch = Collections.binarySearch(list, valueOf); if (binarySearch < 0) { i = -(binarySearch + 2); @@ -72,7 +72,7 @@ public final class d implements f { return i == -1 ? Collections.emptyList() : this.i.get(i); } - @Override // c.i.a.c.e2.f + @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/e2/r/a.java b/app/src/main/java/c/i/a/c/b3/s/a.java similarity index 87% rename from app/src/main/java/c/i/a/c/e2/r/a.java rename to app/src/main/java/c/i/a/c/b3/s/a.java index c75492da49..86b94243fd 100644 --- a/app/src/main/java/c/i/a/c/e2/r/a.java +++ b/app/src/main/java/c/i/a/c/b3/s/a.java @@ -1,21 +1,21 @@ -package c.i.a.c.e2.r; +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.e2.c; -import c.i.a.c.e2.d; -import c.i.a.c.e2.f; -import c.i.a.c.i2.w; +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 d { +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(); @@ -54,27 +54,28 @@ public final class a extends d { } /* 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; + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) { + x xVar; int i2; + x xVar2; long[] jArr; - c cVar; + b bVar; char c2; char c3; a aVar = this; ArrayList arrayList = new ArrayList(); long[] jArr2 = new long[32]; - w wVar2 = new w(bArr, i); + x xVar3 = new x(bArr, i); int i3 = 0; int i4 = 0; while (true) { - String g = wVar2.g(); + String g = xVar3.g(); if (g != null) { if (g.length() != 0) { try { Integer.parseInt(g); - String g2 = wVar2.g(); + String g2 = xVar3.g(); if (g2 == null) { Log.w("SubripDecoder", "Unexpected end"); } else { @@ -94,7 +95,7 @@ public final class a extends d { jArr2[i5] = l2; aVar.p.setLength(i3); aVar.q.clear(); - for (String g3 = wVar2.g(); !TextUtils.isEmpty(g3); g3 = wVar2.g()) { + for (String g3 = xVar3.g(); !TextUtils.isEmpty(g3); g3 = xVar3.g()) { if (aVar.p.length() > 0) { aVar.p.append("
"); } @@ -128,13 +129,13 @@ public final class a extends d { } } 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); + 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; - wVar = wVar2; + xVar2 = xVar3; i2 = i6; } else { jArr = jArr2; - wVar = wVar2; + xVar2 = xVar3; switch (str.hashCode()) { case -685620710: if (str.equals("{\\an1}")) { @@ -274,27 +275,30 @@ public final class a extends d { 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); + 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(cVar); - arrayList.add(c.a); + arrayList.add(bVar); + arrayList.add(b.i); + aVar = this; jArr2 = jArr; + xVar3 = xVar2; i4 = i2; + i3 = 0; } else { - wVar = wVar2; - c.d.b.a.a.k0("Skipping invalid timing: ", g2, "SubripDecoder"); + xVar = xVar3; + Log.w("SubripDecoder", g2.length() != 0 ? "Skipping invalid timing: ".concat(g2) : new String("Skipping invalid timing: ")); + aVar = this; + xVar3 = xVar; + i3 = 0; } - i3 = 0; - aVar = this; - wVar2 = wVar; } } catch (NumberFormatException unused) { - wVar = wVar2; - c.d.b.a.a.k0("Skipping invalid index: ", g, "SubripDecoder"); + xVar = xVar3; + Log.w("SubripDecoder", g.length() != 0 ? "Skipping invalid index: ".concat(g) : new String("Skipping invalid index: ")); } } } } - return new b((c[]) arrayList.toArray(new c[0]), Arrays.copyOf(jArr2, i4)); + 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/e2/s/a.java b/app/src/main/java/c/i/a/c/b3/t/a.java similarity index 73% rename from app/src/main/java/c/i/a/c/e2/s/a.java rename to app/src/main/java/c/i/a/c/b3/t/a.java index 09135e7318..8d9f59c341 100644 --- a/app/src/main/java/c/i/a/c/e2/s/a.java +++ b/app/src/main/java/c/i/a/c/b3/t/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.s; +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/e2/s/b.java b/app/src/main/java/c/i/a/c/b3/t/b.java similarity index 58% rename from app/src/main/java/c/i/a/c/e2/s/b.java rename to app/src/main/java/c/i/a/c/b3/t/b.java index 0557ce3eea..6022cd188e 100644 --- a/app/src/main/java/c/i/a/c/e2/s/b.java +++ b/app/src/main/java/c/i/a/c/b3/t/b.java @@ -1,22 +1,22 @@ -package c.i.a.c.e2.s; +package c.i.a.c.b3.t; -import c.i.b.b.z; +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 z b = z.l(2, "auto", "none"); + public static final r b = r.l(2, "auto", "none"); /* renamed from: c reason: collision with root package name */ - public static final z f852c = 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 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 = z.j; + int i = r.j; } public b(int i, int i2, int 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/b3/t/c.java similarity index 65% rename from app/src/main/java/c/i/a/c/e2/s/c.java rename to app/src/main/java/c/i/a/c/b3/t/c.java index b69fab6dc2..82846c44fa 100644 --- a/app/src/main/java/c/i/a/c/e2/s/c.java +++ b/app/src/main/java/c/i/a/c/b3/t/c.java @@ -1,19 +1,20 @@ -package c.i.a.c.e2.s; +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.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.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.y0; -import c.i.b.b.z; +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; @@ -30,7 +31,7 @@ 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 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|%)$"); @@ -38,7 +39,7 @@ public final class c extends 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 f853s = Pattern.compile("^(\\d+\\.?\\d*?)px (\\d+\\.?\\d*?)px$"); + 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); @@ -59,22 +60,22 @@ public final class c extends d { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f854c; + public final int f713c; public b(float f, int i, int i2) { this.a = f; this.b = i; - this.f854c = i2; + this.f713c = 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 { + /* 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 C0096c(int i, int i2) { + public C0090c(int i, int i2) { this.a = i; this.b = i2; } @@ -99,14 +100,65 @@ public final class c extends d { 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 { + @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()) { - c.d.b.a.a.k0("Ignoring malformed cell resolution: ", attributeValue, "TtmlDecoder"); + Log.w("TtmlDecoder", attributeValue.length() != 0 ? "Ignoring malformed cell resolution: ".concat(attributeValue) : new String("Ignoring malformed cell resolution: ")); return aVar; } try { @@ -119,16 +171,21 @@ public final class c extends d { if (parseInt != 0 && parseInt2 != 0) { return new a(parseInt, parseInt2); } - throw new SubtitleDecoderException("Invalid cell resolution " + 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) { - c.d.b.a.a.k0("Ignoring malformed cell resolution: ", attributeValue, "TtmlDecoder"); + Log.w("TtmlDecoder", attributeValue.length() != 0 ? "Ignoring malformed cell resolution: ".concat(attributeValue) : new String("Ignoring malformed cell resolution: ")); return aVar; } } - public static void n(String str, f fVar) throws SubtitleDecoderException { + public static void o(String str, f fVar) throws SubtitleDecoderException { Matcher matcher; - int i = f0.a; + int i = e0.a; String[] split = str.split("\\s+", -1); if (split.length == 1) { matcher = p.matcher(str); @@ -136,7 +193,12 @@ public final class c extends d { 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, ".")); + 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); @@ -174,23 +236,23 @@ public final class c extends d { fVar.j = 1; break; default: - throw new SubtitleDecoderException(c.d.b.a.a.v("Invalid unit for fontSize: '", group, "'.")); + 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.v("Invalid expression for fontSize: '", str, "'.")); + throw new SubtitleDecoderException(c.d.b.a.a.j(str.length() + 36, "Invalid expression for fontSize: '", str, "'.")); } - public static b o(XmlPullParser xmlPullParser) throws SubtitleDecoderException { + 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 = f0.a; + int i = e0.a; String[] split = attributeValue2.split(" ", -1); if (split.length == 2) { f = ((float) Integer.parseInt(split[0])) / ((float) Integer.parseInt(split[1])); @@ -204,7 +266,7 @@ public final class c extends d { if (attributeValue3 != null) { i2 = Integer.parseInt(attributeValue3); } - int i3 = bVar.f854c; + int i3 = bVar.f713c; String attributeValue4 = xmlPullParser.getAttributeValue("http://www.w3.org/ns/ttml#parameter", "tickRate"); if (attributeValue4 != null) { i3 = Integer.parseInt(attributeValue4); @@ -212,11 +274,11 @@ public final class c extends d { 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; + /* 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; @@ -224,32 +286,32 @@ public final class c extends d { float f4; int i; float f5; - String t02; + String q02; 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)); + 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 = r2.l; + String str2 = s2.l; if (str2 != null) { - map.put(str2, r2); + map.put(str2, s2); } - } 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) { + } 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(t05); - Pattern pattern2 = f853s; - Matcher matcher2 = pattern2.matcher(t05); + Matcher matcher = pattern.matcher(q05); + Pattern pattern2 = f712s; + Matcher matcher2 = pattern2.matcher(q05); if (matcher.matches()) { try { String group = matcher.group(1); @@ -259,12 +321,12 @@ public final class c extends d { 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"); + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed origin: ".concat(q05) : new String("Ignoring region with malformed origin: ")); } } else if (!matcher2.matches()) { - c.d.b.a.a.k0("Ignoring region with unsupported origin: ", t05, "TtmlDecoder"); + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with unsupported origin: ".concat(q05) : new String("Ignoring region with unsupported origin: ")); } else if (cVar == null) { - c.d.b.a.a.k0("Ignoring region with missing tts:extent: ", t05, "TtmlDecoder"); + 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); @@ -278,13 +340,13 @@ public final class c extends d { f = f6; f2 = f7; } catch (NumberFormatException unused2) { - c.d.b.a.a.k0("Ignoring region with malformed origin: ", t05, "TtmlDecoder"); + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed origin: ".concat(q05) : new String("Ignoring region with malformed origin: ")); } } - String t06 = c.c.a.a0.d.t0(xmlPullParser, "extent"); - if (t06 != null) { - Matcher matcher3 = pattern.matcher(t06); - Matcher matcher4 = pattern2.matcher(t06); + 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); @@ -295,12 +357,12 @@ public final class c extends d { f3 = Float.parseFloat(group6) / 100.0f; f4 = parseFloat; } catch (NumberFormatException unused3) { - c.d.b.a.a.k0("Ignoring region with malformed extent: ", t05, "TtmlDecoder"); + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed extent: ".concat(q05) : new String("Ignoring region with malformed extent: ")); } } else if (!matcher4.matches()) { - c.d.b.a.a.k0("Ignoring region with unsupported extent: ", t05, "TtmlDecoder"); + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with unsupported extent: ".concat(q05) : new String("Ignoring region with unsupported extent: ")); } else if (cVar == null) { - c.d.b.a.a.k0("Ignoring region with missing tts:extent: ", t05, "TtmlDecoder"); + 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); @@ -312,58 +374,58 @@ public final class c extends d { 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"); + Log.w("TtmlDecoder", q05.length() != 0 ? "Ignoring region with malformed extent: ".concat(q05) : new String("Ignoring region with malformed extent: ")); } } - String t07 = c.c.a.a0.d.t0(xmlPullParser, "displayAlign"); - if (t07 != null) { - String K = f0.K(t07); - K.hashCode(); - if (K.equals("center")) { + 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 (K.equals("after")) { + } else if (d1.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(); + 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 && K2.equals("tbrl")) { + if (hashCode == 3553576 && d12.equals("tbrl")) { c2 = 2; if (c2 != 0 || c2 == 1) { i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); + 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(t04, f, f5, 0, i, f4, f3, 1, f8, i2); + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); if (eVar != null) { } } } - } else if (K2.equals("tblr")) { + } else if (d12.equals("tblr")) { c2 = 1; if (c2 != 0) { } i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); if (eVar != null) { } } - } else if (K2.equals("tb")) { + } else if (d12.equals("tb")) { c2 = 0; if (c2 != 0) { } i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); if (eVar != null) { } } @@ -371,23 +433,23 @@ public final class c extends d { if (c2 != 0) { } i2 = 2; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); + eVar = new e(q04, 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); + 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); - t02 = c.c.a.a0.d.t0(xmlPullParser, "writingMode"); - if (t02 != null) { + q02 = d.q0(xmlPullParser, "writingMode"); + if (q02 != null) { } i2 = Integer.MIN_VALUE; - eVar = new e(t04, f, f5, 0, i, f4, f3, 1, f8, i2); + eVar = new e(q04, f, f5, 0, i, f4, f3, 1, f8, i2); if (eVar != null) { } } else { @@ -400,26 +462,26 @@ public final class c extends d { eVar = null; if (eVar != null) { } - } else if (c.c.a.a0.d.b1(xmlPullParser, "metadata")) { + } else if (d.X0(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()); + if (d.X0(xmlPullParser, "image") && (q0 = d.q0(xmlPullParser, ModelAuditLogEntry.CHANGE_KEY_ID)) != null) { + map3.put(q0, xmlPullParser.nextText()); } - } while (!c.c.a.a0.d.U0(xmlPullParser, "metadata")); + } while (!d.Q0(xmlPullParser, "metadata")); } - } while (!c.c.a.a0.d.U0(xmlPullParser, "head")); + } while (!d.Q0(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 { + 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 r2 = r(xmlPullParser2, null); + f s2 = s(xmlPullParser2, null); String str = null; String str2 = ""; long j3 = -9223372036854775807L; @@ -480,15 +542,15 @@ public final class c extends d { } if (c2 != 0) { if (c2 == 1) { - j5 = t(attributeValue, bVar); + j5 = u(attributeValue, bVar); } else if (c2 == 2) { - j4 = t(attributeValue, bVar); + j4 = u(attributeValue, bVar); } else if (c2 == 3) { - j3 = t(attributeValue, bVar); + j3 = u(attributeValue, bVar); } else if (c2 == 4) { - String[] s2 = s(attributeValue); - if (s2.length > 0) { - strArr = s2; + String[] t2 = t(attributeValue); + if (t2.length > 0) { + strArr = t2; } } else if (c2 == 5 && attributeValue.startsWith("#")) { str = attributeValue.substring(1); @@ -522,28 +584,28 @@ public final class c extends d { j2 = j7; } } - return new d(xmlPullParser.getName(), null, j3, j2, r2, strArr, str2, str, dVar); + return new d(xmlPullParser.getName(), null, j3, j2, s2, strArr, str2, str, dVar); } j2 = j4; - return new d(xmlPullParser.getName(), null, j3, j2, r2, strArr, str2, str, dVar); + 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:95:0x01b3, code lost: - if (r3.equals("auto") != false) goto L_0x01b7; + /* 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: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) { + /* 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; @@ -551,6 +613,7 @@ public final class c extends d { 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); @@ -656,169 +719,132 @@ public final class c extends d { } c2 = 65535; break; + case 1754920356: + if (attributeName.equals("multiRowAlign")) { + c2 = 14; + break; + } + c2 = 65535; + break; default: c2 = 65535; break; } switch (c2) { case 0: - fVar = k(fVar); - fVar.i = "italic".equalsIgnoreCase(attributeValue) ? 1 : 0; + fVar2 = k(fVar2); + fVar2.i = "italic".equalsIgnoreCase(attributeValue) ? 1 : 0; break; case 1: - fVar = k(fVar); - fVar.a = attributeValue; + fVar2 = k(fVar2); + fVar2.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; - } + fVar2 = k(fVar2); + fVar2.o = m(attributeValue); + break; case 3: - String K2 = f0.K(attributeValue); - K2.hashCode(); - K2.hashCode(); - char c7 = 65535; - switch (K2.hashCode()) { + String d1 = c.i.a.f.e.o.f.d1(attributeValue); + d1.hashCode(); + switch (d1.hashCode()) { case -1461280213: - if (K2.equals("nounderline")) { - c7 = 0; + if (d1.equals("nounderline")) { + i2 = 0; break; } break; case -1026963764: - if (K2.equals("underline")) { - c7 = 1; + if (d1.equals("underline")) { + i2 = 1; break; } break; case 913457136: - if (K2.equals("nolinethrough")) { - c7 = 2; + if (d1.equals("nolinethrough")) { + i2 = 2; break; } break; case 1679736913: - if (K2.equals("linethrough")) { - c7 = 3; + if (d1.equals("linethrough")) { + i2 = 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; + 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: - fVar = k(fVar); - fVar.h = "bold".equalsIgnoreCase(attributeValue) ? 1 : 0; + fVar2 = k(fVar2); + fVar2.h = "bold".equalsIgnoreCase(attributeValue) ? 1 : 0; break; case 5: if ("style".equals(xmlPullParser.getName())) { - fVar = k(fVar); - fVar.l = attributeValue; + fVar2 = k(fVar2); + fVar2.l = attributeValue; break; } else { break; } case 6: - String K3 = f0.K(attributeValue); - K3.hashCode(); - switch (K3.hashCode()) { + String d12 = c.i.a.f.e.o.f.d1(attributeValue); + d12.hashCode(); + switch (d12.hashCode()) { case -618561360: - if (K3.equals("baseContainer")) { + if (d12.equals("baseContainer")) { i2 = 0; break; } break; case -410956671: - if (K3.equals("container")) { + if (d12.equals("container")) { i2 = 1; break; } break; case -250518009: - if (K3.equals("delimiter")) { + if (d12.equals("delimiter")) { i2 = 2; break; } break; case -136074796: - if (K3.equals("textContainer")) { + if (d12.equals("textContainer")) { i2 = 3; break; } break; case 3016401: - if (K3.equals("base")) { + if (d12.equals("base")) { i2 = 4; break; } break; case 3556653: - if (K3.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { + if (d12.equals(NotificationCompat.MessagingStyle.Message.KEY_TEXT)) { i2 = 5; break; } @@ -834,85 +860,89 @@ public final class c extends d { } } } - fVar = k(fVar); - fVar.m = 3; + fVar2 = k(fVar2); + fVar2.m = 3; break; } else { - fVar = k(fVar); - fVar.m = 4; + fVar2 = k(fVar2); + fVar2.m = 4; break; } } else { - fVar = k(fVar); - fVar.m = 1; + fVar2 = k(fVar2); + fVar2.m = 1; break; } } - fVar = k(fVar); - fVar.m = 2; + fVar2 = k(fVar2); + fVar2.m = 2; break; case 7: - fVar = k(fVar); + fVar2 = k(fVar2); try { - fVar.b = i.a(attributeValue, false); - fVar.f857c = true; + fVar2.b = i.a(attributeValue, false); + fVar2.f716c = true; break; } catch (IllegalArgumentException unused) { - c.d.b.a.a.k0("Failed parsing color value: ", attributeValue, "TtmlDecoder"); + 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': - fVar = k(fVar); + f k = k(fVar2); 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"); + 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) { - p.c("TtmlDecoder", "Failed to parse shear: " + attributeValue, 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); } } - fVar.r = f; + k.f717s = f; + fVar2 = k; break; case '\t': - String K4 = f0.K(attributeValue); - K4.hashCode(); - if (!K4.equals("all")) { - if (!K4.equals("none")) { + String d13 = c.i.a.f.e.o.f.d1(attributeValue); + d13.hashCode(); + if (!d13.equals("all")) { + if (!d13.equals("none")) { break; } else { - fVar = k(fVar); - fVar.p = 0; + fVar2 = k(fVar2); + fVar2.q = 0; break; } } else { - fVar = k(fVar); - fVar.p = 1; + fVar2 = k(fVar2); + fVar2.q = 1; break; } case '\n': try { - fVar = k(fVar); - n(attributeValue, fVar); + fVar2 = k(fVar2); + o(attributeValue, fVar2); break; } catch (SubtitleDecoderException unused2) { - c.d.b.a.a.k0("Failed parsing fontSize value: ", attributeValue, "TtmlDecoder"); + 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: - fVar = k(fVar); - String K5 = f0.K(attributeValue); + fVar2 = k(fVar2); 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"); + 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) { @@ -921,7 +951,7 @@ public final class c extends d { 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(); + String next = new n0(aVar).next(); int hashCode3 = next.hashCode(); if (hashCode3 == 3005871) { break; @@ -937,16 +967,16 @@ public final class c extends d { } bVar = new b(i2, 0, i3); } else { - a1 b2 = h.b(b.d, n2); - a1 b3 = h.b(b.f852c, n2); + 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.c.K(b2, "filled"); + 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.c.K(b3, "circle"); + String str3 = (String) c.i.a.f.e.o.f.b0(b3, "circle"); hashCode = str3.hashCode(); if (hashCode != -1360216880) { if (hashCode != -905816648) { @@ -959,26 +989,26 @@ public final class c extends d { } else if (str3.equals("circle")) { i2 = 2; } - bVar2 = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); + 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.c.K(b3, "circle"); + String str3 = (String) c.i.a.f.e.o.f.b0(b3, "circle"); hashCode = str3.hashCode(); if (hashCode != -1360216880) { } - bVar2 = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); + 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.c.K(b3, "circle"); + String str3 = (String) c.i.a.f.e.o.f.b0(b3, "circle"); hashCode = str3.hashCode(); if (hashCode != -1360216880) { } - bVar2 = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); + bVar = new b(i2 != 0 ? i2 != 1 ? 1 : 3 : 2, i4, i3); } else { bVar = new b(-1, 0, i3); } @@ -1012,54 +1042,58 @@ public final class c extends d { bVar2 = bVar; } } - fVar.q = bVar2; + fVar2.r = bVar2; break; case '\f': - String K6 = f0.K(attributeValue); - K6.hashCode(); - if (!K6.equals("before")) { - if (!K6.equals("after")) { + String d15 = c.i.a.f.e.o.f.d1(attributeValue); + d15.hashCode(); + if (!d15.equals("before")) { + if (!d15.equals("after")) { break; } else { - fVar = k(fVar); - fVar.n = 2; + fVar2 = k(fVar2); + fVar2.n = 2; break; } } else { - fVar = k(fVar); - fVar.n = 1; + fVar2 = k(fVar2); + fVar2.n = 1; break; } case '\r': - fVar = k(fVar); + fVar2 = k(fVar2); try { - fVar.d = i.a(attributeValue, false); - fVar.e = true; + fVar2.d = i.a(attributeValue, false); + fVar2.e = true; break; } catch (IllegalArgumentException unused3) { - c.d.b.a.a.k0("Failed parsing background value: ", attributeValue, "TtmlDecoder"); + 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 fVar; + return fVar2; } - public static String[] s(String str) { + public static String[] t(String str) { String trim = str.trim(); if (trim.isEmpty()) { return new String[0]; } - int i = f0.a; + 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:0x00ab, code lost: - if (r13.equals("ms") == false) goto L_0x00da; + /* JADX WARNING: Code restructure failed: missing block: B:21:0x00ad, code lost: + if (r13.equals("ms") == false) goto L_0x00a5; */ - public static long t(String str, b bVar) throws SubtitleDecoderException { - double parseDouble; + public static long u(String str, b bVar) throws SubtitleDecoderException { double d; double d2; Matcher matcher = n.matcher(str); @@ -1074,95 +1108,96 @@ public final class c extends d { 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); + double parseDouble = 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); + 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); } - 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.f854c; - 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) ((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: ")); } - 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) { + public static C0090c v(XmlPullParser xmlPullParser) { + String q0 = d.q0(xmlPullParser, "extent"); + if (q0 == null) { return null; } - Matcher matcher = f853s.matcher(t0); + Matcher matcher = f712s.matcher(q0); if (!matcher.matches()) { - c.d.b.a.a.k0("Ignoring non-pixel tts extent: ", t0, "TtmlDecoder"); + Log.w("TtmlDecoder", q0.length() != 0 ? "Ignoring non-pixel tts extent: ".concat(q0) : new String("Ignoring non-pixel tts extent: ")); return null; } try { @@ -1171,15 +1206,15 @@ public final class c extends d { int parseInt = Integer.parseInt(group); String group2 = matcher.group(2); Objects.requireNonNull(group2); - return new C0096c(parseInt, Integer.parseInt(group2)); + return new C0090c(parseInt, Integer.parseInt(group2)); } catch (NumberFormatException unused) { - c.d.b.a.a.k0("Ignoring malformed tts extent: ", t0, "TtmlDecoder"); + 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.e2.d - public f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { + @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(); @@ -1187,7 +1222,7 @@ public final class c extends d { 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; + C0090c cVar = null; newPullParser.setInput(new ByteArrayInputStream(bArr, 0, i), null); ArrayDeque arrayDeque = new ArrayDeque(); b bVar2 = u; @@ -1200,27 +1235,28 @@ public final class c extends d { String name = newPullParser.getName(); if (eventType == 2) { if ("tt".equals(name)) { - bVar2 = o(newPullParser); - aVar = m(newPullParser, v); - cVar = u(newPullParser); + bVar2 = p(newPullParser); + aVar = n(newPullParser, v); + cVar = v(newPullParser); } if (!l(name)) { - Log.i("TtmlDecoder", "Ignoring unsupported tag: " + newPullParser.getName()); + 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; - p(newPullParser, hashMap, aVar, cVar, hashMap2, hashMap3); + q(newPullParser, hashMap, aVar, cVar, hashMap2, hashMap3); } else { bVar = bVar2; try { - d q2 = q(newPullParser, dVar, hashMap2, bVar); - arrayDeque.push(q2); + d r2 = r(newPullParser, dVar, hashMap2, bVar); + arrayDeque.push(r2); if (dVar != null) { - dVar.a(q2); + dVar.a(r2); } } catch (SubtitleDecoderException e) { - p.c("TtmlDecoder", "Suppressing parser error", e); + q.c("TtmlDecoder", "Suppressing parser error", e); i2++; } } diff --git a/app/src/main/java/c/i/a/c/e2/s/d.java b/app/src/main/java/c/i/a/c/b3/t/d.java similarity index 74% rename from app/src/main/java/c/i/a/c/e2/s/d.java rename to app/src/main/java/c/i/a/c/b3/t/d.java index 276a5e1654..0ea967b908 100644 --- a/app/src/main/java/c/i/a/c/e2/s/d.java +++ b/app/src/main/java/c/i/a/c/b3/t/d.java @@ -1,5 +1,6 @@ -package c.i.a.c.e2.s; +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; @@ -12,10 +13,10 @@ 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 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; @@ -32,7 +33,7 @@ public final class d { public final String b; /* renamed from: c reason: collision with root package name */ - public final boolean f855c; + public final boolean f714c; public final long d; public final long e; @Nullable @@ -54,7 +55,7 @@ public final class d { this.i = str4; this.f = fVar; this.g = strArr; - this.f855c = str2 != null; + this.f714c = str2 != null; this.d = j; this.e = j2; Objects.requireNonNull(str3); @@ -68,9 +69,9 @@ public final class d { 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) { + public static SpannableStringBuilder f(String str, Map map) { if (!map.containsKey(str)) { - c.b bVar = new c.b(); + b.C0086b bVar = new b.C0086b(); bVar.a = new SpannableStringBuilder(); map.put(str, bVar); } @@ -140,15 +141,18 @@ public final class d { 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) { + /* 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; @@ -159,46 +163,46 @@ public final class d { 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); + b.C0086b 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); + 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 (R1 != null) { + if (R12 != null) { d dVar2 = this.j; - if (R1.b() != -1) { - spannableStringBuilder.setSpan(new StyleSpan(R1.b()), intValue, intValue2, 33); + if (R12.b() != -1) { + spannableStringBuilder.setSpan(new StyleSpan(R12.b()), intValue, intValue2, 33); } - if (R1.f == 1) { + if (R12.f == 1) { spannableStringBuilder.setSpan(new StrikethroughSpan(), intValue, intValue2, 33); } - if (R1.g == 1) { + if (R12.g == 1) { spannableStringBuilder.setSpan(new UnderlineSpan(), intValue, intValue2, 33); } - if (R1.f857c) { - if (R1.f857c) { - c.c.a.a0.d.c(spannableStringBuilder, new ForegroundColorSpan(R1.b), 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 (R1.e) { - if (R1.e) { - c.c.a.a0.d.c(spannableStringBuilder, new BackgroundColorSpan(R1.d), intValue, intValue2, 33); + 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 (R1.a != null) { - c.c.a.a0.d.c(spannableStringBuilder, new TypefaceSpan(R1.a), intValue, intValue2, 33); + if (R12.a != null) { + c.c.a.a0.d.c(spannableStringBuilder, new TypefaceSpan(R12.a), intValue, intValue2, 33); } - b bVar2 = R1.q; + b bVar2 = R12.r; if (bVar2 != null) { int i4 = bVar2.f; it = it2; @@ -212,19 +216,19 @@ public final class d { 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); + 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 = R1.m; + int i6 = R12.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) { + f R13 = c.c.a.a0.d.R1(dVar2.f, dVar2.g, map); + if (R13 != null && R13.m == 1) { break; } dVar2 = dVar2.j; @@ -238,8 +242,8 @@ public final class d { 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) { + f R14 = c.c.a.a0.d.R1(dVar3.f, dVar3.g, map); + if (R14 != null && R14.m == 3) { dVar = dVar3; break; } @@ -252,42 +256,56 @@ public final class d { 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) { + 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 = R1.j; + i = R12.j; if (i == 1) { - c.c.a.a0.d.c(spannableStringBuilder, new AbsoluteSizeSpan((int) R1.k, true), intValue, intValue2, 33); + 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(R1.k), intValue, intValue2, 33); + 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(R1.k / 100.0f), intValue, intValue2, 33); + c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(R12.k / 100.0f), intValue, intValue2, 33); } - if (R1.r != Float.MAX_VALUE && "p".equals(this.a)) { - bVar.p = (R1.r * -90.0f) / 100.0f; + 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; + } } - bVar.f821c = R1.o; it2 = it; } } else { z2 = false; } Log.i("TtmlRenderUtil", "Skipping rubyText node without exactly one text child."); - if (R1.p == 1) { + if (R12.q == 1) { } if (z2) { } - i = R1.j; + i = R12.j; if (i == 1) { } - bVar.p = (R1.r * -90.0f) / 100.0f; - bVar.f821c = R1.o; + if ("p".equals(this.a)) { + } it2 = it; } } @@ -295,35 +313,35 @@ public final class d { spannableStringBuilder.setSpan(new a(), intValue, intValue2, 33); } z2 = false; - if (R1.p == 1) { + if (R12.q == 1) { } if (z2) { } - i = R1.j; + i = R12.j; if (i == 1) { } - bVar.p = (R1.r * -90.0f) / 100.0f; - bVar.f821c = R1.o; + if ("p".equals(this.a)) { + } it2 = it; } } it = it2; it2 = it; } - for (int i8 = 0; i8 < d(); i8++) { - c(i8).i(j, map, map2, str2, map3); + 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) { + 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.f855c && z2) { + if (this.f714c && z2) { SpannableStringBuilder f = f(str, map); String str2 = this.b; Objects.requireNonNull(str2); @@ -331,7 +349,7 @@ public final class d { } else if ("br".equals(this.a) && z2) { f(str, map).append('\n'); } else if (g(j)) { - for (Map.Entry entry : map.entrySet()) { + for (Map.Entry entry : map.entrySet()) { CharSequence charSequence = entry.getValue().a; Objects.requireNonNull(charSequence); this.k.put(entry.getKey(), Integer.valueOf(charSequence.length())); @@ -353,7 +371,7 @@ public final class d { f2.append('\n'); } } - for (Map.Entry entry2 : map.entrySet()) { + 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/b3/t/e.java similarity index 89% rename from app/src/main/java/c/i/a/c/e2/s/e.java rename to app/src/main/java/c/i/a/c/b3/t/e.java index bca31c0754..586799ebb8 100644 --- a/app/src/main/java/c/i/a/c/e2/s/e.java +++ b/app/src/main/java/c/i/a/c/b3/t/e.java @@ -1,11 +1,11 @@ -package c.i.a.c.e2.s; +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 f856c; + public final float f715c; public final int d; public final int e; public final float f; @@ -17,7 +17,7 @@ public final class e { 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.f856c = f2; + this.f715c = f2; this.d = i; this.e = i2; this.f = f3; diff --git a/app/src/main/java/c/i/a/c/e2/s/f.java b/app/src/main/java/c/i/a/c/b3/t/f.java similarity index 72% rename from app/src/main/java/c/i/a/c/e2/s/f.java rename to app/src/main/java/c/i/a/c/b3/t/f.java index 3cd54d866e..ae0e81405f 100644 --- a/app/src/main/java/c/i/a/c/e2/s/f.java +++ b/app/src/main/java/c/i/a/c/b3/t/f.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.s; +package c.i.a.c.b3.t; import android.text.Layout; import androidx.annotation.Nullable; @@ -9,7 +9,7 @@ public final class f { public int b; /* renamed from: c reason: collision with root package name */ - public boolean f857c; + public boolean f716c; public int d; public boolean e; public int f = -1; @@ -24,19 +24,24 @@ public final class f { public int n = -1; @Nullable public Layout.Alignment o; - public int p = -1; @Nullable - public b q; - public float r = Float.MAX_VALUE; + 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.f857c && fVar.f857c) { + if (!this.f716c && fVar.f716c) { this.b = fVar.b; - this.f857c = true; + this.f716c = true; } if (this.h == -1) { this.h = fVar.h; @@ -56,22 +61,25 @@ public final class f { if (this.n == -1) { this.n = fVar.n; } - if (this.o == null && (alignment = fVar.o) != null) { - this.o = alignment; + if (this.o == null && (alignment2 = fVar.o) != null) { + this.o = alignment2; } - if (this.p == -1) { - this.p = fVar.p; + 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.q == null) { - this.q = fVar.q; - } - if (this.r == Float.MAX_VALUE) { + 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; diff --git a/app/src/main/java/c/i/a/c/e2/s/g.java b/app/src/main/java/c/i/a/c/b3/t/g.java similarity index 85% rename from app/src/main/java/c/i/a/c/e2/s/g.java rename to app/src/main/java/c/i/a/c/b3/t/g.java index b0553647b4..493b8710df 100644 --- a/app/src/main/java/c/i/a/c/e2/s/g.java +++ b/app/src/main/java/c/i/a/c/b3/t/g.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.s; +package c.i.a.c.b3.t; import android.graphics.Bitmap; import android.graphics.BitmapFactory; @@ -6,9 +6,8 @@ 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 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; @@ -18,7 +17,7 @@ import java.util.Objects; import java.util.TreeMap; import java.util.TreeSet; /* compiled from: TtmlSubtitle */ -public final class g implements f { +public final class g implements c.i.a.c.b3.g { public final d i; public final long[] j; public final Map k; @@ -42,22 +41,22 @@ public final class g implements f { this.j = jArr; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public int f(long j) { - int b = f0.b(this.j, j, false, false); + int b = e0.b(this.j, j, false, false); if (b < this.j.length) { return b; } return -1; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public long g(int i) { return this.j[i]; } - @Override // c.i.a.c.e2.f - public List h(long j) { + @Override // c.i.a.c.b3.g + public List h(long j) { d dVar = this.i; Map map = this.k; Map map2 = this.l; @@ -78,13 +77,13 @@ public final class g implements f { 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.f856c, 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)); + 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); - c.b bVar = (c.b) entry.getValue(); + b.C0086b bVar = (b.C0086b) entry.getValue(); CharSequence charSequence = bVar.a; Objects.requireNonNull(charSequence); SpannableStringBuilder spannableStringBuilder = (SpannableStringBuilder) charSequence; @@ -130,24 +129,24 @@ public final class g implements f { if (spannableStringBuilder.length() > 0 && spannableStringBuilder.charAt(spannableStringBuilder.length() - 1) == '\n') { spannableStringBuilder.delete(spannableStringBuilder.length() - 1, spannableStringBuilder.length()); } - float f = eVar2.f856c; + float f = eVar2.f715c; int i9 = eVar2.d; - bVar.d = f; - bVar.e = i9; - bVar.f = eVar2.e; - bVar.g = eVar2.b; - bVar.k = eVar2.f; + 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.j = f2; - bVar.i = i10; - bVar.o = eVar2.j; + bVar.k = f2; + bVar.j = i10; + bVar.p = eVar2.j; arrayList2.add(bVar.a()); } return arrayList2; } - @Override // c.i.a.c.e2.f + @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/e2/t/a.java b/app/src/main/java/c/i/a/c/b3/u/a.java similarity index 56% rename from app/src/main/java/c/i/a/c/e2/t/a.java rename to app/src/main/java/c/i/a/c/b3/u/a.java index 4056463e22..9d7121d1c7 100644 --- a/app/src/main/java/c/i/a/c/e2/t/a.java +++ b/app/src/main/java/c/i/a/c/b3/u/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.t; +package c.i.a.c.b3.u; import android.text.SpannableStringBuilder; import android.text.style.ForegroundColorSpan; @@ -8,23 +8,24 @@ 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.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 d { - public final w n = new w(); +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 f858s; + public final float f718s; public final int t; public a(List list) { @@ -35,22 +36,22 @@ public final class a extends d { 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(f0.m(bArr, 43, bArr.length - 43)) ? "serif" : str; + 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.f858s = f0.g(((float) ((bArr[11] & 255) | ((bArr[10] & 255) << 8))) / ((float) i), 0.0f, 0.95f); + this.f718s = e0.g(((float) ((bArr[11] & 255) | ((bArr[10] & 255) << 8))) / ((float) i), 0.0f, 0.95f); } else { - this.f858s = 0.85f; + this.f718s = 0.85f; } } else { this.p = 0; this.q = -1; this.r = str; this.o = false; - this.f858s = 0.85f; + this.f718s = 0.85f; this.t = -1; } } @@ -88,91 +89,93 @@ public final class a extends d { } } - @Override // c.i.a.c.e2.d - public f j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { + @Override // c.i.a.c.b3.f + public g j(byte[] bArr, int i, boolean z2) throws SubtitleDecoderException { String str; - w wVar = this.n; - wVar.a = bArr; - wVar.f919c = i; - wVar.b = 0; - int i2 = 2; - int i3 = 1; - k(wVar.a() >= 2); - int x2 = wVar.x(); - if (x2 == 0) { + 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 (wVar.a() >= 2) { - byte[] bArr2 = wVar.a; - int i4 = wVar.b; - char c2 = (char) ((bArr2[i4 + 1] & 255) | ((bArr2[i4] & 255) << 8)); + 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 = wVar.q(x2, c.e); + str = xVar.r(y2, c.e); } } - str = wVar.q(x2, c.f1275c); + 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 i5 = this.q; + int i6 = this.q; int length = spannableStringBuilder.length(); - if (i5 != -1) { - spannableStringBuilder.setSpan(new ForegroundColorSpan((i5 >>> 8) | ((i5 & 255) << 24)), 0, length, 16711713); + 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.f858s; - for (int i6 = 8; this.n.a() >= i6; i6 = 8) { - w wVar2 = this.n; - int i7 = wVar2.b; - int f2 = wVar2.f(); + 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() >= 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 s2 = 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, ").")); + 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 { - l(spannableStringBuilder, s2, this.p, x4, x5, 0); + 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)), x4, x5, 33); + spannableStringBuilder.setSpan(new ForegroundColorSpan(((f4 & 255) << 24) | (f4 >>> 8)), y4, y5, 33); } } - i8++; - i2 = 2; - i3 = 1; + i9++; + i3 = 2; + i4 = 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); + f = e0.g(((float) this.n.y()) / ((float) this.t), 0.0f, 0.95f); } - this.n.D(i7 + f2); - i2 = 2; - i3 = 1; + this.n.E(i8 + f2); + i3 = 2; + i4 = 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)); + 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/e2/t/b.java b/app/src/main/java/c/i/a/c/b3/u/b.java similarity index 53% rename from app/src/main/java/c/i/a/c/e2/t/b.java rename to app/src/main/java/c/i/a/c/b3/u/b.java index 9305e68c26..db44073788 100644 --- a/app/src/main/java/c/i/a/c/e2/t/b.java +++ b/app/src/main/java/c/i/a/c/b3/u/b.java @@ -1,40 +1,39 @@ -package c.i.a.c.e2.t; +package c.i.a.c.b3.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.b3.g; import java.util.Collections; import java.util.List; /* compiled from: Tx3gSubtitle */ -public final class b implements f { +public final class b implements g { public static final b i = new b(); - public final List j; + public final List j; public b() { this.j = Collections.emptyList(); } - public b(c cVar) { - this.j = Collections.singletonList(cVar); + public b(c.i.a.c.b3.b bVar) { + this.j = Collections.singletonList(bVar); } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public int f(long j) { return j < 0 ? 0 : -1; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public long g(int i2) { - d.k(i2 == 0); + d.j(i2 == 0); return 0; } - @Override // c.i.a.c.e2.f - public List h(long j) { + @Override // c.i.a.c.b3.g + public List h(long j) { return j >= 0 ? this.j : Collections.emptyList(); } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g 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/b3/v/a.java similarity index 88% rename from app/src/main/java/c/i/a/c/e2/u/a.java rename to app/src/main/java/c/i/a/c/b3/v/a.java index 090bb6391f..238a8ecb6a 100644 --- a/app/src/main/java/c/i/a/c/e2/u/a.java +++ b/app/src/main/java/c/i/a/c/b3/v/a.java @@ -1,6 +1,6 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; -import c.i.a.c.e2.u.h; +import c.i.a.c.b3.v.h; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class a implements Comparator { diff --git a/app/src/main/java/c/i/a/c/e2/u/b.java b/app/src/main/java/c/i/a/c/b3/v/b.java similarity index 93% rename from app/src/main/java/c/i/a/c/e2/u/b.java rename to app/src/main/java/c/i/a/c/b3/v/b.java index 692f25e21e..5757a44835 100644 --- a/app/src/main/java/c/i/a/c/e2/u/b.java +++ b/app/src/main/java/c/i/a/c/b3/v/b.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; import java.util.Comparator; /* compiled from: lambda */ diff --git a/app/src/main/java/c/i/a/c/e2/u/d.java b/app/src/main/java/c/i/a/c/b3/v/c.java similarity index 60% rename from app/src/main/java/c/i/a/c/e2/u/d.java rename to app/src/main/java/c/i/a/c/b3/v/c.java index 20cbf2d251..6648d0ea42 100644 --- a/app/src/main/java/c/i/a/c/e2/u/d.java +++ b/app/src/main/java/c/i/a/c/b3/v/c.java @@ -1,50 +1,51 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; -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 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 d extends c.i.a.c.e2.d { - public final w n = new w(); +public final class c extends f { + public final x n = new x(); - public d() { + public c() { 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.f919c = i; - wVar.b = 0; + @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) { - w wVar2 = this.n; + x xVar2 = this.n; int i2 = f - 8; CharSequence charSequence = null; - c.b bVar = null; + b.C0086b bVar2 = null; while (i2 > 0) { if (i2 >= 8) { - int f2 = wVar2.f(); - int f3 = wVar2.f(); + int f2 = xVar2.f(); + int f3 = xVar2.f(); int i3 = f2 - 8; - String m = f0.m(wVar2.a, wVar2.b, i3); - wVar2.E(i3); + 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); - bVar = eVar.a(); + bVar2 = eVar.a(); } else if (f3 == 1885436268) { charSequence = h.f(null, m.trim(), Collections.emptyList()); } @@ -55,23 +56,23 @@ public final class d extends c.i.a.c.e2.d { if (charSequence == null) { charSequence = ""; } - if (bVar != null) { - bVar.a = charSequence; - cVar = bVar.a(); + if (bVar2 != null) { + bVar2.a = charSequence; + bVar = bVar2.a(); } else { Pattern pattern = h.a; h.e eVar2 = new h.e(); - eVar2.f865c = charSequence; - cVar = eVar2.a().a(); + eVar2.f725c = charSequence; + bVar = eVar2.a().a(); } - arrayList.add(cVar); + arrayList.add(bVar); } else { - this.n.E(f - 8); + this.n.F(f - 8); } } else { throw new SubtitleDecoderException("Incomplete Mp4Webvtt Top Level box header found."); } } - return new e(arrayList); + return new d(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/b3/v/d.java similarity index 52% rename from app/src/main/java/c/i/a/c/e2/u/e.java rename to app/src/main/java/c/i/a/c/b3/v/d.java index 82036b708d..ce13fd7586 100644 --- a/app/src/main/java/c/i/a/c/e2/u/e.java +++ b/app/src/main/java/c/i/a/c/b3/v/d.java @@ -1,35 +1,34 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; -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.b3.b; +import c.i.a.c.b3.g; import java.util.Collections; import java.util.List; /* compiled from: Mp4WebvttSubtitle */ -public final class e implements f { - public final List i; +public final class d implements g { + public final List i; - public e(List list) { + public d(List list) { this.i = Collections.unmodifiableList(list); } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public int f(long j) { return j < 0 ? 0 : -1; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public long g(int i) { - d.k(i == 0); + c.c.a.a0.d.j(i == 0); return 0; } - @Override // c.i.a.c.e2.f - public List h(long j) { + @Override // c.i.a.c.b3.g + public List h(long j) { return j >= 0 ? this.i : Collections.emptyList(); } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public int i() { return 1; } diff --git a/app/src/main/java/c/i/a/c/e2/u/c.java b/app/src/main/java/c/i/a/c/b3/v/e.java similarity index 70% rename from app/src/main/java/c/i/a/c/e2/u/c.java rename to app/src/main/java/c/i/a/c/b3/v/e.java index c67c126c8c..6852052962 100644 --- a/app/src/main/java/c/i/a/c/e2/u/c.java +++ b/app/src/main/java/c/i/a/c/b3/v/e.java @@ -1,24 +1,24 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; import androidx.annotation.Nullable; -import c.d.b.a.a; -import c.i.a.c.i2.w; +import c.i.a.c.f3.x; import java.util.regex.Pattern; -/* compiled from: CssParser */ -public final class c { +/* compiled from: WebvttCssParser */ +public final class e { public static final Pattern a = Pattern.compile("\\[voice=\"([^\"]*)\"\\]"); - public final w b = new w(); + public static final Pattern b = Pattern.compile("^((?:[0-9]*\\.)?[0-9]+)(px|em|%)$"); /* renamed from: c reason: collision with root package name */ - public final StringBuilder f859c = new StringBuilder(); + public final x f719c = new x(); + public final StringBuilder d = new StringBuilder(); - public static String a(w wVar, StringBuilder sb) { + public static String a(x xVar, StringBuilder sb) { boolean z2 = false; sb.setLength(0); - int i = wVar.b; - int i2 = wVar.f919c; + int i = xVar.b; + int i2 = xVar.f792c; while (i < i2 && !z2) { - char c2 = (char) wVar.a[i]; + 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 { @@ -26,44 +26,44 @@ public final class c { sb.append(c2); } } - wVar.E(i - wVar.b); + xVar.F(i - xVar.b); return sb.toString(); } @Nullable - public static String b(w wVar, StringBuilder sb) { - c(wVar); - if (wVar.a() == 0) { + public static String b(x xVar, StringBuilder sb) { + c(xVar); + if (xVar.a() == 0) { return null; } - String a2 = a(wVar, sb); + String a2 = a(xVar, sb); if (!"".equals(a2)) { return a2; } - StringBuilder O = a.O(""); - O.append((char) wVar.s()); - return O.toString(); + 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(w wVar) { + public static void c(x xVar) { boolean z2; boolean z3; while (true) { boolean z4 = true; - while (wVar.a() > 0 && z4) { - char c2 = (char) wVar.a[wVar.b]; + while (xVar.a() > 0 && z4) { + char c2 = (char) xVar.a[xVar.b]; if (c2 == '\t' || c2 == '\n' || c2 == '\f' || c2 == '\r' || c2 == ' ') { - wVar.E(1); + xVar.F(1); z2 = true; } else { z2 = false; } if (!z2) { - int i = wVar.b; - int i2 = wVar.f919c; - byte[] bArr = wVar.a; + int i = xVar.b; + int i2 = xVar.f792c; + byte[] bArr = xVar.a; if (i + 2 <= i2) { int i3 = i + 1; if (bArr[i] == 47) { @@ -80,7 +80,7 @@ public final class c { i4 = i5; } } - wVar.E(i2 - wVar.b); + xVar.F(i2 - xVar.b); z3 = true; if (z3) { z4 = false; diff --git a/app/src/main/java/c/i/a/c/e2/u/f.java b/app/src/main/java/c/i/a/c/b3/v/f.java similarity index 88% rename from app/src/main/java/c/i/a/c/e2/u/f.java rename to app/src/main/java/c/i/a/c/b3/v/f.java index 1904db96c3..0b3a9a0b3d 100644 --- a/app/src/main/java/c/i/a/c/e2/u/f.java +++ b/app/src/main/java/c/i/a/c/b3/v/f.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; import androidx.annotation.ColorInt; import androidx.annotation.Nullable; @@ -10,7 +10,7 @@ public final class f { public String b = ""; /* renamed from: c reason: collision with root package name */ - public Set f860c = Collections.emptySet(); + public Set f720c = Collections.emptySet(); public String d = ""; @Nullable public String e = null; @@ -24,8 +24,9 @@ public final class f { public int l = -1; public int m = -1; public int n = -1; - public int o = -1; - public boolean p = false; + 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) { diff --git a/app/src/main/java/c/i/a/c/e2/u/g.java b/app/src/main/java/c/i/a/c/b3/v/g.java similarity index 50% rename from app/src/main/java/c/i/a/c/e2/u/g.java rename to app/src/main/java/c/i/a/c/b3/v/g.java index a02a56e11c..29013adda6 100644 --- a/app/src/main/java/c/i/a/c/e2/u/g.java +++ b/app/src/main/java/c/i/a/c/b3/v/g.java @@ -1,17 +1,17 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; -import c.i.a.c.e2.c; +import c.i.a.c.b3.b; /* compiled from: WebvttCueInfo */ public final class g { - public final c a; + public final b a; public final long b; /* renamed from: c reason: collision with root package name */ - public final long f861c; + public final long f721c; - public g(c cVar, long j, long j2) { - this.a = cVar; + public g(b bVar, long j, long j2) { + this.a = bVar; this.b = j; - this.f861c = j2; + this.f721c = 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/b3/v/h.java similarity index 89% rename from app/src/main/java/c/i/a/c/e2/u/h.java rename to app/src/main/java/c/i/a/c/b3/v/h.java index e50076e485..40db669622 100644 --- a/app/src/main/java/c/i/a/c/e2/u/h.java +++ b/app/src/main/java/c/i/a/c/b3/v/h.java @@ -1,4 +1,4 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; import android.graphics.Color; import android.text.Layout; @@ -16,9 +16,9 @@ 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 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; @@ -37,7 +37,7 @@ public final class h { public static final Pattern b = Pattern.compile("(\\S+?):(\\S+)"); /* renamed from: c reason: collision with root package name */ - public static final Map f862c; + public static final Map f722c; public static final Map d; /* compiled from: WebvttCueParser */ @@ -46,11 +46,11 @@ public final class h { public final c b; /* renamed from: c reason: collision with root package name */ - public final int f863c; + public final int f723c; public b(c cVar, int i, a aVar) { this.b = cVar; - this.f863c = i; + this.f723c = i; } } @@ -60,13 +60,13 @@ public final class h { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f864c; + 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.f864c = str2; + this.f724c = str2; this.d = set; } } @@ -94,7 +94,7 @@ public final class h { public long b = 0; /* renamed from: c reason: collision with root package name */ - public CharSequence f865c; + public CharSequence f725c; public int d = 2; public float e = -3.4028235E38f; public int f = 1; @@ -104,15 +104,15 @@ public final class h { 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: 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: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() { + /* 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; @@ -137,14 +137,14 @@ public final class h { } i3 = 0; } - c.b bVar = new c.b(); + 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.i0("Unknown textAlignment: ", i5, "WebvttCueParser"); + c.d.b.a.a.d0(34, "Unknown textAlignment: ", i5, "WebvttCueParser"); alignment = null; } } @@ -153,7 +153,7 @@ public final class h { } else { alignment = Layout.Alignment.ALIGN_CENTER; } - bVar.f821c = alignment; + bVar.f679c = alignment; float f3 = this.e; int i6 = this.f; i = (f3 > -3.4028235E38f ? 1 : (f3 == -3.4028235E38f ? 0 : -1)); @@ -161,11 +161,11 @@ public final class h { if (i == 0) { f2 = f3; } - bVar.d = f2; - bVar.e = i6; - bVar.f = this.g; - bVar.g = f; - bVar.h = i3; + 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; @@ -174,48 +174,48 @@ public final class h { } else if (i3 != 2) { throw new IllegalStateException(String.valueOf(i3)); } - bVar.k = Math.min(f4, f); - bVar.o = this.k; - charSequence = this.f865c; + 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.d = f2; - bVar.e = i6; - bVar.f = this.g; - bVar.g = f; - bVar.h = i3; + bVar.e = f2; + bVar.f = i6; + bVar.g = this.g; + bVar.h = f; + bVar.i = i3; float f4 = this.j; if (i3 == 0) { } - bVar.k = Math.min(f4, f); - bVar.o = this.k; - charSequence = this.f865c; + bVar.l = Math.min(f4, f); + bVar.p = this.k; + charSequence = this.f725c; if (charSequence != null) { } return bVar; } alignment = Layout.Alignment.ALIGN_NORMAL; - bVar.f821c = alignment; + 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.d = f2; - bVar.e = i6; - bVar.f = this.g; - bVar.g = f; - bVar.h = i3; + bVar.e = f2; + bVar.f = i6; + bVar.g = this.g; + bVar.h = f; + bVar.i = i3; float f4 = this.j; if (i3 == 0) { } - bVar.k = Math.min(f4, f); - bVar.o = this.k; - charSequence = this.f865c; + bVar.l = Math.min(f4, f); + bVar.p = this.k; + charSequence = this.f725c; if (charSequence != null) { } return bVar; @@ -232,7 +232,7 @@ public final class h { 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))); - f862c = Collections.unmodifiableMap(hashMap); + 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))); @@ -245,7 +245,7 @@ public final class h { d = Collections.unmodifiableMap(hashMap2); } - /* JADX WARNING: Removed duplicated region for block: B:133:0x0242 A[SYNTHETIC] */ + /* 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 */ @@ -283,7 +283,7 @@ public final class h { break; case 2: for (String str3 : cVar.d) { - Map map = f862c; + Map map = f722c; if (map.containsKey(str3)) { spannableStringBuilder.setSpan(new ForegroundColorSpan(map.get(str3).intValue()), i2, length, 33); } else { @@ -317,10 +317,10 @@ public final class h { c4 = c3 != i3 ? c3 : 1; } int i8 = bVar.b.b - i7; - int i9 = bVar.f863c - i7; + int i9 = bVar.f723c - 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); + spannableStringBuilder.setSpan(new c.i.a.c.b3.q.c(subSequence.toString(), c4), i5, i8, 33); i7 = subSequence.length() + i7; i5 = i8; } @@ -366,14 +366,14 @@ public final class h { } int i10 = fVar.n; if (i10 == 1) { - c.c.a.a0.d.c(spannableStringBuilder, new AbsoluteSizeSpan((int) 0.0f, true), i2, length, 33); + 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(0.0f), i2, length, 33); + 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(0.0f), i2, length, 33); + c.c.a.a0.d.c(spannableStringBuilder, new RelativeSizeSpan(fVar.o / 100.0f), i2, length, 33); } - if (fVar.p) { - spannableStringBuilder.setSpan(new c.i.a.c.e2.p.a(), i2, length, 33); + if (fVar.q) { + spannableStringBuilder.setSpan(new c.i.a.c.b3.q.a(), i2, length, 33); } } i++; @@ -495,10 +495,10 @@ public final class h { f fVar = list.get(i2); String str2 = cVar.a; Set set = cVar.d; - String str3 = cVar.f864c; - if (!fVar.a.isEmpty() || !fVar.b.isEmpty() || !fVar.f860c.isEmpty() || !fVar.d.isEmpty()) { + 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.f860c)) ? 0 : b2 + (fVar.f860c.size() * 4); + i = (b2 == -1 || !set.containsAll(fVar.f720c)) ? 0 : b2 + (fVar.f720c.size() * 4); } else { i = TextUtils.isEmpty(str2); } @@ -518,7 +518,7 @@ public final class h { if (i >= arrayList.size()) { return -1; } - int i2 = ((d) arrayList.get(i)).j.o; + int i2 = ((d) arrayList.get(i)).j.p; if (i2 != -1) { return i2; } @@ -527,7 +527,7 @@ public final class h { } @Nullable - public static g d(@Nullable String str, Matcher matcher, w wVar, List list) { + public static g d(@Nullable String str, Matcher matcher, x xVar, List list) { e eVar = new e(); try { String group = matcher.group(1); @@ -540,20 +540,19 @@ public final class h { Objects.requireNonNull(group3); e(group3, eVar); StringBuilder sb = new StringBuilder(); - String g = wVar.g(); + String g = xVar.g(); while (!TextUtils.isEmpty(g)) { if (sb.length() > 0) { sb.append("\n"); } sb.append(g.trim()); - g = wVar.g(); + g = xVar.g(); } - eVar.f865c = f(str, sb.toString(), list); + eVar.f725c = 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()); + 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; } } @@ -571,7 +570,6 @@ public final class h { if ("line".equals(group)) { g(group2, eVar); } else if ("align".equals(group)) { - group2.hashCode(); char c2 = 65535; switch (group2.hashCode()) { case -1364013995: @@ -628,7 +626,7 @@ public final class h { case 5: break; default: - Log.w("WebvttCueParser", "Invalid alignment value: " + group2); + Log.w("WebvttCueParser", group2.length() != 0 ? "Invalid alignment value: ".concat(group2) : new String("Invalid alignment value: ")); i = 2; break; } @@ -641,17 +639,21 @@ public final class h { if (group2.equals("lr")) { i = 2; } else if (!group2.equals("rl")) { - Log.w("WebvttCueParser", "Invalid 'vertical' value: " + group2); + Log.w("WebvttCueParser", group2.length() != 0 ? "Invalid 'vertical' value: ".concat(group2) : new String("Invalid 'vertical' value: ")); i = Integer.MIN_VALUE; } eVar.k = i; } else { - Log.w("WebvttCueParser", "Unknown cue setting " + group + ":" + group2); + 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) { - StringBuilder O = c.d.b.a.a.O("Skipping bad cue setting: "); - O.append(matcher.group()); - Log.w("WebvttCueParser", O.toString()); + String valueOf = String.valueOf(matcher.group()); + Log.w("WebvttCueParser", valueOf.length() != 0 ? "Skipping bad cue setting: ".concat(valueOf) : new String("Skipping bad cue setting: ")); } } } @@ -673,7 +675,6 @@ public final class h { 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) { @@ -682,6 +683,8 @@ public final class h { 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")) { @@ -722,7 +725,7 @@ public final class h { spannableStringBuilder.append(' '); break; default: - Log.w("WebvttCueParser", "ignoring unsupported entity: '&" + substring + ";'"); + c.d.b.a.a.g0(substring.length() + 33, "ignoring unsupported entity: '&", substring, ";'", "WebvttCueParser"); break; } if (indexOf == indexOf2) { @@ -750,8 +753,8 @@ public final class h { 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; + c.c.a.a0.d.j(!trim.isEmpty()); + int i6 = e0.a; String str4 = trim.split("[ \\.]", 2)[i]; str4.hashCode(); switch (str4.hashCode()) { @@ -846,17 +849,17 @@ public final class h { } else if (!z4) { int length = spannableStringBuilder.length(); String trim2 = substring2.trim(); - c.c.a.a0.d.k(!trim2.isEmpty()); + 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[] G = f0.G(trim2, "\\."); - String str5 = G[i]; + String[] H = e0.H(trim2, "\\."); + String str5 = H[i]; HashSet hashSet = new HashSet(); - for (int i7 = 1; i7 < G.length; i7++) { - hashSet.add(G[i7]); + for (int i7 = 1; i7 < H.length; i7++) { + hashSet.add(H[i7]); } arrayDeque.push(new c(str5, length, str3, hashSet)); } @@ -879,12 +882,11 @@ public final class h { 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(); - substring.hashCode(); int i = 2; - char c2 = 65535; switch (substring.hashCode()) { case -1364013995: if (substring.equals("center")) { @@ -922,7 +924,7 @@ public final class h { i = 0; break; default: - c.d.b.a.a.k0("Invalid anchor value: ", substring, "WebvttCueParser"); + Log.w("WebvttCueParser", substring.length() != 0 ? "Invalid anchor value: ".concat(substring) : new String("Invalid anchor value: ")); i = Integer.MIN_VALUE; break; } @@ -940,12 +942,11 @@ public final class h { 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(); - substring.hashCode(); int i = 2; - char c2 = 65535; switch (substring.hashCode()) { case -1842484672: if (substring.equals("line-left")) { @@ -997,7 +998,7 @@ public final class h { case 4: break; default: - c.d.b.a.a.k0("Invalid anchor value: ", substring, "WebvttCueParser"); + Log.w("WebvttCueParser", substring.length() != 0 ? "Invalid anchor value: ".concat(substring) : new String("Invalid anchor value: ")); i = Integer.MIN_VALUE; break; } 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/e2/u/j.java b/app/src/main/java/c/i/a/c/b3/v/j.java similarity index 65% rename from app/src/main/java/c/i/a/c/e2/u/j.java rename to app/src/main/java/c/i/a/c/b3/v/j.java index 01b60482f5..71672a2fc3 100644 --- a/app/src/main/java/c/i/a/c/e2/u/j.java +++ b/app/src/main/java/c/i/a/c/b3/v/j.java @@ -1,8 +1,7 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; -import c.d.b.a.a; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; +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 */ @@ -19,10 +18,10 @@ public final class j { } public static long b(String str) throws NumberFormatException { - int i = f0.a; + int i = e0.a; String[] split = str.split("\\.", 2); long j = 0; - for (String str2 : f0.G(split[0], ":")) { + for (String str2 : e0.H(split[0], ":")) { j = (j * 60) + Long.parseLong(str2); } long j2 = j * 1000; @@ -32,14 +31,13 @@ public final class j { return j2 * 1000; } - public static void c(w wVar) throws ParserException { - int i = wVar.b; - String g = wVar.g(); + public static void c(x xVar) throws ParserException { + int i = xVar.b; + String g = xVar.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()); + 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/e2/u/k.java b/app/src/main/java/c/i/a/c/b3/v/k.java similarity index 72% rename from app/src/main/java/c/i/a/c/e2/u/k.java rename to app/src/main/java/c/i/a/c/b3/v/k.java index c9cd536006..982f22da4c 100644 --- a/app/src/main/java/c/i/a/c/e2/u/k.java +++ b/app/src/main/java/c/i/a/c/b3/v/k.java @@ -1,15 +1,15 @@ -package c.i.a.c.e2.u; +package c.i.a.c.b3.v; 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 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 f { +public final class k implements g { public final List i; public final long[] j; public final long[] k; @@ -22,7 +22,7 @@ public final class k implements f { int i2 = i * 2; long[] jArr = this.j; jArr[i2] = gVar.b; - jArr[i2 + 1] = gVar.f861c; + jArr[i2 + 1] = gVar.f721c; } long[] jArr2 = this.j; long[] copyOf = Arrays.copyOf(jArr2, jArr2.length); @@ -30,28 +30,28 @@ public final class k implements f { Arrays.sort(copyOf); } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public int f(long j) { - int b = f0.b(this.k, j, false, false); + int b = e0.b(this.k, j, false, false); if (b < this.k.length) { return b; } return -1; } - @Override // c.i.a.c.e2.f + @Override // c.i.a.c.b3.g public long g(int i) { boolean z2 = true; - d.k(i >= 0); + d.j(i >= 0); if (i >= this.k.length) { z2 = false; } - d.k(z2); + d.j(z2); return this.k[i]; } - @Override // c.i.a.c.e2.f - public List h(long j) { + @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++) { @@ -59,25 +59,25 @@ public final class k implements f { 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) { + b bVar = gVar.a; + if (bVar.o == -3.4028235E38f) { arrayList2.add(gVar); } else { - arrayList.add(cVar); + arrayList.add(bVar); } } } 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; + 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.e2.f + @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 2e5f947644..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 f778c; - public final boolean d; - - public c0(boolean z2, h0 h0Var) { - this.d = z2; - this.f778c = 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.f778c.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.f778c.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 r = r(d, z2); - while (r != -1 && i1Var.i[r].q()) { - r = r(r, z2); - } - if (r != -1) { - return i1Var.i[r].a(z2) + i1Var.h[r]; - } 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.f958c += 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.f958c += 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 s2 = s(d, z2); - while (s2 != -1 && i1Var.i[s2].q()) { - s2 = s(s2, z2); - } - if (s2 != -1) { - return i1Var.i[s2].c(z2) + i1Var.h[s2]; - } 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.f959c)) { - obj = Pair.create(obj, cVar.f959c); - } - cVar.f959c = obj; - cVar.o += i3; - cVar.p += i3; - return cVar; - } - - public final int r(int i, boolean z2) { - if (z2) { - return this.f778c.e(i); - } - if (i < this.b - 1) { - return i + 1; - } - return -1; - } - - public final int s(int i, boolean z2) { - if (z2) { - return this.f778c.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 e3cb74bfdd..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 f779c; - 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; - public volatile long r; - - /* renamed from: s reason: collision with root package name */ - public volatile long f780s; - - 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.f779c = 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.r = j3; - this.f780s = 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.f779c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, aVar, this.l, this.m, this.n, this.q, this.r, this.f780s, 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.f779c, 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.r, this.f780s, z2, this.p); - } - - @CheckResult - public c1 d(boolean z2, int i) { - return new c1(this.b, this.f779c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, z2, i, this.n, this.q, this.r, this.f780s, this.o, this.p); - } - - @CheckResult - public c1 e(@Nullable ExoPlaybackException exoPlaybackException) { - return new c1(this.b, this.f779c, this.d, this.e, exoPlaybackException, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.q, this.r, this.f780s, this.o, this.p); - } - - @CheckResult - public c1 f(d1 d1Var) { - return new c1(this.b, this.f779c, this.d, this.e, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, d1Var, this.q, this.r, this.f780s, this.o, this.p); - } - - @CheckResult - public c1 g(int i) { - return new c1(this.b, this.f779c, this.d, i, this.f, this.g, this.h, this.i, this.j, this.k, this.l, this.m, this.n, this.q, this.r, this.f780s, this.o, this.p); - } - - @CheckResult - public c1 h(r1 r1Var) { - return new c1(r1Var, this.f779c, 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.r, this.f780s, 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/f.java b/app/src/main/java/c/i/a/c/c2/f.java deleted file mode 100644 index a95e56f508..0000000000 --- a/app/src/main/java/c/i/a/c/c2/f.java +++ /dev/null @@ -1,203 +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; - public final d w; - - /* renamed from: x reason: collision with root package name */ - public final Metadata[] f781x; - - /* renamed from: y reason: collision with root package name */ - public final long[] f782y; - - /* renamed from: z reason: collision with root package name */ - public int f783z; - - /* 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.w = new d(); - this.f781x = new Metadata[5]; - this.f782y = new long[5]; - } - - @Override // c.i.a.c.g0 - public void B() { - Arrays.fill(this.f781x, (Object) null); - this.f783z = 0; - this.A = 0; - this.B = null; - } - - @Override // c.i.a.c.g0 - public void D(long j, boolean z2) { - Arrays.fill(this.f781x, (Object) null); - this.f783z = 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.w.p(); - this.w.r(n0.length); - ByteBuffer byteBuffer = this.w.k; - int i2 = f0.a; - byteBuffer.put(n0); - this.w.s(); - Metadata a = b.a(this.w); - 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.w.p(); - s0 A = A(); - int I = I(A, this.w, false); - if (I == -4) { - if (this.w.n()) { - this.C = true; - } else { - d dVar = this.w; - dVar.q = this.E; - dVar.s(); - b bVar = this.B; - int i = f0.a; - Metadata a = bVar.a(this.w); - if (a != null) { - ArrayList arrayList = new ArrayList(a.i.length); - J(a, arrayList); - if (!arrayList.isEmpty()) { - Metadata metadata = new Metadata(arrayList); - int i2 = this.f783z; - int i3 = this.A; - int i4 = (i2 + i3) % 5; - this.f781x[i4] = metadata; - this.f782y[i4] = this.w.m; - this.A = i3 + 1; - } - } - } - } else if (I == -5) { - Format format = A.b; - Objects.requireNonNull(format); - this.E = format.f2276x; - } - } - if (this.A > 0) { - long[] jArr = this.f782y; - int i5 = this.f783z; - if (jArr[i5] <= j) { - Metadata metadata2 = this.f781x[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.f781x; - int i7 = this.f783z; - metadataArr[i7] = null; - this.f783z = (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/f2/a.java b/app/src/main/java/c/i/a/c/c3/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/f2/a.java rename to app/src/main/java/c/i/a/c/c3/a.java index 668a9d52fd..a45d2a0772 100644 --- a/app/src/main/java/c/i/a/c/f2/a.java +++ b/app/src/main/java/c/i/a/c/c3/a.java @@ -1,6 +1,6 @@ -package c.i.a.c.f2; +package c.i.a.c.c3; -import com.google.android.exoplayer2.Format; +import c.i.a.c.j1; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class a implements Comparator { @@ -8,6 +8,6 @@ public final /* synthetic */ class a implements Comparator { @Override // java.util.Comparator public final int compare(Object obj, Object obj2) { - return ((Format) obj2).p - ((Format) obj).p; + return ((j1) obj2).r - ((j1) obj).r; } } diff --git a/app/src/main/java/c/i/a/c/f2/b.java b/app/src/main/java/c/i/a/c/c3/b.java similarity index 72% rename from app/src/main/java/c/i/a/c/f2/b.java rename to app/src/main/java/c/i/a/c/c3/b.java index af220b789b..80b12e268c 100644 --- a/app/src/main/java/c/i/a/c/f2/b.java +++ b/app/src/main/java/c/i/a/c/c3/b.java @@ -1,6 +1,5 @@ -package c.i.a.c.f2; +package c.i.a.c.c3; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class b implements Comparator { @@ -10,7 +9,7 @@ public final /* synthetic */ class b implements Comparator { public final int compare(Object obj, Object obj2) { Integer num = (Integer) obj; Integer num2 = (Integer) obj2; - int[] iArr = DefaultTrackSelector.f2318c; + int[] iArr = h.b; 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/c3/c.java similarity index 79% rename from app/src/main/java/c/i/a/c/f2/c.java rename to app/src/main/java/c/i/a/c/c3/c.java index 8948c319c0..da012622f9 100644 --- a/app/src/main/java/c/i/a/c/f2/c.java +++ b/app/src/main/java/c/i/a/c/c3/c.java @@ -1,6 +1,5 @@ -package c.i.a.c.f2; +package c.i.a.c.c3; -import com.google.android.exoplayer2.trackselection.DefaultTrackSelector; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class c implements Comparator { @@ -10,7 +9,7 @@ public final /* synthetic */ class c implements Comparator { public final int compare(Object obj, Object obj2) { Integer num = (Integer) obj; Integer num2 = (Integer) obj2; - int[] iArr = DefaultTrackSelector.f2318c; + int[] iArr = h.b; if (num.intValue() == -1) { return num2.intValue() == -1 ? 0 : -1; } 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/f2/d.java b/app/src/main/java/c/i/a/c/c3/f.java similarity index 58% rename from app/src/main/java/c/i/a/c/f2/d.java rename to app/src/main/java/c/i/a/c/c3/f.java index ef3711eea9..96804de1c6 100644 --- a/app/src/main/java/c/i/a/c/f2/d.java +++ b/app/src/main/java/c/i/a/c/c3/f.java @@ -1,15 +1,16 @@ -package c.i.a.c.f2; +package c.i.a.c.c3; +import android.util.Log; 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 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 d extends e { - public final c.i.a.c.h2.d f; +public class f extends g { + public final c.i.a.c.e3.f f; public final g g; /* compiled from: AdaptiveTrackSelection */ @@ -39,46 +40,49 @@ public class d extends e { } /* 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 static class b implements j.b { + public final g a = 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); + 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 l(List> list, long[] jArr) { + 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++) { - u.a aVar = list.get(i); + p.a aVar = list.get(i); if (aVar != null) { aVar.b(new a(j, jArr[i])); } } } - @Override // c.i.a.c.f2.g + @Override // c.i.a.c.c3.j public int b() { return 0; } - @Override // c.i.a.c.f2.e, c.i.a.c.f2.g + @Override // c.i.a.c.c3.g, c.i.a.c.c3.j @CallSuper public void e() { } - @Override // c.i.a.c.f2.e, c.i.a.c.f2.g + @Override // c.i.a.c.c3.g, c.i.a.c.c3.j @CallSuper public void g() { } - @Override // c.i.a.c.f2.e, c.i.a.c.f2.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 63e7e8e4aa..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 f787c; - - /* 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.f787c) { - 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.f787c) { - this.a.registerReceiver(this.b, new IntentFilter("android.media.AUDIO_BECOMING_NOISY")); - this.f787c = true; - } else if (!z2 && this.f787c) { - this.a.unregisterReceiver(this.b); - this.f787c = 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 702b2a2b1c..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 f788c; - 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.f788c = 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.f788c == d1Var.f788c; - } - - public int hashCode() { - return Float.floatToRawIntBits(this.f788c) + ((Float.floatToRawIntBits(this.b) + 527) * 31); - } - - public String toString() { - return f0.k("PlaybackParameters(speed=%.2f, pitch=%.2f)", Float.valueOf(this.b), Float.valueOf(this.f788c)); +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 f98d94be26..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.r) { - 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.f814c); - } - tVar.n = aVar3; - } else { - r1Var.n(0, tVar.l); - r1.c cVar = tVar.l; - long j2 = cVar.q; - Object obj2 = cVar.f959c; - 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.r) { - 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.f814c)) { - obj4 = tVar.n.e; - } - aVar = aVar7.b(obj4); - tVar.r = 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.r) { - } - tVar.n = aVar2; - sVar = tVar.o; - if (sVar != null) { - } - } - aVar = null; - tVar.r = true; - tVar.q = true; - tVar.q(tVar.n); - if (aVar == null) { - } - } -} 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 4c6e49f89e..0000000000 --- a/app/src/main/java/c/i/a/c/d2/b0.java +++ /dev/null @@ -1,1212 +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; - public final m r; - @Nullable - - /* renamed from: s reason: collision with root package name */ - public final String f789s; - public final long t; - public final Loader u = new Loader("Loader:ProgressiveMediaPeriod"); - public final k v; - public final c.i.a.c.i2.j w; - - /* renamed from: x reason: collision with root package name */ - public final Runnable f790x; - - /* renamed from: y reason: collision with root package name */ - public final Runnable f791y; - - /* renamed from: z reason: collision with root package name */ - public final Handler f792z; - - /* 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 f793c; - 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.f793c = 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.f789s; - 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.f793c.a(a); - this.l = a2; - if (a2 != -1) { - this.l = a2 + j; - } - b0.this.B = IcyHeaders.a(this.f793c.j()); - c.i.a.c.h2.v vVar = this.f793c; - 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.f793c.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).f688s = 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.f809c; - 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.f792z.post(b0Var.f791y); - } - } 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.f793c; - 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.f793c; - 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.f800x) { - 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.f803c = 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.f796c; - 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.f803c; - int i10 = f0.a; - byte[] bArr2 = aVar5.b; - byte[] bArr3 = bVar.a; - i2 = i5; - int i11 = aVar5.a; - i3 = i; - int i12 = aVar5.f765c; - int i13 = aVar5.d; - bVar.f = i4; - bVar.d = iArr; - bVar.e = iArr2; - bVar.b = bArr2; - bVar.a = bArr3; - bVar.f1014c = 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.w || !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[] f794c; - public final boolean[] d; - - public e(TrackGroupArray trackGroupArray, boolean[] zArr) { - this.a = trackGroupArray; - this.b = zArr; - int i = trackGroupArray.j; - this.f794c = 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.r = mVar; - this.f789s = str; - this.t = (long) i2; - this.v = new k(lVar); - this.w = new c.i.a.c.i2.j(); - this.f790x = new g(this); - this.f791y = new i(this); - this.f792z = 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.r; - Looper looper = this.f792z.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.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.f764c; - 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.f792z.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.f793c; - r rVar = new r(aVar2.a, aVar2.k, vVar.f897c, 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.f793c; - r rVar = new r(aVar2.a, aVar2.k, vVar.f897c, 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.w.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.w; - 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.f942c; - 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.f792z.post(this.f790x); - } - - @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.w.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.f794c; - 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.r + 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.f793c; - r rVar = new r(aVar2.a, aVar2.k, vVar.f897c, 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.f800x; - } - if (!z2) { - e0 e0Var2 = this.C[i2]; - synchronized (e0Var2) { - j3 = e0Var2.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.d2.v - public void r(long j2, boolean z2) { - long j3; - int i2; - t(); - if (!w()) { - boolean[] zArr = this.H.f794c; - 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.f799s; - 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.r + 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.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 (e0 e0Var : this.C) { - if (e0Var.l() == null) { - return; - } - } - this.w.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.r; - 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 cf35b49171..0000000000 --- a/app/src/main/java/c/i/a/c/d2/c0.java +++ /dev/null @@ -1,156 +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 - public x r; - - /* 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 f795c = 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.f2349c.execute(new Loader.g(b0Var)); - loader.f2349c.shutdown(); - b0Var.f792z.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.r; - 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.f806c.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.r = 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 09f8efe0d2..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 f796c = 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 f797c; - @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.f890c; - 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.f797c) { - 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.f797c = 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 00a1082c2b..0000000000 --- a/app/src/main/java/c/i/a/c/d2/e0.java +++ /dev/null @@ -1,462 +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 f798c; - @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; - public int r; - - /* renamed from: s reason: collision with root package name */ - public int f799s; - 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 f800x; - - /* renamed from: y reason: collision with root package name */ - public boolean f801y = true; - - /* renamed from: z reason: collision with root package name */ - public boolean f802z = 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 f803c; - } - - /* compiled from: SampleQueue */ - public interface b { - } - - public e0(m mVar, @Nullable Looper looper, @Nullable s sVar, @Nullable q.a aVar) { - this.e = looper; - this.f798c = 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.f801y) { - if (z2) { - this.f801y = 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.f800x = (536870912 & i) != 0; - this.w = Math.max(this.w, 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.f799s; - int i10 = i7 - i9; - System.arraycopy(jArr, i9, jArr2, 0, i10); - System.arraycopy(this.n, this.f799s, jArr3, 0, i10); - System.arraycopy(this.m, this.f799s, iArr2, 0, i10); - System.arraycopy(this.l, this.f799s, iArr3, 0, i10); - System.arraycopy(this.o, this.f799s, aVarArr, 0, i10); - System.arraycopy(this.p, this.f799s, formatArr2, 0, i10); - System.arraycopy(this.j, this.f799s, iArr, 0, i10); - int i11 = this.f799s; - 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.f799s = 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.f802z = 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.f792z.post(b0Var.f790x); - } - } - - @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.r += i; - int i3 = this.f799s + i; - this.f799s = i3; - int i4 = this.i; - if (i3 >= i4) { - this.f799s = i3 - i4; - } - int i5 = this.t - i; - this.t = i5; - if (i5 < 0) { - this.t = 0; - } - if (i2 != 0) { - return this.k[this.f799s]; - } - int i6 = this.f799s; - 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.f799s + i; - int i3 = this.i; - return i2 < i3 ? i2 : i2 - i3; - } - - @Nullable - public final synchronized Format l() { - return this.f802z ? 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.f800x && ((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.w; - this.g = format; - DrmInitData drmInitData2 = format.w; - s sVar = this.f798c; - 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.f798c != null) { - if (z2 || !f0.a(drmInitData, drmInitData2)) { - DrmSession drmSession = this.h; - s sVar2 = this.f798c; - 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.f797c) { - d0.a aVar2 = d0Var.f; - int i = (((int) (aVar2.a - aVar.a)) / d0Var.b) + (aVar2.f797c ? 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.r = 0; - this.f799s = 0; - this.t = 0; - this.f801y = true; - this.u = Long.MIN_VALUE; - this.v = Long.MIN_VALUE; - this.w = Long.MIN_VALUE; - this.f800x = false; - this.C = null; - if (z2) { - this.A = null; - this.B = null; - this.f802z = 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.w && !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/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/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 ec833045eb..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 f805c; - 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.f983c : null; - this.f805c = 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.f805c; - Objects.requireNonNull(bVar); - a aVar = a.a; - bVar.a = null; - bVar.b = obj; - bVar.f958c = 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 a18296fbdd..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 f806c = 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.f806c; - Objects.requireNonNull(aVar); - aVar.f817c.add(new z.a.C0092a(handler, zVar)); - } - - @Override // c.i.a.c.d2.y - public final void c(z zVar) { - z.a aVar = this.f806c; - Iterator it = aVar.f817c.iterator(); - while (it.hasNext()) { - z.a.C0092a next = it.next(); - if (next.b == zVar) { - aVar.f817c.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.f1023c.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 26d63aa8a6..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 f807c; - 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[] f808c = 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.f808c; - 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.f808c, aVar.f808c) && Arrays.equals(this.d, aVar.d); - } - - public int hashCode() { - int hashCode = Arrays.hashCode(this.f808c); - 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.f807c = length; - C0091a[] aVarArr2 = new C0091a[length]; - for (int i = 0; i < this.f807c; 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.f807c == aVar.f807c && 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.f807c * 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].f808c.length; i2++) { - O.append("ad(state="); - int i3 = this.e[i].f808c[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].f808c.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/m.java b/app/src/main/java/c/i/a/c/d2/m.java deleted file mode 100644 index d2d3a8d6a4..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.f806c.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.f814c; - } - 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.f806c.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.f1023c, 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.f815c, 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 f811c; - - public b(y yVar, y.b bVar, z zVar) { - this.a = yVar; - this.b = bVar; - this.f811c = 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/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/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 57d2d5a39e..0000000000 --- a/app/src/main/java/c/i/a/c/d2/t.java +++ /dev/null @@ -1,224 +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; - public boolean r; - - /* compiled from: MaskingMediaSource */ - public static final class a extends p { - - /* renamed from: c reason: collision with root package name */ - public static final Object f814c = 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 (f814c.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 = f814c; - } - 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) ? f814c : 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.f959c, this.d)) { - cVar.f959c = 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.f814c ? 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.f814c; - } - 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.f958c = 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.f814c; - } - - @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.r = true; - return; - } - this.n = new a(new b(yVar.e()), r1.c.a, a.f814c); - } - - @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.f811c); - } - 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.f814c)) { - 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/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/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 b5f1f4046a..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.f816c, 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 0f6f88e827..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 f817c; - 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.f817c = new CopyOnWriteArrayList<>(); - this.a = 0; - this.b = null; - this.d = 0; - } - - public a(CopyOnWriteArrayList copyOnWriteArrayList, int i, @Nullable y.a aVar, long j) { - this.f817c = 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.f817c.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.f817c.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.f817c.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.f817c.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.f817c.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.f817c, 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/g2/a.java b/app/src/main/java/c/i/a/c/d3/a.java similarity index 95% rename from app/src/main/java/c/i/a/c/g2/a.java rename to app/src/main/java/c/i/a/c/d3/a.java index df24969154..49a95fee6d 100644 --- a/app/src/main/java/c/i/a/c/g2/a.java +++ b/app/src/main/java/c/i/a/c/d3/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import com.google.android.exoplayer2.ui.PlayerControlView; /* compiled from: lambda */ diff --git a/app/src/main/java/c/i/a/c/g2/b.java b/app/src/main/java/c/i/a/c/d3/b.java similarity index 95% rename from app/src/main/java/c/i/a/c/g2/b.java rename to app/src/main/java/c/i/a/c/d3/b.java index 265b0b83c0..2d8e55fa47 100644 --- a/app/src/main/java/c/i/a/c/g2/b.java +++ b/app/src/main/java/c/i/a/c/d3/b.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import com.google.android.exoplayer2.ui.DefaultTimeBar; /* compiled from: lambda */ diff --git a/app/src/main/java/c/i/a/c/g2/c.java b/app/src/main/java/c/i/a/c/d3/c.java similarity index 97% rename from app/src/main/java/c/i/a/c/g2/c.java rename to app/src/main/java/c/i/a/c/d3/c.java index 4b6c231402..b9f82bc9e8 100644 --- a/app/src/main/java/c/i/a/c/g2/c.java +++ b/app/src/main/java/c/i/a/c/d3/c.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import android.animation.ValueAnimator; import com.google.android.exoplayer2.ui.DefaultTimeBar; diff --git a/app/src/main/java/c/i/a/c/g2/d.java b/app/src/main/java/c/i/a/c/d3/d.java similarity index 90% rename from app/src/main/java/c/i/a/c/g2/d.java rename to app/src/main/java/c/i/a/c/d3/d.java index 091003a942..0775abdb63 100644 --- a/app/src/main/java/c/i/a/c/g2/d.java +++ b/app/src/main/java/c/i/a/c/d3/d.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import com.google.android.exoplayer2.ui.PlayerControlView; /* compiled from: lambda */ @@ -13,6 +13,6 @@ public final /* synthetic */ class d implements Runnable { public final void run() { PlayerControlView playerControlView = this.i; int i = PlayerControlView.i; - playerControlView.m(); + playerControlView.n(); } } diff --git a/app/src/main/java/c/i/a/c/g2/e.java b/app/src/main/java/c/i/a/c/d3/e.java similarity index 74% rename from app/src/main/java/c/i/a/c/g2/e.java rename to app/src/main/java/c/i/a/c/d3/e.java index 0dc6540686..953385c35c 100644 --- a/app/src/main/java/c/i/a/c/g2/e.java +++ b/app/src/main/java/c/i/a/c/d3/e.java @@ -1,6 +1,6 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; -import c.i.a.c.g2.i; +import c.i.a.c.d3.m; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class e implements Comparator { @@ -8,13 +8,13 @@ public final /* synthetic */ class e implements Comparator { @Override // java.util.Comparator public final int compare(Object obj, Object obj2) { - i.c cVar = (i.c) obj; - i.c cVar2 = (i.c) 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.f872c.compareTo(cVar2.f872c); + 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/g2/f.java b/app/src/main/java/c/i/a/c/d3/f.java similarity index 74% rename from app/src/main/java/c/i/a/c/g2/f.java rename to app/src/main/java/c/i/a/c/d3/f.java index f2be11d115..033d60a557 100644 --- a/app/src/main/java/c/i/a/c/g2/f.java +++ b/app/src/main/java/c/i/a/c/d3/f.java @@ -1,6 +1,6 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; -import c.i.a.c.g2.i; +import c.i.a.c.d3.m; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class f implements Comparator { @@ -8,13 +8,13 @@ public final /* synthetic */ class f implements Comparator { @Override // java.util.Comparator public final int compare(Object obj, Object obj2) { - i.c cVar = (i.c) obj; - i.c cVar2 = (i.c) 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.f872c.compareTo(cVar.f872c); + 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/g2/g.java b/app/src/main/java/c/i/a/c/d3/j.java similarity index 66% rename from app/src/main/java/c/i/a/c/g2/g.java rename to app/src/main/java/c/i/a/c/d3/j.java index 729c818ab1..411f9e5273 100644 --- a/app/src/main/java/c/i/a/c/g2/g.java +++ b/app/src/main/java/c/i/a/c/d3/j.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import android.content.Context; import android.graphics.Bitmap; @@ -19,36 +19,35 @@ 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 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 g extends View implements SubtitleView.a { - public final List i = new ArrayList(); - public List j = Collections.emptyList(); +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 b m = b.a; + public k m = k.a; public float n = 0.08f; - public g(Context context, @Nullable AttributeSet attributeSet) { + public j(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) { + public void a(List list, k kVar, float f, int i, float f2) { this.j = list; - this.m = bVar; + this.m = kVar; this.l = f; this.k = i; this.n = f2; while (this.i.size() < list.size()) { - this.i.add(new j(getContext())); + this.i.add(new n(getContext())); } invalidate(); } @@ -88,9 +87,9 @@ public final class g extends View implements SubtitleView.a { int i14; int i15; int i16; - g gVar = this; + j jVar = this; Canvas canvas3 = canvas; - List list = gVar.j; + List list = jVar.j; if (!list.isEmpty()) { int height = getHeight(); int paddingLeft = getPaddingLeft(); @@ -99,74 +98,74 @@ public final class g extends View implements SubtitleView.a { int paddingBottom = height - getPaddingBottom(); if (paddingBottom > paddingTop && width > paddingLeft) { int i17 = paddingBottom - paddingTop; - float S1 = d.S1(gVar.k, gVar.l, height, i17); + float S1 = d.S1(jVar.k, jVar.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.f821c = 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) { + 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; } - cVar = a.a(); + int i19 = bVar.q; + if (i19 == 0) { + a.g = 2; + } else if (i19 == 2) { + a.g = 0; + } + bVar = 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; + 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 = jVar.i; + charSequence = nVar.i; i6 = size; - charSequence2 = cVar.b; + charSequence2 = bVar.k; if (!(charSequence != charSequence2 || (charSequence != null && charSequence.equals(charSequence2)))) { } - jVar.i = cVar.b; - jVar.j = cVar.f820c; - 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.r = cVar.k; - jVar.f874s = bVar.b; - jVar.t = bVar.f819c; - jVar.u = i8; - jVar.w = bVar.e; - jVar.v = bVar.f; - jVar.f.setTypeface(bVar.g); - jVar.f875x = S1; - jVar.f876y = S12; - jVar.f877z = f4; - jVar.A = paddingLeft; - jVar.B = paddingTop; - jVar.C = width; - jVar.D = paddingBottom; + 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; - jVar.a(canvas2, z2); + nVar.a(canvas2, z2); i18 = i + 1; canvas3 = canvas2; list = list; @@ -178,8 +177,8 @@ public final class g extends View implements SubtitleView.a { width = i3; paddingBottom = i2; S1 = f; - gVar = this; - } else if (TextUtils.isEmpty(cVar.b)) { + jVar = this; + } else if (TextUtils.isEmpty(bVar.k)) { canvas2 = canvas3; i5 = paddingLeft; i4 = paddingTop; @@ -189,13 +188,13 @@ public final class g extends View implements SubtitleView.a { f = S1; i6 = size; } else { - i8 = cVar.l ? cVar.m : bVar.d; + i8 = bVar.v ? bVar.w : kVar.d; i7 = i17; - charSequence = jVar.i; + charSequence = nVar.i; i6 = size; - charSequence2 = cVar.b; - if (!(charSequence != charSequence2 || (charSequence != null && charSequence.equals(charSequence2))) && f0.a(jVar.j, cVar.f820c) && 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.r == cVar.k && jVar.f874s == bVar.b && jVar.t == bVar.f819c && jVar.u == i8 && jVar.w == bVar.e && jVar.v == bVar.f && f0.a(jVar.f.getTypeface(), bVar.g) && jVar.f875x == S1 && jVar.f876y == S12 && jVar.f877z == f4 && jVar.A == paddingLeft && jVar.B == paddingTop && jVar.C == width && jVar.D == paddingBottom) { - jVar.a(canvas3, z4); + 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; @@ -203,40 +202,40 @@ public final class g extends View implements SubtitleView.a { i2 = paddingBottom; f = S1; } else { - jVar.i = cVar.b; - jVar.j = cVar.f820c; - 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.r = cVar.k; - jVar.f874s = bVar.b; - jVar.t = bVar.f819c; - jVar.u = i8; - jVar.w = bVar.e; - jVar.v = bVar.f; - jVar.f.setTypeface(bVar.g); - jVar.f875x = S1; - jVar.f876y = S12; - jVar.f877z = f4; - jVar.A = paddingLeft; - jVar.B = paddingTop; - jVar.C = width; - jVar.D = paddingBottom; + 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(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.f875x); - int i22 = (int) ((jVar.f875x * 0.125f) + 0.5f); + 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 = jVar.q; + float f5 = nVar.q; if (f5 != -3.4028235E38f) { i24 = (int) (((float) i24) * f5); } @@ -253,18 +252,18 @@ public final class g extends View implements SubtitleView.a { } else { i5 = paddingLeft; i4 = paddingTop; - if (jVar.f876y > 0.0f) { + if (nVar.f747y > 0.0f) { i3 = width; i2 = paddingBottom; i10 = 0; - spannableStringBuilder.setSpan(new AbsoluteSizeSpan((int) jVar.f876y), 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); + 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 (jVar.w == 1) { + 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) { @@ -272,55 +271,55 @@ public final class g extends View implements SubtitleView.a { i25++; } } - if (Color.alpha(jVar.t) > 0) { - int i26 = jVar.w; + if (Color.alpha(nVar.t) > 0) { + int i26 = nVar.w; if (i26 == 0 || i26 == 2) { f = S1; - spannableStringBuilder.setSpan(new BackgroundColorSpan(jVar.t), 0, spannableStringBuilder.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); + spannableStringBuilder.setSpan(new BackgroundColorSpan(nVar.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); + spannableStringBuilder2.setSpan(new BackgroundColorSpan(nVar.t), 0, spannableStringBuilder2.length(), ItemTouchHelper.ACTION_MODE_DRAG_MASK); } } else { f = S1; } - Layout.Alignment alignment = jVar.j; + Layout.Alignment alignment = nVar.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; + StaticLayout staticLayout = new StaticLayout(spannableStringBuilder, nVar.f, i24, alignment, nVar.d, nVar.e, true); + nVar.E = staticLayout; int height2 = staticLayout.getHeight(); - int lineCount = jVar.E.getLineCount(); + int lineCount = nVar.E.getLineCount(); int i27 = 0; int i28 = 0; while (i27 < lineCount) { - i28 = Math.max((int) Math.ceil((double) jVar.E.getLineWidth(i27)), i28); + i28 = Math.max((int) Math.ceil((double) nVar.E.getLineWidth(i27)), i28); i27++; lineCount = lineCount; z4 = z4; } z3 = z4; - if (jVar.q == -3.4028235E38f || i28 >= i24) { + if (nVar.q == -3.4028235E38f || i28 >= i24) { i24 = i28; } int i29 = i24 + i23; - float f6 = jVar.o; + float f6 = nVar.o; if (f6 != -3.4028235E38f) { int round = Math.round(((float) i20) * f6); - int i30 = jVar.A; + int i30 = nVar.A; int i31 = round + i30; - int i32 = jVar.p; + 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, jVar.C); + i11 = Math.min(i29 + i12, nVar.C); } else { - i12 = jVar.A + ((i20 - i29) / 2); + i12 = nVar.A + ((i20 - i29) / 2); i11 = i12 + i29; } int i33 = i11 - i12; @@ -329,53 +328,53 @@ public final class g extends View implements SubtitleView.a { canvas2 = canvas; z2 = z3; } else { - float f7 = jVar.l; + float f7 = nVar.l; if (f7 != -3.4028235E38f) { - if (jVar.m == 0) { - i14 = Math.round(((float) i21) * f7) + jVar.B; - int i34 = jVar.n; + 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 = jVar.D; + i16 = nVar.D; if (i15 > i16) { i14 = i16 - height2; } else { - i13 = jVar.B; + i13 = nVar.B; } } } else { - int lineBottom = jVar.E.getLineBottom(0) - jVar.E.getLineTop(0); - float f8 = jVar.l; + int lineBottom = nVar.E.getLineBottom(0) - nVar.E.getLineTop(0); + float f8 = nVar.l; if (f8 >= 0.0f) { - i14 = Math.round(f8 * ((float) lineBottom)) + jVar.B; + i14 = Math.round(f8 * ((float) lineBottom)) + nVar.B; i15 = i14 + height2; - i16 = jVar.D; + i16 = nVar.D; if (i15 > i16) { } } else { - i14 = Math.round((f8 + 1.0f) * ((float) lineBottom)) + jVar.D; + i14 = Math.round((f8 + 1.0f) * ((float) lineBottom)) + nVar.D; } } i14 -= height2; i15 = i14 + height2; - i16 = jVar.D; + i16 = nVar.D; if (i15 > i16) { } } else { - i14 = (jVar.D - height2) - ((int) (((float) i21) * jVar.f877z)); + i14 = (nVar.D - height2) - ((int) (((float) i21) * nVar.f748z)); } 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; + 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; } } - jVar.a(canvas2, z2); + nVar.a(canvas2, z2); i18 = i + 1; canvas3 = canvas2; list = list; @@ -387,7 +386,7 @@ public final class g extends View implements SubtitleView.a { width = i3; paddingBottom = i2; S1 = f; - gVar = this; + jVar = this; } else { z3 = z4; i5 = paddingLeft; @@ -396,20 +395,20 @@ public final class g extends View implements SubtitleView.a { 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; + 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 = (jVar.o * f9) + ((float) i36); + float f10 = (nVar.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.r; + 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 = jVar.p; + int i39 = nVar.p; if (i39 == 2) { f3 = (float) round2; } else { @@ -417,7 +416,7 @@ public final class g extends View implements SubtitleView.a { f3 = (float) (round2 / 2); } int round4 = Math.round(f10); - i9 = jVar.n; + i9 = nVar.n; if (i9 != 2) { f2 = (float) round3; } else { @@ -425,24 +424,24 @@ public final class g extends View implements SubtitleView.a { f2 = (float) (round3 / 2); } int round5 = Math.round(f12); - jVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); + nVar.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); + nVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); } f10 -= f3; int round4 = Math.round(f10); - i9 = jVar.n; + i9 = nVar.n; if (i9 != 2) { } f12 -= f2; int round5 = Math.round(f12); - jVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); + nVar.J = new Rect(round4, round5, round2 + round4, round3 + round5); } canvas2 = canvas; z2 = z3; - jVar.a(canvas2, z2); + nVar.a(canvas2, z2); i18 = i + 1; canvas3 = canvas2; list = list; @@ -454,7 +453,7 @@ public final class g extends View implements SubtitleView.a { width = i3; paddingBottom = i2; S1 = f; - gVar = this; + jVar = this; } } i = i18; @@ -469,7 +468,7 @@ public final class g extends View implements SubtitleView.a { width = i3; paddingBottom = i2; S1 = f; - gVar = this; + jVar = this; } } } diff --git a/app/src/main/java/c/i/a/c/e2/b.java b/app/src/main/java/c/i/a/c/d3/k.java similarity index 69% rename from app/src/main/java/c/i/a/c/e2/b.java rename to app/src/main/java/c/i/a/c/d3/k.java index f0b3d5c096..74e05db575 100644 --- a/app/src/main/java/c/i/a/c/e2/b.java +++ b/app/src/main/java/c/i/a/c/d3/k.java @@ -1,24 +1,24 @@ -package c.i.a.c.e2; +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 b { - public static final b a = new b(-1, ViewCompat.MEASURED_STATE_MASK, 0, 0, -1, null); +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 f819c; + public final int f742c; 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) { + public k(int i, int i2, int i3, int i4, int i5, @Nullable Typeface typeface) { this.b = i; - this.f819c = i2; + this.f742c = i2; this.d = i3; this.e = i4; this.f = i5; diff --git a/app/src/main/java/c/i/a/c/g2/h.java b/app/src/main/java/c/i/a/c/d3/l.java similarity index 71% rename from app/src/main/java/c/i/a/c/g2/h.java rename to app/src/main/java/c/i/a/c/d3/l.java index 34144f3eed..9a217b5e21 100644 --- a/app/src/main/java/c/i/a/c/g2/h.java +++ b/app/src/main/java/c/i/a/c/d3/l.java @@ -1,12 +1,12 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import android.content.res.Resources; import java.util.Objects; /* compiled from: DefaultTrackNameProvider */ -public class h implements l { +public class l implements p { public final Resources a; - public h(Resources resources) { + public l(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/d3/m.java similarity index 92% rename from app/src/main/java/c/i/a/c/g2/i.java rename to app/src/main/java/c/i/a/c/d3/m.java index c877ed7492..d419065e50 100644 --- a/app/src/main/java/c/i/a/c/g2/i.java +++ b/app/src/main/java/c/i/a/c/d3/m.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import android.text.Html; import java.util.ArrayList; @@ -6,7 +6,7 @@ import java.util.List; import java.util.Map; import java.util.regex.Pattern; /* compiled from: SpannedToHtmlConverter */ -public final class i { +public final class m { public static final Pattern a = Pattern.compile("( )? "); /* compiled from: SpannedToHtmlConverter */ @@ -26,13 +26,13 @@ public final class i { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f872c; + 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.f872c = str; + this.f743c = str; this.d = str2; } } diff --git a/app/src/main/java/c/i/a/c/g2/j.java b/app/src/main/java/c/i/a/c/d3/n.java similarity index 92% rename from app/src/main/java/c/i/a/c/g2/j.java rename to app/src/main/java/c/i/a/c/d3/n.java index 0db3c4a3f2..d7a24a4b08 100644 --- a/app/src/main/java/c/i/a/c/g2/j.java +++ b/app/src/main/java/c/i/a/c/d3/n.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import android.content.Context; import android.content.res.TypedArray; @@ -13,7 +13,7 @@ import android.text.TextPaint; import androidx.annotation.Nullable; import java.util.Objects; /* compiled from: SubtitlePainter */ -public final class j { +public final class n { public int A; public int B; public int C; @@ -28,7 +28,7 @@ public final class j { public final float b; /* renamed from: c reason: collision with root package name */ - public final float f873c; + public final float f744c; public final float d; public final float e; public final TextPaint f; @@ -49,22 +49,22 @@ public final class j { public float r; /* renamed from: s reason: collision with root package name */ - public int f874s; + 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 f875x; + public float f746x; /* renamed from: y reason: collision with root package name */ - public float f876y; + public float f747y; /* renamed from: z reason: collision with root package name */ - public float f877z; + public float f748z; - public j(Context context) { + 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); @@ -72,7 +72,7 @@ public final class j { float round = (float) Math.round((((float) context.getResources().getDisplayMetrics().densityDpi) * 2.0f) / 160.0f); this.a = round; this.b = round; - this.f873c = round; + this.f744c = round; TextPaint textPaint = new TextPaint(); this.f = textPaint; textPaint.setAntiAlias(true); @@ -109,7 +109,7 @@ public final class j { } else if (i == 2) { TextPaint textPaint = this.f; float f = this.b; - float f2 = this.f873c; + float f2 = this.f744c; textPaint.setShadowLayer(f, f2, f2, this.v); } else if (i == 3 || i == 4) { if (i != 3) { @@ -121,14 +121,14 @@ public final class j { i2 = this.v; } float f3 = this.b / 2.0f; - this.f.setColor(this.f874s); + 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.f874s); + this.f.setColor(this.f745s); this.f.setStyle(Paint.Style.FILL); staticLayout.draw(canvas); this.f.setShadowLayer(0.0f, 0.0f, 0.0f, 0); diff --git a/app/src/main/java/c/i/a/c/g2/k.java b/app/src/main/java/c/i/a/c/d3/o.java similarity index 68% rename from app/src/main/java/c/i/a/c/g2/k.java rename to app/src/main/java/c/i/a/c/d3/o.java index 4f7417dc3d..f518669958 100644 --- a/app/src/main/java/c/i/a/c/g2/k.java +++ b/app/src/main/java/c/i/a/c/d3/o.java @@ -1,16 +1,16 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; import androidx.annotation.Nullable; /* compiled from: TimeBar */ -public interface k { +public interface o { /* compiled from: TimeBar */ public interface a { - void b(k kVar, long j); + void k(o oVar, long j); - void c(k kVar, long j, boolean z2); + void l(o oVar, long j, boolean z2); - void g(k kVar, long j); + void m(o oVar, long j); } void a(@Nullable long[] jArr, @Nullable boolean[] zArr, int i); @@ -23,7 +23,7 @@ public interface k { void setDuration(long j); - @Override // c.i.a.c.g2.k + @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/g2/l.java b/app/src/main/java/c/i/a/c/d3/p.java similarity index 50% rename from app/src/main/java/c/i/a/c/g2/l.java rename to app/src/main/java/c/i/a/c/d3/p.java index ac75414939..10ab9476ae 100644 --- a/app/src/main/java/c/i/a/c/g2/l.java +++ b/app/src/main/java/c/i/a/c/d3/p.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2; +package c.i.a.c.d3; /* compiled from: TrackNameProvider */ -public interface l { +public interface p { } diff --git a/app/src/main/java/c/i/a/c/g2/m.java b/app/src/main/java/c/i/a/c/d3/q.java similarity index 81% rename from app/src/main/java/c/i/a/c/g2/m.java rename to app/src/main/java/c/i/a/c/d3/q.java index 8562bfb4d1..34a78c612f 100644 --- a/app/src/main/java/c/i/a/c/g2/m.java +++ b/app/src/main/java/c/i/a/c/d3/q.java @@ -1,12 +1,12 @@ -package c.i.a.c.g2; +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 m extends WebView { - public m(n nVar, Context context, AttributeSet attributeSet) { +public class q extends WebView { + public q(Context context, AttributeSet attributeSet) { super(context, attributeSet); } 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 290b08d924..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 f818c; - @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.f818c = 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.f818c; - 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.f818c; - 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/c.java b/app/src/main/java/c/i/a/c/e2/c.java deleted file mode 100644 index b8cf8bcc6f..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 f820c; - @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 f821c; - 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.f821c = 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.f821c = cVar.f820c; - 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.f821c, 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.f820c = 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/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/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/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/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/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 4e89ef3146..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 f845c; - 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.f845c = 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.f919c = 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.f919c); - } - } - aVar.p.a(); - ArrayList arrayList = new ArrayList(); - while (aVar.n.a() >= 3) { - w wVar5 = aVar.n; - C0095a aVar2 = aVar.p; - int i5 = wVar5.f919c; - int s2 = wVar5.s(); - int x2 = wVar5.x(); - int i6 = wVar5.b + x2; - if (i6 > i5) { - wVar5.D(i5); - cVar = null; - } else { - if (s2 != 128) { - switch (s2) { - 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 s3 = wVar5.s(); - double s4 = (double) wVar5.s(); - double s5 = (double) (wVar5.s() - 128); - arrayList = arrayList; - double s6 = (double) (wVar5.s() - 128); - aVar2.b[s3] = (f0.h((int) ((1.402d * s5) + s4), 0, 255) << 16) | (wVar5.s() << 24) | (f0.h((int) ((s4 - (0.34414d * s6)) - (s5 * 0.71414d)), 0, 255) << 8) | f0.h((int) ((s6 * 1.772d) + s4), 0, 255); - i8++; - wVar5 = wVar5; - } - wVar = wVar5; - aVar2.f845c = 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.f919c; - 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).f919c) == 0 || wVar2.b != i2 || !aVar2.f845c) { - cVar = null; - } else { - wVar2.D(0); - int i12 = aVar2.h * aVar2.i; - int[] iArr = new int[i12]; - int i13 = 0; - while (i13 < i12) { - int s7 = aVar2.a.s(); - if (s7 != 0) { - i3 = i13 + 1; - iArr[i13] = aVar2.b[s7]; - } else { - int s8 = aVar2.a.s(); - if (s8 != 0) { - i3 = ((s8 & 64) == 0 ? s8 & 63 : ((s8 & 63) << 8) | aVar2.a.s()) + i13; - Arrays.fill(iArr, i13, i3, (s8 & 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/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/u/i.java b/app/src/main/java/c/i/a/c/e2/u/i.java deleted file mode 100644 index 01ea86b97c..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.f919c = 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.f859c.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.f859c; - 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.f919c; - 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.f859c))) { - 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.f860c = 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.f859c); - boolean z6 = b2 == null || "}".equals(b2); - if (!z6) { - cVar2.b.D(i13); - w wVar6 = cVar2.b; - StringBuilder sb3 = cVar2.f859c; - 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/h2/a.java b/app/src/main/java/c/i/a/c/e3/a.java similarity index 50% rename from app/src/main/java/c/i/a/c/h2/a.java rename to app/src/main/java/c/i/a/c/e3/a.java index 2a993530a6..fc02b3956e 100644 --- a/app/src/main/java/c/i/a/c/h2/a.java +++ b/app/src/main/java/c/i/a/c/e3/a.java @@ -1,24 +1,23 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; 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 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 */ d.a.C0097a.C0098a i; + 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(d.a.C0097a.C0098a aVar, int i, long j, long j2) { + public /* synthetic */ a(f.a.C0092a.C0093a aVar, int i, long j, long j2) { this.i = aVar; this.j = i; this.k = j; @@ -27,37 +26,37 @@ public final /* synthetic */ class a implements Runnable { @Override // java.lang.Runnable public final void run() { - y.a aVar; - y.a aVar2; - y.a next; - d.a.C0097a.C0098a aVar3 = this.i; + 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; - c1 c1Var = (c1) aVar3.b; - c1.a aVar4 = c1Var.l; + g1 g1Var = (g1) aVar3.b; + g1.a aVar4 = g1Var.l; if (aVar4.b.isEmpty()) { aVar = null; } else { - u uVar = aVar4.b; - if (!(uVar instanceof List)) { - Iterator it = uVar.iterator(); + p pVar = aVar4.b; + if (!(pVar instanceof List)) { + Iterator it = pVar.iterator(); do { next = it.next(); } while (it.hasNext()); aVar2 = next; - } else if (!uVar.isEmpty()) { - aVar2 = uVar.get(uVar.size() - 1); + } else if (!pVar.isEmpty()) { + aVar2 = pVar.get(pVar.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(); + 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/h2/y/a.java b/app/src/main/java/c/i/a/c/e3/b0/a.java similarity index 85% rename from app/src/main/java/c/i/a/c/h2/y/a.java rename to app/src/main/java/c/i/a/c/e3/b0/a.java index 254f37044c..261b7f16e2 100644 --- a/app/src/main/java/c/i/a/c/h2/y/a.java +++ b/app/src/main/java/c/i/a/c/e3/b0/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +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/h2/y/b.java b/app/src/main/java/c/i/a/c/e3/b0/b.java similarity index 95% rename from app/src/main/java/c/i/a/c/h2/y/b.java rename to app/src/main/java/c/i/a/c/e3/b0/b.java index 76310ab1bf..54cf825003 100644 --- a/app/src/main/java/c/i/a/c/h2/y/b.java +++ b/app/src/main/java/c/i/a/c/e3/b0/b.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import java.util.Comparator; /* compiled from: lambda */ 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/h2/y/d.java b/app/src/main/java/c/i/a/c/e3/b0/d.java similarity index 89% rename from app/src/main/java/c/i/a/c/h2/y/d.java rename to app/src/main/java/c/i/a/c/e3/b0/d.java index a8d5d1271e..c23272f6e0 100644 --- a/app/src/main/java/c/i/a/c/h2/y/d.java +++ b/app/src/main/java/c/i/a/c/e3/b0/d.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import com.google.android.exoplayer2.upstream.cache.Cache; /* compiled from: CacheEvictor */ diff --git a/app/src/main/java/c/i/a/c/h2/y/e.java b/app/src/main/java/c/i/a/c/e3/b0/e.java similarity index 89% rename from app/src/main/java/c/i/a/c/h2/y/e.java rename to app/src/main/java/c/i/a/c/e3/b0/e.java index 2288ed7cdc..13eef750b8 100644 --- a/app/src/main/java/c/i/a/c/h2/y/e.java +++ b/app/src/main/java/c/i/a/c/e3/b0/e.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; /* compiled from: CacheFileMetadata */ public final class e { public final long a; diff --git a/app/src/main/java/c/i/a/c/h2/y/f.java b/app/src/main/java/c/i/a/c/e3/b0/f.java similarity index 59% rename from app/src/main/java/c/i/a/c/h2/y/f.java rename to app/src/main/java/c/i/a/c/e3/b0/f.java index 00e3267b5b..72476eb245 100644 --- a/app/src/main/java/c/i/a/c/h2/y/f.java +++ b/app/src/main/java/c/i/a/c/e3/b0/f.java @@ -1,12 +1,12 @@ -package c.i.a.c.h2.y; +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.c.a.a0.d; -import c.i.a.c.w1.a; +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; @@ -20,41 +20,30 @@ public final class f { public final a b; /* renamed from: c reason: collision with root package name */ - public String f901c; + public String f753c; 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.f901c); - Cursor query = this.b.getReadableDatabase().query(this.f901c, 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))); + 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); } - query.close(); - return hashMap; + throw th; } catch (SQLException e) { throw new DatabaseIOException(e); } @@ -64,15 +53,22 @@ public final class f { public void b(long j) throws DatabaseIOException { try { String hexString = Long.toHexString(j); - this.f901c = "ExoPlayerCacheFileMetadata" + hexString; - if (d.I0(this.b.getReadableDatabase(), 2, hexString) != 1) { + 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.Z1(writableDatabase, 2, hexString, 1); - String str = this.f901c; - writableDatabase.execSQL("DROP TABLE IF EXISTS " + str); - writableDatabase.execSQL("CREATE TABLE " + this.f901c + " (name TEXT PRIMARY KEY NOT NULL,length INTEGER NOT NULL,last_touch_timestamp INTEGER NOT NULL)"); + 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(); @@ -85,14 +81,14 @@ public final class f { @WorkerThread public void c(Set set) throws DatabaseIOException { - Objects.requireNonNull(this.f901c); + Objects.requireNonNull(this.f753c); try { SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); writableDatabase.beginTransactionNonExclusive(); try { Iterator it = set.iterator(); while (it.hasNext()) { - writableDatabase.delete(this.f901c, "name = ?", new String[]{it.next()}); + writableDatabase.delete(this.f753c, "name = ?", new String[]{it.next()}); } writableDatabase.setTransactionSuccessful(); } finally { @@ -105,14 +101,14 @@ public final class f { @WorkerThread public void d(String str, long j, long j2) throws DatabaseIOException { - Objects.requireNonNull(this.f901c); + 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.f901c, null, contentValues); + writableDatabase.replaceOrThrow(this.f753c, 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/e3/b0/g.java similarity index 82% rename from app/src/main/java/c/i/a/c/h2/y/g.java rename to app/src/main/java/c/i/a/c/e3/b0/g.java index 45d1e656c7..b2236016e7 100644 --- a/app/src/main/java/c/i/a/c/h2/y/g.java +++ b/app/src/main/java/c/i/a/c/e3/b0/g.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +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/h2/y/h.java b/app/src/main/java/c/i/a/c/e3/b0/h.java similarity index 86% rename from app/src/main/java/c/i/a/c/h2/y/h.java rename to app/src/main/java/c/i/a/c/e3/b0/h.java index 61752d50b1..84388d81da 100644 --- a/app/src/main/java/c/i/a/c/h2/y/h.java +++ b/app/src/main/java/c/i/a/c/e3/b0/h.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import androidx.annotation.Nullable; import c.d.b.a.a; @@ -36,9 +36,7 @@ public class h implements Comparable { @Override // java.lang.Object public String toString() { - StringBuilder O = a.O("["); - O.append(this.j); - O.append(", "); - return a.A(O, this.k, "]"); + long j = this.j; + return a.B(a.P(44, "[", j, ", "), 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/e3/b0/i.java similarity index 94% rename from app/src/main/java/c/i/a/c/h2/y/i.java rename to app/src/main/java/c/i/a/c/e3/b0/i.java index 63c4ffbb1e..d8200d651a 100644 --- a/app/src/main/java/c/i/a/c/h2/y/i.java +++ b/app/src/main/java/c/i/a/c/e3/b0/i.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import androidx.annotation.Nullable; import java.util.ArrayList; @@ -9,7 +9,7 @@ public final class i { public final String b; /* renamed from: c reason: collision with root package name */ - public final TreeSet f902c = new TreeSet<>(); + public final TreeSet f754c = new TreeSet<>(); public final ArrayList d = new ArrayList<>(); public n e; @@ -69,7 +69,7 @@ public final class i { return false; } i iVar = (i) obj; - return this.a == iVar.a && this.b.equals(iVar.b) && this.f902c.equals(iVar.f902c) && this.e.equals(iVar.e); + return this.a == iVar.a && this.b.equals(iVar.b) && this.f754c.equals(iVar.f754c) && this.e.equals(iVar.e); } public int hashCode() { diff --git a/app/src/main/java/c/i/a/c/h2/y/j.java b/app/src/main/java/c/i/a/c/e3/b0/j.java similarity index 78% rename from app/src/main/java/c/i/a/c/h2/y/j.java rename to app/src/main/java/c/i/a/c/e3/b0/j.java index c7ee60d6a2..dbe7132ddf 100644 --- a/app/src/main/java/c/i/a/c/h2/y/j.java +++ b/app/src/main/java/c/i/a/c/e3/b0/j.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import android.content.ContentValues; import android.database.Cursor; @@ -9,10 +9,9 @@ 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 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; @@ -44,7 +43,7 @@ public class j { public final SparseArray b; /* renamed from: c reason: collision with root package name */ - public final SparseBooleanArray f903c; + public final SparseBooleanArray f755c; public final SparseBooleanArray d; public c e; @Nullable @@ -53,38 +52,48 @@ public class j { /* 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; + public final c.i.a.c.u2.a b; /* renamed from: c reason: collision with root package name */ - public final SparseArray f904c = new SparseArray<>(); + public final SparseArray f756c = new SparseArray<>(); public String d; public String e; - public a(c.i.a.c.w1.a aVar) { + public a(c.i.a.c.u2.a aVar) { this.b = aVar; } - @Override // c.i.a.c.h2.y.j.c + 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.f904c.delete(iVar.a); + this.f756c.delete(iVar.a); } else { - this.f904c.put(iVar.a, null); + this.f756c.put(iVar.a, null); } } - @Override // c.i.a.c.h2.y.j.c + @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 { - j(writableDatabase); + l(writableDatabase); for (i iVar : hashMap.values()) { i(writableDatabase, iVar); } writableDatabase.setTransactionSuccessful(); - this.f904c.clear(); + this.f756c.clear(); } finally { writableDatabase.endTransaction(); } @@ -93,30 +102,30 @@ public class j { } } - @Override // c.i.a.c.h2.y.j.c + @Override // c.i.a.c.e3.b0.j.c public void c(i iVar) { - this.f904c.put(iVar.a, iVar); + this.f756c.put(iVar.a, iVar); } - @Override // c.i.a.c.h2.y.j.c + @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.I0(readableDatabase, 1, str) != -1; + return d.a(readableDatabase, 1, str) != -1; } - @Override // c.i.a.c.h2.y.j.c + @Override // c.i.a.c.e3.b0.j.c public void e(HashMap hashMap) throws IOException { - if (this.f904c.size() != 0) { + if (this.f756c.size() != 0) { try { SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); writableDatabase.beginTransactionNonExclusive(); - for (int i = 0; i < this.f904c.size(); i++) { + for (int i = 0; i < this.f756c.size(); i++) { try { - i valueAt = this.f904c.valueAt(i); + i valueAt = this.f756c.valueAt(i); if (valueAt == null) { - int keyAt = this.f904c.keyAt(i); + int keyAt = this.f756c.keyAt(i); String str = this.e; Objects.requireNonNull(str); writableDatabase.delete(str, "id = ?", new String[]{Integer.toString(keyAt)}); @@ -128,7 +137,7 @@ public class j { } } writableDatabase.setTransactionSuccessful(); - this.f904c.clear(); + this.f756c.clear(); writableDatabase.endTransaction(); } catch (SQLException e) { throw new DatabaseIOException(e); @@ -136,43 +145,25 @@ public class j { } } - @Override // c.i.a.c.h2.y.j.c + @Override // c.i.a.c.e3.b0.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); + this.e = k(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 + @Override // c.i.a.c.e3.b0.j.c public void g(HashMap hashMap, SparseArray sparseArray) throws IOException { - d.D(this.f904c.size() == 0); + 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.I0(readableDatabase, 1, str) != 1) { + if (d.a(readableDatabase, 1, str) != 1) { SQLiteDatabase writableDatabase = this.b.getWritableDatabase(); writableDatabase.beginTransactionNonExclusive(); try { - j(writableDatabase); + l(writableDatabase); writableDatabase.setTransactionSuccessful(); } finally { writableDatabase.endTransaction(); @@ -183,12 +174,19 @@ public class j { 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); + 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(); @@ -196,24 +194,28 @@ public class j { } } - @Override // c.i.a.c.h2.y.j.c + @Override // c.i.a.c.e3.b0.j.c public void h() throws DatabaseIOException { - c.i.a.c.w1.a aVar = this.b; + c.i.a.c.u2.a aVar = this.b; String str = this.d; Objects.requireNonNull(str); try { - String str2 = "ExoPlayerCacheIndex" + str; + String k = k(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}); + 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); } - writableDatabase.execSQL("DROP TABLE IF EXISTS " + str2); - writableDatabase.setTransactionSuccessful(); + } finally { writableDatabase.endTransaction(); - } catch (SQLException e) { - throw new DatabaseIOException(e); } } catch (SQLException e2) { throw new DatabaseIOException(e2); @@ -233,14 +235,15 @@ public class j { sQLiteDatabase.replaceOrThrow(str, null, contentValues); } - public final void j(SQLiteDatabase sQLiteDatabase) throws DatabaseIOException { + public final void l(SQLiteDatabase sQLiteDatabase) throws DatabaseIOException { String str = this.d; Objects.requireNonNull(str); - d.Z1(sQLiteDatabase, 1, str, 1); + d.b(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)"); + 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)")); } } @@ -252,24 +255,24 @@ public class j { @Nullable /* renamed from: c reason: collision with root package name */ - public final SecretKeySpec f905c; + public final SecretKeySpec f757c; @Nullable public final SecureRandom d; - public final f e; + public final e e; public boolean f; @Nullable - public y g; + public p g; public b(File file, @Nullable byte[] bArr, boolean z2) { SecretKeySpec secretKeySpec; Cipher cipher; boolean z3 = false; - d.D(bArr != null || !z2); + c.c.a.a0.d.D(bArr != null || !z2); SecureRandom secureRandom = null; if (bArr != null) { - d.k(bArr.length == 16 ? true : z3); + c.c.a.a0.d.j(bArr.length == 16 ? true : z3); try { - if (f0.a == 18) { + if (e0.a == 18) { try { cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING", "BC"); } catch (Throwable unused) { @@ -282,50 +285,50 @@ public class j { throw new IllegalStateException(e); } } else { - d.k(!z2); + c.c.a.a0.d.j(!z2); cipher = null; secretKeySpec = null; } this.a = z2; this.b = cipher; - this.f905c = secretKeySpec; + this.f757c = secretKeySpec; this.d = z2 ? new SecureRandom() : secureRandom; - this.e = new f(file); + this.e = new e(file); } - @Override // c.i.a.c.h2.y.j.c + @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.h2.y.j.c + @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(); - y yVar = this.g; - if (yVar == null) { - this.g = new y(c2); + p pVar = this.g; + if (pVar == null) { + this.g = new p(c2); } else { - yVar.a(c2); + pVar.a(c2); } - y yVar2 = this.g; - DataOutputStream dataOutputStream2 = new DataOutputStream(yVar2); + 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 = f0.a; + int i = e0.a; secureRandom.nextBytes(bArr); dataOutputStream2.write(bArr); try { - this.b.init(1, this.f905c, new IvParameterSpec(bArr)); + this.b.init(1, this.f757c, new IvParameterSpec(bArr)); dataOutputStream2.flush(); - dataOutputStream2 = new DataOutputStream(new CipherOutputStream(yVar2, this.b)); + dataOutputStream2 = new DataOutputStream(new CipherOutputStream(pVar2, this.b)); } catch (InvalidAlgorithmParameterException | InvalidKeyException e) { throw new IllegalStateException(e); } @@ -339,16 +342,16 @@ public class j { i2 += i(iVar, 2); } dataOutputStream2.writeInt(i2); - f fVar = this.e; - Objects.requireNonNull(fVar); + e eVar = this.e; + Objects.requireNonNull(eVar); dataOutputStream2.close(); - fVar.b.delete(); - int i3 = f0.a; + eVar.b.delete(); + int i3 = e0.a; this.f = false; } catch (Throwable th2) { th = th2; dataOutputStream = dataOutputStream2; - int i4 = f0.a; + int i4 = e0.a; if (dataOutputStream != null) { try { dataOutputStream.close(); @@ -359,31 +362,31 @@ public class j { } } catch (Throwable th3) { th = th3; - int i4 = f0.a; + int i4 = e0.a; if (dataOutputStream != null) { } throw th; } } - @Override // c.i.a.c.h2.y.j.c + @Override // c.i.a.c.e3.b0.j.c public void c(i iVar) { this.f = true; } - @Override // c.i.a.c.h2.y.j.c + @Override // c.i.a.c.e3.b0.j.c public boolean d() { return this.e.a(); } - @Override // c.i.a.c.h2.y.j.c + @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.h2.y.j.c + @Override // c.i.a.c.e3.b0.j.c public void f(long j) { } @@ -391,11 +394,11 @@ public class j { /* 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 + @Override // c.i.a.c.e3.b0.j.c public void g(HashMap hashMap, SparseArray sparseArray) { Throwable th; boolean z2 = true; - d.D(!this.f); + c.c.a.a0.d.D(!this.f); if (this.e.a()) { DataInputStream dataInputStream = null; try { @@ -412,8 +415,8 @@ public class j { IvParameterSpec ivParameterSpec = new IvParameterSpec(bArr); try { Cipher cipher = this.b; - SecretKeySpec secretKeySpec = this.f905c; - int i = f0.a; + 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) { @@ -434,7 +437,7 @@ public class j { int readInt3 = dataInputStream2.readInt(); boolean z3 = dataInputStream2.read() == -1; if (readInt3 == i2 && z3) { - int i4 = f0.a; + int i4 = e0.a; try { dataInputStream2.close(); } catch (IOException unused) { @@ -442,7 +445,7 @@ public class j { } } } - int i5 = f0.a; + int i5 = e0.a; try { dataInputStream2.close(); } catch (IOException unused2) { @@ -463,7 +466,7 @@ public class j { } } catch (IOException unused4) { if (dataInputStream != null) { - int i6 = f0.a; + int i6 = e0.a; dataInputStream.close(); } z2 = false; @@ -472,7 +475,7 @@ public class j { } catch (Throwable th3) { th = th3; if (dataInputStream != null) { - int i7 = f0.a; + int i7 = e0.a; try { dataInputStream.close(); } catch (IOException unused5) { @@ -485,17 +488,17 @@ public class j { if (!z2) { hashMap.clear(); sparseArray.clear(); - f fVar = this.e; - fVar.a.delete(); - fVar.b.delete(); + e eVar = this.e; + eVar.a.delete(); + eVar.b.delete(); } } - @Override // c.i.a.c.h2.y.j.c + @Override // c.i.a.c.e3.b0.j.c public void h() { - f fVar = this.e; - fVar.a.delete(); - fVar.b.delete(); + e eVar = this.e; + eVar.a.delete(); + eVar.b.delete(); } public final int i(i iVar, int i) { @@ -542,17 +545,17 @@ public class j { 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); + 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.f903c = new SparseBooleanArray(); + 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 = f0.a; + int i = e0.a; this.e = bVar; this.f = aVar2; return; @@ -569,7 +572,7 @@ public class j { int readInt2 = dataInputStream.readInt(); if (readInt2 >= 0) { int min = Math.min(readInt2, 10485760); - byte[] bArr = f0.f; + byte[] bArr = e0.f; int i2 = 0; while (i2 != readInt2) { int i3 = i2 + min; @@ -580,14 +583,14 @@ public class j { } hashMap.put(readUTF, bArr); } else { - throw new IOException(c.d.b.a.a.l("Invalid value size: ", readInt2)); + 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.f906c.entrySet(); + Set> entrySet = nVar.f758c.entrySet(); dataOutputStream.writeInt(entrySet.size()); for (Map.Entry entry : entrySet) { dataOutputStream.writeUTF(entry.getKey()); @@ -648,7 +651,7 @@ public class j { public void f(String str) { i iVar = this.a.get(str); - if (iVar != null && iVar.f902c.isEmpty() && iVar.d.isEmpty()) { + if (iVar != null && iVar.f754c.isEmpty() && iVar.d.isEmpty()) { this.a.remove(str); int i = iVar.a; boolean z2 = this.d.get(i); @@ -659,18 +662,18 @@ public class j { return; } this.b.put(i, null); - this.f903c.put(i, true); + this.f755c.put(i, true); } } @WorkerThread public void g() throws IOException { this.e.e(this.a); - int size = this.f903c.size(); + int size = this.f755c.size(); for (int i = 0; i < size; i++) { - this.b.remove(this.f903c.keyAt(i)); + this.b.remove(this.f755c.keyAt(i)); } - this.f903c.clear(); + this.f755c.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/e3/b0/k.java similarity index 76% rename from app/src/main/java/c/i/a/c/h2/y/k.java rename to app/src/main/java/c/i/a/c/e3/b0/k.java index e08bb2243e..af4928682f 100644 --- a/app/src/main/java/c/i/a/c/h2/y/k.java +++ b/app/src/main/java/c/i/a/c/e3/b0/k.java @@ -1,10 +1,10 @@ -package c.i.a.c.h2.y; +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).f906c.get("exo_len"); + byte[] bArr = ((n) lVar).f758c.get("exo_len"); if (bArr != null) { return ByteBuffer.wrap(bArr).getLong(); } diff --git a/app/src/main/java/c/i/a/c/h2/y/l.java b/app/src/main/java/c/i/a/c/e3/b0/l.java similarity index 72% rename from app/src/main/java/c/i/a/c/h2/y/l.java rename to app/src/main/java/c/i/a/c/e3/b0/l.java index 7eafcd76a3..86d8577db0 100644 --- a/app/src/main/java/c/i/a/c/h2/y/l.java +++ b/app/src/main/java/c/i/a/c/e3/b0/l.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; /* 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/e3/b0/m.java similarity index 96% rename from app/src/main/java/c/i/a/c/h2/y/m.java rename to app/src/main/java/c/i/a/c/e3/b0/m.java index 8b75d70be7..013e1ef4d5 100644 --- a/app/src/main/java/c/i/a/c/h2/y/m.java +++ b/app/src/main/java/c/i/a/c/e3/b0/m.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import java.util.ArrayList; import java.util.HashMap; diff --git a/app/src/main/java/c/i/a/c/h2/y/n.java b/app/src/main/java/c/i/a/c/e3/b0/n.java similarity index 86% rename from app/src/main/java/c/i/a/c/h2/y/n.java rename to app/src/main/java/c/i/a/c/e3/b0/n.java index 77052af68e..2ee787d2ba 100644 --- a/app/src/main/java/c/i/a/c/h2/y/n.java +++ b/app/src/main/java/c/i/a/c/e3/b0/n.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import androidx.annotation.Nullable; import c.i.b.a.c; @@ -16,14 +16,14 @@ public final class n implements l { public int b; /* renamed from: c reason: collision with root package name */ - public final Map f906c; + public final Map f758c; public n() { this(Collections.emptyMap()); } public n(Map map) { - this.f906c = Collections.unmodifiableMap(map); + this.f758c = Collections.unmodifiableMap(map); } public static boolean b(Map map, Map map2) { @@ -40,7 +40,7 @@ public final class n implements l { public n a(m mVar) { byte[] bArr; - HashMap hashMap = new HashMap(this.f906c); + 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++) { @@ -60,7 +60,7 @@ public final class n implements l { if (value2 instanceof Long) { bArr = ByteBuffer.allocate(8).putLong(((Long) value2).longValue()).array(); } else if (value2 instanceof String) { - bArr = ((String) value2).getBytes(c.f1275c); + bArr = ((String) value2).getBytes(c.f1307c); } else if (value2 instanceof byte[]) { bArr = (byte[]) value2; } else { @@ -68,7 +68,7 @@ public final class n implements l { } hashMap.put(str, bArr); } - return b(this.f906c, hashMap) ? this : new n(hashMap); + return b(this.f758c, hashMap) ? this : new n(hashMap); } public boolean equals(@Nullable Object obj) { @@ -78,13 +78,13 @@ public final class n implements l { if (obj == null || n.class != obj.getClass()) { return false; } - return b(this.f906c, ((n) obj).f906c); + return b(this.f758c, ((n) obj).f758c); } public int hashCode() { if (this.b == 0) { int i = 0; - for (Map.Entry entry : this.f906c.entrySet()) { + for (Map.Entry entry : this.f758c.entrySet()) { i += Arrays.hashCode(entry.getValue()) ^ entry.getKey().hashCode(); } this.b = i; diff --git a/app/src/main/java/c/i/a/c/h2/y/o.java b/app/src/main/java/c/i/a/c/e3/b0/o.java similarity index 92% rename from app/src/main/java/c/i/a/c/h2/y/o.java rename to app/src/main/java/c/i/a/c/e3/b0/o.java index 1ca47939dc..48f45ebf98 100644 --- a/app/src/main/java/c/i/a/c/h2/y/o.java +++ b/app/src/main/java/c/i/a/c/e3/b0/o.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import com.google.android.exoplayer2.upstream.cache.Cache; import java.util.TreeSet; @@ -10,7 +10,7 @@ public final class o implements d { public o(long j) { } - @Override // c.i.a.c.h2.y.d + @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); @@ -37,7 +37,7 @@ public final class o implements d { f(cache, 0); } - @Override // c.i.a.c.h2.y.d + @Override // c.i.a.c.e3.b0.d public void e() { } diff --git a/app/src/main/java/c/i/a/c/i2/y.java b/app/src/main/java/c/i/a/c/e3/b0/p.java similarity index 82% rename from app/src/main/java/c/i/a/c/i2/y.java rename to app/src/main/java/c/i/a/c/e3/b0/p.java index 78d95e4abc..9b34ff8ef8 100644 --- a/app/src/main/java/c/i/a/c/i2/y.java +++ b/app/src/main/java/c/i/a/c/e3/b0/p.java @@ -1,18 +1,19 @@ -package c.i.a.c.i2; +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 y extends BufferedOutputStream { +public final class p extends BufferedOutputStream { public boolean i; - public y(OutputStream outputStream) { + public p(OutputStream outputStream) { super(outputStream); } - public y(OutputStream outputStream, int i) { + public p(OutputStream outputStream, int i) { super(outputStream, i); } @@ -41,7 +42,7 @@ public final class y extends BufferedOutputStream { } } if (th != null) { - int i = f0.a; + int i = e0.a; throw th; } } diff --git a/app/src/main/java/c/i/a/c/h2/y/p.java b/app/src/main/java/c/i/a/c/e3/b0/q.java similarity index 65% rename from app/src/main/java/c/i/a/c/h2/y/p.java rename to app/src/main/java/c/i/a/c/e3/b0/q.java index 89509c3098..953e197fb6 100644 --- a/app/src/main/java/c/i/a/c/h2/y/p.java +++ b/app/src/main/java/c/i/a/c/e3/b0/q.java @@ -1,15 +1,15 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import android.os.ConditionVariable; /* compiled from: SimpleCache */ -public class p extends Thread { +public class q extends Thread { public final /* synthetic */ ConditionVariable i; - public final /* synthetic */ q j; + public final /* synthetic */ r j; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ - public p(q qVar, String str, ConditionVariable conditionVariable) { + public q(r rVar, String str, ConditionVariable conditionVariable) { super(str); - this.j = qVar; + this.j = rVar; this.i = conditionVariable; } @@ -17,8 +17,8 @@ public class p extends Thread { public void run() { synchronized (this.j) { this.i.open(); - q.j(this.j); - this.j.f907c.e(); + r.j(this.j); + this.j.f759c.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/e3/b0/r.java similarity index 69% rename from app/src/main/java/c/i/a/c/h2/y/q.java rename to app/src/main/java/c/i/a/c/e3/b0/r.java index 8cba28a617..b892faf2de 100644 --- a/app/src/main/java/c/i/a/c/h2/y/q.java +++ b/app/src/main/java/c/i/a/c/e3/b0/r.java @@ -1,14 +1,13 @@ -package c.i.a.c.h2.y; +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.h2.y.i; -import c.i.a.c.i2.p; -import c.i.a.c.w1.a; -import c.i.b.b.z; +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; @@ -23,12 +22,12 @@ import java.util.Map; import java.util.Objects; import java.util.Random; /* compiled from: SimpleCache */ -public final class q implements Cache { +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 f907c; + public final d f759c; public final j d; @Nullable public final f e; @@ -39,16 +38,16 @@ public final class q implements Cache { public long j; public Cache.CacheException k; - public q(File file, d dVar, a aVar) { + 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 (q.class) { + synchronized (r.class) { add = a.add(file.getAbsoluteFile()); } if (add) { this.b = file; - this.f907c = dVar; + this.f759c = dVar; this.d = jVar; this.e = fVar; this.f = new HashMap<>(); @@ -56,30 +55,33 @@ public final class q implements Cache { this.h = true; this.i = -1; ConditionVariable conditionVariable = new ConditionVariable(); - new p(this, "ExoPlayer:SimpleCacheInit", conditionVariable).start(); + new q(this, "ExoPlayer:SimpleCacheInit", conditionVariable).start(); conditionVariable.block(); return; } - throw new IllegalStateException("Another SimpleCache instance uses the folder: " + file); + 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(q qVar) { + public static void j(r rVar) { long j; - if (!qVar.b.exists()) { + if (!rVar.b.exists()) { try { - m(qVar.b); + m(rVar.b); } catch (Cache.CacheException e) { - qVar.k = e; + rVar.k = e; return; } } - File[] listFiles = qVar.b.listFiles(); + File[] listFiles = rVar.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); + 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; @@ -96,72 +98,86 @@ public final class q implements Cache { j = Long.parseLong(name.substring(0, name.indexOf(46)), 16); break; } catch (NumberFormatException unused) { - Log.e("SimpleCache", "Malformed UID file: " + file); + 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++; } } - qVar.i = j; + rVar.i = j; if (j == -1) { try { - qVar.i = n(qVar.b); + rVar.i = n(rVar.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); + 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 { - qVar.d.e(qVar.i); - f fVar = qVar.e; + rVar.d.e(rVar.i); + f fVar = rVar.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()); + fVar.b(rVar.i); + Map a2 = rVar.e.a(); + rVar.p(rVar.b, true, listFiles, a2); + rVar.e.c(((HashMap) a2).keySet()); } else { - qVar.p(qVar.b, true, listFiles, null); + rVar.p(rVar.b, true, listFiles, null); } - j jVar = qVar.d; - Iterator j2 = z.m(jVar.a.keySet()).iterator(); + 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 { - qVar.d.g(); + rVar.d.g(); } catch (IOException e3) { - p.b("SimpleCache", "Storing index file failed", e3); + q.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); + 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 str = "Failed to create cache directory: " + file; - Log.e("SimpleCache", str); - throw new Cache.CacheException(str); + 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); - File file2 = new File(file, c.d.b.a.a.u(Long.toString(abs, 16), ".uid")); + 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; } - throw new IOException("Failed to create UID file: " + file2); + 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 @@ -177,12 +193,12 @@ public final class q implements Cache { m(this.b); r(); } - this.f907c.a(this, str, j, j2); + this.f759c.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()); + return s.h(file, iVar.a, j, System.currentTimeMillis()); } @Override // com.google.android.exoplayer2.upstream.cache.Cache @@ -229,12 +245,12 @@ public final class q implements Cache { @Override // com.google.android.exoplayer2.upstream.cache.Cache @Nullable public synchronized h e(String str, long j, long j2) throws Cache.CacheException { - r rVar; + s sVar; boolean z2; boolean z3; d.D(true); l(); - r o = o(str, j, j2); + s o = o(str, j, j2); if (o.l) { return s(str, o); } @@ -243,7 +259,7 @@ public final class q implements Cache { int i = 0; while (true) { if (i >= d.d.size()) { - rVar = o; + sVar = o; d.d.add(new i.a(j, j3)); z2 = true; break; @@ -251,7 +267,7 @@ public final class q implements Cache { i.a aVar = d.d.get(i); long j4 = aVar.a; if (j4 <= j) { - rVar = o; + sVar = o; long j5 = aVar.b; if (j5 != -1) { } @@ -261,9 +277,9 @@ public final class q implements Cache { break; } i++; - o = rVar; + o = sVar; } else { - rVar = o; + sVar = o; if (j3 != -1) { } z3 = true; @@ -275,7 +291,7 @@ public final class q implements Cache { } } if (z2) { - return rVar; + return sVar; } return null; } @@ -303,7 +319,7 @@ public final class q implements Cache { file.delete(); return; } - r g = r.g(file, j, -9223372036854775807L, this.d); + s g = s.g(file, j, -9223372036854775807L, this.d); Objects.requireNonNull(g); i c2 = this.d.c(g.i); Objects.requireNonNull(c2); @@ -354,10 +370,10 @@ public final class q implements Cache { throw new IllegalStateException(); } - public final void k(r rVar) { - this.d.d(rVar.i).f902c.add(rVar); - this.j += rVar.k; - ArrayList arrayList = this.f.get(rVar.i); + 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) { @@ -365,10 +381,10 @@ public final class q implements Cache { if (size < 0) { break; } - arrayList.get(size).d(this, rVar); + arrayList.get(size).d(this, sVar); } } - this.f907c.d(this, rVar); + this.f759c.d(this, sVar); } public synchronized void l() throws Cache.CacheException { @@ -378,18 +394,18 @@ public final class q implements Cache { } } - public final r o(String str, long j, long j2) { - r floor; + 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 r(str, j, j2, -9223372036854775807L, null); + return new s(str, j, j2, -9223372036854775807L, null); } while (true) { - r rVar = new r(iVar.b, j, -1, -9223372036854775807L, null); - floor = iVar.f902c.floor(rVar); + s sVar = new s(iVar.b, j, -1, -9223372036854775807L, null); + floor = iVar.f754c.floor(sVar); if (floor == null || floor.j + floor.k <= j) { - r ceiling = iVar.f902c.ceiling(rVar); + s ceiling = iVar.f754c.ceiling(sVar); if (ceiling != null) { long j4 = ceiling.j - j; if (j2 != -1) { @@ -399,7 +415,7 @@ public final class q implements Cache { } else { j3 = j2; } - floor = new r(iVar.b, j, j3, -9223372036854775807L, null); + floor = new s(iVar.b, j, j3, -9223372036854775807L, null); } if (!floor.l || floor.m.length() == floor.k) { break; @@ -423,7 +439,7 @@ public final class q implements Cache { j = remove.a; j2 = remove.b; } - r g = r.g(file2, j, j2, this.d); + s g = s.g(file2, j, j2, this.d); if (g != null) { k(g); } else { @@ -440,7 +456,7 @@ public final class q implements Cache { boolean z2; i c2 = this.d.c(hVar.i); if (c2 != null) { - if (c2.f902c.remove(hVar)) { + if (c2.f754c.remove(hVar)) { File file = hVar.m; if (file != null) { file.delete(); @@ -455,14 +471,15 @@ public final class q implements Cache { String name = hVar.m.getName(); try { f fVar = this.e; - Objects.requireNonNull(fVar.f901c); + Objects.requireNonNull(fVar.f753c); try { - fVar.b.getWritableDatabase().delete(fVar.f901c, "name = ?", new String[]{name}); + fVar.b.getWritableDatabase().delete(fVar.f753c, "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"); + 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); @@ -477,7 +494,7 @@ public final class q implements Cache { arrayList.get(size).b(this, hVar); } } - this.f907c.b(this, hVar); + this.f759c.b(this, hVar); } } } @@ -485,9 +502,9 @@ public final class q implements Cache { public final void r() { ArrayList arrayList = new ArrayList(); for (i iVar : Collections.unmodifiableCollection(this.d.a.values())) { - Iterator it = iVar.f902c.iterator(); + Iterator it = iVar.f754c.iterator(); while (it.hasNext()) { - r next = it.next(); + s next = it.next(); if (next.m.length() != next.k) { arrayList.add(next); } @@ -498,17 +515,17 @@ public final class q implements Cache { } } - /* JADX WARNING: Removed duplicated region for block: B:20:0x00a0 */ - public final r s(String str, r rVar) { + /* 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 rVar; + return sVar; } - File file2 = rVar.m; + File file2 = sVar.m; Objects.requireNonNull(file2); String name = file2.getName(); - long j = rVar.k; + long j = sVar.k; long currentTimeMillis = System.currentTimeMillis(); boolean z2 = false; f fVar = this.e; @@ -522,19 +539,19 @@ public final class q implements Cache { z2 = true; } i iVar = this.d.a.get(str); - d.D(iVar.f902c.remove(rVar)); - File file3 = rVar.m; + d.D(iVar.f754c.remove(sVar)); + File file3 = sVar.m; Objects.requireNonNull(file3); if (z2) { File parentFile = file3.getParentFile(); Objects.requireNonNull(parentFile); - File h = r.h(parentFile, iVar.a, rVar.j, currentTimeMillis); + File h = s.h(parentFile, iVar.a, sVar.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.f902c.add(rVar2); - arrayList = this.f.get(rVar.i); + 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) { @@ -542,22 +559,24 @@ public final class q implements Cache { if (size < 0) { break; } - arrayList.get(size).c(this, rVar, rVar2); + arrayList.get(size).c(this, sVar, sVar2); } } - this.f907c.c(this, rVar, rVar2); - return rVar2; + this.f759c.c(this, sVar, sVar2); + return sVar2; } - Log.w("CachedContent", "Failed to rename " + file3 + " to " + h); + 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(rVar.l); - r rVar2 = new r(rVar.i, rVar.j, rVar.k, currentTimeMillis, file); - iVar.f902c.add(rVar2); - arrayList = this.f.get(rVar.i); + 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.f907c.c(this, rVar, rVar2); - return rVar2; + this.f759c.c(this, sVar, sVar2); + return sVar2; } } diff --git a/app/src/main/java/c/i/a/c/h2/y/r.java b/app/src/main/java/c/i/a/c/e3/b0/s.java similarity index 90% rename from app/src/main/java/c/i/a/c/h2/y/r.java rename to app/src/main/java/c/i/a/c/e3/b0/s.java index 3d6ffe4eea..ac9142495f 100644 --- a/app/src/main/java/c/i/a/c/h2/y/r.java +++ b/app/src/main/java/c/i/a/c/e3/b0/s.java @@ -1,20 +1,19 @@ -package c.i.a.c.h2.y; +package c.i.a.c.e3.b0; import androidx.annotation.Nullable; import c.c.a.a0.d; -import c.d.b.a.a; -import c.i.a.c.i2.f0; +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 r extends h { +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 r(String str, long j, long j2, long j3, @Nullable File file) { + public s(String str, long j, long j2, long j3, @Nullable File file) { super(str, j, j2, j3, file); } @@ -25,7 +24,7 @@ public final class r extends h { /* 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) { + public static s g(File file, long j, long j2, j jVar) { File file2; long j3; String str; @@ -37,7 +36,7 @@ public final class r extends h { if (matcher.matches()) { str = matcher.group(1); Objects.requireNonNull(str); - int i = f0.a; + int i = e0.a; int length = str.length(); int i2 = 0; int i3 = 0; @@ -49,7 +48,7 @@ public final class r extends h { if (i3 != 0) { int i5 = length - (i3 * 2); StringBuilder sb = new StringBuilder(i5); - Matcher matcher2 = f0.g.matcher(str); + Matcher matcher2 = e0.g.matcher(str); while (i3 > 0 && matcher2.find()) { String group = matcher2.group(1); Objects.requireNonNull(group); @@ -127,15 +126,17 @@ public final class r extends h { } else { j3 = j2; } - return new r(str2, parseLong2, length2, j3, file2); + return new s(str2, parseLong2, length2, j3, file2); } public static File h(File file, int i, long j, long j2) { - StringBuilder sb = new StringBuilder(); + StringBuilder sb = new StringBuilder(60); sb.append(i); sb.append("."); sb.append(j); sb.append("."); - return new File(file, a.A(sb, j2, ".v3.exo")); + sb.append(j2); + sb.append(".v3.exo"); + return new File(file, sb.toString()); } } diff --git a/app/src/main/java/c/i/a/c/i2/c.java b/app/src/main/java/c/i/a/c/e3/c.java similarity index 67% rename from app/src/main/java/c/i/a/c/i2/c.java rename to app/src/main/java/c/i/a/c/e3/c.java index 65afef2494..31810f123a 100644 --- a/app/src/main/java/c/i/a/c/i2/c.java +++ b/app/src/main/java/c/i/a/c/e3/c.java @@ -1,6 +1,6 @@ -package c.i.a.c.i2; +package c.i.a.c.e3; -import c.i.a.c.i2.z; +import c.i.a.c.e3.x; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class c implements Comparator { @@ -8,7 +8,7 @@ public final /* synthetic */ class c implements Comparator { @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; + 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/i2/d.java b/app/src/main/java/c/i/a/c/e3/d.java similarity index 67% rename from app/src/main/java/c/i/a/c/i2/d.java rename to app/src/main/java/c/i/a/c/e3/d.java index 2a6898bc73..df2f870e9e 100644 --- a/app/src/main/java/c/i/a/c/i2/d.java +++ b/app/src/main/java/c/i/a/c/e3/d.java @@ -1,6 +1,6 @@ -package c.i.a.c.i2; +package c.i.a.c.e3; -import c.i.a.c.i2.z; +import c.i.a.c.e3.x; import java.util.Comparator; /* compiled from: lambda */ public final /* synthetic */ class d implements Comparator { @@ -8,7 +8,7 @@ public final /* synthetic */ class d implements Comparator { @Override // java.util.Comparator public final int compare(Object obj, Object obj2) { - int i2 = z.a; - return Float.compare(((z.b) obj).f922c, ((z.b) obj2).f922c); + int i2 = x.a; + return ((x.b) obj).a - ((x.b) obj2).a; } } diff --git a/app/src/main/java/c/i/a/c/h2/c.java b/app/src/main/java/c/i/a/c/e3/e.java similarity index 63% rename from app/src/main/java/c/i/a/c/h2/c.java rename to app/src/main/java/c/i/a/c/e3/e.java index 1414ad7832..037314c663 100644 --- a/app/src/main/java/c/i/a/c/h2/c.java +++ b/app/src/main/java/c/i/a/c/e3/e.java @@ -1,10 +1,10 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; /* compiled from: Allocation */ -public final class c { +public final class e { public final byte[] a; public final int b; - public c(byte[] bArr, int i) { + public e(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/e3/f.java similarity index 63% rename from app/src/main/java/c/i/a/c/h2/d.java rename to app/src/main/java/c/i/a/c/e3/f.java index 8178a246bc..685eed742e 100644 --- a/app/src/main/java/c/i/a/c/h2/d.java +++ b/app/src/main/java/c/i/a/c/e3/f.java @@ -1,41 +1,41 @@ -package c.i.a.c.h2; +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 d { +public interface f { /* 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<>(); + /* 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.h2.d$a$a$a reason: collision with other inner class name */ - public static final class C0098a { + /* 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 f886c; + public boolean f760c; - public C0098a(Handler handler, a aVar) { + public C0093a(Handler handler, a aVar) { this.a = handler; this.b = aVar; } } public void a(a aVar) { - Iterator it = this.a.iterator(); + Iterator it = this.a.iterator(); while (it.hasNext()) { - C0098a next = it.next(); + C0093a next = it.next(); if (next.b == aVar) { - next.f886c = true; + next.f760c = true; this.a.remove(next); } } @@ -44,7 +44,7 @@ public interface d { } @Nullable - x c(); + a0 c(); void d(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/h2/f.java b/app/src/main/java/c/i/a/c/e3/h.java similarity index 75% rename from app/src/main/java/c/i/a/c/h2/f.java rename to app/src/main/java/c/i/a/c/e3/h.java index 1eba892269..24a4c7b931 100644 --- a/app/src/main/java/c/i/a/c/h2/f.java +++ b/app/src/main/java/c/i/a/c/e3/h.java @@ -1,7 +1,7 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import java.io.IOException; /* compiled from: DataReader */ -public interface f { +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/h2/h.java b/app/src/main/java/c/i/a/c/e3/j.java similarity index 67% rename from app/src/main/java/c/i/a/c/h2/h.java rename to app/src/main/java/c/i/a/c/e3/j.java index 14f09338e9..07d5acf06c 100644 --- a/app/src/main/java/c/i/a/c/h2/h.java +++ b/app/src/main/java/c/i/a/c/e3/j.java @@ -1,9 +1,9 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import java.io.IOException; /* compiled from: DataSink */ -public interface h { - void a(l lVar) throws IOException; +public interface j { + void a(n nVar) throws IOException; void close() 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/e3/k.java similarity index 74% rename from app/src/main/java/c/i/a/c/h2/i.java rename to app/src/main/java/c/i/a/c/e3/k.java index 4df420db56..b84ce64723 100644 --- a/app/src/main/java/c/i/a/c/h2/i.java +++ b/app/src/main/java/c/i/a/c/e3/k.java @@ -1,11 +1,11 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import java.util.Collections; import java.util.Map; /* compiled from: DataSource */ -public final /* synthetic */ class i { +public final /* synthetic */ class k { /* JADX WARN: Incorrect args count in method signature: ()Ljava/util/Map;>; */ - public static Map a(j jVar) { + public static Map a(l lVar) { 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/e3/l.java similarity index 70% rename from app/src/main/java/c/i/a/c/h2/j.java rename to app/src/main/java/c/i/a/c/e3/l.java index f70cd461f4..200896228f 100644 --- a/app/src/main/java/c/i/a/c/h2/j.java +++ b/app/src/main/java/c/i/a/c/e3/l.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import android.net.Uri; import androidx.annotation.Nullable; @@ -6,21 +6,21 @@ import java.io.IOException; import java.util.List; import java.util.Map; /* compiled from: DataSource */ -public interface j extends f { +public interface l extends h { /* compiled from: DataSource */ public interface a { - j a(); + l a(); } - long a(l lVar) throws IOException; + long a(n nVar) throws IOException; void close() throws IOException; - void d(x xVar); + void d(a0 a0Var); Map> j(); @Nullable - Uri m(); + Uri n(); } diff --git a/app/src/main/java/c/i/a/c/h2/k.java b/app/src/main/java/c/i/a/c/e3/m.java similarity index 86% rename from app/src/main/java/c/i/a/c/h2/k.java rename to app/src/main/java/c/i/a/c/e3/m.java index 376ba70511..0ecd11ceb4 100644 --- a/app/src/main/java/c/i/a/c/h2/k.java +++ b/app/src/main/java/c/i/a/c/e3/m.java @@ -1,20 +1,20 @@ -package c.i.a.c.h2; +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 k extends InputStream { - public final j i; - public final l j; +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 k(j jVar, l lVar) { - this.i = jVar; - this.j = lVar; + public m(l lVar, n nVar) { + this.i = lVar; + this.j = nVar; this.k = new byte[1]; } diff --git a/app/src/main/java/c/i/a/c/h2/l.java b/app/src/main/java/c/i/a/c/e3/n.java similarity index 58% rename from app/src/main/java/c/i/a/c/h2/l.java rename to app/src/main/java/c/i/a/c/e3/n.java index 4be7e104ca..923a7eb18a 100644 --- a/app/src/main/java/c/i/a/c/h2/l.java +++ b/app/src/main/java/c/i/a/c/e3/n.java @@ -1,19 +1,20 @@ -package c.i.a.c.h2; +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 l { +public final class n { public final Uri a; public final long b; /* renamed from: c reason: collision with root package name */ - public final int f888c; + public final int f762c; @Nullable public final byte[] d; public final Map e; @@ -32,7 +33,7 @@ public final class l { public long b; /* renamed from: c reason: collision with root package name */ - public int f889c; + public int f763c; @Nullable public byte[] d; public Map e; @@ -44,37 +45,43 @@ public final class l { @Nullable public Object j; - public b(l lVar, a aVar) { - this.a = lVar.a; - this.b = lVar.b; - this.f889c = lVar.f888c; - 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 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 l a() { - d.I(this.a, "The uri must be set."); - return new l(this.a, this.b, this.f889c, this.d, this.e, this.f, this.g, this.h, this.i, this.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."); } } - 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) { + 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.k(j + j2 >= 0); - d.k(j2 >= 0); + d.j(j + j2 >= 0); + d.j(j2 >= 0); if (j3 <= 0 && j3 != -1) { z2 = false; } - d.k(z2); + d.j(z2); this.a = uri; this.b = j; - this.f888c = i; + this.f762c = i; this.d = (bArr2 == null || bArr2.length == 0) ? null : bArr2; this.e = Collections.unmodifiableMap(new HashMap(map)); this.f = j2; @@ -106,17 +113,22 @@ public final class l { } public String toString() { - StringBuilder O = c.d.b.a.a.O("DataSpec["); - O.append(b(this.f888c)); - 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, "]"); + 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/h2/m.java b/app/src/main/java/c/i/a/c/e3/o.java similarity index 52% rename from app/src/main/java/c/i/a/c/h2/m.java rename to app/src/main/java/c/i/a/c/e3/o.java index d08cdc0e2f..1c3f6ba607 100644 --- a/app/src/main/java/c/i/a/c/h2/m.java +++ b/app/src/main/java/c/i/a/c/e3/o.java @@ -1,44 +1,44 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import c.c.a.a0.d; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; import java.util.Arrays; /* compiled from: DefaultAllocator */ -public final class m { +public final class o { public final boolean a; public final int b; /* renamed from: c reason: collision with root package name */ - public final c[] f890c; + public final e[] f764c; public int d; public int e; public int f; - public c[] g; + public e[] g; - public m(boolean z2, int i) { - d.k(i > 0); - d.k(true); + 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 c[100]; - this.f890c = new c[1]; + this.g = new e[100]; + this.f764c = new e[1]; } - public synchronized void a(c[] cVarArr) { + public synchronized void a(e[] eVarArr) { 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)); + 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 (c cVar : cVarArr) { - c[] cVarArr3 = this.g; + for (e eVar : eVarArr) { + e[] eVarArr3 = this.g; int i2 = this.f; this.f = i2 + 1; - cVarArr3[i2] = cVar; + eVarArr3[i2] = eVar; } - this.e -= cVarArr.length; + this.e -= eVarArr.length; notifyAll(); } @@ -51,7 +51,7 @@ public final class m { } public synchronized void c() { - int max = Math.max(0, f0.f(this.d, this.b) - this.e); + 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); 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/h2/o.java b/app/src/main/java/c/i/a/c/e3/q.java similarity index 57% rename from app/src/main/java/c/i/a/c/h2/o.java rename to app/src/main/java/c/i/a/c/e3/q.java index 5ab7fc3794..fde93febe6 100644 --- a/app/src/main/java/c/i/a/c/h2/o.java +++ b/app/src/main/java/c/i/a/c/e3/q.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import android.content.Context; import android.net.Uri; @@ -6,7 +6,9 @@ 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 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; @@ -20,60 +22,77 @@ import java.util.List; import java.util.Map; import java.util.Objects; /* compiled from: DefaultDataSource */ -public final class o implements j { +public final class q implements l { public final Context a; - public final List b = new ArrayList(); + public final List b = new ArrayList(); /* renamed from: c reason: collision with root package name */ - public final j f894c; + public final l f768c; @Nullable - public j d; + public l d; @Nullable - public j e; + public l e; @Nullable - public j f; + public l f; @Nullable - public j g; + public l g; @Nullable - public j h; + public l h; @Nullable - public j i; + public l i; @Nullable - public j j; + public l j; @Nullable - public j k; + public l k; - public o(Context context, j jVar) { - this.a = context.getApplicationContext(); - Objects.requireNonNull(jVar); - this.f894c = jVar; + /* 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()); + } } - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { + 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 = lVar.a.getScheme(); - Uri uri = lVar.a; - int i = f0.a; + 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 = lVar.a.getPath(); + String path = nVar.a.getPath(); if (path == null || !path.startsWith("/android_asset/")) { if (this.d == null) { FileDataSource fileDataSource = new FileDataSource(); this.d = fileDataSource; - o(fileDataSource); + p(fileDataSource); } this.k = this.d; } else { if (this.e == null) { AssetDataSource assetDataSource = new AssetDataSource(this.a); this.e = assetDataSource; - o(assetDataSource); + p(assetDataSource); } this.k = this.e; } @@ -81,29 +100,29 @@ public final class o implements j { if (this.e == null) { AssetDataSource assetDataSource2 = new AssetDataSource(this.a); this.e = assetDataSource2; - o(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; - o(contentDataSource); + p(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); + 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.f894c; + this.g = this.f768c; } } this.k = this.g; @@ -111,103 +130,103 @@ public final class o implements j { if (this.h == null) { UdpDataSource udpDataSource = new UdpDataSource(); this.h = udpDataSource; - o(udpDataSource); + p(udpDataSource); } this.k = this.h; } else if ("data".equals(scheme)) { if (this.i == null) { - g gVar = new g(); - this.i = gVar; - o(gVar); + 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; - o(rawResourceDataSource); + p(rawResourceDataSource); } this.k = this.j; } else { - this.k = this.f894c; + this.k = this.f768c; } - return this.k.a(lVar); + return this.k.a(nVar); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l public void close() throws IOException { - j jVar = this.k; - if (jVar != null) { - j jVar2 = null; + l lVar = this.k; + if (lVar != null) { + l lVar2 = null; try { - jVar.close(); + lVar.close(); } finally { - this.k = jVar2; + this.k = lVar2; } } } - @Override // c.i.a.c.h2.j - public void d(x xVar) { - Objects.requireNonNull(xVar); - this.f894c.d(xVar); - this.b.add(xVar); - j jVar = this.d; - if (jVar != null) { - jVar.d(xVar); + @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); } - j jVar2 = this.e; - if (jVar2 != null) { - jVar2.d(xVar); + l lVar2 = this.e; + if (lVar2 != null) { + lVar2.d(a0Var); } - j jVar3 = this.f; - if (jVar3 != null) { - jVar3.d(xVar); + l lVar3 = this.f; + if (lVar3 != null) { + lVar3.d(a0Var); } - j jVar4 = this.g; - if (jVar4 != null) { - jVar4.d(xVar); + l lVar4 = this.g; + if (lVar4 != null) { + lVar4.d(a0Var); } - j jVar5 = this.h; - if (jVar5 != null) { - jVar5.d(xVar); + l lVar5 = this.h; + if (lVar5 != null) { + lVar5.d(a0Var); } - j jVar6 = this.i; - if (jVar6 != null) { - jVar6.d(xVar); + l lVar6 = this.i; + if (lVar6 != null) { + lVar6.d(a0Var); } - j jVar7 = this.j; - if (jVar7 != null) { - jVar7.d(xVar); + l lVar7 = this.j; + if (lVar7 != null) { + lVar7.d(a0Var); } } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l public Map> j() { - j jVar = this.k; - return jVar == null ? Collections.emptyMap() : jVar.j(); + l lVar = this.k; + return lVar == null ? Collections.emptyMap() : lVar.j(); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l @Nullable - public Uri m() { - j jVar = this.k; - if (jVar == null) { + public Uri n() { + l lVar = this.k; + if (lVar == null) { return null; } - return jVar.m(); + return lVar.n(); } - public final void o(j jVar) { + public final void p(l lVar) { for (int i = 0; i < this.b.size(); i++) { - jVar.d(this.b.get(i)); + lVar.d(this.b.get(i)); } } - @Override // c.i.a.c.h2.f + @Override // c.i.a.c.e3.h public int read(byte[] bArr, int i, int i2) throws IOException { - j jVar = this.k; - Objects.requireNonNull(jVar); - return jVar.read(bArr, i, i2); + 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/h2/r.java b/app/src/main/java/c/i/a/c/e3/s.java similarity index 70% rename from app/src/main/java/c/i/a/c/h2/r.java rename to app/src/main/java/c/i/a/c/e3/s.java index ae6d03b6be..0b18ff9c33 100644 --- a/app/src/main/java/c/i/a/c/h2/r.java +++ b/app/src/main/java/c/i/a/c/e3/s.java @@ -1,6 +1,6 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; /* compiled from: DefaultLoadErrorHandlingPolicy */ -public class r implements u { +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/h2/t.java b/app/src/main/java/c/i/a/c/e3/u.java similarity index 91% rename from app/src/main/java/c/i/a/c/h2/t.java rename to app/src/main/java/c/i/a/c/e3/u.java index 61cfd1d088..ca78e44d15 100644 --- a/app/src/main/java/c/i/a/c/h2/t.java +++ b/app/src/main/java/c/i/a/c/e3/u.java @@ -1,11 +1,11 @@ -package c.i.a.c.h2; +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 t { +public final class u { public final Map a = new HashMap(); @Nullable public Map 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/h2/u.java b/app/src/main/java/c/i/a/c/e3/w.java similarity index 53% rename from app/src/main/java/c/i/a/c/h2/u.java rename to app/src/main/java/c/i/a/c/e3/w.java index fe8c9a120c..9066e06477 100644 --- a/app/src/main/java/c/i/a/c/h2/u.java +++ b/app/src/main/java/c/i/a/c/e3/w.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; /* compiled from: LoadErrorHandlingPolicy */ -public interface u { +public interface w { } diff --git a/app/src/main/java/c/i/a/c/i2/z.java b/app/src/main/java/c/i/a/c/e3/x.java similarity index 75% rename from app/src/main/java/c/i/a/c/i2/z.java rename to app/src/main/java/c/i/a/c/e3/x.java index d2371d9ee0..adf1bc7aef 100644 --- a/app/src/main/java/c/i/a/c/i2/z.java +++ b/app/src/main/java/c/i/a/c/e3/x.java @@ -1,14 +1,14 @@ -package c.i.a.c.i2; +package c.i.a.c.e3; import java.util.ArrayList; import java.util.Collections; /* compiled from: SlidingPercentile */ -public class z { +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 f921c = new ArrayList<>(); + public final ArrayList f771c = new ArrayList<>(); public final b[] d = new b[5]; public int e = -1; public int f; @@ -21,7 +21,7 @@ public class z { public int b; /* renamed from: c reason: collision with root package name */ - public float f922c; + public float f772c; public b() { } @@ -30,14 +30,14 @@ public class z { } } - public z(int i) { + public x(int i) { this.b = i; } public void a(int i, float f) { b bVar; if (this.e != 1) { - Collections.sort(this.f921c, c.i); + Collections.sort(this.f771c, d.i); this.e = 1; } int i2 = this.h; @@ -53,19 +53,19 @@ public class z { this.f = i4 + 1; bVar.a = i4; bVar.b = i; - bVar.f922c = f; - this.f921c.add(bVar); + 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.f921c.get(0); + b bVar2 = this.f771c.get(0); int i8 = bVar2.b; if (i8 <= i7) { this.g -= i8; - this.f921c.remove(0); + this.f771c.remove(0); int i9 = this.h; if (i9 < 5) { b[] bVarArr2 = this.d; @@ -84,22 +84,22 @@ public class z { public float b(float f) { if (this.e != 0) { - Collections.sort(this.f921c, d.i); + Collections.sort(this.f771c, c.i); this.e = 0; } float f2 = f * ((float) this.g); int i = 0; - for (int i2 = 0; i2 < this.f921c.size(); i2++) { - b bVar = this.f921c.get(i2); + for (int i2 = 0; i2 < this.f771c.size(); i2++) { + b bVar = this.f771c.get(i2); i += bVar.b; if (((float) i) >= f2) { - return bVar.f922c; + return bVar.f772c; } } - if (this.f921c.isEmpty()) { + if (this.f771c.isEmpty()) { return Float.NaN; } - ArrayList arrayList = this.f921c; - return arrayList.get(arrayList.size() - 1).f922c; + ArrayList arrayList = this.f771c; + return arrayList.get(arrayList.size() - 1).f772c; } } diff --git a/app/src/main/java/c/i/a/c/h2/v.java b/app/src/main/java/c/i/a/c/e3/y.java similarity index 55% rename from app/src/main/java/c/i/a/c/h2/v.java rename to app/src/main/java/c/i/a/c/e3/y.java index 5dda644bf0..f74060ca26 100644 --- a/app/src/main/java/c/i/a/c/h2/v.java +++ b/app/src/main/java/c/i/a/c/e3/y.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import android.net.Uri; import androidx.annotation.Nullable; @@ -8,54 +8,54 @@ 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 final class y implements l { + public final l a; public long b; /* renamed from: c reason: collision with root package name */ - public Uri f897c = Uri.EMPTY; + public Uri f773c = Uri.EMPTY; public Map> d = Collections.emptyMap(); - public v(j jVar) { - Objects.requireNonNull(jVar); - this.a = jVar; + public y(l lVar) { + Objects.requireNonNull(lVar); + this.a = lVar; } - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { - this.f897c = lVar.a; + @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(lVar); - Uri m = m(); - Objects.requireNonNull(m); - this.f897c = m; + 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.h2.j + @Override // c.i.a.c.e3.l 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.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.a.d(a0Var); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l public Map> j() { return this.a.j(); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l @Nullable - public Uri m() { - return this.a.m(); + public Uri n() { + return this.a.n(); } - @Override // c.i.a.c.h2.f + @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) { diff --git a/app/src/main/java/c/i/a/c/h2/w.java b/app/src/main/java/c/i/a/c/e3/z.java similarity index 55% rename from app/src/main/java/c/i/a/c/h2/w.java rename to app/src/main/java/c/i/a/c/e3/z.java index 8892f051ff..375f493c78 100644 --- a/app/src/main/java/c/i/a/c/h2/w.java +++ b/app/src/main/java/c/i/a/c/e3/z.java @@ -1,4 +1,4 @@ -package c.i.a.c.h2; +package c.i.a.c.e3; import android.net.Uri; import androidx.annotation.Nullable; @@ -7,67 +7,67 @@ 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; +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 f898c; + public boolean f774c; public long d; - public w(j jVar, h hVar) { - this.a = jVar; - this.b = hVar; + public z(l lVar, j jVar) { + this.a = lVar; + this.b = jVar; } - @Override // c.i.a.c.h2.j - public long a(l lVar) throws IOException { - l lVar2 = lVar; - long a = this.a.a(lVar2); + @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 = lVar2.g; + long j = nVar2.g; if (j == -1 && a != -1) { - lVar2 = j == a ? lVar2 : new l(lVar2.a, lVar2.b, lVar2.f888c, lVar2.d, lVar2.e, lVar2.f + 0, a, lVar2.h, lVar2.i, lVar2.j); + 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.f898c = true; - this.b.a(lVar2); + this.f774c = true; + this.b.a(nVar2); return this.d; } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l public void close() throws IOException { boolean z2 = false; try { this.a.close(); } finally { - if (this.f898c) { - this.f898c = z2; + if (this.f774c) { + this.f774c = 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.e3.l + public void d(a0 a0Var) { + Objects.requireNonNull(a0Var); + this.a.d(a0Var); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l public Map> j() { return this.a.j(); } - @Override // c.i.a.c.h2.j + @Override // c.i.a.c.e3.l @Nullable - public Uri m() { - return this.a.m(); + public Uri n() { + return this.a.n(); } - @Override // c.i.a.c.h2.f + @Override // c.i.a.c.e3.h public int read(byte[] bArr, int i, int i2) throws IOException { if (this.d == 0) { return -1; 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/e.java b/app/src/main/java/c/i/a/c/f2/e.java deleted file mode 100644 index 4f040a802b..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[] f866c; - 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.f866c = new int[this.b]; - int i2 = 0; - while (true) { - int i3 = this.b; - if (i2 < i3) { - int[] iArr2 = this.f866c; - 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.f866c, eVar.f866c); - } - - @Override // c.i.a.c.f2.j - public final int f(int i) { - return this.f866c[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.f866c) + (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.f866c.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 23f8422da7..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 f867c; - @Nullable - public final Object d; - - public a(TrackGroup trackGroup, int... iArr) { - this.a = trackGroup; - this.b = iArr; - this.f867c = 0; - this.d = null; - } - - public a(TrackGroup trackGroup, int[] iArr, int i, @Nullable Object obj) { - this.a = trackGroup; - this.b = iArr; - this.f867c = 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 530d15bc76..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[] f868c; - 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.f868c = 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.f868c[i24]; - int[][] iArr16 = iArr12[i24]; - int i25 = iArr13[i24]; - if (!parameters6.N && !parameters6.M) { - int i26 = parameters6.A ? 24 : 16; - boolean z12 = parameters6.f2322z && (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.r; - iArr6 = iArr12; - int i30 = parameters7.f2319s; - i9 = i23; - int i31 = parameters7.t; - z5 = z10; - int i32 = parameters7.u; - aVar4 = aVar6; - int i33 = parameters7.v; - aVarArr = aVarArr2; - int i34 = parameters7.w; - i8 = i24; - int i35 = parameters7.f2320x; - iArr8 = iArr16; - int i36 = parameters7.B; - parameters4 = parameters5; - int i37 = parameters7.C; - boolean z13 = parameters7.D; - trackGroupArray2 = trackGroupArray4; - if (trackGroup4.i < 2) { - iArr9 = DefaultTrackSelector.f2318c; - } else { - List d = DefaultTrackSelector.d(trackGroup4, i36, i37, z13); - ArrayList arrayList3 = (ArrayList) d; - if (arrayList3.size() < 2) { - iArr9 = DefaultTrackSelector.f2318c; - } 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.f2318c : 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.f2321y) && (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.f868c[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.f868c[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.f868c[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.f868c[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.f868c[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.f867c, 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.f868c[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 1bbcb8eb10..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 f869c; - - 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.f869c == 0) { - this.f869c = 527 + Arrays.hashCode(this.b); - } - return this.f869c; - } -} 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 dc9dd3073d..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[] f870c; - @Nullable - public final Object d; - - public m(m1[] m1VarArr, g[] gVarArr, @Nullable Object obj) { - this.b = m1VarArr; - this.f870c = (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.f870c[i], mVar.f870c[i]); - } - - public boolean b(int i) { - return this.b[i] != null; - } -} diff --git a/app/src/main/java/c/i/a/c/i2/a.java b/app/src/main/java/c/i/a/c/f3/a.java similarity index 68% rename from app/src/main/java/c/i/a/c/i2/a.java rename to app/src/main/java/c/i/a/c/f3/a.java index 1b6919d934..c3dca8fc45 100644 --- a/app/src/main/java/c/i/a/c/i2/a.java +++ b/app/src/main/java/c/i/a/c/f3/a.java @@ -1,15 +1,17 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; -import c.i.a.c.i2.o; +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 */ o.a k; + public final /* synthetic */ p.a k; - public /* synthetic */ a(CopyOnWriteArraySet copyOnWriteArraySet, int i, o.a aVar) { + public /* synthetic */ a(CopyOnWriteArraySet copyOnWriteArraySet, int i, p.a aVar) { this.i = copyOnWriteArraySet; this.j = i; this.k = aVar; @@ -19,15 +21,17 @@ public final /* synthetic */ class a implements Runnable { public final void run() { CopyOnWriteArraySet copyOnWriteArraySet = this.i; int i = this.j; - o.a aVar = this.k; + p.a aVar = this.k; Iterator it = copyOnWriteArraySet.iterator(); while (it.hasNext()) { - o.c cVar = (o.c) it.next(); + p.c cVar = (p.c) it.next(); if (!cVar.d) { if (i != -1) { - cVar.b.a.append(i, true); + n.b bVar = cVar.b; + d.D(!bVar.b); + bVar.a.append(i, true); } - cVar.f914c = 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/i2/d0.java b/app/src/main/java/c/i/a/c/f3/c0.java similarity index 77% rename from app/src/main/java/c/i/a/c/i2/d0.java rename to app/src/main/java/c/i/a/c/f3/c0.java index 314c581a8e..fbeb2c5ad7 100644 --- a/app/src/main/java/c/i/a/c/i2/d0.java +++ b/app/src/main/java/c/i/a/c/f3/c0.java @@ -1,27 +1,27 @@ -package c.i.a.c.i2; +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 d0 { +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 f908c; + 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.f908c + i) - 1) % this.b.length]) { + if (j <= this.a[((this.f780c + i) - 1) % this.b.length]) { b(); } } c(); - int i2 = this.f908c; + int i2 = this.f780c; int i3 = this.d; V[] vArr = this.b; int length = (i2 + i3) % vArr.length; @@ -31,7 +31,7 @@ public final class d0 { } public synchronized void b() { - this.f908c = 0; + this.f780c = 0; this.d = 0; Arrays.fill(this.b, (Object) null); } @@ -42,18 +42,18 @@ public final class d0 { int i = length * 2; long[] jArr = new long[i]; V[] vArr = (V[]) new Object[i]; - int i2 = this.f908c; + int i2 = this.f780c; int i3 = length - i2; System.arraycopy(this.a, i2, jArr, 0, i3); - System.arraycopy(this.b, this.f908c, vArr, 0, i3); - int i4 = this.f908c; + 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.f908c); + System.arraycopy(this.b, 0, vArr, i3, this.f780c); } this.a = jArr; this.b = vArr; - this.f908c = 0; + this.f780c = 0; } } @@ -62,7 +62,7 @@ public final class d0 { V v = null; long j2 = RecyclerView.FOREVER_NS; while (this.d > 0) { - long j3 = j - this.a[this.f908c]; + long j3 = j - this.a[this.f780c]; if (j3 < 0 && (z2 || (-j3) >= j2)) { break; } @@ -81,10 +81,10 @@ public final class d0 { public final V f() { d.D(this.d > 0); V[] vArr = this.b; - int i = this.f908c; + int i = this.f780c; V v = vArr[i]; vArr[i] = null; - this.f908c = (i + 1) % vArr.length; + this.f780c = (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/f3/d.java similarity index 70% rename from app/src/main/java/c/i/a/c/i2/e.java rename to app/src/main/java/c/i/a/c/f3/d.java index 47bb5e97dd..4988da996d 100644 --- a/app/src/main/java/c/i/a/c/i2/e.java +++ b/app/src/main/java/c/i/a/c/f3/d.java @@ -1,11 +1,11 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import java.util.concurrent.ThreadFactory; /* compiled from: lambda */ -public final /* synthetic */ class e implements ThreadFactory { +public final /* synthetic */ class d implements ThreadFactory { public final /* synthetic */ String i; - public /* synthetic */ e(String str) { + public /* synthetic */ d(String str) { this.i = str; } diff --git a/app/src/main/java/c/i/a/c/i2/e0.java b/app/src/main/java/c/i/a/c/f3/d0.java similarity index 61% rename from app/src/main/java/c/i/a/c/i2/e0.java rename to app/src/main/java/c/i/a/c/f3/d0.java index 5b10ddd09a..a2290dd4a5 100644 --- a/app/src/main/java/c/i/a/c/i2/e0.java +++ b/app/src/main/java/c/i/a/c/f3/d0.java @@ -1,10 +1,11 @@ -package c.i.a.c.i2; +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 e0 { +public final class d0 { @GuardedBy("this") public long a; @GuardedBy("this") @@ -12,26 +13,28 @@ public final class e0 { @GuardedBy("this") /* renamed from: c reason: collision with root package name */ - public long f909c = -9223372036854775807L; + public long f781c; + public final ThreadLocal d = new ThreadLocal<>(); - public e0(long j) { - this.a = j; + public d0(long j) { + e(j); } public synchronized long a(long j) { if (j == -9223372036854775807L) { return -9223372036854775807L; } - if (this.f909c != -9223372036854775807L) { - this.f909c = j; - } else { + if (this.b == -9223372036854775807L) { long j2 = this.a; - if (j2 != RecyclerView.FOREVER_NS) { - this.b = j2 - j; + if (j2 == 9223372036854775806L) { + Long l = this.d.get(); + Objects.requireNonNull(l); + j2 = l.longValue(); } - this.f909c = j; + this.b = j2 - j; notifyAll(); } + this.f781c = j; return j + this.b; } @@ -39,7 +42,7 @@ public final class e0 { if (j == -9223372036854775807L) { return -9223372036854775807L; } - long j2 = this.f909c; + long j2 = this.f781c; if (j2 != -9223372036854775807L) { long j3 = (j2 * 90000) / 1000000; long j4 = (Permission.REQUEST_TO_SPEAK + j3) / Permission.MANAGE_EVENTS; @@ -51,17 +54,21 @@ public final class e0 { } 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.f909c != -9223372036854775807L) { - j = this.b; + 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/i2/f.java b/app/src/main/java/c/i/a/c/f3/e.java similarity index 75% rename from app/src/main/java/c/i/a/c/i2/f.java rename to app/src/main/java/c/i/a/c/f3/e.java index 1adc8359f7..073b1ea2a4 100644 --- a/app/src/main/java/c/i/a/c/i2/f.java +++ b/app/src/main/java/c/i/a/c/f3/e.java @@ -1,4 +1,4 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import android.util.Log; import java.io.File; @@ -9,7 +9,7 @@ import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /* compiled from: AtomicFile */ -public final class f { +public final class e { public final File a; public final File b; @@ -30,7 +30,7 @@ public final class f { try { this.i.getFD().sync(); } catch (IOException e) { - p.c("AtomicFile", "Failed to sync file descriptor:", e); + q.c("AtomicFile", "Failed to sync file descriptor:", e); } this.i.close(); } @@ -57,9 +57,9 @@ public final class f { } } - public f(File file) { + public e(File file) { this.a = file; - this.b = new File(file.getPath() + ".bak"); + this.b = new File(String.valueOf(file.getPath()).concat(".bak")); } public boolean a() { @@ -79,11 +79,9 @@ public final class f { 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()); + 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 { @@ -91,16 +89,14 @@ public final class f { } 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); + 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) { - StringBuilder O3 = c.d.b.a.a.O("Couldn't create "); - O3.append(this.a); - throw new IOException(O3.toString(), 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/i2/f0.java b/app/src/main/java/c/i/a/c/f3/e0.java similarity index 80% rename from app/src/main/java/c/i/a/c/i2/f0.java rename to app/src/main/java/c/i/a/c/f3/e0.java index e4d18e648e..5d649248a9 100644 --- a/app/src/main/java/c/i/a/c/i2/f0.java +++ b/app/src/main/java/c/i/a/c/f3/e0.java @@ -1,19 +1,17 @@ -package c.i.a.c.i2; +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.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.a.f.e.o.f; import c.i.b.a.c; import com.discord.models.domain.ModelAuditLogEntry; import com.discord.utilities.font.FontUtils; @@ -31,12 +29,12 @@ import java.util.regex.Pattern; import java.util.zip.DataFormatException; import java.util.zip.Inflater; /* compiled from: Util */ -public final class f0 { +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 f910c; + public static final String f782c; public static final String d; public static final String e; public static final byte[] f = new byte[0]; @@ -49,16 +47,19 @@ public final class f0 { 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; + int i2 = Build.VERSION.SDK_INT; a = i2; - String str2 = Build.DEVICE; - b = str2; - String str3 = Build.MANUFACTURER; - f910c = str3; - String str4 = Build.MODEL; - d = str4; - e = str2 + ", " + str4 + ", " + str3 + ", " + 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(.*))?)?"); @@ -69,17 +70,21 @@ public final class f0 { return uiModeManager != null && uiModeManager.getCurrentModeType() == 4; } - public static String B(String str) { + 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() && !"und".equals(replace)) { + if (!replace.isEmpty() && !replace.equals("und")) { str = replace; } - String K = K(str); + String d1 = f.d1(str); int i2 = 0; - String str2 = H(K, "-")[0]; + String str2 = I(d1, "-")[0]; if (h == null) { String[] iSOLanguages = Locale.getISOLanguages(); HashMap hashMap = new HashMap<>(iSOLanguages.length + i.length); @@ -105,32 +110,33 @@ public final class f0 { } String str4 = h.get(str2); if (str4 != null) { - StringBuilder O = a.O(str4); - O.append(K.substring(str2.length())); - K = O.toString(); + 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 K; + return d1; } while (true) { String[] strArr2 = j; if (i2 >= strArr2.length) { - return K; + return d1; } - if (K.startsWith(strArr2[i2])) { - return strArr2[i2 + 1] + K.substring(strArr2[i2].length()); + 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[] C(T[] tArr, int i2) { - d.k(i2 <= tArr.length); + public static T[] D(T[] tArr, int i2) { + d.j(i2 <= tArr.length); return (T[]) Arrays.copyOf(tArr, i2); } - public static boolean D(Handler handler, Runnable runnable) { + public static boolean E(Handler handler, Runnable runnable) { if (!handler.getLooper().getThread().isAlive()) { return false; } @@ -141,7 +147,7 @@ public final class f0 { return true; } - public static long E(long j2, long j3, long j4) { + 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); @@ -152,7 +158,7 @@ public final class f0 { return (long) (((double) j2) * (((double) j3) / ((double) j4))); } - public static void F(long[] jArr, long j2, long j3) { + 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) { @@ -176,19 +182,19 @@ public final class f0 { } } - public static String[] G(String str, String str2) { + public static String[] H(String str, String str2) { return str.split(str2, -1); } - public static String[] H(String str, String str2) { + public static String[] I(String str, String str2) { return str.split(str2, 2); } - public static boolean I(SQLiteDatabase sQLiteDatabase, String str) { + public static boolean J(SQLiteDatabase sQLiteDatabase, String str) { return DatabaseUtils.queryNumEntries(sQLiteDatabase, "sqlite_master", "tbl_name = ?", new String[]{str}) > 0; } - public static byte[] J(InputStream inputStream) throws IOException { + public static byte[] K(InputStream inputStream) throws IOException { byte[] bArr = new byte[4096]; ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); while (true) { @@ -200,14 +206,14 @@ public final class f0 { } } - 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 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); } @@ -229,19 +235,19 @@ public final class f0 { return z3 ? Math.min(jArr.length - 1, i2) : i2; } - public static int c(q qVar, long j2, boolean z2, boolean z3) { + public static int c(r rVar, long j2, boolean z2, boolean z3) { int i2; - int i3 = qVar.a - 1; + int i3 = rVar.a - 1; int i4 = 0; while (i4 <= i3) { int i5 = (i4 + i3) >>> 1; - if (qVar.b(i5) < j2) { + if (rVar.b(i5) < j2) { i4 = i5 + 1; } else { i3 = i5 - 1; } } - if (z2 && (i2 = i3 + 1) < qVar.a && qVar.b(i2) == j2) { + if (z2 && (i2 = i3 + 1) < rVar.a && rVar.b(i2) == j2) { return i2; } if (!z3 || i3 != -1) { @@ -311,11 +317,11 @@ public final class f0 { } public static String l(byte[] bArr) { - return new String(bArr, c.f1275c); + return new String(bArr, c.f1307c); } public static String m(byte[] bArr, int i2, int i3) { - return new String(bArr, i2, i3, c.f1275c); + return new String(bArr, i2, i3, c.f1307c); } public static int n(int i2) { @@ -347,68 +353,47 @@ public final class f0 { 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 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 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 long q(long j2, float f2) { + return f2 == 1.0f ? j2 : Math.round(((double) j2) * ((double) f2)); } public static int r(int i2) { @@ -487,30 +472,30 @@ public final class f0 { 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); + 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.f1275c); + return str.getBytes(c.f1307c); } - public static boolean x(w wVar, w wVar2, @Nullable Inflater inflater) { - if (wVar.a() <= 0) { + public static boolean x(x xVar, x xVar2, @Nullable Inflater inflater) { + if (xVar.a() <= 0) { return false; } - if (wVar2.a.length < wVar.a()) { - wVar2.b(wVar.a() * 2); + if (xVar2.a.length < xVar.a()) { + xVar2.b(xVar.a() * 2); } if (inflater == null) { inflater = new Inflater(); } - inflater.setInput(wVar.a, wVar.b, wVar.a()); + inflater.setInput(xVar.a, xVar.b, xVar.a()); int i2 = 0; while (true) { try { - byte[] bArr = wVar2.a; + byte[] bArr = xVar2.a; i2 += inflater.inflate(bArr, i2, bArr.length - i2); } catch (DataFormatException unused) { return false; @@ -518,15 +503,15 @@ public final class f0 { inflater.reset(); } if (inflater.finished()) { - wVar2.C(i2); + xVar2.D(i2); inflater.reset(); return true; } else if (inflater.needsDictionary() || inflater.needsInput()) { break; } else { - byte[] bArr2 = wVar2.a; + byte[] bArr2 = xVar2.a; if (i2 == bArr2.length) { - wVar2.b(bArr2.length * 2); + xVar2.b(bArr2.length * 2); } } } 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/i2/g.java b/app/src/main/java/c/i/a/c/f3/g.java similarity index 51% rename from app/src/main/java/c/i/a/c/i2/g.java rename to app/src/main/java/c/i/a/c/f3/g.java index e4c2dc9ada..2fb3cfe795 100644 --- a/app/src/main/java/c/i/a/c/i2/g.java +++ b/app/src/main/java/c/i/a/c/f3/g.java @@ -1,15 +1,17 @@ -package c.i.a.c.i2; +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 b0(); + public static final g a = new a0(); long a(); - c0 b(Looper looper, @Nullable Handler.Callback callback); + o b(Looper looper, @Nullable Handler.Callback callback); - long c(); + 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/i2/i.java b/app/src/main/java/c/i/a/c/f3/i.java similarity index 79% rename from app/src/main/java/c/i/a/c/i2/i.java rename to app/src/main/java/c/i/a/c/f3/i.java index dff4fbf0ab..5a23840cce 100644 --- a/app/src/main/java/c/i/a/c/i2/i.java +++ b/app/src/main/java/c/i/a/c/f3/i.java @@ -1,4 +1,4 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import android.graphics.Color; import android.text.TextUtils; @@ -8,6 +8,7 @@ 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; @@ -19,7 +20,7 @@ public final class i { 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 f911c = Pattern.compile("^rgba\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3}),(\\d*\\.?\\d*?)\\)$"); + 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 { @@ -28,10 +29,10 @@ public final class i { 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"); + 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); @@ -41,8 +42,8 @@ public final class i { 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"); + 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); @@ -51,7 +52,7 @@ public final class i { hashMap.put("deepskyblue", -16728065); hashMap.put("dimgray", -9868951); hashMap.put("dimgrey", -9868951); - a.d0(-14774017, hashMap, "dodgerblue", -5103070, "firebrick", -1296, "floralwhite", -14513374, "forestgreen"); + a.h0(-14774017, hashMap, "dodgerblue", -5103070, "firebrick", -1296, "floralwhite", -14513374, "forestgreen"); hashMap.put("fuchsia", -65281); hashMap.put("gainsboro", -2302756); hashMap.put("ghostwhite", -460545); @@ -61,9 +62,9 @@ public final class i { 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"); + 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); @@ -83,31 +84,31 @@ public final class i { 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"); + 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.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"); + 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.k(!TextUtils.isEmpty(str)); + d.j(!TextUtils.isEmpty(str)); String replace = str.replace(" ", ""); if (replace.charAt(0) == '#') { int parseLong = (int) Long.parseLong(replace.substring(1), 16); @@ -120,7 +121,7 @@ public final class i { throw new IllegalArgumentException(); } if (replace.startsWith("rgba")) { - Matcher matcher = (z2 ? f911c : b).matcher(replace); + Matcher matcher = (z2 ? f783c : b).matcher(replace); if (matcher.matches()) { if (z2) { String group = matcher.group(4); @@ -155,7 +156,7 @@ public final class i { return Color.rgb(parseInt3, parseInt4, Integer.parseInt(group8, 10)); } } else { - Integer num = d.get(f0.K(replace)); + Integer num = d.get(f.d1(replace)); if (num != null) { return num.intValue(); } diff --git a/app/src/main/java/c/i/a/c/i2/j.java b/app/src/main/java/c/i/a/c/f3/j.java similarity index 95% rename from app/src/main/java/c/i/a/c/i2/j.java rename to app/src/main/java/c/i/a/c/f3/j.java index cdca9a70e6..df06945f18 100644 --- a/app/src/main/java/c/i/a/c/i2/j.java +++ b/app/src/main/java/c/i/a/c/f3/j.java @@ -1,4 +1,4 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; /* compiled from: ConditionVariable */ public class j { public final g a = g.a; diff --git a/app/src/main/java/c/i/a/c/i2/k.java b/app/src/main/java/c/i/a/c/f3/k.java similarity index 79% rename from app/src/main/java/c/i/a/c/i2/k.java rename to app/src/main/java/c/i/a/c/f3/k.java index d0333b22dc..63f82e4817 100644 --- a/app/src/main/java/c/i/a/c/i2/k.java +++ b/app/src/main/java/c/i/a/c/f3/k.java @@ -1,4 +1,4 @@ -package c.i.a.c.i2; +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/i2/l.java b/app/src/main/java/c/i/a/c/f3/l.java similarity index 77% rename from app/src/main/java/c/i/a/c/i2/l.java rename to app/src/main/java/c/i/a/c/f3/l.java index 62ffbbf355..5e624abd4e 100644 --- a/app/src/main/java/c/i/a/c/i2/l.java +++ b/app/src/main/java/c/i/a/c/f3/l.java @@ -1,4 +1,4 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import androidx.annotation.GuardedBy; import java.util.Collections; @@ -17,6 +17,14 @@ public final class l implements Iterable { @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; diff --git a/app/src/main/java/c/i/a/c/i2/m.java b/app/src/main/java/c/i/a/c/f3/m.java similarity index 89% rename from app/src/main/java/c/i/a/c/i2/m.java rename to app/src/main/java/c/i/a/c/f3/m.java index ba7a111b8e..686fc947d5 100644 --- a/app/src/main/java/c/i/a/c/i2/m.java +++ b/app/src/main/java/c/i/a/c/f3/m.java @@ -1,4 +1,4 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import android.util.Pair; import java.lang.Throwable; 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/i2/o.java b/app/src/main/java/c/i/a/c/f3/p.java similarity index 50% rename from app/src/main/java/c/i/a/c/i2/o.java rename to app/src/main/java/c/i/a/c/f3/p.java index 5982437a23..4e851a1776 100644 --- a/app/src/main/java/c/i/a/c/i2/o.java +++ b/app/src/main/java/c/i/a/c/f3/p.java @@ -1,24 +1,22 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import android.os.Looper; import androidx.annotation.Nullable; -import c.i.a.c.i2.t; -import c.i.b.a.l; +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 o { +public final class p { public final g a; - public final c0 b; + public final o b; /* renamed from: c reason: collision with root package name */ - public final l f913c; - public final b d; - public final CopyOnWriteArraySet> e; + public final b f784c; + public final CopyOnWriteArraySet> d; + public final ArrayDeque e = new ArrayDeque<>(); public final ArrayDeque f = new ArrayDeque<>(); - public final ArrayDeque g = new ArrayDeque<>(); - public boolean h; + public boolean g; /* compiled from: ListenerSet */ public interface a { @@ -26,22 +24,21 @@ public final class o { } /* compiled from: ListenerSet */ - public interface b { - void a(T t, E e); + public interface b { + void a(T t, n nVar); } /* compiled from: ListenerSet */ - public static final class c { + public static final class c { public final T a; - public E b; + public n.b b = new n.b(); /* renamed from: c reason: collision with root package name */ - public boolean f914c; + public boolean f785c; public boolean d; - public c(T t, l lVar) { + public c(T t) { this.a = t; - this.b = lVar.get(); } public boolean equals(@Nullable Object obj) { @@ -59,46 +56,46 @@ public final class o { } } - public o(CopyOnWriteArraySet> copyOnWriteArraySet, Looper looper, g gVar, l lVar, b bVar) { + public p(CopyOnWriteArraySet> copyOnWriteArraySet, Looper looper, g gVar, b bVar) { this.a = gVar; - this.e = copyOnWriteArraySet; - this.f913c = lVar; - this.d = bVar; + this.d = copyOnWriteArraySet; + this.f784c = 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(); + if (!this.f.isEmpty()) { + if (!this.b.e(0)) { + o oVar = this.b; + oVar.d(oVar.c(0)); } - boolean z2 = !this.f.isEmpty(); - this.f.addAll(this.g); - this.g.clear(); + boolean z2 = !this.e.isEmpty(); + this.e.addAll(this.f); + this.f.clear(); if (!z2) { - while (!this.f.isEmpty()) { - this.f.peekFirst().run(); - this.f.removeFirst(); + while (!this.e.isEmpty()) { + this.e.peekFirst().run(); + this.e.removeFirst(); } } } } public void b(int i, a aVar) { - this.g.add(new a(new CopyOnWriteArraySet(this.e), i, aVar)); + this.f.add(new a(new CopyOnWriteArraySet(this.d), i, aVar)); } public void c() { - Iterator> it = this.e.iterator(); + Iterator> it = this.d.iterator(); while (it.hasNext()) { - c next = it.next(); - b bVar = this.d; + c next = it.next(); + b bVar = this.f784c; next.d = true; - if (next.f914c) { - bVar.a(next.a, next.b); + if (next.f785c) { + bVar.a(next.a, next.b.b()); } } - this.e.clear(); - this.h = true; + this.d.clear(); + this.g = true; } } diff --git a/app/src/main/java/c/i/a/c/i2/p.java b/app/src/main/java/c/i/a/c/f3/q.java similarity index 76% rename from app/src/main/java/c/i/a/c/i2/p.java rename to app/src/main/java/c/i/a/c/f3/q.java index bdbbd68f9f..71df92458d 100644 --- a/app/src/main/java/c/i/a/c/i2/p.java +++ b/app/src/main/java/c/i/a/c/f3/q.java @@ -1,13 +1,12 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; 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 { +public final class q { @Pure public static String a(String str, @Nullable Throwable th) { String str2; @@ -32,10 +31,14 @@ public final class p { if (TextUtils.isEmpty(str2)) { return str; } - StringBuilder S = a.S(str, "\n "); - S.append(str2.replace("\n", "\n ")); - S.append('\n'); - return S.toString(); + 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 diff --git a/app/src/main/java/c/i/a/c/i2/q.java b/app/src/main/java/c/i/a/c/f3/r.java similarity index 73% rename from app/src/main/java/c/i/a/c/i2/q.java rename to app/src/main/java/c/i/a/c/f3/r.java index f4fda516e6..35d85b7fa4 100644 --- a/app/src/main/java/c/i/a/c/i2/q.java +++ b/app/src/main/java/c/i/a/c/f3/r.java @@ -1,9 +1,9 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import c.d.b.a.a; import java.util.Arrays; /* compiled from: LongArray */ -public final class q { +public final class r { public int a; public long[] b = new long[32]; @@ -23,8 +23,6 @@ public final class q { 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()); + 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/i2/s.java b/app/src/main/java/c/i/a/c/f3/t.java similarity index 82% rename from app/src/main/java/c/i/a/c/i2/s.java rename to app/src/main/java/c/i/a/c/f3/t.java index dde0e69624..b07c4a40c3 100644 --- a/app/src/main/java/c/i/a/c/i2/s.java +++ b/app/src/main/java/c/i/a/c/f3/t.java @@ -1,17 +1,18 @@ -package c.i.a.c.i2; +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.c.v1.k; +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 s { +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}))?$"); @@ -29,6 +30,23 @@ public final class s { 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) { @@ -119,7 +137,7 @@ public final class s { case '\n': return true; case 3: - return (str2 == null || (e = e(str2)) == null || (a2 = k.a(e.b)) == 0 || a2 == 16) ? false : true; + return (str2 == null || (e = e(str2)) == null || (a2 = e.a()) == 0 || a2 == 16) ? false : true; default: return false; } @@ -193,7 +211,7 @@ public final class s { if (str2 == null || (e = e(str2)) == null) { return 0; } - return k.a(e.b); + return e.a(); case 3: return 5; case 4: @@ -218,73 +236,85 @@ public final class s { if (str == null) { return null; } - String K = f0.K(str.trim()); - if (K.startsWith("avc1") || K.startsWith("avc3")) { + String d1 = f.d1(str.trim()); + if (d1.startsWith("avc1") || d1.startsWith("avc3")) { return "video/avc"; } - if (K.startsWith("hev1") || K.startsWith("hvc1")) { + if (d1.startsWith("hev1") || d1.startsWith("hvc1")) { return "video/hevc"; } - if (K.startsWith("dvav") || K.startsWith("dva1") || K.startsWith("dvhe") || K.startsWith("dvh1")) { + if (d1.startsWith("dvav") || d1.startsWith("dva1") || d1.startsWith("dvhe") || d1.startsWith("dvh1")) { return "video/dolby-vision"; } - if (K.startsWith("av01")) { + if (d1.startsWith("av01")) { return "video/av01"; } - if (K.startsWith("vp9") || K.startsWith("vp09")) { + if (d1.startsWith("vp9") || d1.startsWith("vp09")) { return "video/x-vnd.on2.vp9"; } - if (K.startsWith("vp8") || K.startsWith("vp08")) { + if (d1.startsWith("vp8") || d1.startsWith("vp08")) { return "video/x-vnd.on2.vp8"; } - if (K.startsWith("mp4a")) { - if (K.startsWith("mp4a.") && (e = e(K)) != null) { + 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 (K.startsWith("ac-3") || K.startsWith("dac3")) { - return "audio/ac3"; + } else if (d1.startsWith("mha1")) { + return "audio/mha1"; } else { - if (K.startsWith("ec-3") || K.startsWith("dec3")) { + 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 (K.startsWith("ec+3")) { + if (d1.startsWith("ec+3")) { return "audio/eac3-joc"; } - if (K.startsWith("ac-4") || K.startsWith("dac4")) { + if (d1.startsWith("ac-4") || d1.startsWith("dac4")) { return "audio/ac4"; } - if (K.startsWith("dtsc") || K.startsWith("dtse")) { + if (d1.startsWith("dtsc")) { return "audio/vnd.dts"; } - if (K.startsWith("dtsh") || K.startsWith("dtsl")) { + if (d1.startsWith("dtse")) { + return "audio/vnd.dts.hd;profile=lbr"; + } + if (d1.startsWith("dtsh") || d1.startsWith("dtsl")) { return "audio/vnd.dts.hd"; } - if (K.startsWith("opus")) { + if (d1.startsWith("dtsx")) { + return "audio/vnd.dts.uhd;profile=p2"; + } + if (d1.startsWith("opus")) { return "audio/opus"; } - if (K.startsWith("vorbis")) { + if (d1.startsWith("vorbis")) { return "audio/vorbis"; } - if (K.startsWith("flac")) { + if (d1.startsWith("flac")) { return "audio/flac"; } - if (K.startsWith("stpp")) { + if (d1.startsWith("stpp")) { return "application/ttml+xml"; } - if (K.startsWith("wvtt")) { + if (d1.startsWith("wvtt")) { return "text/vtt"; } - if (K.contains("cea708")) { + if (d1.contains("cea708")) { return "application/cea-708"; } - if (K.contains("eia608") || K.contains("cea608")) { + 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 (K.startsWith(null)) { + if (d1.startsWith(null)) { break; } } @@ -397,6 +427,9 @@ public final class s { 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; } 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/i2/v.java b/app/src/main/java/c/i/a/c/f3/w.java similarity index 72% rename from app/src/main/java/c/i/a/c/i2/v.java rename to app/src/main/java/c/i/a/c/f3/w.java index a704de067b..c8483007a9 100644 --- a/app/src/main/java/c/i/a/c/i2/v.java +++ b/app/src/main/java/c/i/a/c/f3/w.java @@ -1,26 +1,26 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import c.c.a.a0.d; /* compiled from: ParsableBitArray */ -public final class v { +public final class w { public byte[] a; public int b; /* renamed from: c reason: collision with root package name */ - public int f918c; + public int f791c; public int d; - public v() { - this.a = f0.f; + public w() { + this.a = e0.f; } - public v(byte[] bArr) { + public w(byte[] bArr) { int length = bArr.length; this.a = bArr; this.d = length; } - public v(byte[] bArr, int i) { + public w(byte[] bArr, int i) { this.a = bArr; this.d = i; } @@ -28,32 +28,32 @@ public final class v { public final void a() { int i; int i2 = this.b; - d.D(i2 >= 0 && (i2 < (i = this.d) || (i2 == i && this.f918c == 0))); + d.D(i2 >= 0 && (i2 < (i = this.d) || (i2 == i && this.f791c == 0))); } public int b() { - return ((this.d - this.b) * 8) - this.f918c; + return ((this.d - this.b) * 8) - this.f791c; } public void c() { - if (this.f918c != 0) { - this.f918c = 0; + if (this.f791c != 0) { + this.f791c = 0; this.b++; a(); } } public int d() { - d.D(this.f918c == 0); + d.D(this.f791c == 0); return this.b; } public int e() { - return (this.b * 8) + this.f918c; + return (this.b * 8) + this.f791c; } public boolean f() { - boolean z2 = (this.a[this.b] & (128 >> this.f918c)) != 0; + boolean z2 = (this.a[this.b] & (128 >> this.f791c)) != 0; l(); return z2; } @@ -63,15 +63,15 @@ public final class v { if (i == 0) { return 0; } - this.f918c += i; + this.f791c += i; int i3 = 0; while (true) { - i2 = this.f918c; + i2 = this.f791c; if (i2 <= 8) { break; } int i4 = i2 - 8; - this.f918c = i4; + this.f791c = i4; byte[] bArr = this.a; int i5 = this.b; this.b = i5 + 1; @@ -81,7 +81,7 @@ public final class v { int i6 = this.b; int i7 = (-1 >>> (32 - i)) & (i3 | ((bArr2[i6] & 255) >> (8 - i2))); if (i2 == 8) { - this.f918c = 0; + this.f791c = 0; this.b = i6 + 1; } a(); @@ -96,7 +96,7 @@ public final class v { int i5 = i4 + 1; this.b = i5; byte b = bArr2[i4]; - int i6 = this.f918c; + int i6 = this.f791c; bArr[i] = (byte) (b << i6); bArr[i] = (byte) (((255 & bArr2[i5]) >> (8 - i6)) | bArr[i]); i++; @@ -104,22 +104,22 @@ public final class v { int i7 = i2 & 7; if (i7 != 0) { bArr[i3] = (byte) (bArr[i3] & (255 >> i7)); - int i8 = this.f918c; + 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.f918c = i8 - 8; + this.f791c = i8 - 8; } - int i10 = this.f918c + i7; - this.f918c = i10; + 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.f918c = 0; + this.f791c = 0; this.b = i11 + 1; } a(); @@ -127,7 +127,7 @@ public final class v { } public void i(byte[] bArr, int i, int i2) { - d.D(this.f918c == 0); + d.D(this.f791c == 0); System.arraycopy(this.a, this.b, bArr, i, i2); this.b += i2; a(); @@ -136,22 +136,22 @@ public final class v { public void j(byte[] bArr, int i) { this.a = bArr; this.b = 0; - this.f918c = 0; + this.f791c = 0; this.d = i; } public void k(int i) { int i2 = i / 8; this.b = i2; - this.f918c = i - (i2 * 8); + this.f791c = i - (i2 * 8); a(); } public void l() { - int i = this.f918c + 1; - this.f918c = i; + int i = this.f791c + 1; + this.f791c = i; if (i == 8) { - this.f918c = 0; + this.f791c = 0; this.b++; } a(); @@ -161,17 +161,17 @@ public final class v { int i2 = i / 8; int i3 = this.b + i2; this.b = i3; - int i4 = (i - (i2 * 8)) + this.f918c; - this.f918c = i4; + int i4 = (i - (i2 * 8)) + this.f791c; + this.f791c = i4; if (i4 > 7) { this.b = i3 + 1; - this.f918c = i4 - 8; + this.f791c = i4 - 8; } a(); } public void n(int i) { - d.D(this.f918c == 0); + d.D(this.f791c == 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/f3/x.java similarity index 75% rename from app/src/main/java/c/i/a/c/i2/w.java rename to app/src/main/java/c/i/a/c/f3/x.java index faa10306f6..297a6aad1e 100644 --- a/app/src/main/java/c/i/a/c/i2/w.java +++ b/app/src/main/java/c/i/a/c/f3/x.java @@ -1,4 +1,4 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import androidx.annotation.Nullable; import c.c.a.a0.d; @@ -7,61 +7,69 @@ import c.i.b.a.c; import java.nio.charset.Charset; import java.util.Arrays; /* compiled from: ParsableByteArray */ -public final class w { +public final class x { public byte[] a; public int b; /* renamed from: c reason: collision with root package name */ - public int f919c; + public int f792c; - public w() { - this.a = f0.f; + public x() { + this.a = e0.f; } - public w(int i) { + public x(int i) { this.a = new byte[i]; - this.f919c = i; + this.f792c = i; } - public w(byte[] bArr) { + public x(byte[] bArr) { this.a = bArr; - this.f919c = bArr.length; + this.f792c = bArr.length; } - public w(byte[] bArr, int i) { + public x(byte[] bArr, int i) { this.a = bArr; - this.f919c = i; + this.f792c = i; } - public void A(byte[] bArr) { + 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.f919c = length; + this.f792c = length; this.b = 0; } - public void B(byte[] bArr, int i) { + public void C(byte[] bArr, int i) { this.a = bArr; - this.f919c = i; + this.f792c = i; this.b = 0; } - public void C(int i) { - d.k(i >= 0 && i <= this.a.length); - this.f919c = i; - } - public void D(int i) { - d.k(i >= 0 && i <= this.f919c); - this.b = i; + d.j(i >= 0 && i <= this.a.length); + this.f792c = i; } public void E(int i) { - D(this.b + 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.f919c - this.b; + return this.f792c - this.b; } public void b(int i) { @@ -75,9 +83,9 @@ public final class w { return this.a[this.b] & 255; } - public void d(v vVar, int i) { - e(vVar.a, 0, i); - vVar.k(0); + public void d(w wVar, int i) { + e(wVar.a, 0, i); + wVar.k(0); } public void e(byte[] bArr, int i, int i2) { @@ -106,9 +114,9 @@ public final class w { return null; } int i = this.b; - while (i < this.f919c) { + while (i < this.f792c) { byte b = this.a[i]; - int i2 = f0.a; + int i2 = e0.a; if (b == 10 || b == 13) { break; } @@ -123,9 +131,9 @@ public final class w { } byte[] bArr2 = this.a; int i4 = this.b; - String m = f0.m(bArr2, i4, i - i4); + String m = e0.m(bArr2, i4, i - i4); this.b = i; - int i5 = this.f919c; + int i5 = this.f792c; if (i == i5) { return m; } @@ -186,7 +194,7 @@ public final class w { if (h >= 0) { return h; } - throw new IllegalStateException(a.l("Top bit not zero: ", h)); + throw new IllegalStateException(a.f(29, "Top bit not zero: ", h)); } public int l() { @@ -225,14 +233,14 @@ public final class w { return null; } int i = this.b; - while (i < this.f919c && this.a[i] != 0) { + while (i < this.f792c && this.a[i] != 0) { i++; } byte[] bArr = this.a; int i2 = this.b; - String m = f0.m(bArr, i2, i - i2); + String m = e0.m(bArr, i2, i - i2); this.b = i; - if (i < this.f919c) { + if (i < this.f792c) { this.b = i + 1; } return m; @@ -244,33 +252,42 @@ public final class w { } int i2 = this.b; int i3 = (i2 + i) - 1; - String m = f0.m(this.a, i2, (i3 >= this.f919c || this.a[i3] != 0) ? i : 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 String p(int i) { - return q(i, c.f1275c); + 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, Charset charset) { + 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 r() { - return (s() << 21) | (s() << 14) | (s() << 7) | s(); + public int s() { + return (t() << 21) | (t() << 14) | (t() << 7) | t(); } - public int s() { + public int t() { byte[] bArr = this.a; int i = this.b; this.b = i + 1; return bArr[i] & 255; } - public long t() { + public long u() { byte[] bArr = this.a; int i = this.b; int i2 = i + 1; @@ -283,7 +300,7 @@ public final class w { return ((((long) bArr[i]) & 255) << 24) | ((((long) bArr[i2]) & 255) << 16) | ((((long) bArr[i3]) & 255) << 8) | (((long) bArr[i4]) & 255); } - public int u() { + public int v() { byte[] bArr = this.a; int i = this.b; int i2 = i + 1; @@ -295,23 +312,26 @@ public final class w { return (bArr[i3] & 255) | i4; } - public int v() { + public int w() { int f = f(); if (f >= 0) { return f; } - throw new IllegalStateException(a.l("Top bit not zero: ", f)); + throw new IllegalStateException(a.f(29, "Top bit not zero: ", f)); } - public long w() { + public long x() { long m = m(); if (m >= 0) { return m; } - throw new IllegalStateException(a.q("Top bit not zero: ", m)); + StringBuilder sb = new StringBuilder(38); + sb.append("Top bit not zero: "); + sb.append(m); + throw new IllegalStateException(sb.toString()); } - public int x() { + public int y() { byte[] bArr = this.a; int i = this.b; int i2 = i + 1; @@ -320,7 +340,7 @@ public final class w { return (bArr[i2] & 255) | ((bArr[i] & 255) << 8); } - public long y() { + public long z() { int i; int i2; long j = (long) this.a[this.b]; @@ -346,20 +366,18 @@ public final class w { if ((b & 192) == 128) { j = (j << 6) | ((long) (b & 63)); } else { - throw new NumberFormatException(a.q("Invalid UTF-8 sequence continuation byte: ", j)); + 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; } - 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); + 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/i2/x.java b/app/src/main/java/c/i/a/c/f3/y.java similarity index 70% rename from app/src/main/java/c/i/a/c/i2/x.java rename to app/src/main/java/c/i/a/c/f3/y.java index 73cf70f2da..b49f4d2b13 100644 --- a/app/src/main/java/c/i/a/c/i2/x.java +++ b/app/src/main/java/c/i/a/c/f3/y.java @@ -1,30 +1,30 @@ -package c.i.a.c.i2; +package c.i.a.c.f3; import c.c.a.a0.d; /* compiled from: ParsableNalUnitBitArray */ -public final class x { +public final class y { public byte[] a; public int b; /* renamed from: c reason: collision with root package name */ - public int f920c; + public int f793c; public int d = 0; - public x(byte[] bArr, int i, int i2) { + public y(byte[] bArr, int i, int i2) { this.a = bArr; - this.f920c = i; + this.f793c = i; this.b = i2; a(); } public final void a() { int i; - int i2 = this.f920c; + 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.f920c; + int i2 = this.f793c; int i3 = i / 8; int i4 = i2 + i3; int i5 = (this.d + i) - (i3 * 8); @@ -36,7 +36,7 @@ public final class x { i2++; if (i2 > i4 || i4 >= this.b) { break; - } else if (i(i2)) { + } else if (h(i2)) { i4++; i2 += 2; } @@ -49,21 +49,21 @@ public final class x { } public boolean c() { - int i = this.f920c; + int i = this.f793c; int i2 = this.d; int i3 = 0; - while (this.f920c < this.b && !d()) { + while (this.f793c < this.b && !d()) { i3++; } - boolean z2 = this.f920c == this.b; - this.f920c = i; + 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.f920c] & (128 >> this.d)) != 0; - j(); + boolean z2 = (this.a[this.f793c] & (128 >> this.d)) != 0; + i(); return z2; } @@ -81,22 +81,22 @@ public final class x { int i5 = i2 - 8; this.d = i5; byte[] bArr = this.a; - int i6 = this.f920c; + int i6 = this.f793c; i4 |= (bArr[i6] & 255) << i5; - if (!i(i6 + 1)) { + if (!h(i6 + 1)) { i3 = 1; } - this.f920c = i6 + i3; + this.f793c = i6 + i3; } byte[] bArr2 = this.a; - int i7 = this.f920c; + int i7 = this.f793c; int i8 = (-1 >>> (32 - i)) & (i4 | ((bArr2[i7] & 255) >> (8 - i2))); if (i2 == 8) { this.d = 0; - if (!i(i7 + 1)) { + if (!h(i7 + 1)) { i3 = 1; } - this.f920c = i7 + i3; + this.f793c = i7 + i3; } a(); return i8; @@ -120,15 +120,7 @@ public final class x { return ((f + 1) / 2) * (f % 2 == 0 ? -1 : 1); } - public void h(byte[] bArr, int i, int i2) { - this.a = bArr; - this.f920c = i; - this.b = i2; - this.d = 0; - a(); - } - - public final boolean i(int i) { + 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) { @@ -138,39 +130,39 @@ public final class x { return false; } - public void j() { + public void i() { int i = 1; int i2 = this.d + 1; this.d = i2; if (i2 == 8) { this.d = 0; - int i3 = this.f920c; - if (i(i3 + 1)) { + int i3 = this.f793c; + if (h(i3 + 1)) { i = 2; } - this.f920c = i3 + i; + this.f793c = i3 + i; } a(); } - public void k(int i) { - int i2 = this.f920c; + public void j(int i) { + int i2 = this.f793c; int i3 = i / 8; int i4 = i2 + i3; - this.f920c = i4; + this.f793c = i4; int i5 = (i - (i3 * 8)) + this.d; this.d = i5; if (i5 > 7) { - this.f920c = i4 + 1; + this.f793c = i4 + 1; this.d = i5 - 8; } while (true) { i2++; - if (i2 > this.f920c) { + if (i2 > this.f793c) { a(); return; - } else if (i(i2)) { - this.f920c++; + } 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 fd5a46bde3..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; - public boolean r; +/* compiled from: lambda */ +public final /* synthetic */ class g0 implements Runnable { + public final /* synthetic */ h1 i; + public final /* synthetic */ b2 j; - /* renamed from: s reason: collision with root package name */ - public boolean f871s; - - 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.r ? -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.f2276x != RecyclerView.FOREVER_NS) { - Format.b a2 = format.a(); - a2.o = format.f2276x + 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.r = 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.r); - 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.r = 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.r = false; - this.q = j; - D(j, false); - } - - @Override // c.i.a.c.k1 - public final boolean v() { - return this.r; - } - - @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.f871s) { - this.f871s = true; - boolean z3 = false; - try { - i = a(format) & 7; - } catch (ExoPlaybackException unused) { - } finally { - this.f871s = 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/n.java b/app/src/main/java/c/i/a/c/g2/n.java deleted file mode 100644 index 9078089692..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.f819c))); - 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.f820c; - 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.f846c != 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.f872c); - } - 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.f1275c), 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/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/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/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/v1/e.java b/app/src/main/java/c/i/a/c/g3/i.java similarity index 55% rename from app/src/main/java/c/i/a/c/v1/e.java rename to app/src/main/java/c/i/a/c/g3/i.java index 351aadef0f..64afabf5ab 100644 --- a/app/src/main/java/c/i/a/c/v1/e.java +++ b/app/src/main/java/c/i/a/c/g3/i.java @@ -1,15 +1,15 @@ -package c.i.a.c.v1; +package c.i.a.c.g3; -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; +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 */ q.a i; +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 */ e(q.a aVar, String str, long j, long j2) { + public /* synthetic */ i(x.a aVar, String str, long j, long j2) { this.i = aVar; this.j = str; this.k = j; @@ -18,12 +18,12 @@ public final /* synthetic */ class e implements Runnable { @Override // java.lang.Runnable public final void run() { - q.a aVar = this.i; + x.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); + 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/j2/l.java b/app/src/main/java/c/i/a/c/g3/p.java similarity index 91% rename from app/src/main/java/c/i/a/c/j2/l.java rename to app/src/main/java/c/i/a/c/g3/p.java index 3b230c32d0..d6b857cf33 100644 --- a/app/src/main/java/c/i/a/c/j2/l.java +++ b/app/src/main/java/c/i/a/c/g3/p.java @@ -1,13 +1,13 @@ -package c.i.a.c.j2; +package c.i.a.c.g3; import java.util.Arrays; /* compiled from: FixedFrameRateEstimator */ -public final class l { +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 f925c; + public boolean f795c; public long d = -9223372036854775807L; public int e; @@ -17,7 +17,7 @@ public final class l { public long b; /* renamed from: c reason: collision with root package name */ - public long f926c; + public long f796c; public long d; public long e; public long f; @@ -38,7 +38,7 @@ public final class l { this.f = j3; this.e = 1; } else { - long j4 = j - this.f926c; + long j4 = j - this.f796c; int i = (int) (j2 % 15); if (Math.abs(j4 - this.b) <= 1000000) { this.e++; @@ -57,7 +57,7 @@ public final class l { } } this.d++; - this.f926c = j; + this.f796c = j; } public void c() { 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/j2/n.java b/app/src/main/java/c/i/a/c/g3/r.java similarity index 66% rename from app/src/main/java/c/i/a/c/j2/n.java rename to app/src/main/java/c/i/a/c/g3/r.java index ce6b170cc8..af535ec8a7 100644 --- a/app/src/main/java/c/i/a/c/j2/n.java +++ b/app/src/main/java/c/i/a/c/g3/r.java @@ -1,4 +1,4 @@ -package c.i.a.c.j2; +package c.i.a.c.g3; import android.annotation.TargetApi; import android.content.Context; @@ -19,25 +19,27 @@ 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 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.Format; 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.ColorInfo; import com.google.android.exoplayer2.video.DummySurface; import com.google.android.exoplayer2.video.MediaCodecVideoDecoderException; import java.nio.ByteBuffer; @@ -47,52 +49,50 @@ 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; +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 b C1; + public Surface Y0; @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.f910c); - public a Y0; - public boolean Z0; + public DummySurface Z0; public boolean a1; - @Nullable - public Surface b1; - @Nullable - public Surface c1; + public int b1 = 1; + public boolean 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 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 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; + 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 { @@ -100,46 +100,46 @@ public class n extends MediaCodecRenderer { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f928c; + public final int f798c; public a(int i, int i2, int i3) { this.a = i; this.b = i2; - this.f928c = i3; + this.f798c = i3; } } /* compiled from: MediaCodecVideoRenderer */ @RequiresApi(23) - public final class b implements r.b, Handler.Callback { + public final class b implements t.c, Handler.Callback { public final Handler i; - public b(r rVar) { - int i = f0.a; + public b(t tVar) { + int i = e0.a; Looper myLooper = Looper.myLooper(); d.H(myLooper); Handler handler = new Handler(myLooper, this); this.i = handler; - rVar.e(this, handler); + tVar.f(this, handler); } public final void a(long j) { - n nVar = n.this; - if (this == nVar.C1) { + r rVar = r.this; + if (this == rVar.w1) { if (j == RecyclerView.FOREVER_NS) { - nVar.G0 = true; + rVar.G0 = true; return; } try { - nVar.P0(j); + rVar.N0(j); } catch (ExoPlaybackException e) { - n.this.K0 = e; + r.this.H0 = e; } } } - public void b(r rVar, long j, long j2) { - if (f0.a < 30) { + 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; } @@ -151,20 +151,19 @@ public class n extends MediaCodecRenderer { if (message.what != 0) { return false; } - a((f0.L(message.arg1) << 32) | f0.L(message.arg2)); + a((e0.L(message.arg1) << 32) | e0.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; + 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.S0 = applicationContext; - this.T0 = new t(applicationContext); - this.U0 = new w.a(handler, wVar); - D0(); + 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 */ @@ -174,13 +173,13 @@ public class n extends MediaCodecRenderer { /* JADX WARNING: Code restructure failed: missing block: B:462:0x0831, code lost: if (r0.equals("AFTN") == false) goto L_0x0829; */ - public static boolean F0() { + public static boolean E0() { char c2; - int i = f0.a; + int i = e0.a; char c3 = 6; char c4 = 2; if (i <= 28) { - String str = f0.b; + String str = e0.b; str.hashCode(); switch (str.hashCode()) { case -1339091551: @@ -247,11 +246,11 @@ public class n extends MediaCodecRenderer { return true; } } - if (i <= 27 && "HWEML".equals(f0.b)) { + if (i <= 27 && "HWEML".equals(e0.b)) { return true; } if (i <= 26) { - String str2 = f0.b; + String str2 = e0.b; str2.hashCode(); switch (str2.hashCode()) { case -2144781245: @@ -1376,7 +1375,7 @@ public class n extends MediaCodecRenderer { case 139: break; default: - String str3 = f0.d; + String str3 = e0.d; str3.hashCode(); switch (str3.hashCode()) { case -594534941: @@ -1408,689 +1407,440 @@ public class n extends MediaCodecRenderer { } /* 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) { + public static int F0(u uVar, j1 j1Var) { 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.f910c) || (!"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); + int i; + int intValue; + int i2 = j1Var.A; + int i3 = j1Var.B; + if (i2 == -1 || i3 == -1) { + return -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 H0(t tVar, Format format, boolean z2, boolean z3) throws MediaCodecUtil.DecoderQueryException { + public static List G0(v vVar, j1 j1Var, boolean z2, boolean z3) throws MediaCodecUtil.DecoderQueryException { Pair c2; - String str = format.t; + String str = j1Var.v; if (str == null) { return Collections.emptyList(); } - List a2 = tVar.a(str, z2, z3); + List a2 = vVar.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) { + 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(tVar.a("video/hevc", z2, z3)); + arrayList.addAll(vVar.a("video/hevc", z2, z3)); } else if (intValue == 512) { - arrayList.addAll(tVar.a("video/avc", z2, z3)); + arrayList.addAll(vVar.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.f2277y, format.f2278z); + public static int H0(u uVar, j1 j1Var) { + if (j1Var.w == -1) { + return F0(uVar, j1Var); } - int size = format.v.size(); + int size = j1Var.f820x.size(); int i = 0; for (int i2 = 0; i2 < size; i2++) { - i += format.v.get(i2).length; + i += j1Var.f820x.get(i2).length; } - return format.u + i; + return j1Var.w + i; } - public static boolean J0(long j) { + public static boolean I0(long j) { return j < -30000; } - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0 + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.v0 public void B() { - D0(); + this.t1 = null; 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.f930c; - Objects.requireNonNull(bVar); - bVar.k.sendEmptyMessage(2); + 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.C1 = null; + this.w1 = null; try { super.B(); - w.a aVar2 = this.U0; - c.i.a.c.x1.d dVar = this.L0; - Objects.requireNonNull(aVar2); - synchronized (dVar) { + x.a aVar = this.R0; + e eVar2 = this.I0; + Objects.requireNonNull(aVar); + synchronized (eVar2) { } - Handler handler = aVar2.a; + Handler handler = aVar.a; if (handler != null) { - handler.post(new a(aVar2, dVar)); + handler.post(new c(aVar, eVar2)); } } 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; + x.a aVar2 = this.R0; + e eVar3 = this.I0; + Objects.requireNonNull(aVar2); + synchronized (eVar3) { + Handler handler2 = aVar2.a; if (handler2 != null) { - handler2.post(new a(aVar3, dVar2)); + handler2.post(new c(aVar2, eVar3)); } throw th; } } } - @Override // c.i.a.c.g0 + @Override // c.i.a.c.v0 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(); + 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(); } - w.a aVar = this.U0; - c.i.a.c.x1.d dVar = this.L0; + x.a aVar = this.R0; + e eVar = this.I0; Handler handler = aVar.a; if (handler != null) { - handler.post(new c(aVar, dVar)); + handler.post(new f(aVar, eVar)); } - t tVar = this.T0; - if (tVar.b != null) { - t.b bVar = tVar.f930c; - Objects.requireNonNull(bVar); - bVar.k.sendEmptyMessage(1); - t.a aVar2 = tVar.d; - if (aVar2 != null) { - aVar2.a.registerDisplayListener(aVar2, f0.j()); - } - tVar.d(); + 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.g1 = z3; - this.h1 = false; + this.d1 = z3; + this.e1 = 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); + 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.g0 + @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.T0.b(); - this.o1 = -9223372036854775807L; - this.i1 = -9223372036854775807L; - this.m1 = 0; + this.Q0.b(); + this.l1 = -9223372036854775807L; + this.f1 = -9223372036854775807L; + this.j1 = 0; if (z2) { - S0(); + R0(); } else { - this.j1 = -9223372036854775807L; + this.g1 = -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) { + public boolean D0(String str) { if (str.startsWith("OMX.google")) { return false; } - synchronized (n.class) { - if (!Q0) { - R0 = F0(); - Q0 = true; + synchronized (r.class) { + if (!N0) { + O0 = E0(); + N0 = true; } } - return R0; + return O0; } - @Override // c.i.a.c.g0 + @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.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); + 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.g0 + @Override // c.i.a.c.v0 public void G() { - this.j1 = -9223372036854775807L; - K0(); - int i = this.r1; + this.g1 = -9223372036854775807L; + J0(); + int i = this.o1; if (i != 0) { - w.a aVar = this.U0; - long j = this.q1; + x.a aVar = this.R0; + long j = this.n1; Handler handler = aVar.a; if (handler != null) { - handler.post(new i(aVar, j, i)); + handler.post(new l(aVar, j, i)); } - this.q1 = 0; - this.r1 = 0; + 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; } - 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); + 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 = format2.f2277y; - a aVar = this.Y0; - if (i2 > aVar.a || format2.f2278z > aVar.b) { + int i2 = j1Var2.A; + a aVar = this.V0; + if (i2 > aVar.a || j1Var2.B > aVar.b) { i |= 256; } - if (I0(sVar, format2) > this.Y0.f928c) { + if (H0(uVar, j1Var2) > this.V0.f798c) { i |= 64; } - return new e(sVar.a, format, format2, i != 0 ? 0 : c2.d, i); + return new c.i.a.c.v2.g(uVar.a, j1Var, j1Var2, 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)); + 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.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.f776c; - Format[] formatArr2 = this.o; - Objects.requireNonNull(formatArr2); - int i3 = format.f2277y; - int i4 = format.f2278z; - int I0 = I0(sVar, format); - if (formatArr2.length == 1) { - if (!(I0 == -1 || (G0 = G0(sVar, format.t, format.f2277y, format.f2278z)) == -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.w = format.F; - format2 = a2.a(); - } - if (sVar.c(format, format2).d != 0) { - int i6 = format2.f2277y; - formatArr = formatArr2; - z4 |= i6 == -1 || format2.f2278z == -1; - int max = Math.max(i3, i6); - int max2 = Math.max(i4, format2.f2278z); - 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.f2278z; - int i8 = format.f2277y; - 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.f2277y); - mediaFormat.setInteger("height", format.f2278z); - 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.f928c); - 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.f2277y); - mediaFormat.setInteger("height", format.f2278z); - 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.f928c); - 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; + this.a1 = true; } } @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public MediaCodecDecoderException M(Throwable th, @Nullable s sVar) { - return new MediaCodecVideoDecoderException(th, sVar, this.b1); + public MediaCodecDecoderException L(Throwable th, @Nullable u uVar) { + return new MediaCodecVideoDecoderException(th, uVar, this.Y0); } - 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 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 N0() { - int i = this.w1; - if (i != -1 || this.x1 != -1) { - this.U0.a(i, this.x1, this.y1, this.z1); + 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 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 { + public void N0(long j) throws ExoPlaybackException { B0(j); - M0(); - this.L0.e++; L0(); - super.h0(j); - if (!this.A1) { - this.n1--; + this.I0.e++; + K0(); + super.i0(j); + if (!this.u1) { + this.k1--; } } - 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; + @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 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; + 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 S0() { - this.j1 = this.V0 > 0 ? SystemClock.elapsedRealtime() + this.V0 : -9223372036854775807L; + public final void R0() { + this.g1 = this.S0 > 0 ? SystemClock.elapsedRealtime() + this.S0 : -9223372036854775807L; } - public final boolean T0(s sVar) { - return f0.a >= 23 && !this.A1 && !E0(sVar.a) && (!sVar.f || DummySurface.b(this.S0)); + public final boolean S0(u uVar) { + return e0.a >= 23 && !this.u1 && !D0(uVar.a) && (!uVar.f || DummySurface.b(this.P0)); } - public void U0(r rVar, int i) { - d.g("skipVideoBuffer"); - rVar.releaseOutputBuffer(i, false); - d.f0(); - this.L0.f++; + 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 V() { - return this.A1 && f0.a < 23; + public boolean U() { + return this.u1 && e0.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(); + 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 W(float f, Format format, Format[] formatArr) { + public float V(float f, j1 j1Var, j1[] j1VarArr) { float f2 = -1.0f; - for (Format format2 : formatArr) { - float f3 = format2.A; + for (j1 j1Var2 : j1VarArr) { + float f3 = j1Var2.C; if (f3 != -1.0f) { f2 = Math.max(f2, f3); } @@ -2101,23 +1851,199 @@ public class n extends MediaCodecRenderer { 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++; + 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 X(c.i.a.c.b2.t tVar, Format format, boolean z2) throws MediaCodecUtil.DecoderQueryException { - return H0(tVar, format, z2, this.A1); + 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.a1) { + if (this.X0) { ByteBuffer byteBuffer = decoderInputBuffer.n; Objects.requireNonNull(byteBuffer); if (byteBuffer.remaining() >= 7) { @@ -2131,45 +2057,55 @@ public class n extends MediaCodecRenderer { byte[] bArr = new byte[byteBuffer.remaining()]; byteBuffer.get(bArr); byteBuffer.position(0); - r rVar = this.R; + t tVar = this.R; Bundle bundle = new Bundle(); bundle.putByteArray("hdr10-plus-info", bArr); - rVar.setParameters(bundle); + tVar.setParameters(bundle); } } } } - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.k1 + @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.f2 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; + 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.j1 == -9223372036854775807L) { + } else if (this.g1 == -9223372036854775807L) { return false; } else { - if (SystemClock.elapsedRealtime() < this.j1) { + if (SystemClock.elapsedRealtime() < this.g1) { return true; } - this.j1 = -9223372036854775807L; + this.g1 = -9223372036854775807L; return false; } } @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void d0(String str, long j, long j2) { - w.a aVar = this.U0; + 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 f(aVar, str, j, j2)); + handler.post(new e(aVar, exc)); } - this.Z0 = E0(str); - s sVar = this.Y; - Objects.requireNonNull(sVar); + } + + @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 (f0.a >= 29 && "video/x-vnd.on2.vp9".equals(sVar.b)) { - MediaCodecInfo.CodecProfileLevel[] d = sVar.d(); + 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) { @@ -2183,98 +2119,103 @@ public class n extends MediaCodecRenderer { } } } - this.a1 = z2; + 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 e0(String str) { - w.a aVar = this.U0; + public void f0(String str) { + x.a aVar = this.R0; Handler handler = aVar.a; if (handler != null) { - handler.post(new b(aVar, str)); + handler.post(new d(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; + 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 g(aVar, format, f02)); + handler.post(new k(aVar, j1Var, g02)); } - return f02; + return g02; } - @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.f2277y; - this.t1 = format.f2278z; - } 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.f925c = false; - lVar.d = -9223372036854775807L; - lVar.e = 0; - tVar.e(); - } - - @Override // c.i.a.c.k1, c.i.a.c.l1 + @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 h0(long j) { - super.h0(j); - if (!this.A1) { - this.n1--; + public void i0(long j) { + super.i0(j); + if (!this.u1) { + this.k1--; } } @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public void i0() { + public void j0() { C0(); } @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer @CallSuper - public void j0(DecoderInputBuffer decoderInputBuffer) throws ExoPlaybackException { - boolean z2 = this.A1; + public void k0(DecoderInputBuffer decoderInputBuffer) throws ExoPlaybackException { + boolean z2 = this.u1; if (!z2) { - this.n1++; + this.k1++; } - if (f0.a < 23 && z2) { - P0(decoderInputBuffer.m); + if (e0.a < 23 && z2) { + N0(decoderInputBuffer.m); } } @@ -2282,57 +2223,57 @@ public class n extends MediaCodecRenderer { 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; + 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 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 { + 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(rVar); - if (this.i1 == -9223372036854775807L) { - this.i1 = j; + Objects.requireNonNull(tVar); + if (this.f1 == -9223372036854775807L) { + this.f1 = j; } - if (j3 != this.o1) { - t tVar = this.T0; - long j7 = tVar.n; + if (j3 != this.l1) { + v vVar = this.Q0; + long j7 = vVar.n; if (j7 != -1) { - tVar.p = j7; - tVar.q = tVar.o; + vVar.p = j7; + vVar.q = vVar.o; } - tVar.m++; - l lVar = tVar.a; + vVar.m++; + p pVar = vVar.a; long j8 = j3 * 1000; - lVar.a.b(j8); - if (lVar.a.a()) { - lVar.f925c = false; - } else if (lVar.d != -9223372036854775807L) { - if (lVar.f925c) { - l.a aVar = lVar.b; + 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; } - lVar.b.c(); - lVar.b.b(lVar.d); - lVar.f925c = true; - lVar.b.b(j8); + pVar.b.c(); + pVar.b.b(pVar.d); + pVar.f795c = true; + pVar.b.b(j8); } - if (lVar.f925c && lVar.b.a()) { - l.a aVar2 = lVar.a; - lVar.a = lVar.b; - lVar.b = aVar2; - lVar.f925c = false; + if (pVar.f795c && pVar.b.a()) { + p.a aVar2 = pVar.a; + pVar.a = pVar.b; + pVar.b = aVar2; + pVar.f795c = false; } - lVar.d = j8; - lVar.e = lVar.a.a() ? 0 : lVar.e + 1; - tVar.e(); - this.o1 = j3; + pVar.d = j8; + pVar.e = pVar.a.a() ? 0 : pVar.e + 1; + vVar.c(); + this.l1 = j3; } - long j10 = this.N0; + long j10 = this.K0; long j11 = j3 - j10; if (!z2 || z3) { double d = (double) this.P; @@ -2342,10 +2283,10 @@ public class n extends MediaCodecRenderer { 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 (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) { } @@ -2353,26 +2294,26 @@ public class n extends MediaCodecRenderer { z4 = true; if (!z4) { long nanoTime = System.nanoTime(); - O0(j11, nanoTime, format); - if (f0.a >= 21) { - R0(rVar, i, nanoTime); + M0(j11, nanoTime, j1Var); + if (e0.a >= 21) { + Q0(tVar, i, nanoTime); } else { - Q0(rVar, i); + P0(tVar, i); } - W0(j12); + V0(j12); return true; - } else if (!z7 || j == this.i1) { + } else if (!z7 || j == this.f1) { return false; } else { long nanoTime2 = System.nanoTime(); long j14 = (j12 * 1000) + nanoTime2; - t tVar2 = this.T0; - if (tVar2.p == -1 || !tVar2.a.a()) { + v vVar2 = this.Q0; + if (vVar2.p == -1 || !vVar2.a.a()) { j4 = j11; } else { - l lVar2 = tVar2.a; - if (lVar2.a()) { - l.a aVar3 = lVar2.a; + p pVar2 = vVar2.a; + if (pVar2.a()) { + p.a aVar3 = pVar2.a; long j15 = aVar3.e; if (j15 == 0) { j6 = 0; @@ -2385,20 +2326,20 @@ public class n extends MediaCodecRenderer { j4 = j11; j6 = -9223372036854775807L; } - long j16 = tVar2.q + ((long) (((float) ((tVar2.m - tVar2.p) * j6)) / tVar2.j)); + long j16 = vVar2.q + ((long) (((float) ((vVar2.m - vVar2.p) * j6)) / vVar2.i)); if (Math.abs(j14 - j16) <= 20000000) { j14 = j16; } else { - tVar2.b(); + vVar2.b(); } } - tVar2.n = tVar2.m; - tVar2.o = j14; - t.b bVar = tVar2.f930c; - if (!(bVar == null || tVar2.k == -9223372036854775807L)) { - long j17 = bVar.j; + 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 = tVar2.k; + long j18 = vVar2.k; long j19 = (((j14 - j17) / j18) * j18) + j17; if (j14 <= j19) { j5 = j19 - j18; @@ -2409,27 +2350,27 @@ public class n extends MediaCodecRenderer { if (j19 - j14 >= j14 - j5) { j19 = j5; } - j14 = j19 - tVar2.l; + j14 = j19 - vVar2.l; } } long j20 = (j14 - nanoTime2) / 1000; - boolean z9 = this.j1 != -9223372036854775807L; + boolean z9 = this.g1 != -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); + i0 i0Var = this.n; + Objects.requireNonNull(i0Var); + int c2 = i0Var.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; + e eVar2 = this.I0; + eVar2.i++; + int i4 = this.k1 + c2; if (z9) { - dVar.f += i4; + eVar2.f += i4; } else { - V0(i4); + U0(i4); } - if (T()) { + if (S()) { b0(); } z6 = true; @@ -2438,26 +2379,26 @@ public class n extends MediaCodecRenderer { return false; } } - if (J0(j20) && !z3) { + if (I0(j20) && !z3) { if (z9) { - U0(rVar, i); + T0(tVar, i); z5 = true; } else { - d.g("dropVideoBuffer"); - rVar.releaseOutputBuffer(i, false); - d.f0(); + d.f("dropVideoBuffer"); + tVar.releaseOutputBuffer(i, false); + d.c0(); z5 = true; - V0(1); + U0(1); } - W0(j20); + V0(j20); return z5; - } else if (f0.a >= 21) { + } else if (e0.a >= 21) { if (j20 >= 50000) { return false; } - O0(j4, j14, format); - R0(rVar, i, j14); - W0(j20); + M0(j4, j14, j1Var); + Q0(tVar, i, j14); + V0(j20); return true; } else if (j20 >= 30000) { return false; @@ -2470,9 +2411,9 @@ public class n extends MediaCodecRenderer { return false; } } - O0(j4, j14, format); - Q0(rVar, i); - W0(j20); + M0(j4, j14, j1Var); + P0(tVar, i); + V0(j20); return true; } } @@ -2480,145 +2421,169 @@ public class n extends MediaCodecRenderer { z4 = false; if (!z4) { } - } else if (!J0(j12)) { + } else if (!I0(j12)) { return false; } else { - U0(rVar, i); - W0(j12); + T0(tVar, i); + V0(j12); return true; } } else { - U0(rVar, i); + T0(tVar, i); return true; } } - @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer, c.i.a.c.g0, c.i.a.c.k1 + @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 { - super.n(f, f2); - t tVar = this.T0; - tVar.j = f; - tVar.b(); - tVar.f(false); + 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 p0() { - super.p0(); - this.n1 = 0; + public void q0() { + super.q0(); + this.k1 = 0; } - @Override // c.i.a.c.g0, c.i.a.c.h1.b + /* 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 { - int intValue; + x.a aVar; + Handler handler; + x.a aVar2; + Handler handler2; if (i == 1) { - Surface surface = (Surface) obj; - if (surface == null) { - Surface surface2 = this.c1; - if (surface2 != null) { - surface = surface2; + DummySurface dummySurface = obj instanceof Surface ? (Surface) obj : null; + if (dummySurface == null) { + DummySurface dummySurface2 = this.Z0; + if (dummySurface2 != null) { + dummySurface = dummySurface2; } else { - s sVar = this.Y; - if (sVar != null && T0(sVar)) { - surface = DummySurface.c(this.S0, sVar.f); - this.c1 = surface; + u uVar = this.Y; + if (uVar != null && S0(uVar)) { + dummySurface = DummySurface.c(this.P0, uVar.f); + this.Z0 = dummySurface; } } } - 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); + 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.d1 = false; + this.a1 = false; int i2 = this.m; - r rVar = this.R; - if (rVar != null) { - if (f0.a < 23 || surface == null || this.Z0) { - n0(); + t tVar = this.R; + if (tVar != null) { + if (e0.a < 23 || dummySurface == null || this.W0) { + o0(); b0(); } else { - rVar.h(surface); + tVar.i(dummySurface); } } - if (surface == null || surface == this.c1) { - D0(); + if (dummySurface == null || dummySurface == this.Z0) { + this.t1 = null; C0(); return; } - N0(); + y yVar = this.t1; + if (!(yVar == null || (handler2 = (aVar2 = this.R0).a) == null)) { + handler2.post(new j(aVar2, yVar)); + } C0(); if (i2 == 2) { - S0(); + R0(); } - } 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 (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.e1 = intValue2; - r rVar2 = this.R; - if (rVar2 != null) { - rVar2.f(intValue2); + this.b1 = intValue2; + t tVar2 = this.R; + if (tVar2 != null) { + tVar2.g(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(); + } 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 v0(s sVar) { - return this.b1 != null || T0(sVar); + public boolean w0(u uVar) { + return this.Y0 != null || S0(uVar); } @Override // com.google.android.exoplayer2.mediacodec.MediaCodecRenderer - public int x0(c.i.a.c.b2.t tVar, Format format) throws MediaCodecUtil.DecoderQueryException { + public int y0(c.i.a.c.y2.v vVar, j1 j1Var) throws MediaCodecUtil.DecoderQueryException { int i = 0; - if (!c.i.a.c.i2.s.j(format.t)) { + if (!c.i.a.c.f3.t.j(j1Var.v)) { return 0; } - boolean z2 = format.w != null; - List H0 = H0(tVar, format, z2, false); - if (z2 && H0.isEmpty()) { - H0 = H0(tVar, format, false, false); + boolean z2 = j1Var.f821y != null; + List G0 = G0(vVar, j1Var, z2, false); + if (z2 && G0.isEmpty()) { + G0 = G0(vVar, j1Var, false, false); } - if (H0.isEmpty()) { + if (G0.isEmpty()) { return 1; } - if (!MediaCodecRenderer.y0(format)) { + int i2 = j1Var.O; + if (!(i2 == 0 || i2 == 2)) { return 2; } - s sVar = H0.get(0); - boolean e = sVar.e(format); - int i2 = sVar.f(format) ? 16 : 8; + u uVar = G0.get(0); + boolean e = uVar.e(j1Var); + int i3 = uVar.f(j1Var) ? 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)) { + 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) | i2 | i; + 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/j2/r.java b/app/src/main/java/c/i/a/c/g3/t.java similarity index 57% rename from app/src/main/java/c/i/a/c/j2/r.java rename to app/src/main/java/c/i/a/c/g3/t.java index def28d2cba..980f3dbb34 100644 --- a/app/src/main/java/c/i/a/c/j2/r.java +++ b/app/src/main/java/c/i/a/c/g3/t.java @@ -1,4 +1,4 @@ -package c.i.a.c.j2; +package c.i.a.c.g3; /* compiled from: VideoDecoderOutputBufferRenderer */ -public interface r { +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/j2/t.java b/app/src/main/java/c/i/a/c/g3/v.java similarity index 56% rename from app/src/main/java/c/i/a/c/j2/t.java rename to app/src/main/java/c/i/a/c/g3/v.java index 20c405d8a9..4e61b8cc94 100644 --- a/app/src/main/java/c/i/a/c/j2/t.java +++ b/app/src/main/java/c/i/a/c/g3/v.java @@ -1,4 +1,4 @@ -package c.i.a.c.j2; +package c.i.a.c.g3; import android.content.Context; import android.hardware.display.DisplayManager; @@ -6,35 +6,33 @@ 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.DoNotInline; 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 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 t { - public final l a = new l(); +public final class v { + public final p a = new p(); @Nullable - public final WindowManager b; + public final b b; @Nullable /* renamed from: c reason: collision with root package name */ - public final b f930c; + public final e f800c; + public boolean d; @Nullable - public final a d; - public boolean e; - @Nullable - public Surface f; + public Surface e; + public float f; public float g; public float h; public float i; - public float j; + public int j; public long k; public long l; public long m; @@ -44,45 +42,104 @@ public final class t { public long q; /* compiled from: VideoFrameReleaseHelper */ - @RequiresApi(17) - public final class a implements DisplayManager.DisplayListener { - public final DisplayManager a; + @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); + } + } + } - public a(DisplayManager displayManager) { + /* 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) { - if (i == 0) { - t.this.d(); + 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 b implements Choreographer.FrameCallback, Handler.Callback { - public static final b i = new b(); + 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 b() { + public e() { HandlerThread handlerThread = new HandlerThread("ExoPlayer:FrameReleaseChoreographer"); this.l = handlerThread; handlerThread.start(); Looper looper = handlerThread.getLooper(); - int i2 = f0.a; + int i2 = e0.a; Handler handler = new Handler(looper, this); this.k = handler; handler.sendEmptyMessage(0); @@ -127,48 +184,43 @@ public final class t { } } - public t(@Nullable Context context) { - a aVar = null; + /* 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 = 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); + 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.d = aVar; - this.f930c = b.i; - } else { - this.d = null; - this.f930c = 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; } + bVar = null; + this.b = bVar; + this.f800c = bVar != null ? e.i : eVar; 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); - } + this.f = -1.0f; + this.i = 1.0f; + this.j = 0; } 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); + 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); } } @@ -178,23 +230,8 @@ public final class t { 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; + 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; @@ -203,14 +240,14 @@ public final class t { /* 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() { + public final void c() { float f; boolean z2; - if (f0.a >= 30 && this.f != null) { + if (e0.a >= 30 && this.e != null) { if (this.a.a()) { - l lVar = this.a; - if (lVar.a()) { - l.a aVar = lVar.a; + p pVar = this.a; + if (pVar.a()) { + p.a aVar = pVar.a; long j = aVar.e; long j2 = 0; if (j != 0) { @@ -221,9 +258,9 @@ public final class t { f = -1.0f; } } else { - f = this.g; + f = this.f; } - float f2 = this.h; + float f2 = this.g; if (f != f2) { boolean z3 = true; int i = (f > -1.0f ? 1 : (f == -1.0f ? 0 : -1)); @@ -231,15 +268,15 @@ public final class t { if (i == 0) { } if (!z3) { - this.h = f; - f(false); + this.g = f; + d(false); return; } return; } if (this.a.a()) { - l lVar2 = this.a; - if ((lVar2.a() ? lVar2.a.f : -9223372036854775807L) >= 5000000000L) { + p pVar2 = this.a; + if ((pVar2.a() ? pVar2.a.f : -9223372036854775807L) >= 5000000000L) { z2 = true; } } @@ -251,19 +288,19 @@ public final class t { } } - public final void f(boolean z2) { + public final void d(boolean z2) { Surface surface; - if (f0.a >= 30 && (surface = this.f) != null) { + if (e0.a >= 30 && (surface = this.e) != null && this.j != Integer.MIN_VALUE) { float f = 0.0f; - if (this.e) { - float f2 = this.h; + if (this.d) { + float f2 = this.g; if (f2 != -1.0f) { - f = this.j * f2; + f = this.i * f2; } } - if (z2 || this.i != f) { - this.i = f; - c(surface, f); + 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/g2/o/a.java b/app/src/main/java/c/i/a/c/g3/z/a.java similarity index 68% rename from app/src/main/java/c/i/a/c/g2/o/a.java rename to app/src/main/java/c/i/a/c/g3/z/a.java index 3c8334d767..29c20160f5 100644 --- a/app/src/main/java/c/i/a/c/g2/o/a.java +++ b/app/src/main/java/c/i/a/c/g3/z/a.java @@ -1,16 +1,16 @@ -package c.i.a.c.g2.o; +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 */ f i; + public final /* synthetic */ j i; - public /* synthetic */ a(f fVar) { - this.i = fVar; + public /* synthetic */ a(j jVar) { + this.i = jVar; } @Override // android.graphics.SurfaceTexture.OnFrameAvailableListener public final void onFrameAvailable(SurfaceTexture surfaceTexture) { - this.i.a.set(true); + this.i.i.set(true); } } diff --git a/app/src/main/java/c/i/a/c/g2/o/c.java b/app/src/main/java/c/i/a/c/g3/z/b.java similarity index 50% rename from app/src/main/java/c/i/a/c/g2/o/c.java rename to app/src/main/java/c/i/a/c/g3/z/b.java index 9a58d3d29d..91d6b05d35 100644 --- a/app/src/main/java/c/i/a/c/g2/o/c.java +++ b/app/src/main/java/c/i/a/c/g3/z/b.java @@ -1,31 +1,31 @@ -package c.i.a.c.g2.o; +package c.i.a.c.g3.z; import android.graphics.SurfaceTexture; import android.view.Surface; -import c.i.a.c.g1; -import c.i.a.c.p1; +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 */ h i; +public final /* synthetic */ class b implements Runnable { + public final /* synthetic */ k i; public final /* synthetic */ SurfaceTexture j; - public /* synthetic */ c(h hVar, SurfaceTexture surfaceTexture) { - this.i = hVar; + public /* synthetic */ b(k kVar, SurfaceTexture surfaceTexture) { + this.i = kVar; this.j = surfaceTexture; } @Override // java.lang.Runnable public final void run() { - h hVar = this.i; + k kVar = this.i; SurfaceTexture surfaceTexture = this.j; - SurfaceTexture surfaceTexture2 = hVar.o; - Surface surface = hVar.p; - hVar.o = surfaceTexture; + SurfaceTexture surfaceTexture2 = kVar.p; + Surface surface = kVar.q; Surface surface2 = new Surface(surfaceTexture); - hVar.p = surface2; - g1.d dVar = hVar.q; - if (dVar != null) { - ((p1) dVar).T(surface2); + kVar.p = surfaceTexture; + kVar.q = surface2; + Iterator it = kVar.i.iterator(); + while (it.hasNext()) { + it.next().u(surface2); } if (surfaceTexture2 != null) { surfaceTexture2.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/j2/x/a.java b/app/src/main/java/c/i/a/c/g3/z/d.java similarity index 58% rename from app/src/main/java/c/i/a/c/j2/x/a.java rename to app/src/main/java/c/i/a/c/g3/z/d.java index 466c9910ed..f8be697e60 100644 --- a/app/src/main/java/c/i/a/c/j2/x/a.java +++ b/app/src/main/java/c/i/a/c/g3/z/d.java @@ -1,7 +1,7 @@ -package c.i.a.c.j2.x; +package c.i.a.c.g3.z; /* compiled from: CameraMotionListener */ -public interface a { +public interface d { void a(long j, float[] fArr); - void b(); + void c(); } diff --git a/app/src/main/java/c/i/a/c/j2/x/b.java b/app/src/main/java/c/i/a/c/g3/z/e.java similarity index 55% rename from app/src/main/java/c/i/a/c/j2/x/b.java rename to app/src/main/java/c/i/a/c/g3/z/e.java index 8cd9ee92c9..dc6a87d0d0 100644 --- a/app/src/main/java/c/i/a/c/j2/x/b.java +++ b/app/src/main/java/c/i/a/c/g3/z/e.java @@ -1,87 +1,87 @@ -package c.i.a.c.j2.x; +package c.i.a.c.g3.z; 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 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.Format; import com.google.android.exoplayer2.decoder.DecoderInputBuffer; import java.nio.ByteBuffer; /* compiled from: CameraMotionRenderer */ -public final class b extends g0 { +public final class e extends v0 { public final DecoderInputBuffer t = new DecoderInputBuffer(1); - public final w u = new w(); + public final x u = new x(); public long v; @Nullable - public a w; + public d w; /* renamed from: x reason: collision with root package name */ - public long f931x; + public long f801x; - public b() { + public e() { super(6); } - @Override // c.i.a.c.g0 + @Override // c.i.a.c.v0 public void B() { - a aVar = this.w; - if (aVar != null) { - aVar.b(); + d dVar = this.w; + if (dVar != null) { + dVar.c(); } } - @Override // c.i.a.c.g0 + @Override // c.i.a.c.v0 public void D(long j, boolean z2) { - this.f931x = Long.MIN_VALUE; - a aVar = this.w; - if (aVar != null) { - aVar.b(); + this.f801x = Long.MIN_VALUE; + d dVar = this.w; + if (dVar != null) { + dVar.c(); } } - @Override // c.i.a.c.g0 - public void H(Format[] formatArr, long j, long j2) { + @Override // c.i.a.c.v0 + public void H(j1[] j1VarArr, 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.g2 + public int a(j1 j1Var) { + return "application/x-camera-motion".equals(j1Var.v) ? 4 : 0; } - @Override // c.i.a.c.k1 + @Override // c.i.a.c.f2 public boolean b() { - return i(); + return j(); } - @Override // c.i.a.c.k1 + @Override // c.i.a.c.f2 public boolean d() { return true; } - @Override // c.i.a.c.k1, c.i.a.c.l1 + @Override // c.i.a.c.f2, c.i.a.c.g2 public String getName() { return "CameraMotionRenderer"; } - @Override // c.i.a.c.k1 + @Override // c.i.a.c.f2 public void q(long j, long j2) { float[] fArr; - while (!i() && this.f931x < 100000 + j) { + while (!j() && this.f801x < 100000 + j) { this.t.p(); - if (I(A(), this.t, false) == -4 && !this.t.n()) { + if (I(A(), this.t, 0) == -4 && !this.t.n()) { DecoderInputBuffer decoderInputBuffer = this.t; - this.f931x = decoderInputBuffer.m; + this.f801x = decoderInputBuffer.m; if (this.w != null && !decoderInputBuffer.m()) { this.t.s(); ByteBuffer byteBuffer = this.t.k; - int i = f0.a; + int i = e0.a; if (byteBuffer.remaining() != 16) { fArr = null; } else { - this.u.B(byteBuffer.array(), byteBuffer.limit()); - this.u.D(byteBuffer.arrayOffset() + 4); + 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()); @@ -89,7 +89,7 @@ public final class b extends g0 { fArr = fArr2; } if (fArr != null) { - this.w.a(this.f931x - this.v, fArr); + this.w.a(this.f801x - this.v, fArr); } } } else { @@ -98,10 +98,10 @@ public final class b extends g0 { } } - @Override // c.i.a.c.g0, c.i.a.c.h1.b + @Override // c.i.a.c.v0, c.i.a.c.b2.b public void r(int i, @Nullable Object obj) throws ExoPlaybackException { - if (i == 7) { - this.w = (a) obj; + if (i == 8) { + this.w = (d) 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/g3/z/f.java similarity index 83% rename from app/src/main/java/c/i/a/c/j2/x/c.java rename to app/src/main/java/c/i/a/c/g3/z/f.java index 6fde1965fd..bf5e7ccc2d 100644 --- a/app/src/main/java/c/i/a/c/j2/x/c.java +++ b/app/src/main/java/c/i/a/c/g3/z/f.java @@ -1,14 +1,14 @@ -package c.i.a.c.j2.x; +package c.i.a.c.g3.z; import android.opengl.Matrix; -import c.i.a.c.i2.d0; +import c.i.a.c.f3.c0; /* compiled from: FrameRotationQueue */ -public final class c { +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 d0 f932c = new d0<>(); + public final c0 f802c = new c0<>(); public boolean d; public static void a(float[] fArr, float[] fArr2) { diff --git a/app/src/main/java/c/i/a/c/g2/o/d.java b/app/src/main/java/c/i/a/c/g3/z/g.java similarity index 88% rename from app/src/main/java/c/i/a/c/g2/o/d.java rename to app/src/main/java/c/i/a/c/g3/z/g.java index fb7d7c8102..7508507d1b 100644 --- a/app/src/main/java/c/i/a/c/g2/o/d.java +++ b/app/src/main/java/c/i/a/c/g3/z/g.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2.o; +package c.i.a.c.g3.z; import android.hardware.Sensor; import android.hardware.SensorEvent; @@ -7,14 +7,13 @@ 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 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[] f878c = new float[16]; + public final float[] f803c = new float[16]; public final float[] d = new float[3]; public final Display e; public final a[] f; @@ -25,7 +24,7 @@ public final class d implements SensorEventListener { void a(float[] fArr, float f); } - public d(Display display, a... aVarArr) { + public g(Display display, a... aVarArr) { this.e = display; this.f = aVarArr; } @@ -64,12 +63,12 @@ public final class d implements SensorEventListener { Matrix.rotateM(this.a, 0, 90.0f, 1.0f, 0.0f, 0.0f); float[] fArr3 = this.a; if (!this.g) { - c.a(this.f878c, fArr3); + 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.f878c, 0); + 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/j2/x/d.java b/app/src/main/java/c/i/a/c/g3/z/h.java similarity index 72% rename from app/src/main/java/c/i/a/c/j2/x/d.java rename to app/src/main/java/c/i/a/c/g3/z/h.java index f692550830..eb0432a7e1 100644 --- a/app/src/main/java/c/i/a/c/j2/x/d.java +++ b/app/src/main/java/c/i/a/c/g3/z/h.java @@ -1,11 +1,13 @@ -package c.i.a.c.j2.x; +package c.i.a.c.g3.z; + +import c.c.a.a0.d; /* compiled from: Projection */ -public final class d { +public final class h { public final a a; public final a b; /* renamed from: c reason: collision with root package name */ - public final int f933c; + public final int f804c; public final boolean d; /* compiled from: Projection */ @@ -23,29 +25,29 @@ public final class d { public final int b; /* renamed from: c reason: collision with root package name */ - public final float[] f934c; + public final float[] f805c; 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.f934c = fArr; + d.j(((long) fArr.length) * 2 == ((long) fArr2.length) * 3); + this.f805c = fArr; this.d = fArr2; this.b = i2; } } - public d(a aVar, int i) { + public h(a aVar, int i) { this.a = aVar; this.b = aVar; - this.f933c = i; + this.f804c = i; this.d = aVar == aVar; } - public d(a aVar, a aVar2, int i) { + public h(a aVar, a aVar2, int i) { this.a = aVar; this.b = aVar2; - this.f933c = i; + this.f804c = i; this.d = aVar == aVar2; } } diff --git a/app/src/main/java/c/i/a/c/g2/o/e.java b/app/src/main/java/c/i/a/c/g3/z/i.java similarity index 78% rename from app/src/main/java/c/i/a/c/g2/o/e.java rename to app/src/main/java/c/i/a/c/g3/z/i.java index 27c9f7ad51..022d07ad27 100644 --- a/app/src/main/java/c/i/a/c/g2/o/e.java +++ b/app/src/main/java/c/i/a/c/g3/z/i.java @@ -1,15 +1,16 @@ -package c.i.a.c.g2.o; +package c.i.a.c.g3.z; import androidx.annotation.Nullable; -import c.i.a.c.j2.x.d; +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 e { +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[] f879c = {1.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 1.0f, 1.0f}; + 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}; @@ -19,7 +20,7 @@ public final class e { public a i; @Nullable public a j; - public int k; + public GlUtil.a k; public int l; public int m; public int n; @@ -32,14 +33,14 @@ public final class e { public final FloatBuffer b; /* renamed from: c reason: collision with root package name */ - public final FloatBuffer f880c; + public final FloatBuffer f807c; public final int d; - public a(d.b bVar) { - float[] fArr = bVar.f934c; + public a(h.b bVar) { + float[] fArr = bVar.f805c; this.a = fArr.length / 3; - this.b = c.c.a.a0.d.O(fArr); - this.f880c = c.c.a.a0.d.O(bVar.d); + this.b = GlUtil.b(fArr); + this.f807c = GlUtil.b(bVar.d); int i = bVar.b; if (i == 1) { this.d = 5; @@ -51,12 +52,12 @@ public final class e { } } - public static boolean a(d dVar) { - d.a aVar = dVar.a; - d.a aVar2 = dVar.b; - d.b[] bVarArr = aVar.a; + 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) { - d.b[] bVarArr2 = aVar2.a; + h.b[] bVarArr2 = aVar2.a; if (bVarArr2.length == 1 && bVarArr2[0].a == 0) { return true; } diff --git a/app/src/main/java/c/i/a/c/g2/o/f.java b/app/src/main/java/c/i/a/c/g3/z/j.java similarity index 65% rename from app/src/main/java/c/i/a/c/g2/o/f.java rename to app/src/main/java/c/i/a/c/g3/z/j.java index 441e2cf238..101f6785fb 100644 --- a/app/src/main/java/c/i/a/c/g2/o/f.java +++ b/app/src/main/java/c/i/a/c/g3/z/j.java @@ -1,137 +1,164 @@ -package c.i.a.c.g2.o; +package c.i.a.c.g3.z; 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 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 f implements s, a { - public final AtomicBoolean a = new AtomicBoolean(); - public final AtomicBoolean b = new AtomicBoolean(true); +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: c reason: collision with root package name */ - public final e f881c = 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; + /* renamed from: s reason: collision with root package name */ + public volatile int f808s = 0; + public int t = -1; @Nullable - public byte[] m; + public byte[] u; - @Override // c.i.a.c.j2.x.a + @Override // c.i.a.c.g3.z.d public void a(long j, float[] fArr) { - this.d.f932c.a(j, fArr); + this.l.f802c.a(j, fArr); } - @Override // c.i.a.c.j2.x.a - public void b() { - this.e.b(); - c cVar = this.d; - cVar.f932c.b(); - cVar.d = false; - this.b.set(true); + 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.j2.s - public void c(long j, long j2, Format format, @Nullable MediaFormat mediaFormat) { - d dVar; + @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; + 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; + 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.k; + i5 = this.f808s; } - this.l = i5; - if (i6 != i5 || !Arrays.equals(bArr2, this.m)) { - byte[] bArr3 = this.m; - dVar = null; + this.t = i5; + if (i6 != i5 || !Arrays.equals(bArr2, this.u)) { + byte[] bArr3 = this.u; + hVar = null; if (bArr3 != null) { - int i7 = this.l; - w wVar = new w(bArr3); + int i7 = this.t; + x xVar = new x(bArr3); try { - wVar.E(4); - int f4 = wVar.f(); - wVar.D(0); + xVar.F(4); + int f4 = xVar.f(); + xVar.E(0); if (f4 == 1886547818) { - wVar.E(8); - int i8 = wVar.b; - int i9 = wVar.f919c; + xVar.F(8); + int i8 = xVar.b; + int i9 = xVar.f792c; while (true) { if (i8 >= i9) { break; } - f3 = wVar.f() + i8; + f3 = xVar.f() + i8; if (f3 <= i8) { break; } else if (f3 > i9) { break; } else { - int f5 = wVar.f(); + int f5 = xVar.f(); if (f5 == 2037673328) { break; } else if (f5 == 1836279920) { break; } else { - wVar.D(f3); + xVar.E(f3); i8 = f3; } } } - wVar.C(f3); - arrayList = c.c.a.a0.d.t1(wVar); + xVar.D(f3); + arrayList = d.r1(xVar); } else { - arrayList = c.c.a.a0.d.t1(wVar); + arrayList = d.r1(xVar); } } catch (ArrayIndexOutOfBoundsException unused) { } if (arrayList != null) { int size = arrayList.size(); if (size == 1) { - dVar = new d(arrayList.get(0), i7); + hVar = new h(arrayList.get(0), i7); } else if (size == 2) { - dVar = new d(arrayList.get(0), arrayList.get(1), i7); + hVar = new h(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); + 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); @@ -212,20 +239,20 @@ public final class f implements s, a { } i2 = i13; } - dVar = new d(new d.a(new d.b(0, fArr, fArr2, 1)), i10); + hVar = new h(new h.a(new h.b(0, fArr, fArr2, 1)), i10); } - this.f.a(j2, dVar); + this.n.a(j2, hVar); } 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); + 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); @@ -237,35 +264,7 @@ public final class f implements s, a { 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.f881c; - 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; + 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/g2/o/h.java b/app/src/main/java/c/i/a/c/g3/z/k.java similarity index 52% rename from app/src/main/java/c/i/a/c/g2/o/h.java rename to app/src/main/java/c/i/a/c/g3/z/k.java index 9b5ec6b98d..8db3b110af 100644 --- a/app/src/main/java/c/i/a/c/g2/o/h.java +++ b/app/src/main/java/c/i/a/c/g3/z/k.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2.o; +package c.i.a.c.g3.z; import android.content.Context; import android.graphics.SurfaceTexture; @@ -15,43 +15,42 @@ 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 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 h extends GLSurfaceView { - public final SensorManager i; +public final class k extends GLSurfaceView { + public final CopyOnWriteArrayList i = new CopyOnWriteArrayList<>(); + public final SensorManager j; @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; + 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 o; + public SurfaceTexture p; @Nullable - public Surface p; - @Nullable - public g1.d q; + public Surface q; public boolean r; /* renamed from: s reason: collision with root package name */ - public boolean f882s; + public boolean f809s; public boolean t; /* compiled from: SphericalGLSurfaceView */ @VisibleForTesting - public class a implements GLSurfaceView.Renderer, i.a, d.a { - public final f i; + 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; @@ -62,7 +61,7 @@ public final class h extends GLSurfaceView { public final float[] q; public final float[] r; - public a(f fVar) { + public a(j jVar) { float[] fArr = new float[16]; this.l = fArr; float[] fArr2 = new float[16]; @@ -71,14 +70,14 @@ public final class h extends GLSurfaceView { this.n = fArr3; this.q = new float[16]; this.r = new float[16]; - this.i = fVar; + this.i = jVar; 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 + @Override // c.i.a.c.g3.z.g.a @BinderThread public synchronized void a(float[] fArr, float f) { float[] fArr2 = this.l; @@ -101,31 +100,31 @@ public final class h extends GLSurfaceView { Matrix.multiplyMM(this.q, 0, this.m, 0, this.r, 0); } Matrix.multiplyMM(this.k, 0, this.j, 0, this.q, 0); - f fVar = this.i; + j jVar = this.i; float[] fArr2 = this.k; - Objects.requireNonNull(fVar); + Objects.requireNonNull(jVar); GLES20.glClear(16384); - c.c.a.a0.d.r(); - if (fVar.a.compareAndSet(true, false)) { - SurfaceTexture surfaceTexture = fVar.j; + GlUtil.a(); + if (jVar.i.compareAndSet(true, false)) { + SurfaceTexture surfaceTexture = jVar.r; Objects.requireNonNull(surfaceTexture); surfaceTexture.updateTexImage(); - c.c.a.a0.d.r(); - if (fVar.b.compareAndSet(true, false)) { - Matrix.setIdentityM(fVar.g, 0); + GlUtil.a(); + if (jVar.j.compareAndSet(true, false)) { + Matrix.setIdentityM(jVar.o, 0); } - long timestamp = fVar.j.getTimestamp(); - d0 d0Var = fVar.e; - synchronized (d0Var) { - d = d0Var.d(timestamp, false); + long timestamp = jVar.r.getTimestamp(); + c0 c0Var = jVar.m; + synchronized (c0Var) { + d = c0Var.d(timestamp, false); } Long l = d; if (l != null) { - c cVar = fVar.d; - float[] fArr3 = fVar.g; - float[] e = cVar.f932c.e(l.longValue()); + f fVar = jVar.l; + float[] fArr3 = jVar.o; + float[] e = fVar.f802c.e(l.longValue()); if (e != null) { - float[] fArr4 = cVar.b; + float[] fArr4 = fVar.b; float f = e[0]; float f2 = -e[1]; float f3 = -e[2]; @@ -137,54 +136,56 @@ public final class h extends GLSurfaceView { fArr = fArr3; Matrix.setIdentityM(fArr4, 0); } - if (!cVar.d) { - c.a(cVar.a, cVar.b); - cVar.d = true; + if (!fVar.d) { + f.a(fVar.a, fVar.b); + fVar.d = true; } - Matrix.multiplyMM(fArr, 0, cVar.a, 0, cVar.b, 0); + Matrix.multiplyMM(fArr, 0, fVar.a, 0, fVar.b, 0); } } - c.i.a.c.j2.x.d e2 = fVar.f.e(timestamp); + h e2 = jVar.n.e(timestamp); if (e2 != null) { - e eVar = fVar.f881c; - Objects.requireNonNull(eVar); - if (e.a(e2)) { - eVar.h = e2.f933c; - e.a aVar = new e.a(e2.a.a[0]); - eVar.i = aVar; + 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 e.a(e2.b.a[0]); + aVar = new i.a(e2.b.a[0]); } - eVar.j = aVar; + iVar.j = aVar; } } } - Matrix.multiplyMM(fVar.h, 0, fArr2, 0, fVar.g, 0); - e eVar2 = fVar.f881c; - int i = fVar.i; - float[] fArr5 = fVar.h; - e.a aVar2 = eVar2.i; + 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) { - 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.f879c, 0); - GLES20.glUniformMatrix4fv(eVar2.l, 1, false, fArr5, 0); + 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(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.f880c); - c.c.a.a0.d.r(); + 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); - c.c.a.a0.d.r(); - GLES20.glDisableVertexAttribArray(eVar2.n); - GLES20.glDisableVertexAttribArray(eVar2.o); + GlUtil.a(); + GLES20.glDisableVertexAttribArray(iVar2.n); + GLES20.glDisableVertexAttribArray(iVar2.o); } } @@ -201,57 +202,77 @@ public final class h extends GLSurfaceView { @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())); + 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 h(Context context) { + public k(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; + 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.k = new d(windowManager.getDefaultDisplay(), iVar, aVar); + this.l = new g(windowManager.getDefaultDisplay(), lVar, aVar); this.r = true; setEGLContextClientVersion(2); setRenderer(aVar); - setOnTouchListener(iVar); + setOnTouchListener(lVar); } public final void a() { - boolean z2 = this.r && this.f882s; - Sensor sensor = this.j; + boolean z2 = this.r && this.f809s; + Sensor sensor = this.k; if (sensor != null && z2 != this.t) { if (z2) { - this.i.registerListener(this.k, sensor, 0); + this.j.registerListener(this.l, sensor, 0); } else { - this.i.unregisterListener(this.k); + 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.l.post(new b(this)); + this.m.post(new c(this)); } @Override // android.opengl.GLSurfaceView public void onPause() { - this.f882s = false; + this.f809s = false; a(); super.onPause(); } @@ -259,61 +280,16 @@ public final class h extends GLSurfaceView { @Override // android.opengl.GLSurfaceView public void onResume() { super.onResume(); - this.f882s = true; + this.f809s = true; a(); } public void setDefaultStereoMode(int i) { - this.n.k = i; - } - - public void setSingleTapListener(@Nullable g gVar) { - this.m.o = gVar; + this.o.f808s = i; } public void setUseSensorRotation(boolean z2) { this.r = 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/g3/z/l.java similarity index 80% rename from app/src/main/java/c/i/a/c/g2/o/i.java rename to app/src/main/java/c/i/a/c/g3/z/l.java index a2292c6e7a..3159d7c9be 100644 --- a/app/src/main/java/c/i/a/c/g2/o/i.java +++ b/app/src/main/java/c/i/a/c/g3/z/l.java @@ -1,4 +1,4 @@ -package c.i.a.c.g2.o; +package c.i.a.c.g3.z; import android.content.Context; import android.graphics.PointF; @@ -7,33 +7,29 @@ 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; +import c.i.a.c.g3.z.g; +import c.i.a.c.g3.z.k; /* compiled from: TouchTracker */ -public class i extends GestureDetector.SimpleOnGestureListener implements View.OnTouchListener, d.a { +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; - @Nullable - public g o; /* compiled from: TouchTracker */ public interface a { } - public i(Context context, a aVar, float f) { + 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.g2.o.d.a + @Override // c.i.a.c.g3.z.g.a @BinderThread public void a(float[] fArr, float f) { this.n = -f; @@ -62,7 +58,7 @@ public class i extends GestureDetector.SimpleOnGestureListener implements View.O 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; + k.a aVar2 = (k.a) aVar; synchronized (aVar2) { aVar2.o = pointF3.y; aVar2.b(); @@ -73,13 +69,7 @@ public class i extends GestureDetector.SimpleOnGestureListener implements View.O @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(); + return k.this.performClick(); } @Override // android.view.View.OnTouchListener 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 ceeb4ccac7..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 f884c = 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 d2db24b60f..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 f885c; - 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.f885c = 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.f885c.c() + j; - while (true) { - z2 = this.k; - if (z2 || j <= 0) { - break; - } - wait(j); - j = c2 - this.f885c.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/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/e.java b/app/src/main/java/c/i/a/c/h2/e.java deleted file mode 100644 index 29e82b9ec7..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 f887c; - @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.f887c++; - } - } - - @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.f887c; 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.f887c; 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.f887c; 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.f887c; i++) { - this.b.get(i).b(this, lVar, this.a); - } - } -} 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/n.java b/app/src/main/java/c/i/a/c/h2/n.java deleted file mode 100644 index d1a03ff607..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 f891c = 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; - public long r; - - /* renamed from: s reason: collision with root package name */ - public long f892s; - 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> f893c = new ArrayList<>(); - - public final void a() { - for (int size = this.f893c.size() - 1; size >= 0; size--) { - if (this.f893c.get(size).get() == null) { - this.f893c.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.f892s = nVar.i(q); - long c2 = nVar.l.c(); - nVar.k(nVar.m > 0 ? (int) (c2 - nVar.n) : 0, nVar.o, nVar.f892s); - nVar.n = c2; - nVar.o = 0; - nVar.r = 0; - nVar.q = 0; - z zVar = nVar.k; - zVar.f921c.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.f893c.size(); i++) { - n nVar = this.f893c.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.f892s = 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.f893c.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.r; - long j2 = this.o; - this.r = j + j2; - if (i > 0) { - this.k.a((int) Math.sqrt((double) j2), (((float) j2) * 8000.0f) / ((float) i)); - if (this.q >= 2000 || this.r >= Permission.VIEW_GUILD_ANALYTICS) { - this.f892s = (long) this.k.b(0.5f); - } - k(i, this.o, this.f892s); - 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.f886c) { - next.a.post(new a(next, i, j, j2)); - } - } - } - } -} 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 afd18f3d56..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; - public int r; - - /* renamed from: s reason: collision with root package name */ - public long f895s; - 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 f896c = 8000; - public int d = 8000; - - /* renamed from: b */ - public q a() { - return new q(this.b, this.f896c, 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.r = u.getResponseCode(); - String responseMessage = u.getResponseMessage(); - int i = this.r; - 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.r, responseMessage, headerFields, lVar, bArr); - if (this.r == 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.r == 200) { - j = lVar.f; - } - j = 0; - this.f895s = 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.f895s : -1; - } - j2 = -1; - headerField = u.getHeaderField("Content-Range"); - if (!TextUtils.isEmpty(headerField)) { - } - this.t = j2 == -1 ? j2 - this.f895s : -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.f888c; - 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 r = c.d.b.a.a.r("bytes=", j, "-"); - if (j2 != -1) { - StringBuilder O = c.d.b.a.a.O(r); - O.append((j + j2) - 1); - r = O.toString(); - } - httpURLConnection.setRequestProperty("Range", r); - } - 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.f895s) { - if (this.p == null) { - this.p = new byte[4096]; - } - while (true) { - long j = this.u; - long j2 = this.f895s; - 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/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/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/c.java b/app/src/main/java/c/i/a/c/h2/y/c.java deleted file mode 100644 index 9525eb1ab9..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 f899c; - 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; - public boolean r; - - /* renamed from: s reason: collision with root package name */ - public long f900s; - 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.f899c = 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)).f906c.get("exo_redir"); - Uri uri2 = null; - String str2 = bArr != null ? new String(bArr, c.i.b.a.c.f1275c) : 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.r = z2; - if (z2 && (aVar = this.f) != null) { - aVar.a(i); - } - long j = lVar.g; - if (j == -1) { - if (!this.r) { - 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.f900s > 0) { - aVar.b(this.a.h(), this.f900s); - this.f900s = 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.r) { - 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.f899c; - if (jVar == null) { - jVar = this.d; - this.a.i(hVar); - hVar = null; - } - } - this.t = (this.r || 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.f899c) { - 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.f900s += (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.f899c) { - 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/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/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 f113c00d91..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.f913c; - o.b bVar = oVar.d; - if (!cVar.d && cVar.f914c) { - E e = cVar.b; - cVar.b = (t) lVar.get(); - cVar.f914c = 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/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/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/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/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 7c05d37b8c..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 f915c = 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 f916c; - - public a(int i, int i2, boolean z2) { - this.a = i; - this.b = i2; - this.f916c = 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 f917c; - 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.f917c = 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 (f915c) { - 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/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 6f28ab90d9..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 f923c; - - public j0() { - this.f923c = 15000; - this.b = 5000; - this.a = new r1.c(); - } - - public j0(long j, long j2) { - this.f923c = 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.f923c); - 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.f923c > 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/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 9de63b5670..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 f924c; - 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.f924c = 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 s2 = (wVar.s() & 3) + 1; - if (s2 != 3) { - ArrayList arrayList = new ArrayList(); - int s3 = wVar.s() & 31; - for (int i3 = 0; i3 < s3; i3++) { - arrayList.add(a(wVar)); - } - int s4 = wVar.s(); - for (int i4 = 0; i4 < s4; i4++) { - arrayList.add(a(wVar)); - } - if (s3 > 0) { - u.b d = u.d((byte[]) arrayList.get(0), s2, ((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.f917c); - i2 = i5; - i = i6; - f = f2; - } else { - str = null; - i2 = -1; - i = -1; - f = 1.0f; - } - return new j(arrayList, s2, 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 fcdfc58b2a..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 s2 = wVar.s(); - int i = s2 >> 1; - int s3 = ((wVar.s() >> 3) & 31) | ((s2 & 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 (s3 >= 10) { - str2 = "."; - } - sb.append(str2); - sb.append(s3); - return new k(i, s3, sb.toString()); - } -} 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 0612425fff..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 f927c; - - public m(@Nullable List list, int i, @Nullable String str) { - this.a = list; - this.b = i; - this.f927c = str; - } - - public static m a(w wVar) throws ParserException { - try { - wVar.E(21); - int s2 = wVar.s() & 3; - int s3 = wVar.s(); - int i = wVar.b; - int i2 = 0; - for (int i3 = 0; i3 < s3; 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 < s3; i6++) { - int s4 = 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 (s4 == 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), s2 + 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/o.java b/app/src/main/java/c/i/a/c/j2/o.java deleted file mode 100644 index aa0a206be5..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; - public int[] r = new int[3]; - - /* renamed from: s reason: collision with root package name */ - public int f929s; - 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.f929s, 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.r[0] = GLES20.glGetAttribLocation(this.q, "in_tc_y"); - GLES20.glEnableVertexAttribArray(this.r[0]); - this.r[1] = GLES20.glGetAttribLocation(this.q, "in_tc_u"); - GLES20.glEnableVertexAttribArray(this.r[1]); - this.r[2] = GLES20.glGetAttribLocation(this.q, "in_tc_v"); - GLES20.glEnableVertexAttribArray(this.r[2]); - d.r(); - this.f929s = 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/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/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/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 c0e308602a..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 f935c; - 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.f935c = 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 eff469599c..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 f936c; - 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.f936c = 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.f936c); + 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.f936c || 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 1d24dc2222..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,617 +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[] f937c; - 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; - public boolean r; - - /* renamed from: s reason: collision with root package name */ - public int f938s; - public boolean t; - public int u; - public int v; - public h0 w; - - /* renamed from: x reason: collision with root package name */ - public c1 f939x; - - /* renamed from: y reason: collision with root package name */ - public int f940y; - - /* renamed from: z reason: collision with root package name */ - public long f941z; - - /* 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.f937c = 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.w = 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.f940y = -1; - this.e = gVar.b(looper, null); - o oVar = new o(this); - this.f = oVar; - this.f939x = 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.f913c, new b1(c1Var, g1Var)); - l(c1Var); - dVar.f(new Handler(looper), c1Var); - } - this.g = new q0(k1VarArr, lVar, mVar, u0Var, dVar, this.q, this.r, 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.f939x.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.f939x; - y.a aVar = c1Var.f779c; - c1Var.b.h(aVar.a, this.i); - return h0.b(this.i.a(aVar.b, aVar.f816c)); - } - 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.f939x.b; - } - - @Override // c.i.a.c.g1 - public Looper E() { - return this.n; - } - - @Override // c.i.a.c.g1 - public boolean F() { - return this.r; - } - - @Override // c.i.a.c.g1 - public long G() { - if (this.f939x.b.q()) { - return this.f941z; - } - c1 c1Var = this.f939x; - if (c1Var.k.d != c1Var.f779c.d) { - return c1Var.b.n(o(), this.a).b(); - } - long j = c1Var.q; - if (this.f939x.k.a()) { - c1 c1Var2 = this.f939x; - r1.b h = c1Var2.b.h(c1Var2.k.a, this.i); - long d = h.d(this.f939x.k.b); - j = d == Long.MIN_VALUE ? h.d : d; - } - return P(this.f939x.k, j); - } - - @Override // c.i.a.c.g1 - public k H() { - return new k(this.f939x.i.f870c); - } - - @Override // c.i.a.c.g1 - public int I(int i) { - return this.f937c[i].x(); - } - - @Override // c.i.a.c.g1 - public long J() { - if (this.f939x.b.q()) { - return this.f941z; - } - if (this.f939x.f779c.a()) { - return h0.b(this.f939x.f780s); - } - c1 c1Var = this.f939x; - return P(c1Var.f779c, c1Var.f780s); - } - - @Override // c.i.a.c.g1 - @Nullable - public g1.c K() { - return null; - } - - public final int L() { - if (this.f939x.b.q()) { - return this.f940y; - } - c1 c1Var = this.f939x; - return c1Var.b.h(c1Var.f779c.a, this.i).f958c; - } - - @Nullable - public final Pair M(r1 r1Var, int i, long j) { - if (r1Var.q()) { - this.f940y = 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.f941z = j; - return null; - } - if (i == -1 || i >= r1Var.p()) { - i = r1Var.a(this.r); - 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.f941z); - long a3 = h0.a(this.f941z); - 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.f780s; - return a4; - } - Object obj = h.f779c.a; - int i2 = f0.a; - boolean z2 = !obj.equals(pair.first); - y.a aVar4 = z2 ? new y.a(pair.first) : h.f779c; - 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).f958c == r1Var.h(aVar4.a, this.i).f958c) { - 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.f816c) : this.i.d; - c1 a8 = h.b(aVar4, h.f780s, h.f780s, a7 - h.f780s, 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.r - (longValue - a5)); - long j = h.q; - if (h.k.equals(h.f779c)) { - 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.f939x.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.w = this.w.a(i, i2); - } - - public void R(boolean z2, int i, int i2) { - c1 c1Var = this.f939x; - if (c1Var.l != z2 || c1Var.m != i) { - this.f938s++; - 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.f939x; - this.f939x = 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.f779c.a, this.i).f958c, this.a).f959c; - Object obj2 = r1Var2.n(r1Var2.h(c1Var.f779c.a, this.i).f958c, this.a).f959c; - 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.f779c.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.f779c.a, this.i).f958c, 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.f870c))); - } - 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.f939x; - if (c1Var.e == 1) { - c1 e = c1Var.e(null); - c1 g = e.g(e.b.q() ? 4 : 2); - this.f938s++; - 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.f939x.b, o(), this.p, this.g.q); - } - - @Override // c.i.a.c.g1 - public d1 c() { - return this.f939x.n; - } - - @Override // c.i.a.c.g1 - public boolean d() { - return this.f939x.f779c.a(); - } - - @Override // c.i.a.c.g1 - public long e() { - return h0.b(this.f939x.r); - } - - @Override // c.i.a.c.g1 - public void f(int i, long j) { - r1 r1Var = this.f939x.b; - if (i < 0 || (!r1Var.q() && i >= r1Var.p())) { - throw new IllegalSeekPositionException(r1Var, i, j); - } - int i2 = 1; - this.f938s++; - if (d()) { - Log.w("ExoPlayerImpl", "seekTo ignored because an ad is playing"); - q0.d dVar = new q0.d(this.f939x); - dVar.a(1); - o0 o0Var = ((o) this.f).a; - o0Var.e.a.post(new t(o0Var, dVar)); - return; - } - c1 c1Var = this.f939x; - 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.f939x.l; - } - - @Override // c.i.a.c.g1 - public void h(boolean z2) { - if (this.r != z2) { - this.r = 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.f939x.j; - } - - @Override // c.i.a.c.g1 - public int j() { - if (this.f939x.b.q()) { - return 0; - } - c1 c1Var = this.f939x; - return c1Var.b.b(c1Var.f779c.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.f913c)); - } - } - - @Override // c.i.a.c.g1 - public int m() { - if (d()) { - return this.f939x.f779c.f816c; - } - 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.f914c) { - 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.f939x.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.f939x; - c1Var.b.h(c1Var.f779c.a, this.i); - c1 c1Var2 = this.f939x; - return c1Var2.d == -9223372036854775807L ? c1Var2.b.n(o(), this.a).a() : h0.b(this.i.e) + h0.b(this.f939x.d); - } - - @Override // c.i.a.c.g1 - public int u() { - return this.f939x.e; - } - - @Override // c.i.a.c.g1 - public int w() { - if (d()) { - return this.f939x.f779c.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.f939x.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 e7a0de1b46..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 f942c; - 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.f942c = 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.f942c == o1Var.f942c && 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.f942c) * 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 cb161786d8..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,1153 +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 f943c; - 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 AudioTrack r; + 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: s reason: collision with root package name */ - public Surface f944s; - public boolean t; - public int u; + public final d2 f847s; @Nullable - public SurfaceHolder v; + public final d2 t; + @Nullable + public final byte[] u; + @Nullable + public final Integer v; + @Nullable + public final Uri w; @Nullable - public TextureView w; /* renamed from: x reason: collision with root package name */ - public int f945x; + public final Integer f848x; + @Nullable /* renamed from: y reason: collision with root package name */ - public int f946y; + public final Integer f849y; + @Nullable /* renamed from: z reason: collision with root package name */ - public int f947z; + 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 f948c; - 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.f891c.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.f891c.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.f948c = 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.f944s == 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.f943c = 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.f910c; - 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.r; - if (!(audioTrack == null || audioTrack.getAudioSessionId() == 0)) { - this.r.release(); - this.r = null; - } - if (this.r == null) { - this.r = new AudioTrack(3, SendUtils.MAX_MESSAGE_CHARACTER_COUNT_PREMIUM, 4, 2, 2, 0, 0); - } - this.f947z = this.r.getAudioSessionId(); - } else { - UUID uuid = h0.a; - AudioManager audioManager = (AudioManager) applicationContext.getSystemService(MediaStreamTrack.AUDIO_TRACK_KIND); - this.f947z = 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.f948c, 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.f957c; - 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.f961c = false; - s1Var.a(); - t1 t1Var = new t1(bVar.a); - this.p = t1Var; - t1Var.f962c = false; - t1Var.a(); - this.J = N(this.n); - R(i, 102, Integer.valueOf(this.f947z)); - R(2, 102, Integer.valueOf(this.f947z)); - 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.f948c, 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.f961c = false; - s1Var.a(); - t1 t1Var = new t1(bVar.a); - this.p = t1Var; - t1Var.f962c = false; - t1Var.a(); - this.J = N(this.n); - R(i, 102, Integer.valueOf(this.f947z)); - R(2, 102, Integer.valueOf(this.f947z)); - 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.f939x.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.f939x.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.f939x.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.r; - } - - @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.f937c[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.f944s) { - 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.f945x || i2 != this.f946y) { - this.f945x = i; - this.f946y = 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.w; - if (textureView != null) { - if (textureView.getSurfaceTextureListener() != this.e) { - Log.w("SimpleExoPlayer", "SurfaceTextureListener already unset or replaced."); - } else { - this.w.setSurfaceTextureListener(null); - } - this.w = 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.f944s; - 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.f939x; - c1 a2 = c1Var.a(c1Var.f779c); - a2.q = a2.f780s; - a2.r = 0; - c1 e = a2.g(1).e(b3); - o0Var.f938s++; - o0Var.g.o.a(6).sendToTarget(); - o0Var.S(e, false, 4, 0, 1, false); - } - if (this.t) { - this.f944s.release(); - } - } - this.f944s = 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.w = 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.f939x.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.f939x.r); - } - - @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.f939x.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.f939x.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.f939x.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.f939x.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.f939x.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 d1db8b7d68..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,2579 +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; - public final r1.c r; - - /* renamed from: s reason: collision with root package name */ - public final r1.b f949s; - public final long t; - public final boolean u; - public final m0 v; - public final ArrayList w; - - /* renamed from: x reason: collision with root package name */ - public final c.i.a.c.i2.g f950x; - - /* renamed from: y reason: collision with root package name */ - public final e f951y; - - /* renamed from: z reason: collision with root package name */ - public final z0 f952z; - - /* 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 f953c; - public final long d; - - public a(List list, h0 h0Var, int i, long j, p0 p0Var) { - this.a = list; - this.b = h0Var; - this.f953c = 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 f954c; - 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.f954c += 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 f955c; - 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.f955c = 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 f956c; - - public g(r1 r1Var, int i, long j) { - this.a = r1Var; - this.b = i; - this.f956c = 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.f951y = 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.f950x = 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.w = new ArrayList<>(); - this.r = new r1.c(); - this.f949s = new r1.b(); - lVar.a = dVar; - this.U = true; - Handler handler = new Handler(looper); - this.f952z = 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.f958c, cVar2).n) { - Pair j = r1Var.j(cVar2, bVar, r1Var.h(cVar.l, bVar).f958c, 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.f956c); - if (r1Var.equals(r1Var3)) { - return j; - } - if (r1Var.b(j.first) != -1) { - r1Var3.h(j.first, bVar); - return r1Var3.n(bVar.f958c, cVar).n ? r1Var.j(cVar, bVar, r1Var.h(j.first, bVar).f958c, gVar.f956c) : j; - } - if (z2 && (L = L(cVar, bVar, i, z3, j.first, r1Var3, r1Var)) != null) { - return r1Var.j(cVar, bVar, r1Var.h(L, bVar).f958c, -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.f779c; - r1 r1Var = c1Var.b; - return aVar.a() || r1Var.q() || r1Var.n(r1Var.h(aVar.a, bVar).f958c, 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.f952z; - 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.f870c.length == i2.f870c.length) { - int i4 = 0; - while (true) { - if (i4 >= i2.f870c.length) { - z2 = true; - break; - } else if (!i2.a(mVar, i4)) { - break; - } else { - i4++; - } - } - } - z2 = false; - if (!z2) { - if (z3) { - z0 z0Var2 = this.f952z; - x0 x0Var4 = z0Var2.h; - boolean m = z0Var2.m(x0Var4); - boolean[] zArr = new boolean[this.i.length]; - long a2 = x0Var4.a(i2, this.E.f780s, m, zArr); - c1 c1Var = this.E; - i = 4; - c1 u = u(c1Var.f779c, a2, c1Var.d); - this.E = u; - if (!(u.e == 4 || a2 == u.f780s)) { - 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.f1013c[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.f952z.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.f779c; - long j3 = c1Var.f780s; - long j4 = g0(this.E, this.f949s, this.r) ? this.E.d : this.E.f780s; - 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.f779c)) { - z6 = true; - aVar = aVar2; - j = j3; - j2 = -9223372036854775807L; - this.f952z.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.f768c); - } - b1Var.g.clear(); - b1Var.h.clear(); - b1Var.j = false; - } - this.V = null; - } - } - aVar = aVar2; - j = j3; - j2 = j4; - z6 = false; - this.f952z.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.f952z.h; - this.I = x0Var != null && x0Var.f.g && this.H; - } - - public final void H(long j) throws ExoPlaybackException { - x0 x0Var = this.f952z.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.f952z.h; x0Var2 != null; x0Var2 = x0Var2.l) { - c.i.a.c.f2.g[] gVarArr = x0Var2.n.f870c; - 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.w.size(); - while (true) { - size--; - if (size < 0) { - Collections.sort(this.w); - return; - } else if (!I(this.w.get(size), r1Var, r1Var2, this.L, this.M, this.r, this.f949s)) { - this.w.get(size).i.c(false); - this.w.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.f952z.h.f.a; - long Q = Q(aVar, this.E.f780s, true, false); - if (Q != this.E.f780s) { - 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.r, this.f949s); - 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.f956c == -9223372036854775807L ? -9223372036854775807L : j2; - y.a n = this.f952z.n(this.E.b, obj, j2); - if (n.a()) { - this.E.b.h(n.a, this.f949s); - j2 = this.f949s.e(n.b) == n.f816c ? this.f949s.f.f : 0; - aVar = n; - z2 = true; - } else { - aVar = n; - z2 = gVar.f956c == -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.f779c)) { - x0 x0Var = this.f952z.h; - long i3 = (x0Var == null || !x0Var.d || j2 == 0) ? j2 : x0Var.a.i(j2, this.D); - if (h0.b(i3) == h0.b(this.E.f780s) && ((i2 = (c1Var = this.E).e) == 2 || i2 == 3)) { - this.E = u(aVar, c1Var.f780s, 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.f779c, 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.f952z; - 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.f952z.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.f952z; - if (z0Var.h == x0Var2) { - break; - } - z0Var.a(); - } - z0Var.m(x0Var2); - x0Var2.o = 0; - h(); - } - } - if (x0Var2 != null) { - this.f952z.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.f952z.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.f950x.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.r); - 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.f953c != -1) { - this.R = new g(new i1(aVar.a, aVar.b), aVar.f953c, 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.f952z; - 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.f952z.h; x0Var != null; x0Var = x0Var.l) { - c.i.a.c.f2.g[] gVarArr = x0Var.n.f870c; - 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.f952z; - 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.f952z; - 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.f949s).f958c, this.r); - if (!this.r.c()) { - return false; - } - r1.c cVar = this.r; - 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.f950x.a(); - if (!this.E.b.q() && this.A.j) { - this.f952z.l(this.S); - z0 z0Var = this.f952z; - x0 x0Var3 = z0Var.j; - if (x0Var3 == null || (!x0Var3.f.h && x0Var3.f() && z0Var.j.f.e != -9223372036854775807L && z0Var.k < 100)) { - z0 z0Var2 = this.f952z; - long j3 = this.S; - c1 c1Var = this.E; - x0 x0Var4 = z0Var2.j; - y0 d2 = x0Var4 == null ? z0Var2.d(c1Var.b, c1Var.f779c, c1Var.d, c1Var.f780s) : z0Var2.c(c1Var.b, x0Var4, j3); - if (d2 != null) { - z0 z0Var3 = this.f952z; - 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.f1018c; - } - 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.f952z.h == x0Var6) { - H(x0Var6.e()); - } - q(false); - } - } - if (this.K) { - this.K = v(); - k0(); - } else { - y(); - } - x0 x0Var8 = this.f952z.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.f1013c[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.f952z; - 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.f1013c[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.f952z; - 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.f1013c[i5]; - if (!mVar4.b(i5) || z10) { - if (!k1Var4.v()) { - k1Var4.j(j(mVar4.f870c[i5]), x0Var12.f1013c[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.f952z.h) != null && (x0Var2 = x0Var.l) != null && this.S >= x0Var2.e() && x0Var2.g)) { - break; - } - if (z11) { - z(); - } - z0 z0Var6 = this.f952z; - x0 x0Var13 = z0Var6.h; - x0 a3 = z0Var6.a(); - y0 y0Var = a3.f; - this.E = u(y0Var.a, y0Var.b, y0Var.f1018c); - 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.f952z.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.f780s - 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.f1013c[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.f780s); - 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.f952z.h.f.a) ? ((k0) this.B).i : -9223372036854775807L; - x0 x0Var15 = this.f952z.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.f952z.h; x0Var16 != null; x0Var16 = x0Var16.l) { - c.i.a.c.f2.g[] gVarArr = x0Var16.n.f870c; - 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.f1013c[i8]) { - this.i[i8].s(); - } - i8++; - } - c1 c1Var3 = this.E; - if (!c1Var3.g && c1Var3.r < 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.f779c, 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.r, c1Var5.f780s, 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.f952z.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.f952z.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.f952z.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.f952z; - x0 x0Var2 = z0Var.i; - boolean z3 = x0Var2 == z0Var.h; - m mVar2 = x0Var2.n; - m1 m1Var = mVar2.b[i2]; - Format[] j = j(mVar2.f870c[i2]); - boolean z4 = e0() && this.E.e == 3; - boolean z5 = !z2 && z4; - this.Q++; - k1Var.o(m1Var, j, x0Var2.f1013c[i2], this.S, z5, z3, x0Var2.e(), x0Var2.o); - k1Var.r(103, new p0(this)); - m0 m0Var = this.v; - Objects.requireNonNull(m0Var); - r w = k1Var.w(); - if (!(w == null || w == (rVar = m0Var.l))) { - if (rVar == null) { - m0Var.l = w; - m0Var.k = k1Var; - w.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.f949s).f958c, this.r); - r1.c cVar = this.r; - if (cVar.h != -9223372036854775807L && cVar.c()) { - r1.c cVar2 = this.r; - if (cVar2.k) { - long j2 = cVar2.i; - int i = f0.a; - return h0.a((j2 == -9223372036854775807L ? System.currentTimeMillis() : j2 + SystemClock.elapsedRealtime()) - this.r.h) - (j + this.f949s.e); - } - } - return -9223372036854775807L; - } - - public final void k0() { - x0 x0Var = this.f952z.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.f779c, c1Var.d, c1Var.e, c1Var.f, z2, c1Var.h, c1Var.i, c1Var.j, c1Var.k, c1Var.l, c1Var.m, c1Var.n, c1Var.q, c1Var.r, c1Var.f780s, c1Var.o, c1Var.p); - } - } - - public final long l() { - x0 x0Var = this.f952z.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.f1013c[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.f949s).f958c, this.r); - t0 t0Var = this.B; - v0.f fVar = this.r.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.f991c); - 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.r.f959c; - Object obj2 = null; - if (!r1Var2.q()) { - obj2 = r1Var2.n(r1Var2.h(aVar2.a, this.f949s).f958c, this.r).f959c; - } - 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.r, this.f949s, r1Var.a(this.M), -9223372036854775807L); - y.a n = this.f952z.n(r1Var, j2.first, 0); - long longValue = ((Long) j2.second).longValue(); - if (n.a()) { - r1Var.h(n.a, this.f949s); - if (n.f816c == this.f949s.e(n.b)) { - j = this.f949s.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.f952z.h; - if (x0Var != null) { - long k = x0Var.d ? x0Var.a.k() : -9223372036854775807L; - if (k != -9223372036854775807L) { - H(k); - if (k != this.E.f780s) { - c1 c1Var = this.E; - this.E = u(c1Var.f779c, k, c1Var.d); - this.F.b(4); - } - q0Var2 = this; - q0Var = q0Var2; - } else { - m0 m0Var = this.v; - boolean z2 = x0Var != this.f952z.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.f780s; - if (this.w.isEmpty() || this.E.f779c.a()) { - q0Var2 = this; - q0Var = q0Var2; - } else { - if (this.U) { - j5--; - this.U = false; - } - c1 c1Var2 = this.E; - int b2 = c1Var2.b.b(c1Var2.f779c.a); - int min = Math.min(this.T, this.w.size()); - if (min > 0) { - cVar = this.w.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.w.get(min - 1); - } - if (min < q0Var4.w.size()) { - cVar2 = q0Var4.w.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.w.size()) { - break; - } - cVar2 = q0Var4.w.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.w.remove(min); - cVar2 = min >= q0Var4.w.size() ? q0Var4.w.get(min) : null; - } catch (Throwable th) { - Objects.requireNonNull(cVar2.i); - q0Var4.w.remove(min); - throw th; - } - } - q0Var4.T = min; - j4 = j2; - q0Var2 = q0Var3; - } - cVar2 = null; - while (true) { - int i2 = cVar2.j; - min++; - if (min >= q0Var4.w.size()) { - } - cVar2 = q0Var4.w.get(min); - } - while (cVar2 != null) { - long j6 = cVar2.k; - q0Var4.R(cVar2.i); - Objects.requireNonNull(cVar2.i); - q0Var4.w.remove(min); - if (min >= q0Var4.w.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.w.get(min - 1); - } - if (min < q0Var4.w.size()) { - } - cVar2 = null; - while (true) { - int i2 = cVar2.j; - min++; - if (min >= q0Var4.w.size()) { - } - cVar2 = q0Var4.w.get(min); - } - while (cVar2 != null) { - } - q0Var4.T = min; - j4 = j2; - q0Var2 = q0Var3; - } - q0Var2.E.f780s = j4; - } - q0Var2.E.q = q0Var2.f952z.j.d(); - q0Var2.E.r = q0Var.n(); - c1 c1Var3 = q0Var2.E; - if (c1Var3.l && c1Var3.e == 3 && q0Var2.f0(c1Var3.b, c1Var3.f779c)) { - 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.f779c.a, c1Var4.f780s); - 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.f935c; - 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.f935c; - 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.f788c)); - 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.f952z.j; - if (x0Var == null) { - return 0; - } - return Math.max(0L, j - (this.S - x0Var.o)); - } - - public final void p(v vVar) { - z0 z0Var = this.f952z; - x0 x0Var = z0Var.j; - if (x0Var != null && x0Var.a == vVar) { - z0Var.l(this.S); - y(); - } - } - - public final void q(boolean z2) { - x0 x0Var = this.f952z.j; - y.a aVar = x0Var == null ? this.E.f779c : 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.f780s : x0Var.d(); - this.E.r = n(); - if ((z3 || z2) && x0Var != null && x0Var.d) { - this.m.d(this.i, x0Var.m, x0Var.n.f870c); - } - } - - /* 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.f952z; - int i7 = this.L; - boolean z13 = this.M; - r1.c cVar = this.r; - r1.b bVar = this.f949s; - if (r1Var.q()) { - y.a aVar3 = c1.a; - fVar = new f(c1.a, 0, -9223372036854775807L, false, true, false); - } else { - y.a aVar4 = c1Var.f779c; - Object obj3 = aVar4.a; - boolean g02 = g0(c1Var, bVar, cVar); - long j6 = g02 ? c1Var.d : c1Var.f780s; - 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.f956c == -9223372036854775807L) { - i4 = r1Var.h(K.first, bVar).f958c; - 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).f958c; - 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).f958c; - } else { - aVar = aVar2; - c1Var.b.h(aVar.a, bVar); - Pair j7 = r1Var.j(cVar, bVar, r1Var.h(obj2, bVar).f958c, 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.f780s; - } else { - r1Var.h(n.a, bVar); - j4 = n.f816c == 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.f955c; - boolean z14 = fVar.d; - long j10 = fVar.b; - boolean z15 = !this.E.f779c.equals(aVar5) || j10 != this.E.f780s; - 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.f952z.q(r1Var, this.S, l())) { - N(false); - } - } catch (Throwable th2) { - th = th2; - gVar = null; - c1 c1Var2 = this.E; - l0(r1Var, aVar5, c1Var2.b, c1Var2.f779c, !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.f952z.h; x0Var != null; x0Var = x0Var.l) { - if (x0Var.f.a.equals(aVar5)) { - x0Var.f = this.f952z.g(r1Var, x0Var.f); - } - } - j10 = P(aVar5, j10, z14); - } - } - c1 c1Var3 = this.E; - l0(r1Var, aVar5, c1Var3.b, c1Var3.f779c, 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.f779c, !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.f952z.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.f870c); - if (x0Var == this.f952z.h) { - H(x0Var.f.b); - h(); - c1 c1Var = this.E; - this.E = u(c1Var.f779c, 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.f952z.h; - while (true) { - i = 0; - if (x0Var == null) { - break; - } - c.i.a.c.f2.g[] gVarArr = x0Var.n.f870c; - 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.f780s || !aVar.equals(this.E.f779c); - G(); - c1 c1Var = this.E; - TrackGroupArray trackGroupArray2 = c1Var.h; - m mVar2 = c1Var.i; - List list = c1Var.j; - if (this.A.j) { - x0 x0Var = this.f952z.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.f870c; - 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).r; - 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.f1018c != j2) { - x0Var.f = y0Var.a(j2); - } - } - uVar = uVar2; - trackGroupArray = trackGroupArray3; - mVar = mVar3; - } else if (!aVar.equals(c1Var.f779c)) { - 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.f952z.j; - if (x0Var == null) { - return false; - } - return (!x0Var.d ? 0 : x0Var.a.c()) != Long.MIN_VALUE; - } - - public final boolean x() { - x0 x0Var = this.f952z.h; - long j = x0Var.f.e; - return x0Var.d && (j == -9223372036854775807L || this.E.f780s < j || !e0()); - } - - public final void y() { - boolean z2; - long j; - long j2; - if (!v()) { - z2 = false; - } else { - x0 x0Var = this.f952z.j; - long o = o(!x0Var.d ? 0 : x0Var.a.c()); - if (x0Var == this.f952z.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.f952z.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.f951y).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 043ad2c58d..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 f957c; - 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.f957c = 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 118d9873a3..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 f958c; - 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.f958c == bVar.f958c && 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.f958c) * 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 f959c = 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; - public long r; - - /* renamed from: s reason: collision with root package name */ - public long f960s; - - 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.r); - } - - 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.f959c = 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.r = j5; - this.o = i; - this.p = i2; - this.f960s = 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.f959c, cVar.f959c) && 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.r == cVar.r && this.o == cVar.o && this.p == cVar.p && this.f960s == cVar.f960s; - } - - public int hashCode() { - int hashCode = (this.e.hashCode() + ((this.f959c.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.r; - long j6 = this.f960s; - 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).f958c; - 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.f960s + 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 913f9789a7..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 f961c; - 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.f961c || !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/u1/d1.java b/app/src/main/java/c/i/a/c/s2/h1.java similarity index 63% rename from app/src/main/java/c/i/a/c/u1/d1.java rename to app/src/main/java/c/i/a/c/s2/h1.java index 8dca008e47..3e3706acb2 100644 --- a/app/src/main/java/c/i/a/c/u1/d1.java +++ b/app/src/main/java/c/i/a/c/s2/h1.java @@ -1,40 +1,37 @@ -package c.i.a.c.u1; +package c.i.a.c.s2; -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 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 d1 { +public interface h1 { /* compiled from: AnalyticsListener */ public static final class a { public final long a; - public final r1 b; + public final o2 b; /* renamed from: c reason: collision with root package name */ - public final int f964c; + public final int f870c; @Nullable - public final y.a d; + public final a0.a d; public final long e; - public final r1 f; + public final o2 f; public final int g; @Nullable - public final y.a h; + public final a0.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) { + 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 = r1Var; - this.f964c = i; + this.b = o2Var; + this.f870c = i; this.d = aVar; this.e = j2; - this.f = r1Var2; + this.f = o2Var2; this.g = i2; this.h = aVar2; this.i = j3; @@ -49,33 +46,28 @@ public interface d1 { return false; } a aVar = (a) obj; - return this.a == aVar.a && this.f964c == aVar.f964c && 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); + 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.f964c), this.d, Long.valueOf(this.e), this.f, Integer.valueOf(this.g), this.h, Long.valueOf(this.i), Long.valueOf(this.j)}); + 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)}); } } - /* 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(); + @Deprecated void F(); + @Deprecated void G(); void H(); @@ -86,9 +78,9 @@ public interface d1 { void K(); + @Deprecated void L(); - @Deprecated void M(); void N(); @@ -101,11 +93,13 @@ public interface d1 { void R(); + @Deprecated void S(); - void T(a aVar, boolean z2); + @Deprecated + void T(); - void U(a aVar, Format format); + void U(); void V(); @@ -115,7 +109,7 @@ public interface d1 { void Y(); - void Z(a aVar, Format format); + void Z(); @Deprecated void a(); @@ -132,36 +126,67 @@ public interface d1 { void d(); + @Deprecated void d0(); void e(); + void e0(); + void f(); + void f0(); + + @Deprecated void g(); + void g0(); + void h(); - /* JADX WARN: Incorrect args count in method signature: (Lc/i/a/c/u1/d1$a;Ljava/util/List;)V */ + @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(); @@ -172,9 +197,9 @@ public interface d1 { void v(); - @Deprecated void w(); + @Deprecated void x(); void y(); 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 f18dbc180d..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.f938s - dVar.f954c; - o0Var.f938s = 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.f939x.b.q() && r1Var.q()) { - o0Var.f940y = -1; - o0Var.f941z = 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 691c63f60a..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 f962c; - 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.f962c || !this.d) { - wifiLock.release(); - } else { - wifiLock.acquire(); - } - } - } + Object getUid(); } diff --git a/app/src/main/java/c/i/a/c/v1/a.java b/app/src/main/java/c/i/a/c/t2/a.java similarity index 53% rename from app/src/main/java/c/i/a/c/v1/a.java rename to app/src/main/java/c/i/a/c/t2/a.java index e1d4c25011..332c6526ee 100644 --- a/app/src/main/java/c/i/a/c/v1/a.java +++ b/app/src/main/java/c/i/a/c/t2/a.java @@ -1,23 +1,23 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; +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 */ q.a i; + public final /* synthetic */ r.a i; public final /* synthetic */ boolean j; - public /* synthetic */ a(q.a aVar, boolean z2) { + public /* synthetic */ a(r.a aVar, boolean z2) { this.i = aVar; this.j = z2; } @Override // java.lang.Runnable public final void run() { - q.a aVar = this.i; + r.a aVar = this.i; boolean z2 = this.j; - q qVar = aVar.b; - int i = f0.a; - qVar.G(z2); + r rVar = aVar.b; + int i = e0.a; + rVar.d(z2); } } diff --git a/app/src/main/java/c/i/a/c/v1/z.java b/app/src/main/java/c/i/a/c/t2/a0.java similarity index 80% rename from app/src/main/java/c/i/a/c/v1/z.java rename to app/src/main/java/c/i/a/c/t2/a0.java index ded0e54068..158eaa7ded 100644 --- a/app/src/main/java/c/i/a/c/v1/z.java +++ b/app/src/main/java/c/i/a/c/t2/a0.java @@ -1,14 +1,14 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import androidx.annotation.Nullable; import com.discord.restapi.RestAPIAbortCodes; /* compiled from: MpegAudioUtil */ -public final class z { +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[] f1011c = {32000, 64000, 96000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 352000, 384000, 416000, 448000}; + 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}; @@ -21,7 +21,7 @@ public final class z { public String b; /* renamed from: c reason: collision with root package name */ - public int f1012c; + public int f885c; public int d; public int e; public int f; @@ -32,12 +32,12 @@ public final class z { 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) { + 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 = z.a[3 - i3]; - int i6 = z.b[i5]; + this.b = a0.a[3 - i3]; + int i6 = a0.b[i5]; this.d = i6; int i7 = 2; if (i2 == 2) { @@ -46,24 +46,24 @@ public final class z { this.d = i6 / 4; } int i8 = (i >>> 9) & 1; - this.g = z.b(i2, i3); + this.g = a0.b(i2, i3); if (i3 == 3) { - int i9 = i2 == 3 ? z.f1011c[i4 - 1] : z.d[i4 - 1]; + int i9 = i2 == 3 ? a0.f884c[i4 - 1] : a0.d[i4 - 1]; this.f = i9; - this.f1012c = (((i9 * 12) / this.d) + i8) * 4; + this.f885c = (((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]; + int i11 = i3 == 2 ? a0.e[i4 - 1] : a0.f[i4 - 1]; this.f = i11; - this.f1012c = ((i11 * 144) / this.d) + i8; + this.f885c = ((i11 * 144) / this.d) + i8; } else { - int i12 = z.g[i4 - 1]; + int i12 = a0.g[i4 - 1]; this.f = i12; if (i3 == 1) { i10 = 72; } - this.f1012c = ((i10 * i12) / this.d) + i8; + this.f885c = ((i10 * i12) / this.d) + i8; } } if (((i >> 6) & 3) == 3) { @@ -90,7 +90,7 @@ public final class z { } int i7 = (i >>> 9) & 1; if (i3 == 3) { - return ((((i2 == 3 ? f1011c[i4 - 1] : d[i4 - 1]) * 12) / i6) + i7) * 4; + 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; 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/v1/a0.java b/app/src/main/java/c/i/a/c/t2/b0.java similarity index 94% rename from app/src/main/java/c/i/a/c/v1/a0.java rename to app/src/main/java/c/i/a/c/t2/b0.java index e7f2be00f6..6476a5ee47 100644 --- a/app/src/main/java/c/i/a/c/v1/a0.java +++ b/app/src/main/java/c/i/a/c/t2/b0.java @@ -1,10 +1,10 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; import com.google.android.exoplayer2.audio.AudioProcessor; import java.nio.ByteBuffer; /* compiled from: ResamplingAudioProcessor */ -public final class a0 extends u { +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]] */ @@ -34,7 +34,7 @@ public final class a0 extends u { } } else if (i == 4) { while (position < limit) { - short g = (short) ((int) (f0.g(byteBuffer.getFloat(position), -1.0f, 1.0f) * 32767.0f)); + 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; @@ -80,11 +80,11 @@ public final class a0 extends u { j.flip(); } - @Override // c.i.a.c.v1.u + @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.f2284c, 2) : AudioProcessor.a.a; + return i != 2 ? new AudioProcessor.a(aVar.b, aVar.f2305c, 2) : AudioProcessor.a.a; } throw new AudioProcessor.UnhandledAudioFormatException(aVar); } diff --git a/app/src/main/java/c/i/a/c/v1/c.java b/app/src/main/java/c/i/a/c/t2/c.java similarity index 53% rename from app/src/main/java/c/i/a/c/v1/c.java rename to app/src/main/java/c/i/a/c/t2/c.java index 8481ba25c2..cef410960b 100644 --- a/app/src/main/java/c/i/a/c/v1/c.java +++ b/app/src/main/java/c/i/a/c/t2/c.java @@ -1,23 +1,23 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; +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 */ q.a i; + public final /* synthetic */ r.a i; public final /* synthetic */ Exception j; - public /* synthetic */ c(q.a aVar, Exception exc) { + public /* synthetic */ c(r.a aVar, Exception exc) { this.i = aVar; this.j = exc; } @Override // java.lang.Runnable public final void run() { - q.a aVar = this.i; + r.a aVar = this.i; Exception exc = this.j; - q qVar = aVar.b; - int i = f0.a; - qVar.H(exc); + r rVar = aVar.b; + int i = e0.a; + rVar.T(exc); } } diff --git a/app/src/main/java/c/i/a/c/v1/b0.java b/app/src/main/java/c/i/a/c/t2/c0.java similarity index 91% rename from app/src/main/java/c/i/a/c/v1/b0.java rename to app/src/main/java/c/i/a/c/t2/c0.java index 749fe79603..6cc2a351e6 100644 --- a/app/src/main/java/c/i/a/c/v1/b0.java +++ b/app/src/main/java/c/i/a/c/t2/c0.java @@ -1,11 +1,11 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import c.c.a.a0.d; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; import com.google.android.exoplayer2.audio.AudioProcessor; import java.nio.ByteBuffer; /* compiled from: SilenceSkippingAudioProcessor */ -public final class b0 extends u { +public final class c0 extends v { public final long i = 150000; public final long j = 20000; public final short k = 1024; @@ -18,17 +18,17 @@ public final class b0 extends u { public int r; /* renamed from: s reason: collision with root package name */ - public boolean f993s; + public boolean f886s; public long t; - public b0() { - d.k(true); - byte[] bArr = f0.f; + public c0() { + d.j(true); + byte[] bArr = e0.f; this.n = bArr; this.o = bArr; } - @Override // c.i.a.c.v1.u, com.google.android.exoplayer2.audio.AudioProcessor + @Override // c.i.a.c.t2.v, com.google.android.exoplayer2.audio.AudioProcessor public boolean a() { return this.m; } @@ -62,7 +62,7 @@ public final class b0 extends u { int remaining = byteBuffer.remaining(); j(remaining).put(byteBuffer).flip(); if (remaining > 0) { - this.f993s = true; + this.f886s = true; } } byteBuffer.limit(limit); @@ -82,7 +82,7 @@ public final class b0 extends u { this.q = i5; byte[] bArr2 = this.n; if (i5 == bArr2.length) { - if (this.f993s) { + if (this.f886s) { l(bArr2, this.r); this.t += (long) ((this.q - (this.r * 2)) / this.l); } else { @@ -115,7 +115,7 @@ public final class b0 extends u { } } - @Override // c.i.a.c.v1.u + @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; @@ -123,7 +123,7 @@ public final class b0 extends u { throw new AudioProcessor.UnhandledAudioFormatException(aVar); } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public void g() { if (this.m) { AudioProcessor.a aVar = this.b; @@ -144,25 +144,25 @@ public final class b0 extends u { this.p = 0; this.t = 0; this.q = 0; - this.f993s = false; + this.f886s = false; } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public void h() { int i = this.q; if (i > 0) { l(this.n, i); } - if (!this.f993s) { + if (!this.f886s) { this.t += (long) (this.r / this.l); } } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public void i() { this.m = false; this.r = 0; - byte[] bArr = f0.f; + byte[] bArr = e0.f; this.n = bArr; this.o = bArr; } @@ -180,7 +180,7 @@ public final class b0 extends u { public final void l(byte[] bArr, int i) { j(i).put(bArr, 0, i).flip(); if (i > 0) { - this.f993s = true; + this.f886s = true; } } 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/v1/c0.java b/app/src/main/java/c/i/a/c/t2/d0.java similarity index 96% rename from app/src/main/java/c/i/a/c/v1/c0.java rename to app/src/main/java/c/i/a/c/t2/d0.java index 7fa3afee15..359d563054 100644 --- a/app/src/main/java/c/i/a/c/v1/c0.java +++ b/app/src/main/java/c/i/a/c/t2/d0.java @@ -1,15 +1,15 @@ -package c.i.a.c.v1; +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 c0 { +public final class d0 { public final int a; public final int b; /* renamed from: c reason: collision with root package name */ - public final float f994c; + public final float f887c; public final float d; public final float e; public final int f; @@ -27,15 +27,15 @@ public final class c0 { public int r; /* renamed from: s reason: collision with root package name */ - public int f995s; + public int f888s; public int t; public int u; public int v; - public c0(int i, int i2, float f, float f2, int i3) { + public d0(int i, int i2, float f, float f2, int i3) { this.a = i; this.b = i2; - this.f994c = f; + this.f887c = f; this.d = f2; this.e = ((float) i) / ((float) i3); this.f = i / 400; @@ -127,7 +127,7 @@ public final class c0 { int i6; int i7; int i8 = this.m; - float f = this.f994c; + float f = this.f887c; float f2 = this.d; float f3 = f / f2; float f4 = this.e * f2; @@ -178,9 +178,9 @@ public final class c0 { } } int i21 = this.u; - int i22 = i21 != 0 && this.f995s != 0 && this.v <= i21 * 3 && i21 * 2 > this.t * 3 ? this.f995s : i5; + int i22 = i21 != 0 && this.f888s != 0 && this.v <= i21 * 3 && i21 * 2 > this.t * 3 ? this.f888s : i5; this.t = i21; - this.f995s = i5; + this.f888s = i5; if (d > 1.0d) { short[] sArr2 = this.j; if (f3 >= 2.0f) { 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/v1/d0.java b/app/src/main/java/c/i/a/c/t2/e0.java similarity index 67% rename from app/src/main/java/c/i/a/c/v1/d0.java rename to app/src/main/java/c/i/a/c/t2/e0.java index d14eed682f..93090882d9 100644 --- a/app/src/main/java/c/i/a/c/v1/d0.java +++ b/app/src/main/java/c/i/a/c/t2/e0.java @@ -1,4 +1,4 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import androidx.annotation.Nullable; import com.google.android.exoplayer2.audio.AudioProcessor; @@ -7,11 +7,11 @@ import java.nio.ByteOrder; import java.nio.ShortBuffer; import java.util.Objects; /* compiled from: SonicAudioProcessor */ -public final class d0 implements AudioProcessor { +public final class e0 implements AudioProcessor { public int b; /* renamed from: c reason: collision with root package name */ - public float f996c = 1.0f; + public float f889c = 1.0f; public float d = 1.0f; public AudioProcessor.a e; public AudioProcessor.a f; @@ -19,7 +19,7 @@ public final class d0 implements AudioProcessor { public AudioProcessor.a h; public boolean i; @Nullable - public c0 j; + public d0 j; public ByteBuffer k; public ShortBuffer l; public ByteBuffer m; @@ -27,7 +27,7 @@ public final class d0 implements AudioProcessor { public long o; public boolean p; - public d0() { + public e0() { AudioProcessor.a aVar = AudioProcessor.a.a; this.e = aVar; this.f = aVar; @@ -42,31 +42,31 @@ public final class d0 implements AudioProcessor { @Override // com.google.android.exoplayer2.audio.AudioProcessor public boolean a() { - return this.f.b != -1 && (Math.abs(this.f996c - 1.0f) >= 1.0E-4f || Math.abs(this.d - 1.0f) >= 1.0E-4f || this.f.b != this.e.b); + 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() { - c0 c0Var; - return this.p && ((c0Var = this.j) == null || (c0Var.m * c0Var.b) * 2 == 0); + 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()) { - c0 c0Var = this.j; - Objects.requireNonNull(c0Var); + 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 = c0Var.b; + int i = d0Var.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(); + 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); } } @@ -79,7 +79,7 @@ public final class d0 implements AudioProcessor { i = aVar.b; } this.e = aVar; - AudioProcessor.a aVar2 = new AudioProcessor.a(i, aVar.f2284c, 2); + AudioProcessor.a aVar2 = new AudioProcessor.a(i, aVar.f2305c, 2); this.f = aVar2; this.i = true; return aVar2; @@ -90,32 +90,32 @@ public final class d0 implements AudioProcessor { @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.f994c; - 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); + 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 = c0Var.h * 2; - int i5 = c0Var.b; + i = d0Var.h * 2; + int i5 = d0Var.b; if (i4 >= i * i5) { break; } - c0Var.j[(i5 * i2) + i4] = 0; + d0Var.j[(i5 * i2) + i4] = 0; i4++; } - c0Var.k = i + c0Var.k; - c0Var.f(); - if (c0Var.m > i3) { - c0Var.m = i3; + d0Var.k = i + d0Var.k; + d0Var.f(); + if (d0Var.m > i3) { + d0Var.m = i3; } - c0Var.k = 0; - c0Var.r = 0; - c0Var.o = 0; + d0Var.k = 0; + d0Var.r = 0; + d0Var.o = 0; } this.p = true; } @@ -128,20 +128,20 @@ public final class d0 implements AudioProcessor { AudioProcessor.a aVar2 = this.f; this.h = aVar2; if (this.i) { - this.j = new c0(aVar.b, aVar.f2284c, this.f996c, this.d, aVar2.b); + this.j = new d0(aVar.b, aVar.f2305c, this.f889c, 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.r = 0; - c0Var.f995s = 0; - c0Var.t = 0; - c0Var.u = 0; - c0Var.v = 0; + 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; } } } @@ -154,8 +154,8 @@ public final class d0 implements AudioProcessor { @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) { + 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; @@ -165,12 +165,12 @@ public final class d0 implements AudioProcessor { 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; + 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); @@ -183,7 +183,7 @@ public final class d0 implements AudioProcessor { @Override // com.google.android.exoplayer2.audio.AudioProcessor public void reset() { - this.f996c = 1.0f; + this.f889c = 1.0f; this.d = 1.0f; AudioProcessor.a aVar = AudioProcessor.a.a; this.e = aVar; diff --git a/app/src/main/java/c/i/a/c/j2/f.java b/app/src/main/java/c/i/a/c/t2/f.java similarity index 63% rename from app/src/main/java/c/i/a/c/j2/f.java rename to app/src/main/java/c/i/a/c/t2/f.java index 25e8728bcb..5f9b133c77 100644 --- a/app/src/main/java/c/i/a/c/j2/f.java +++ b/app/src/main/java/c/i/a/c/t2/f.java @@ -1,15 +1,15 @@ -package c.i.a.c.j2; +package c.i.a.c.t2; -import c.i.a.c.i2.f0; -import c.i.a.c.j2.w; +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 */ w.a i; + public final /* synthetic */ r.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) { + public /* synthetic */ f(r.a aVar, String str, long j, long j2) { this.i = aVar; this.j = str; this.k = j; @@ -18,12 +18,12 @@ public final /* synthetic */ class f implements Runnable { @Override // java.lang.Runnable public final void run() { - w.a aVar = this.i; + r.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); + r rVar = aVar.b; + int i = e0.a; + rVar.C(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/t2/f0.java similarity index 83% rename from app/src/main/java/c/i/a/c/v1/e0.java rename to app/src/main/java/c/i/a/c/t2/f0.java index 7335eec318..c7925674f6 100644 --- a/app/src/main/java/c/i/a/c/v1/e0.java +++ b/app/src/main/java/c/i/a/c/t2/f0.java @@ -1,19 +1,19 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; import com.google.android.exoplayer2.audio.AudioProcessor; import java.nio.ByteBuffer; /* compiled from: TrimmingAudioProcessor */ -public final class e0 extends u { +public final class f0 extends v { public int i; public int j; public boolean k; public int l; - public byte[] m = f0.f; + public byte[] m = e0.f; public int n; public long o; - @Override // c.i.a.c.v1.u, com.google.android.exoplayer2.audio.AudioProcessor + @Override // c.i.a.c.t2.v, com.google.android.exoplayer2.audio.AudioProcessor public boolean b() { return super.b() && this.n == 0; } @@ -32,9 +32,9 @@ public final class e0 extends u { int i2 = i - min; int length = (this.n + i2) - this.m.length; ByteBuffer j = j(length); - int h = f0.h(length, 0, this.n); + int h = e0.h(length, 0, this.n); j.put(this.m, 0, h); - int h2 = f0.h(length - h, 0, i2); + int h2 = e0.h(length - h, 0, i2); byteBuffer.limit(byteBuffer.position() + h2); j.put(byteBuffer); byteBuffer.limit(limit); @@ -50,7 +50,7 @@ public final class e0 extends u { } } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public AudioProcessor.a f(AudioProcessor.a aVar) throws AudioProcessor.UnhandledAudioFormatException { if (aVar.d == 2) { this.k = true; @@ -59,7 +59,7 @@ public final class e0 extends u { throw new AudioProcessor.UnhandledAudioFormatException(aVar); } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public void g() { if (this.k) { this.k = false; @@ -71,7 +71,7 @@ public final class e0 extends u { this.n = 0; } - @Override // c.i.a.c.v1.u, com.google.android.exoplayer2.audio.AudioProcessor + @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) { @@ -81,7 +81,7 @@ public final class e0 extends u { return super.getOutput(); } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public void h() { if (this.k) { int i = this.n; @@ -92,8 +92,8 @@ public final class e0 extends u { } } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public void i() { - this.m = f0.f; + 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/v1/h.java b/app/src/main/java/c/i/a/c/t2/i.java similarity index 54% rename from app/src/main/java/c/i/a/c/v1/h.java rename to app/src/main/java/c/i/a/c/t2/i.java index a03b354167..4c694547df 100644 --- a/app/src/main/java/c/i/a/c/v1/h.java +++ b/app/src/main/java/c/i/a/c/t2/i.java @@ -1,15 +1,15 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; -import c.i.a.c.i2.f0; -import c.i.a.c.v1.q; +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 */ q.a i; +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 */ h(q.a aVar, int i, long j, long j2) { + public /* synthetic */ i(r.a aVar, int i, long j, long j2) { this.i = aVar; this.j = i; this.k = j; @@ -18,12 +18,12 @@ public final /* synthetic */ class h implements Runnable { @Override // java.lang.Runnable public final void run() { - q.a aVar = this.i; + r.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); + 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/v1/j.java b/app/src/main/java/c/i/a/c/t2/k.java similarity index 70% rename from app/src/main/java/c/i/a/c/v1/j.java rename to app/src/main/java/c/i/a/c/t2/k.java index b35bb4dc72..31f6e069b8 100644 --- a/app/src/main/java/c/i/a/c/v1/j.java +++ b/app/src/main/java/c/i/a/c/t2/k.java @@ -1,12 +1,12 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import android.os.Handler; import java.util.concurrent.Executor; /* compiled from: lambda */ -public final /* synthetic */ class j implements Executor { +public final /* synthetic */ class k implements Executor { public final /* synthetic */ Handler i; - public /* synthetic */ j(Handler handler) { + public /* synthetic */ k(Handler handler) { this.i = handler; } diff --git a/app/src/main/java/c/i/a/c/v1/k.java b/app/src/main/java/c/i/a/c/t2/l.java similarity index 55% rename from app/src/main/java/c/i/a/c/v1/k.java rename to app/src/main/java/c/i/a/c/t2/l.java index 4450fd3c56..f8e8805a6d 100644 --- a/app/src/main/java/c/i/a/c/v1/k.java +++ b/app/src/main/java/c/i/a/c/t2/l.java @@ -1,11 +1,10 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import android.util.Log; -import androidx.constraintlayout.solver.widgets.analyzer.BasicMeasure; -import c.i.a.c.i2.v; +import c.i.a.c.f3.w; import com.google.android.exoplayer2.ParserException; /* compiled from: AacUtil */ -public final class k { +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}; @@ -15,59 +14,43 @@ public final class k { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f997c; + public final String f890c; public b(int i, int i2, String str, a aVar) { this.a = i; this.b = i2; - this.f997c = str; + this.f890c = 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); + public static int a(w wVar) throws ParserException { + int g = wVar.g(4); if (g == 15) { - return vVar.g(24); + return wVar.g(24); } if (g < 13) { return a[g]; } - throw new ParserException(); + throw ParserException.a(null, null); } - public static b c(v vVar, boolean z2) throws ParserException { - int g = vVar.g(5); + public static b b(w wVar, boolean z2) throws ParserException { + int g = wVar.g(5); if (g == 31) { - g = vVar.g(6) + 32; + g = wVar.g(6) + 32; } - int b2 = b(vVar); - int g2 = vVar.g(4); - String l = c.d.b.a.a.l("mp4a.40.", g); + 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) { - b2 = b(vVar); - int g3 = vVar.g(5); + a2 = a(wVar); + int g3 = wVar.g(5); if (g3 == 31) { - g3 = vVar.g(6) + 32; + g3 = wVar.g(6) + 32; } g = g3; if (g == 22) { - g2 = vVar.g(4); + g2 = wVar.g(4); } } if (z2) { @@ -80,28 +63,31 @@ public final class k { case 23: break; default: - throw new ParserException(c.d.b.a.a.l("Unsupported audio object type: ", g)); + StringBuilder sb = new StringBuilder(42); + sb.append("Unsupported audio object type: "); + sb.append(g); + throw ParserException.b(sb.toString()); } } - if (vVar.f()) { + if (wVar.f()) { Log.w("AacUtil", "Unexpected frameLengthFlag = 1"); } - if (vVar.f()) { - vVar.m(14); + if (wVar.f()) { + wVar.m(14); } - boolean f = vVar.f(); + boolean f2 = wVar.f(); if (g2 != 0) { if (g == 6 || g == 20) { - vVar.m(3); + wVar.m(3); } - if (f) { + if (f2) { if (g == 22) { - vVar.m(16); + wVar.m(16); } if (g == 17 || g == 19 || g == 20 || g == 23) { - vVar.m(3); + wVar.m(3); } - vVar.m(1); + wVar.m(1); } switch (g) { case 17: @@ -110,9 +96,12 @@ public final class k { case 21: case 22: case 23: - int g4 = vVar.g(2); + int g4 = wVar.g(2); if (g4 == 2 || g4 == 3) { - throw new ParserException(c.d.b.a.a.l("Unsupported epConfig: ", g4)); + StringBuilder sb2 = new StringBuilder(33); + sb2.append("Unsupported epConfig: "); + sb2.append(g4); + throw ParserException.b(sb2.toString()); } } } else { @@ -121,12 +110,12 @@ public final class k { } int i = b[g2]; if (i != -1) { - return new b(b2, i, l, null); + return new b(a2, i, f, null); } - throw new ParserException(); + throw ParserException.a(null, null); } - public static b d(byte[] bArr) throws ParserException { - return c(new v(bArr), false); + 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/v1/l.java b/app/src/main/java/c/i/a/c/t2/m.java similarity index 90% rename from app/src/main/java/c/i/a/c/v1/l.java rename to app/src/main/java/c/i/a/c/t2/m.java index bef8643f99..0988c261f9 100644 --- a/app/src/main/java/c/i/a/c/v1/l.java +++ b/app/src/main/java/c/i/a/c/t2/m.java @@ -1,11 +1,11 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; /* compiled from: Ac3Util */ -public final class l { +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[] f998c = {24000, 22050, 16000}; + 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}; diff --git a/app/src/main/java/c/i/a/c/v1/m.java b/app/src/main/java/c/i/a/c/t2/n.java similarity index 81% rename from app/src/main/java/c/i/a/c/v1/m.java rename to app/src/main/java/c/i/a/c/t2/n.java index d22a7e61be..c10fef3062 100644 --- a/app/src/main/java/c/i/a/c/v1/m.java +++ b/app/src/main/java/c/i/a/c/t2/n.java @@ -1,10 +1,10 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import androidx.core.view.PointerIconCompat; -import c.i.a.c.i2.v; -import c.i.a.c.i2.w; +import c.i.a.c.f3.w; +import c.i.a.c.f3.x; /* compiled from: Ac4Util */ -public final class m { +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 */ @@ -13,18 +13,18 @@ public final class m { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f999c; + 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.f999c = i5; + this.f892c = i5; } } - public static void a(int i, w wVar) { - wVar.z(7); - byte[] bArr = wVar.a; + public static void a(int i, x xVar) { + xVar.A(7); + byte[] bArr = xVar.a; bArr[0] = -84; bArr[1] = 64; bArr[2] = -1; @@ -43,14 +43,14 @@ public final class m { /* JADX WARNING: Code restructure failed: missing block: B:43:0x009d, code lost: if (r10 != 8) goto L_0x00a0; */ - public static b b(v vVar) { + public static b b(w wVar) { int i; int i2; int g; - int g2 = vVar.g(16); - int g3 = vVar.g(16); + int g2 = wVar.g(16); + int g3 = wVar.g(16); if (g3 == 65535) { - g3 = vVar.g(24); + g3 = wVar.g(24); i = 7; } else { i = 4; @@ -59,24 +59,24 @@ public final class m { if (g2 == 44097) { i3 += 2; } - int g4 = vVar.g(2); + int g4 = wVar.g(2); if (g4 == 3) { int i4 = 0; while (true) { - g = vVar.g(2) + i4; - if (!vVar.f()) { + g = wVar.g(2) + i4; + if (!wVar.f()) { break; } i4 = (g + 1) << 2; } g4 += g; } - int g5 = vVar.g(10); - if (vVar.f() && vVar.g(3) > 0) { - vVar.m(2); + int g5 = wVar.g(10); + if (wVar.f() && wVar.g(3) > 0) { + wVar.m(2); } - int i5 = vVar.f() ? 48000 : 44100; - int g6 = vVar.g(4); + int i5 = wVar.f() ? 48000 : 44100; + int g6 = wVar.g(4); if (i5 == 44100 && g6 == 13) { i2 = a[g6]; } else { 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/v1/r.java b/app/src/main/java/c/i/a/c/t2/s.java similarity index 85% rename from app/src/main/java/c/i/a/c/v1/r.java rename to app/src/main/java/c/i/a/c/t2/s.java index 2b279f6f3a..ef8f6cd430 100644 --- a/app/src/main/java/c/i/a/c/v1/r.java +++ b/app/src/main/java/c/i/a/c/t2/s.java @@ -1,18 +1,18 @@ -package c.i.a.c.v1; +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.i2.f0; +import c.i.a.c.f3.e0; /* compiled from: AudioTimestampPoller */ -public final class r { +public final class s { @Nullable public final a a; public int b; /* renamed from: c reason: collision with root package name */ - public long f1002c; + public long f894c; public long d; public long e; public long f; @@ -24,7 +24,7 @@ public final class r { public final AudioTimestamp b = new AudioTimestamp(); /* renamed from: c reason: collision with root package name */ - public long f1003c; + public long f895c; public long d; public long e; @@ -33,8 +33,8 @@ public final class r { } } - public r(AudioTrack audioTrack) { - if (f0.a >= 19) { + public s(AudioTrack audioTrack) { + if (e0.a >= 19) { this.a = new a(audioTrack); a(); return; @@ -54,7 +54,7 @@ public final class r { if (i == 0) { this.e = 0; this.f = -1; - this.f1002c = System.nanoTime() / 1000; + this.f894c = System.nanoTime() / 1000; this.d = 10000; } else if (i == 1) { this.d = 10000; diff --git a/app/src/main/java/c/i/a/c/v1/s.java b/app/src/main/java/c/i/a/c/t2/t.java similarity index 73% rename from app/src/main/java/c/i/a/c/v1/s.java rename to app/src/main/java/c/i/a/c/t2/t.java index 5ea145b2ae..73dc955ea8 100644 --- a/app/src/main/java/c/i/a/c/v1/s.java +++ b/app/src/main/java/c/i/a/c/t2/t.java @@ -1,13 +1,13 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import android.media.AudioTrack; import android.os.SystemClock; import androidx.annotation.Nullable; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; import java.lang.reflect.Method; import java.util.Objects; /* compiled from: AudioTrackPositionTracker */ -public final class s { +public final class t { public long A; public long B; public long C; @@ -19,11 +19,11 @@ public final class s { @Nullable /* renamed from: c reason: collision with root package name */ - public AudioTrack f1004c; + public AudioTrack f896c; public int d; public int e; @Nullable - public r f; + public s f; public int g; public boolean h; public long i; @@ -39,20 +39,20 @@ public final class s { public long r; /* renamed from: s reason: collision with root package name */ - public long f1005s; + 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 f1006x; + public long f898x; /* renamed from: y reason: collision with root package name */ - public long f1007y; + public long f899y; /* renamed from: z reason: collision with root package name */ - public long f1008z; + public long f900z; /* compiled from: AudioTrackPositionTracker */ public interface a { @@ -67,9 +67,9 @@ public final class s { void e(long j, long j2, long j3, long j4); } - public s(a aVar) { + public t(a aVar) { this.a = aVar; - if (f0.a >= 18) { + if (e0.a >= 18) { try { this.n = AudioTrack.class.getMethod("getLatency", null); } catch (NoSuchMethodException unused) { @@ -83,10 +83,10 @@ public final class s { } public final long b() { - AudioTrack audioTrack = this.f1004c; + AudioTrack audioTrack = this.f896c; Objects.requireNonNull(audioTrack); - if (this.f1006x != -9223372036854775807L) { - return Math.min(this.A, this.f1008z + ((((SystemClock.elapsedRealtime() * 1000) - this.f1006x) * ((long) this.g)) / 1000000)); + 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) { @@ -95,23 +95,23 @@ public final class s { long playbackHeadPosition = 4294967295L & ((long) audioTrack.getPlaybackHeadPosition()); if (this.h) { if (playState == 2 && playbackHeadPosition == 0) { - this.u = this.f1005s; + this.u = this.f897s; } playbackHeadPosition += this.u; } - if (f0.a <= 29) { - if (playbackHeadPosition == 0 && this.f1005s > 0 && playState == 3) { - if (this.f1007y == -9223372036854775807L) { - this.f1007y = SystemClock.elapsedRealtime(); + if (e0.a <= 29) { + if (playbackHeadPosition == 0 && this.f897s > 0 && playState == 3) { + if (this.f899y == -9223372036854775807L) { + this.f899y = SystemClock.elapsedRealtime(); } - return this.f1005s; + return this.f897s; } - this.f1007y = -9223372036854775807L; + this.f899y = -9223372036854775807L; } - if (this.f1005s > playbackHeadPosition) { + if (this.f897s > playbackHeadPosition) { this.t++; } - this.f1005s = playbackHeadPosition; + this.f897s = playbackHeadPosition; return playbackHeadPosition + (this.t << 32); } @@ -120,7 +120,7 @@ public final class s { boolean z2; if (j <= b()) { if (this.h) { - AudioTrack audioTrack = this.f1004c; + AudioTrack audioTrack = this.f896c; Objects.requireNonNull(audioTrack); if (audioTrack.getPlayState() == 2 && b() == 0) { z2 = true; @@ -144,33 +144,33 @@ public final class s { this.C = 0; this.F = 0; this.k = false; - this.f1004c = null; + this.f896c = 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; + 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.f1004c = audioTrack; + this.f896c = audioTrack; this.d = i2; this.e = i3; - this.f = new r(audioTrack); + this.f = new s(audioTrack); this.g = audioTrack.getSampleRate(); boolean z3 = true; if (z2) { } z3 = false; this.h = z3; - boolean z4 = f0.z(i); + boolean z4 = e0.z(i); this.q = z4; this.i = z4 ? a((long) (i3 / i2)) : -9223372036854775807L; - this.f1005s = 0; + this.f897s = 0; this.t = 0; this.u = 0; this.p = false; - this.f1006x = -9223372036854775807L; - this.f1007y = -9223372036854775807L; + 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/v1/t.java b/app/src/main/java/c/i/a/c/t2/u.java similarity index 66% rename from app/src/main/java/c/i/a/c/v1/t.java rename to app/src/main/java/c/i/a/c/t2/u.java index 38032207b5..ca7eeaf14e 100644 --- a/app/src/main/java/c/i/a/c/v1/t.java +++ b/app/src/main/java/c/i/a/c/t2/u.java @@ -1,12 +1,12 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; import androidx.annotation.Nullable; /* compiled from: AuxEffectInfo */ -public final class t { +public final class u { public final int a; public final float b; - public t(int i, float f) { + public u(int i, float f) { this.a = i; this.b = f; } @@ -15,11 +15,11 @@ public final class t { if (this == obj) { return true; } - if (obj == null || t.class != obj.getClass()) { + if (obj == null || u.class != obj.getClass()) { return false; } - t tVar = (t) obj; - return this.a == tVar.a && Float.compare(tVar.b, this.b) == 0; + u uVar = (u) obj; + return this.a == uVar.a && Float.compare(uVar.b, this.b) == 0; } public int hashCode() { diff --git a/app/src/main/java/c/i/a/c/v1/u.java b/app/src/main/java/c/i/a/c/t2/v.java similarity index 92% rename from app/src/main/java/c/i/a/c/v1/u.java rename to app/src/main/java/c/i/a/c/t2/v.java index 7808c4cf1c..788b1aa7ce 100644 --- a/app/src/main/java/c/i/a/c/v1/u.java +++ b/app/src/main/java/c/i/a/c/t2/v.java @@ -1,22 +1,22 @@ -package c.i.a.c.v1; +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 u implements AudioProcessor { +public abstract class v implements AudioProcessor { public AudioProcessor.a b; /* renamed from: c reason: collision with root package name */ - public AudioProcessor.a f1009c; + public AudioProcessor.a f901c; public AudioProcessor.a d; public AudioProcessor.a e; public ByteBuffer f; public ByteBuffer g; public boolean h; - public u() { + public v() { ByteBuffer byteBuffer = AudioProcessor.a; this.f = byteBuffer; this.g = byteBuffer; @@ -24,7 +24,7 @@ public abstract class u implements AudioProcessor { this.d = aVar; this.e = aVar; this.b = aVar; - this.f1009c = aVar; + this.f901c = aVar; } @Override // com.google.android.exoplayer2.audio.AudioProcessor @@ -58,7 +58,7 @@ public abstract class u implements AudioProcessor { this.g = AudioProcessor.a; this.h = false; this.b = this.d; - this.f1009c = this.e; + this.f901c = this.e; g(); } @@ -98,7 +98,7 @@ public abstract class u implements AudioProcessor { this.d = aVar; this.e = aVar; this.b = aVar; - this.f1009c = aVar; + this.f901c = 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/t2/w.java similarity index 87% rename from app/src/main/java/c/i/a/c/v1/v.java rename to app/src/main/java/c/i/a/c/t2/w.java index 1ab9b23216..0bb613ef4b 100644 --- a/app/src/main/java/c/i/a/c/v1/v.java +++ b/app/src/main/java/c/i/a/c/t2/w.java @@ -1,11 +1,11 @@ -package c.i.a.c.v1; +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 v extends u { +public final class w extends v { @Nullable public int[] i; @Nullable @@ -17,7 +17,7 @@ public final class v extends u { Objects.requireNonNull(iArr); int position = byteBuffer.position(); int limit = byteBuffer.limit(); - ByteBuffer j = j(((limit - position) / this.b.e) * this.f1009c.e); + 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)); @@ -28,18 +28,18 @@ public final class v extends u { j.flip(); } - @Override // c.i.a.c.v1.u + @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.f2284c != iArr.length; + boolean z2 = aVar.f2305c != iArr.length; int i = 0; while (i < iArr.length) { int i2 = iArr[i]; - if (i2 < aVar.f2284c) { + if (i2 < aVar.f2305c) { z2 |= i2 != i; i++; } else { @@ -51,12 +51,12 @@ public final class v extends u { throw new AudioProcessor.UnhandledAudioFormatException(aVar); } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v public void g() { this.j = this.i; } - @Override // c.i.a.c.v1.u + @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/v1/w.java b/app/src/main/java/c/i/a/c/t2/x.java similarity index 55% rename from app/src/main/java/c/i/a/c/v1/w.java rename to app/src/main/java/c/i/a/c/t2/x.java index 0968ee32c1..e1aacd7490 100644 --- a/app/src/main/java/c/i/a/c/v1/w.java +++ b/app/src/main/java/c/i/a/c/t2/x.java @@ -1,9 +1,9 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; /* compiled from: DtsUtil */ -public final class w { +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[] f1010c = {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}; + 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/v1/x.java b/app/src/main/java/c/i/a/c/t2/y.java similarity index 92% rename from app/src/main/java/c/i/a/c/v1/x.java rename to app/src/main/java/c/i/a/c/t2/y.java index 365de650a1..6aa5180418 100644 --- a/app/src/main/java/c/i/a/c/v1/x.java +++ b/app/src/main/java/c/i/a/c/t2/y.java @@ -1,10 +1,10 @@ -package c.i.a.c.v1; +package c.i.a.c.t2; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; import com.google.android.exoplayer2.audio.AudioProcessor; import java.nio.ByteBuffer; /* compiled from: FloatResamplingAudioProcessor */ -public final class x extends u { +public final class y extends v { public static final int i = Float.floatToIntBits(Float.NaN); public static void k(int i2, ByteBuffer byteBuffer) { @@ -41,11 +41,11 @@ public final class x extends u { byteBuffer2.flip(); } - @Override // c.i.a.c.v1.u + @Override // c.i.a.c.t2.v 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.f2284c, 4) : AudioProcessor.a.a; + if (e0.y(i2)) { + return i2 != 4 ? new AudioProcessor.a(aVar.b, aVar.f2305c, 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 e73afddf77..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 f963c = 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.f816c == 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.f963c.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.f963c = 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.f816c) { - 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.f963c.get(aVar); - if (aVar != null && r1Var != null) { - return Z(r1Var, r1Var.h(aVar.a, this.j).f958c, 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.f963c.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/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 783707ca90..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 f965c; - 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.f965c = 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 9e6544bab0..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 f966c; - - public /* synthetic */ h(d1.a aVar, TrackGroupArray trackGroupArray, k kVar) { - this.a = aVar; - this.b = trackGroupArray; - this.f966c = 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 aebf2c19e1..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 f967c; - - public /* synthetic */ i0(d1.a aVar, r rVar, u uVar) { - this.a = aVar; - this.b = rVar; - this.f967c = 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 c997b9e0e2..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 f968c; - 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.f968c = 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 d36b9592d6..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 f969c; - public final /* synthetic */ long d; - - public /* synthetic */ k(d1.a aVar, int i, long j, long j2) { - this.a = aVar; - this.b = i; - this.f969c = 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 d9edbc2d38..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 f970c; - - public /* synthetic */ l0(d1.a aVar, Format format, e eVar) { - this.a = aVar; - this.b = format; - this.f970c = 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 8ee534cea7..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 f971c; - - public /* synthetic */ m(d1.a aVar, String str, long j) { - this.a = aVar; - this.b = str; - this.f971c = 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 b4b9bcc055..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 f972c; - - public /* synthetic */ m0(d1.a aVar, Format format, e eVar) { - this.a = aVar; - this.b = format; - this.f972c = 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 b912dfab13..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 f973c; - - public /* synthetic */ n(d1.a aVar, int i, int i2) { - this.a = aVar; - this.b = i; - this.f973c = 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 ebd57a397e..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 f974c; - - public /* synthetic */ n0(d1.a aVar, r rVar, u uVar) { - this.a = aVar; - this.b = rVar; - this.f974c = 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 268383b5c1..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 f975c; - - public /* synthetic */ o(d1.a aVar, v0 v0Var, int i) { - this.a = aVar; - this.b = v0Var; - this.f975c = 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 c00f166209..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 f976c; - - public /* synthetic */ o0(d1.a aVar, long j, int i) { - this.a = aVar; - this.b = j; - this.f976c = 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 e2216bcf84..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 f977c; - - public /* synthetic */ s0(d1.a aVar, boolean z2, int i) { - this.a = aVar; - this.b = z2; - this.f977c = 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 3620a740d8..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 f978c; - - public /* synthetic */ t0(d1.a aVar, boolean z2, int i) { - this.a = aVar; - this.b = z2; - this.f978c = 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 fc1ab7138d..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 f979c; - - public /* synthetic */ v0(d1.a aVar, String str, long j) { - this.a = aVar; - this.b = str; - this.f979c = 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 20f0dd7258..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 f980c; - - public /* synthetic */ w(d1.a aVar, r rVar, u uVar) { - this.a = aVar; - this.b = rVar; - this.f980c = 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 0fcefff220..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 f981c; - - public /* synthetic */ z(d1.a aVar, int i, long j) { - this.a = aVar; - this.b = i; - this.f981c = 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 e6e0be0051..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 f982c; - public final /* synthetic */ long d; - - public /* synthetic */ z0(d1.a aVar, int i, long j, long j2) { - this.a = aVar; - this.b = i; - this.f982c = 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/w1/a.java b/app/src/main/java/c/i/a/c/u2/a.java similarity index 90% rename from app/src/main/java/c/i/a/c/w1/a.java rename to app/src/main/java/c/i/a/c/u2/a.java index df57483bd8..5e668d527e 100644 --- a/app/src/main/java/c/i/a/c/w1/a.java +++ b/app/src/main/java/c/i/a/c/u2/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.w1; +package c.i.a.c.u2; import android.database.sqlite.SQLiteDatabase; /* compiled from: DatabaseProvider */ 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 3d9614f3d4..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,347 +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 f983c; - 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 f984c; - 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; - public List r = Collections.emptyList(); - @Nullable - - /* renamed from: s reason: collision with root package name */ - public Uri f985s; - @Nullable - public Object t; - @Nullable - public Object u; - @Nullable - public w0 v; - public long w = -9223372036854775807L; - - /* renamed from: x reason: collision with root package name */ - public long f986x = -9223372036854775807L; - - /* renamed from: y reason: collision with root package name */ - public long f987y = -9223372036854775807L; - - /* renamed from: z reason: collision with root package name */ - public float f988z = -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.f984c; - 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.f985s; - g gVar2 = new g(uri, str, eVar, uri2 != null ? new b(uri2, this.t, null) : null, this.p, this.q, this.r, 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.w, this.f986x, this.f987y, this.f988z, 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 f989c; - 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.f989c = 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.f989c == dVar.f989c && 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.f989c ? 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 f990c; - 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.f990c = 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.f990c, eVar.f990c) && 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.f990c.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 f991c; - 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.f991c = 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.f991c == fVar.f991c && this.d == fVar.d && this.e == fVar.e; - } - - public int hashCode() { - long j = this.a; - long j2 = this.b; - long j3 = this.f991c; - 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 f992c; - @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.f992c = 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.f992c, gVar.f992c) && 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.f992c; - 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.f983c = 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.f983c, v0Var.f983c) && 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.f983c.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/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/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/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/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/n.java b/app/src/main/java/c/i/a/c/v1/n.java deleted file mode 100644 index 0a60a9db06..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 f1000c; - 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.f1000c = 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.f1000c).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.f1000c == nVar.f1000c && this.d == nVar.d && this.e == nVar.e; - } - - public int hashCode() { - return ((((((527 + this.b) * 31) + this.f1000c) * 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 4a185e731e..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[] f1001c; - public final int d; - - public o(@Nullable int[] iArr, int i) { - if (iArr != null) { - int[] copyOf = Arrays.copyOf(iArr, iArr.length); - this.f1001c = copyOf; - Arrays.sort(copyOf); - } else { - this.f1001c = new int[0]; - } - this.d = i; - } - - public boolean a(int i) { - return Arrays.binarySearch(this.f1001c, 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.f1001c, oVar.f1001c) && this.d == oVar.d; - } - - public int hashCode() { - return (Arrays.hashCode(this.f1001c) * 31) + this.d; - } - - public String toString() { - StringBuilder O = a.O("AudioCapabilities[maxChannelCount="); - O.append(this.d); - O.append(", supportedEncodings="); - O.append(Arrays.toString(this.f1001c)); - 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/y.java b/app/src/main/java/c/i/a/c/v1/y.java deleted file mode 100644 index 6478a71f83..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.f910c)) { - String str2 = f0.b; - if (str2.startsWith("zeroflte") || str2.startsWith("herolte") || str2.startsWith("heroqlte")) { - z2 = true; - this.T0 = z2; - String str3 = sVar.f776c; - 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.f2281x = i3; - bVar.f2282y = i4; - bVar.f2283z = 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.f776c; - 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 r = "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.f2283z = r; - bVar.A = format.J; - bVar.B = format.K; - bVar.f2281x = mediaFormat.getInteger("channel-count"); - bVar.f2282y = 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.f2281x = i2; - bVar.f2282y = i3; - bVar.f2283z = 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/x1/a.java b/app/src/main/java/c/i/a/c/v2/a.java similarity index 96% rename from app/src/main/java/c/i/a/c/x1/a.java rename to app/src/main/java/c/i/a/c/v2/a.java index 04ce66e09f..b5dd8e81d7 100644 --- a/app/src/main/java/c/i/a/c/x1/a.java +++ b/app/src/main/java/c/i/a/c/v2/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.x1; +package c.i.a.c.v2; /* compiled from: Buffer */ public abstract class a { public int i; 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/x1/b.java b/app/src/main/java/c/i/a/c/v2/c.java similarity index 67% rename from app/src/main/java/c/i/a/c/x1/b.java rename to app/src/main/java/c/i/a/c/v2/c.java index 65e29be830..7e4ff84994 100644 --- a/app/src/main/java/c/i/a/c/x1/b.java +++ b/app/src/main/java/c/i/a/c/v2/c.java @@ -1,18 +1,18 @@ -package c.i.a.c.x1; +package c.i.a.c.v2; import android.media.MediaCodec; import androidx.annotation.Nullable; import androidx.annotation.RequiresApi; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; /* compiled from: CryptoInfo */ -public final class b { +public final class c { @Nullable public byte[] a; @Nullable public byte[] b; /* renamed from: c reason: collision with root package name */ - public int f1014c; + public int f907c; @Nullable public int[] d; @Nullable @@ -22,23 +22,22 @@ public final class b { public int h; public final MediaCodec.CryptoInfo i; @Nullable - public final C0099b j; + public final b 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 static final class b { public final MediaCodec.CryptoInfo a; public final MediaCodec.CryptoInfo.Pattern b = new MediaCodec.CryptoInfo.Pattern(0, 0); - public C0099b(MediaCodec.CryptoInfo cryptoInfo, a aVar) { + public b(MediaCodec.CryptoInfo cryptoInfo, a aVar) { this.a = cryptoInfo; } } - public b() { + public c() { MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo(); this.i = cryptoInfo; - this.j = f0.a >= 24 ? new C0099b(cryptoInfo, null) : null; + this.j = e0.a >= 24 ? new b(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/v2/d.java similarity index 80% rename from app/src/main/java/c/i/a/c/x1/c.java rename to app/src/main/java/c/i/a/c/v2/d.java index f54236cfed..33613f1d38 100644 --- a/app/src/main/java/c/i/a/c/x1/c.java +++ b/app/src/main/java/c/i/a/c/v2/d.java @@ -1,9 +1,9 @@ -package c.i.a.c.x1; +package c.i.a.c.v2; import androidx.annotation.Nullable; import com.google.android.exoplayer2.decoder.DecoderException; /* compiled from: Decoder */ -public interface c { +public interface d { @Nullable O b() throws DecoderException; diff --git a/app/src/main/java/c/i/a/c/x1/d.java b/app/src/main/java/c/i/a/c/v2/e.java similarity index 81% rename from app/src/main/java/c/i/a/c/x1/d.java rename to app/src/main/java/c/i/a/c/v2/e.java index d4dd4f8868..3539352f91 100644 --- a/app/src/main/java/c/i/a/c/x1/d.java +++ b/app/src/main/java/c/i/a/c/v2/e.java @@ -1,11 +1,11 @@ -package c.i.a.c.x1; +package c.i.a.c.v2; /* compiled from: DecoderCounters */ -public final class d { +public final class e { public int a; public int b; /* renamed from: c reason: collision with root package name */ - public int f1015c; + public int f908c; public int d; public int e; public int f; diff --git a/app/src/main/java/c/i/a/c/x1/f.java b/app/src/main/java/c/i/a/c/v2/f.java similarity index 53% rename from app/src/main/java/c/i/a/c/x1/f.java rename to app/src/main/java/c/i/a/c/v2/f.java index 7da7820bf0..d4ea6f96c7 100644 --- a/app/src/main/java/c/i/a/c/x1/f.java +++ b/app/src/main/java/c/i/a/c/v2/f.java @@ -1,11 +1,10 @@ -package c.i.a.c.x1; -/* compiled from: OutputBuffer */ +package c.i.a.c.v2; +/* compiled from: DecoderOutputBuffer */ public abstract class f extends a { public long j; - /* compiled from: OutputBuffer */ + /* compiled from: DecoderOutputBuffer */ public interface a { - void a(S s2); } public abstract void p(); diff --git a/app/src/main/java/c/i/a/c/x1/e.java b/app/src/main/java/c/i/a/c/v2/g.java similarity index 54% rename from app/src/main/java/c/i/a/c/x1/e.java rename to app/src/main/java/c/i/a/c/v2/g.java index feee09f64e..98ecfcec3e 100644 --- a/app/src/main/java/c/i/a/c/x1/e.java +++ b/app/src/main/java/c/i/a/c/v2/g.java @@ -1,28 +1,28 @@ -package c.i.a.c.x1; +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 com.google.android.exoplayer2.Format; +import c.i.a.c.j1; import java.util.Objects; /* compiled from: DecoderReuseEvaluation */ -public final class e { +public final class g { public final String a; - public final Format b; + public final j1 b; /* renamed from: c reason: collision with root package name */ - public final Format f1016c; + public final j1 f909c; 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); + 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(format); - this.b = format; - this.f1016c = format2; + Objects.requireNonNull(j1Var); + this.b = j1Var; + this.f909c = j1Var2; this.d = i; this.e = i2; return; @@ -34,15 +34,15 @@ public final class e { if (this == obj) { return true; } - if (obj == null || e.class != obj.getClass()) { + if (obj == null || g.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.f1016c.equals(eVar.f1016c); + 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.f1016c.hashCode() + ((this.b.hashCode() + m) * 31); + return this.f909c.hashCode() + ((this.b.hashCode() + m) * 31); } } diff --git a/app/src/main/java/c/i/a/c/x1/g.java b/app/src/main/java/c/i/a/c/v2/h.java similarity index 84% rename from app/src/main/java/c/i/a/c/x1/g.java rename to app/src/main/java/c/i/a/c/v2/h.java index 643528f88b..6ac122401b 100644 --- a/app/src/main/java/c/i/a/c/x1/g.java +++ b/app/src/main/java/c/i/a/c/v2/h.java @@ -1,29 +1,31 @@ -package c.i.a.c.x1; +package c.i.a.c.v2; 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 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 g implements c { +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 f1017c = new ArrayDeque<>(); + 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; @@ -37,34 +39,34 @@ public abstract class g */ /* JADX WARN: Multi-variable type inference failed */ - @Override // c.i.a.c.x1.c + @Override // c.i.a.c.v2.d 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.f1017c.addLast(decoderInputBuffer); + d.j(decoderInputBuffer == this.i); + this.f910c.addLast(decoderInputBuffer); g(); this.i = null; } @@ -123,7 +125,7 @@ public abstract class g 0) { + if (!this.f910c.isEmpty() && this.h > 0) { break; } this.b.wait(); @@ -131,7 +133,7 @@ public abstract class g 0) { + if (!this.f910c.isEmpty() && this.h > 0) { this.b.notify(); } } @@ -219,7 +221,7 @@ public abstract class g { + 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/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/z1/a.java b/app/src/main/java/c/i/a/c/w2/a.java similarity index 61% rename from app/src/main/java/c/i/a/c/z1/a.java rename to app/src/main/java/c/i/a/c/w2/a.java index 76d646c321..0d3adc039f 100644 --- a/app/src/main/java/c/i/a/c/z1/a.java +++ b/app/src/main/java/c/i/a/c/w2/a.java @@ -1,13 +1,13 @@ -package c.i.a.c.z1; +package c.i.a.c.w2; -import c.i.a.c.i2.k; -import c.i.a.c.z1.q; +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.i2.k + @Override // c.i.a.c.f3.k public final void accept(Object obj) { - ((q.a) obj).f(); + ((s.a) obj).b(); } } diff --git a/app/src/main/java/c/i/a/c/z1/x.java b/app/src/main/java/c/i/a/c/w2/a0.java similarity index 84% rename from app/src/main/java/c/i/a/c/z1/x.java rename to app/src/main/java/c/i/a/c/w2/a0.java index a9659232a9..7f8aed9ba4 100644 --- a/app/src/main/java/c/i/a/c/z1/x.java +++ b/app/src/main/java/c/i/a/c/w2/a0.java @@ -1,4 +1,4 @@ -package c.i.a.c.z1; +package c.i.a.c.w2; import android.media.DeniedByServerException; import android.media.MediaCryptoException; @@ -11,7 +11,7 @@ import java.util.List; import java.util.Map; import java.util.UUID; /* compiled from: ExoMediaDrm */ -public interface x { +public interface a0 { /* compiled from: ExoMediaDrm */ public static final class a { @@ -30,7 +30,7 @@ public interface x { /* compiled from: ExoMediaDrm */ public interface c { - x a(UUID uuid); + a0 a(UUID uuid); } /* compiled from: ExoMediaDrm */ @@ -44,15 +44,15 @@ public interface x { } } - Class a(); + Map a(byte[] bArr); - Map b(byte[] bArr); + d b(); - w c(byte[] bArr) throws MediaCryptoException; + c.i.a.c.v2.b c(byte[] bArr) throws MediaCryptoException; - d d(); + byte[] d() throws MediaDrmException; - byte[] e() throws MediaDrmException; + boolean e(byte[] bArr, String str); void f(byte[] bArr, byte[] bArr2); @@ -67,5 +67,7 @@ public interface x { 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/z1/y.java b/app/src/main/java/c/i/a/c/w2/b0.java similarity index 57% rename from app/src/main/java/c/i/a/c/z1/y.java rename to app/src/main/java/c/i/a/c/w2/b0.java index a3eb80538f..1af0a7abd1 100644 --- a/app/src/main/java/c/i/a/c/z1/y.java +++ b/app/src/main/java/c/i/a/c/w2/b0.java @@ -1,20 +1,21 @@ -package c.i.a.c.z1; +package c.i.a.c.w2; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; +import c.i.a.c.v2.b; import java.util.UUID; -/* compiled from: FrameworkMediaCrypto */ -public final class y implements w { +/* 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[] f1024c; + public final byte[] f913c; public final boolean d; static { boolean z2; - if ("Amazon".equals(f0.f910c)) { - String str = f0.d; + if ("Amazon".equals(e0.f782c)) { + String str = e0.d; if ("AFTM".equals(str) || "AFTB".equals(str)) { z2 = true; a = z2; @@ -24,9 +25,9 @@ public final class y implements w { a = z2; } - public y(UUID uuid, byte[] bArr, boolean z2) { + public b0(UUID uuid, byte[] bArr, boolean z2) { this.b = uuid; - this.f1024c = bArr; + 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/z1/z.java b/app/src/main/java/c/i/a/c/w2/c0.java similarity index 60% rename from app/src/main/java/c/i/a/c/z1/z.java rename to app/src/main/java/c/i/a/c/w2/c0.java index cc8ddc3f00..8f3f90c73d 100644 --- a/app/src/main/java/c/i/a/c/z1/z.java +++ b/app/src/main/java/c/i/a/c/w2/c0.java @@ -1,6 +1,8 @@ -package c.i.a.c.z1; +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; @@ -8,15 +10,16 @@ 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.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.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; @@ -33,80 +36,101 @@ import org.json.JSONException; import org.json.JSONObject; /* compiled from: FrameworkMediaDrm */ @RequiresApi(18) -public final class z implements x { +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 f1025c; + public final MediaDrm f914c; public int d; - public z(UUID uuid) throws UnsupportedSchemeException { + /* 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.n(!h0.b.equals(uuid), "Use C.CLEARKEY_UUID instead"); + d.m(!x0.b.equals(uuid), "Use C.CLEARKEY_UUID instead"); this.b = uuid; - MediaDrm mediaDrm = new MediaDrm((f0.a >= 27 || !h0.f884c.equals(uuid)) ? uuid : uuid2); - this.f1025c = mediaDrm; + MediaDrm mediaDrm = new MediaDrm((e0.a >= 27 || !x0.f918c.equals(uuid)) ? uuid : uuid2); + this.f914c = mediaDrm; this.d = 1; - if (h0.d.equals(uuid) && "ASUS_Z00AD".equals(f0.d)) { + if (x0.d.equals(uuid) && "ASUS_Z00AD".equals(e0.d)) { mediaDrm.setPropertyString("securityLevel", "L3"); } } - @Override // c.i.a.c.z1.x - public Class a() { - return y.class; + @Override // c.i.a.c.w2.a0 + public Map a(byte[] bArr) { + return this.f914c.queryKeyStatus(bArr); } - @Override // c.i.a.c.z1.x - public Map b(byte[] bArr) { - return this.f1025c.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.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.f1025c.getPropertyString("securityLevel")); + @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 && h0.f884c.equals(uuid)) { - uuid = h0.b; + if (i < 27 && x0.f918c.equals(uuid)) { + uuid = x0.b; } - return new y(uuid, bArr, z2); + return new b0(uuid, bArr, z2); } - @Override // c.i.a.c.z1.x - public x.d d() { - MediaDrm.ProvisionRequest provisionRequest = this.f1025c.getProvisionRequest(); - return new x.d(provisionRequest.getData(), provisionRequest.getDefaultUrl()); + @Override // c.i.a.c.w2.a0 + public byte[] d() throws MediaDrmException { + return this.f914c.openSession(); } - @Override // c.i.a.c.z1.x - public byte[] e() throws MediaDrmException { - return this.f1025c.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.z1.x + @Override // c.i.a.c.w2.a0 public void f(byte[] bArr, byte[] bArr2) { - this.f1025c.restoreKeys(bArr, bArr2); + this.f914c.restoreKeys(bArr, bArr2); } - @Override // c.i.a.c.z1.x + @Override // c.i.a.c.w2.a0 public void g(byte[] bArr) { - this.f1025c.closeSession(bArr); + this.f914c.closeSession(bArr); } - @Override // c.i.a.c.z1.x - public void h(@Nullable x.b bVar) { - this.f1025c.setOnEventListener(new m(this, bVar)); + @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.z1.x + @Override // c.i.a.c.w2.a0 @Nullable public byte[] i(byte[] bArr, byte[] bArr2) throws NotProvisionedException, DeniedByServerException { - if (h0.f884c.equals(this.b) && f0.a < 27) { + if (x0.f918c.equals(this.b) && e0.a < 27) { try { - JSONObject jSONObject = new JSONObject(f0.l(bArr2)); + 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++) { @@ -123,29 +147,29 @@ public final class z implements x { sb.append("\"}"); } sb.append("]}"); - bArr2 = f0.w(sb.toString()); + bArr2 = e0.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); + 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.f1025c.provideKeyResponse(bArr, bArr2); + return this.f914c.provideKeyResponse(bArr, bArr2); } - @Override // c.i.a.c.z1.x + @Override // c.i.a.c.w2.a0 public void j(byte[] bArr) throws DeniedByServerException { - this.f1025c.provideProvisionResponse(bArr); + this.f914c.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:85:0x0204, code lost: + if ("AFTT".equals(r5) == false) goto L_0x020d; */ - /* JADX WARNING: Code restructure failed: missing block: B:87:0x0210, code lost: - if (r1 != null) goto L_0x0214; + /* JADX WARNING: Code restructure failed: missing block: B:87:0x020a, code lost: + if (r1 != null) goto L_0x020e; */ - @Override // c.i.a.c.z1.x - public x.a k(byte[] bArr, @Nullable List list, int i, @Nullable HashMap hashMap) throws NotProvisionedException { + @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; @@ -153,10 +177,10 @@ public final class z implements x { boolean z2; DrmInitData.SchemeData schemeData2 = null; if (list != null) { - if (!h0.d.equals(this.b)) { + if (!x0.d.equals(this.b)) { schemeData = list.get(0); } else { - if (f0.a >= 28 && list.size() > 1) { + if (e0.a >= 28 && list.size() > 1) { DrmInitData.SchemeData schemeData3 = list.get(0); int i2 = 0; int i3 = 0; @@ -168,10 +192,10 @@ public final class z implements x { 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))) { + if (!(e0.a(schemeData4.l, schemeData3.l) && e0.a(schemeData4.k, schemeData3.k))) { break; } - if (!(d.v1(bArr4) != null)) { + if (!(d.t1(bArr4) != null)) { break; } i3 += bArr4.length; @@ -195,9 +219,9 @@ public final class z implements x { 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; + 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; @@ -209,11 +233,11 @@ public final class z implements x { UUID uuid = this.b; byte[] bArr8 = schemeData2.m; Objects.requireNonNull(bArr8); - UUID uuid2 = h0.e; + UUID uuid2 = x0.e; if (uuid2.equals(uuid)) { - byte[] w1 = d.w1(bArr8, uuid); - if (w1 != null) { - bArr8 = w1; + 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)); @@ -227,15 +251,17 @@ public final class z implements x { 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); + 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) (str3.length() * 2)); - allocate.put(str3.getBytes(charset)); + allocate.putShort((short) (j.length() * 2)); + allocate.put(j.getBytes(charset)); bArr8 = allocate.array(); } } else { @@ -254,33 +280,33 @@ public final class z implements x { } bArr8 = allocate2.array(); } - int i12 = f0.a; - if (i12 >= 23 || !h0.d.equals(uuid)) { - if (uuid2.equals(uuid) && "Amazon".equals(f0.f910c)) { - String str4 = f0.d; - if (!"AFTB".equals(str4)) { - if (!"AFTS".equals(str4)) { - if (!"AFTM".equals(str4)) { + 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 str5 = schemeData2.l; + String str4 = schemeData2.l; bArr2 = bArr3; - str = (i12 >= 26 || !h0.f884c.equals(uuid3) || (!"video/mp4".equals(str5) && !"audio/mp4".equals(str5))) ? str5 : "cenc"; + str = (i12 >= 26 || !x0.f918c.equals(uuid3) || (!"video/mp4".equals(str4) && !"audio/mp4".equals(str4))) ? str4 : "cenc"; } - bArr3 = d.w1(bArr8, uuid); + bArr3 = d.u1(bArr8, uuid); } else { bArr2 = null; str = null; } - MediaDrm.KeyRequest keyRequest = this.f1025c.getKeyRequest(bArr, bArr2, str, i, hashMap); + MediaDrm.KeyRequest keyRequest = this.f914c.getKeyRequest(bArr, bArr2, str, i, hashMap); UUID uuid4 = this.b; byte[] data = keyRequest.getData(); - if (h0.f884c.equals(uuid4) && f0.a < 27) { - data = f0.w(f0.l(data).replace('+', '-').replace(MentionUtilsKt.SLASH_CHAR, '_')); + 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)) { @@ -289,15 +315,20 @@ public final class z implements x { 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); + return new a0.a(data, defaultUrl, e0.a >= 23 ? keyRequest.getRequestType() : Integer.MIN_VALUE); } - @Override // c.i.a.c.z1.x + @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.f1025c.release(); + 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..eb5176d5c0 --- /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.f2321c; + 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..27f4653121 --- /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.f2321c = 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/z1/d.java b/app/src/main/java/c/i/a/c/w2/f.java similarity index 66% rename from app/src/main/java/c/i/a/c/z1/d.java rename to app/src/main/java/c/i/a/c/w2/f.java index cdc94b8afc..9210796b24 100644 --- a/app/src/main/java/c/i/a/c/z1/d.java +++ b/app/src/main/java/c/i/a/c/w2/f.java @@ -1,11 +1,11 @@ -package c.i.a.c.z1; +package c.i.a.c.w2; import com.google.android.exoplayer2.drm.DefaultDrmSession; /* compiled from: lambda */ -public final /* synthetic */ class d implements Runnable { +public final /* synthetic */ class f implements Runnable { public final /* synthetic */ DefaultDrmSession i; - public /* synthetic */ d(DefaultDrmSession defaultDrmSession) { + public /* synthetic */ f(DefaultDrmSession defaultDrmSession) { this.i = defaultDrmSession; } 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/z1/m.java b/app/src/main/java/c/i/a/c/w2/o.java similarity index 57% rename from app/src/main/java/c/i/a/c/z1/m.java rename to app/src/main/java/c/i/a/c/w2/o.java index 4ad592fc6b..7e74372601 100644 --- a/app/src/main/java/c/i/a/c/z1/m.java +++ b/app/src/main/java/c/i/a/c/w2/o.java @@ -1,25 +1,25 @@ -package c.i.a.c.z1; +package c.i.a.c.w2; import android.media.MediaDrm; -import c.i.a.c.z1.x; +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 m implements MediaDrm.OnEventListener { - public final /* synthetic */ z a; - public final /* synthetic */ x.b b; +public final /* synthetic */ class o implements MediaDrm.OnEventListener { + public final /* synthetic */ c0 a; + public final /* synthetic */ a0.b b; - public /* synthetic */ m(z zVar, x.b bVar) { - this.a = zVar; + 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) { - z zVar = this.a; - x.b bVar = this.b; - Objects.requireNonNull(zVar); - DefaultDrmSessionManager.c cVar = DefaultDrmSessionManager.this.f2299x; + c0 c0Var = this.a; + a0.b bVar = this.b; + Objects.requireNonNull(c0Var); + DefaultDrmSessionManager.c cVar = DefaultDrmSessionManager.this.f2320x; 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/z1/p.java b/app/src/main/java/c/i/a/c/w2/r.java similarity index 53% rename from app/src/main/java/c/i/a/c/z1/p.java rename to app/src/main/java/c/i/a/c/w2/r.java index 88dad947c8..96d9cbbbb7 100644 --- a/app/src/main/java/c/i/a/c/z1/p.java +++ b/app/src/main/java/c/i/a/c/w2/r.java @@ -1,14 +1,15 @@ -package c.i.a.c.z1; +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.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 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; @@ -16,49 +17,51 @@ import java.util.Map; import java.util.Objects; import java.util.UUID; /* compiled from: DefaultDrmSessionManagerProvider */ -public final class p implements t { +public final class r { public final Object a = new Object(); @GuardedBy("lock") - public v0.e b; + public o1.f b; @GuardedBy("lock") /* renamed from: c reason: collision with root package name */ - public s f1022c; + public u f916c; @RequiresApi(18) - public final s a(v0.e eVar) { - q.b bVar = new q.b(); + public final u a(o1.f fVar) { + r.b bVar = new r.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.f990c.entrySet()) { - String key = entry.getKey(); - String value = entry.getValue(); + 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 (a0Var.d) { - a0Var.d.put(key, value); + synchronized (d0Var.d) { + d0Var.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; + 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 = eVar.d; - boolean z3 = eVar.e; - int[] l0 = c.l0(eVar.g); - for (int i2 : l0) { + 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.k(z4); + d.j(z4); } - DefaultDrmSessionManager defaultDrmSessionManager = new DefaultDrmSessionManager(uuid2, lVar, a0Var, hashMap, z2, (int[]) l0.clone(), z3, rVar, 300000, null); - byte[] bArr = eVar.h; + 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; 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/z1/u.java b/app/src/main/java/c/i/a/c/w2/y.java similarity index 50% rename from app/src/main/java/c/i/a/c/z1/u.java rename to app/src/main/java/c/i/a/c/w2/y.java index ce053e7456..39d8e33345 100644 --- a/app/src/main/java/c/i/a/c/z1/u.java +++ b/app/src/main/java/c/i/a/c/w2/y.java @@ -1,71 +1,77 @@ -package c.i.a.c.z1; +package c.i.a.c.w2; import android.media.MediaDrmException; import androidx.annotation.Nullable; import androidx.annotation.RequiresApi; -import c.i.a.c.z1.x; +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 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) { +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.z1.x - public w c(byte[] bArr) { + @Override // c.i.a.c.w2.a0 + public a0.d b() { throw new IllegalStateException(); } - @Override // c.i.a.c.z1.x - public x.d d() { + @Override // c.i.a.c.w2.a0 + public b c(byte[] bArr) { throw new IllegalStateException(); } - @Override // c.i.a.c.z1.x - public byte[] e() throws MediaDrmException { + @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.z1.x + @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.z1.x + @Override // c.i.a.c.w2.a0 public void g(byte[] bArr) { } - @Override // c.i.a.c.z1.x - public void h(@Nullable x.b bVar) { + @Override // c.i.a.c.w2.a0 + public void h(@Nullable a0.b bVar) { } - @Override // c.i.a.c.z1.x + @Override // c.i.a.c.w2.a0 @Nullable public byte[] i(byte[] bArr, byte[] bArr2) { throw new IllegalStateException(); } - @Override // c.i.a.c.z1.x + @Override // c.i.a.c.w2.a0 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) { + @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.z1.x + @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/z1/v.java b/app/src/main/java/c/i/a/c/w2/z.java similarity index 70% rename from app/src/main/java/c/i/a/c/z1/v.java rename to app/src/main/java/c/i/a/c/w2/z.java index 6d9f60303e..88a020a296 100644 --- a/app/src/main/java/c/i/a/c/z1/v.java +++ b/app/src/main/java/c/i/a/c/w2/z.java @@ -1,29 +1,30 @@ -package c.i.a.c.z1; +package c.i.a.c.w2; import androidx.annotation.Nullable; -import c.i.a.c.h0; -import c.i.a.c.z1.q; +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 v implements DrmSession { +public final class z implements DrmSession { public final DrmSession.DrmSessionException a; - public v(DrmSession.DrmSessionException drmSessionException) { + public z(DrmSession.DrmSessionException drmSessionException) { this.a = drmSessionException; } @Override // com.google.android.exoplayer2.drm.DrmSession - public void a(@Nullable q.a aVar) { + public void a(@Nullable s.a aVar) { } @Override // com.google.android.exoplayer2.drm.DrmSession - public void b(@Nullable q.a aVar) { + public void b(@Nullable s.a aVar) { } @Override // com.google.android.exoplayer2.drm.DrmSession public final UUID c() { - return h0.a; + return x0.a; } @Override // com.google.android.exoplayer2.drm.DrmSession @@ -32,9 +33,8 @@ public final class v implements DrmSession { } @Override // com.google.android.exoplayer2.drm.DrmSession - @Nullable - public w e() { - return null; + public boolean e(String str) { + return false; } @Override // com.google.android.exoplayer2.drm.DrmSession @@ -43,6 +43,12 @@ public final class v implements DrmSession { 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 46c93e3c54..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[] f1013c; - 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.f1013c = 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.f767c.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.f769c.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.f1013c; - 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.f870c, this.h, this.f1013c, zArr, j); - f0[] f0VarArr2 = this.f1013c; - 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.f1013c; - 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.f870c[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.f870c[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.f870c[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.f870c; - 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/a2/a.java b/app/src/main/java/c/i/a/c/x2/a.java similarity index 82% rename from app/src/main/java/c/i/a/c/a2/a.java rename to app/src/main/java/c/i/a/c/x2/a.java index ae3e965070..a5afa90621 100644 --- a/app/src/main/java/c/i/a/c/a2/a.java +++ b/app/src/main/java/c/i/a/c/x2/a.java @@ -1,54 +1,54 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import androidx.annotation.Nullable; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; +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 C0086a a; + public final C0095a a; public final f b; @Nullable /* renamed from: c reason: collision with root package name */ - public c f647c; + public c f919c; 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 { + /* 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 f648c; + public final long f920c; 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) { + public C0095a(d dVar, long j, long j2, long j3, long j4, long j5, long j6) { this.a = dVar; this.b = j; - this.f648c = j2; + this.f920c = j2; this.d = j3; this.e = j4; this.f = j5; this.g = j6; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return true; } - @Override // c.i.a.c.a2.t + @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.f648c, this.d, this.e, this.f, this.g))); + 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.a2.t + @Override // c.i.a.c.x2.t public long i() { return this.b; } @@ -56,7 +56,7 @@ public abstract class a { /* compiled from: BinarySearchSeeker */ public static final class b implements d { - @Override // c.i.a.c.a2.a.d + @Override // c.i.a.c.x2.a.d public long a(long j) { return j; } @@ -68,7 +68,7 @@ public abstract class a { public final long b; /* renamed from: c reason: collision with root package name */ - public final long f649c; + public final long f921c; public long d; public long e; public long f; @@ -82,7 +82,7 @@ public abstract class a { this.e = j4; this.f = j5; this.g = j6; - this.f649c = j7; + this.f921c = j7; this.h = a(j2, j3, j4, j5, j6, j7); } @@ -91,7 +91,7 @@ public abstract class a { 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); + return e0.i(((j7 + j4) - j6) - (j7 / 20), j4, j5 - 1); } } @@ -106,12 +106,12 @@ public abstract class a { public final int b; /* renamed from: c reason: collision with root package name */ - public final long f650c; + public final long f922c; public final long d; public e(int i, long j, long j2) { this.b = i; - this.f650c = j; + this.f922c = j; this.d = j2; } @@ -138,12 +138,12 @@ public abstract class a { 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); + 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.f647c; + c cVar = this.f919c; c.c.a.a0.d.H(cVar); long j = cVar.f; long j2 = cVar.g; @@ -161,17 +161,17 @@ public abstract class a { c(false, j3); return d(iVar, j3, sVar); } else if (i == -2) { - long j4 = b2.f650c; + 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.f649c); + cVar.h = c.a(cVar.b, j4, cVar.e, j5, cVar.g, cVar.f921c); } else if (i == -1) { - long j6 = b2.f650c; + 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.f649c); + 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); @@ -184,11 +184,11 @@ public abstract class a { } public final boolean b() { - return this.f647c != null; + return this.f919c != null; } public final void c(boolean z2, long j) { - this.f647c = null; + this.f919c = null; this.b.a(); } @@ -201,11 +201,11 @@ public abstract class a { } public final void e(long j) { - c cVar = this.f647c; + c cVar = this.f919c; if (cVar == null || cVar.a != j) { long a = this.a.a.a(j); - C0086a aVar = this.a; - this.f647c = new c(j, a, aVar.f648c, aVar.d, aVar.e, aVar.f, aVar.g); + C0095a aVar = this.a; + this.f919c = new c(j, a, aVar.f920c, aVar.d, aVar.e, aVar.f, aVar.g); } } 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/a2/b.java b/app/src/main/java/c/i/a/c/x2/b.java similarity index 75% rename from app/src/main/java/c/i/a/c/a2/b.java rename to app/src/main/java/c/i/a/c/x2/b.java index 868816b24a..816f6d1abc 100644 --- a/app/src/main/java/c/i/a/c/a2/b.java +++ b/app/src/main/java/c/i/a/c/x2/b.java @@ -1,6 +1,6 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; -import c.i.a.c.a2.a; +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/a2/a0.java b/app/src/main/java/c/i/a/c/x2/b0.java similarity index 72% rename from app/src/main/java/c/i/a/c/a2/a0.java rename to app/src/main/java/c/i/a/c/x2/b0.java index e8215b90c6..b93c06be7b 100644 --- a/app/src/main/java/c/i/a/c/a2/a0.java +++ b/app/src/main/java/c/i/a/c/x2/b0.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; /* compiled from: VorbisUtil */ -public final class a0 { +public final class b0 { public final int a; public final int b; /* renamed from: c reason: collision with root package name */ - public final int f651c; + public final int f923c; 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) { + 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.f651c = i4; + this.f923c = i4; this.d = i5; this.e = i7; this.f = i8; diff --git a/app/src/main/java/c/i/a/c/a2/c.java b/app/src/main/java/c/i/a/c/x2/c.java similarity index 54% rename from app/src/main/java/c/i/a/c/a2/c.java rename to app/src/main/java/c/i/a/c/x2/c.java index 994a38e9f9..452fd5c298 100644 --- a/app/src/main/java/c/i/a/c/a2/c.java +++ b/app/src/main/java/c/i/a/c/x2/c.java @@ -1,8 +1,8 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import c.d.b.a.a; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; +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 { @@ -10,14 +10,14 @@ public final class c implements t { public final int[] b; /* renamed from: c reason: collision with root package name */ - public final long[] f654c; + 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.f654c = jArr; + this.f924c = jArr; this.d = jArr2; this.e = jArr3; int length = iArr.length; @@ -29,17 +29,17 @@ public final class c implements t { } } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return true; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public t.a h(long j) { - int e = f0.e(this.e, j, true, true); + int e = e0.e(this.e, j, true, true); long[] jArr = this.e; long j2 = jArr[e]; - long[] jArr2 = this.f654c; + long[] jArr2 = this.f924c; u uVar = new u(j2, jArr2[e]); if (j2 >= j || e == this.a - 1) { return new t.a(uVar); @@ -48,23 +48,26 @@ public final class c implements t { return new t.a(uVar, new u(jArr[i], jArr2[i])); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.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.f654c)); - O.append(", timeUs="); - O.append(Arrays.toString(this.e)); - O.append(", durationsUs="); - O.append(Arrays.toString(this.d)); - O.append(")"); - return O.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/a2/b0/a.java b/app/src/main/java/c/i/a/c/x2/c0/a.java similarity index 63% rename from app/src/main/java/c/i/a/c/a2/b0/a.java rename to app/src/main/java/c/i/a/c/x2/c0/a.java index af85965ed7..e34861b806 100644 --- a/app/src/main/java/c/i/a/c/a2/b0/a.java +++ b/app/src/main/java/c/i/a/c/x2/c0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.b0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { - return new h[]{new b()}; + return new h[]{new b(0)}; } - @Override // c.i.a.c.a2.l + @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/a2/d.java b/app/src/main/java/c/i/a/c/x2/d.java similarity index 52% rename from app/src/main/java/c/i/a/c/a2/d.java rename to app/src/main/java/c/i/a/c/x2/d.java index 1cacbc9a2d..ccbca3e49a 100644 --- a/app/src/main/java/c/i/a/c/a2/d.java +++ b/app/src/main/java/c/i/a/c/x2/d.java @@ -1,23 +1,24 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; +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 f657c; + 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) { + public d(long j, long j2, int i, int i2, boolean z2) { this.a = j; this.b = j2; - this.f657c = i2 == -1 ? 1 : i2; + this.f927c = i2 == -1 ? 1 : i2; this.e = i; + this.g = z2; if (j == -1) { this.d = -1; this.f = -9223372036854775807L; @@ -35,32 +36,36 @@ public class d implements t { return e(j, this.b, this.e); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { - return this.d != -1; + return this.d != -1 || this.g; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public t.a h(long j) { long j2 = this.d; - if (j2 == -1) { + if (j2 == -1 && !this.g) { return new t.a(new u(0, this.b)); } - long j3 = (long) this.f657c; - 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.f657c; - if (((long) i2) + i < this.a) { - long j4 = i + ((long) i2); - return new t.a(uVar, new u(b(j4), j4)); + 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.a2.t + @Override // c.i.a.c.x2.t public long i() { return this.f; } diff --git a/app/src/main/java/c/i/a/c/a2/c0/a.java b/app/src/main/java/c/i/a/c/x2/d0/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/c0/a.java rename to app/src/main/java/c/i/a/c/x2/d0/a.java index e5f7501328..f1e48f6468 100644 --- a/app/src/main/java/c/i/a/c/a2/c0/a.java +++ b/app/src/main/java/c/i/a/c/x2/d0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.c0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new d(0)}; } - @Override // c.i.a.c.a2.l + @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/a2/c0/b.java b/app/src/main/java/c/i/a/c/x2/d0/b.java similarity index 72% rename from app/src/main/java/c/i/a/c/a2/c0/b.java rename to app/src/main/java/c/i/a/c/x2/d0/b.java index 3cf931c0c1..dd4322698b 100644 --- a/app/src/main/java/c/i/a/c/a2/c0/b.java +++ b/app/src/main/java/c/i/a/c/x2/d0/b.java @@ -1,7 +1,7 @@ -package c.i.a.c.a2.c0; +package c.i.a.c.x2.d0; -import c.i.a.c.a2.a; -import c.i.a.c.a2.o; +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; @@ -10,7 +10,7 @@ public final /* synthetic */ class b implements a.d { this.a = oVar; } - @Override // c.i.a.c.a2.a.d + @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/a2/c0/c.java b/app/src/main/java/c/i/a/c/x2/d0/c.java similarity index 75% rename from app/src/main/java/c/i/a/c/a2/c0/c.java rename to app/src/main/java/c/i/a/c/x2/d0/c.java index 7052527aa1..df508cb5c4 100644 --- a/app/src/main/java/c/i/a/c/a2/c0/c.java +++ b/app/src/main/java/c/i/a/c/x2/d0/c.java @@ -1,16 +1,16 @@ -package c.i.a.c.a2.c0; +package c.i.a.c.x2.d0; 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 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.a2.a { +public final class c extends c.i.a.c.x2.a { /* compiled from: FlacBinarySearchSeeker */ public static final class b implements a.f { @@ -18,24 +18,24 @@ public final class c extends c.i.a.c.a2.a { public final int b; /* renamed from: c reason: collision with root package name */ - public final m.a f655c = new m.a(); + 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.a2.a.f + @Override // c.i.a.c.x2.a.f public /* synthetic */ void a() { - c.i.a.c.a2.b.a(this); + c.i.a.c.x2.b.a(this); } - @Override // c.i.a.c.a2.a.f + @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.f761c)); + 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); } @@ -44,21 +44,21 @@ public final class c extends c.i.a.c.a2.a { while (iVar.f() < iVar.b() - 6) { o oVar = this.a; int i = this.b; - m.a aVar = this.f655c; + m.a aVar = this.f928c; long f = iVar.f(); byte[] bArr = new byte[2]; boolean z2 = false; - iVar.n(bArr, 0, 2); + iVar.o(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)); + 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(wVar, oVar, i, aVar); + z2 = m.b(xVar, oVar, i, aVar); } if (z2) { break; @@ -66,7 +66,7 @@ public final class c extends c.i.a.c.a2.a { iVar.g(1); } if (iVar.f() < iVar.b() - 6) { - return this.f655c.a; + return this.f928c.a; } iVar.g((int) (iVar.b() - iVar.f())); return this.a.j; @@ -75,7 +75,7 @@ public final class c extends c.i.a.c.a2.a { /* 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.f761c)); + super(r1, r2, r3, 0, r7, j, j2, r5 + r9, Math.max(6, oVar.f1033c)); long j3; long j4; Objects.requireNonNull(oVar); @@ -85,7 +85,7 @@ public final class c extends c.i.a.c.a2.a { long j5 = oVar.j; int i2 = oVar.d; if (i2 > 0) { - j4 = (((long) i2) + ((long) oVar.f761c)) / 2; + j4 = (((long) i2) + ((long) oVar.f1033c)) / 2; j3 = 1; } else { int i3 = oVar.a; diff --git a/app/src/main/java/c/i/a/c/a2/c0/d.java b/app/src/main/java/c/i/a/c/x2/d0/d.java similarity index 55% rename from app/src/main/java/c/i/a/c/a2/c0/d.java rename to app/src/main/java/c/i/a/c/x2/d0/d.java index cee47a9bfb..377ec2514c 100644 --- a/app/src/main/java/c/i/a/c/a2/c0/d.java +++ b/app/src/main/java/c/i/a/c/x2/d0/d.java @@ -1,17 +1,17 @@ -package c.i.a.c.a2.c0; +package c.i.a.c.x2.d0; 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.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; @@ -23,13 +23,13 @@ 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); + public final x b = new x(new byte[32768], 0); /* renamed from: c reason: collision with root package name */ - public final boolean f656c; + public final boolean f929c; public final m.a d; public j e; - public c.i.a.c.a2.w f; + public w f; public int g; @Nullable public Metadata h; @@ -45,30 +45,30 @@ public final class d implements h { } public d(int i) { - this.f656c = (i & 1) == 0 ? false : true; + 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 = f0.a; + int i = e0.a; this.f.d((this.n * 1000000) / ((long) oVar.e), 1, this.m, 0, null); } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public boolean b(i iVar) throws IOException { - c.c.a.a0.d.y1(iVar, false); + c.c.a.a0.d.w1(iVar, false); byte[] bArr = new byte[4]; - iVar.n(bArr, 0, 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 r26v0, resolved type: c.i.a.c.a2.i */ - /* JADX DEBUG: Multi-variable search result rejected for r6v26, resolved type: boolean */ + /* 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.a2.h + @Override // c.i.a.c.x2.h public int e(i iVar, s sVar) throws IOException { boolean z2; o oVar; @@ -81,29 +81,28 @@ public final class d implements h { if (i == 0) { iVar.k(); long f = iVar.f(); - Metadata y1 = c.c.a.a0.d.y1(iVar, !this.f656c); + Metadata w1 = c.c.a.a0.d.w1(iVar, !this.f929c); iVar.l((int) (iVar.f() - f)); - this.h = y1; + this.h = w1; this.g = 1; return 0; } else if (i != 1) { - int i2 = 24; - int i3 = 4; - int i4 = 3; + int i2 = 4; + int i3 = 3; if (i != 2) { - int i5 = 7; + int i4 = 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.o(bArr, 0, 2); + int i5 = (bArr[1] & 255) | ((bArr[0] & 255) << 8); + if ((i5 >> 2) == 16382) { iVar.k(); - this.k = i6; + this.k = i5; j jVar = this.e; - int i7 = f0.a; + int i6 = e0.a; long position = iVar.getPosition(); long b = iVar.b(); Objects.requireNonNull(this.i); @@ -122,7 +121,7 @@ public final class d implements h { return 0; } iVar.k(); - throw new ParserException("First frame does not start with sync code."); + throw ParserException.a("First frame does not start with sync code.", null); } else if (i == 5) { Objects.requireNonNull(this.f); Objects.requireNonNull(this.i); @@ -135,21 +134,21 @@ public final class d implements h { iVar.k(); iVar.g(1); byte[] bArr2 = new byte[1]; - iVar.n(bArr2, 0, 1); + iVar.o(bArr2, 0, 1); boolean z5 = (bArr2[0] & 1) == 1; iVar.g(2); if (!z5) { - i5 = 6; + i4 = 6; } - w wVar = new w(i5); - wVar.C(c.c.a.a0.d.z1(iVar, wVar.a, 0, i5)); + x xVar = new x(i4); + xVar.D(c.c.a.a0.d.x1(iVar, xVar.a, 0, i4)); iVar.k(); try { - long y2 = wVar.y(); + long z6 = xVar.z(); if (!z5) { - y2 *= (long) oVar3.b; + z6 *= (long) oVar3.b; } - j2 = y2; + j2 = z6; } catch (NumberFormatException unused) { z4 = false; } @@ -157,17 +156,17 @@ public final class d implements h { this.n = j2; return 0; } - throw new ParserException(); + throw ParserException.a(null, null); } - w wVar2 = this.b; - int i8 = wVar2.f919c; - if (i8 < 32768) { - int read = iVar.read(wVar2.a, i8, 32768 - i8); + 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.C(i8 + read); + this.b.D(i7 + read); } else if (this.b.a() == 0) { a(); return -1; @@ -175,60 +174,60 @@ public final class d implements h { } 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())); + 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())); } - w wVar4 = this.b; + x xVar4 = this.b; Objects.requireNonNull(this.i); - int i12 = wVar4.b; + int i11 = xVar4.b; while (true) { - if (i12 <= wVar4.f919c - 16) { - wVar4.D(i12); - if (m.b(wVar4, this.i, this.k, this.d)) { - wVar4.D(i12); + 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; } - i12++; + i11++; } else { if (z4) { while (true) { - int i13 = wVar4.f919c; - if (i12 > i13 - this.j) { - wVar4.D(i13); + int i12 = xVar4.f792c; + if (i11 > i12 - this.j) { + xVar4.E(i12); break; } - wVar4.D(i12); + xVar4.E(i11); try { - z3 = m.b(wVar4, this.i, this.k, this.d); + z3 = m.b(xVar4, this.i, this.k, this.d); } catch (IndexOutOfBoundsException unused2) { z3 = false; } - if (wVar4.b > wVar4.f919c) { + if (xVar4.b > xVar4.f792c) { z3 = false; } if (z3) { - wVar4.D(i12); + xVar4.E(i11); j = this.d.a; break; } - i12++; + i11++; } } else { - wVar4.D(i12); + xVar4.E(i11); } j = -1; } } - w wVar5 = this.b; - int i14 = wVar5.b - i9; - wVar5.D(i9); - this.f.c(this.b, i14); - this.m += i14; + 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; @@ -238,100 +237,98 @@ public final class d implements h { 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); + 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 z6 = false; - while (!z6) { + boolean z7 = false; + while (!z7) { iVar.k(); - v vVar = new v(new byte[i3]); - byte[] bArr4 = vVar.a; + 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; - 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; + 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, i3); + oVar4 = new o(bArr5, i2); } 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) { + x xVar7 = new x(g2); + iVar.readFully(xVar7.a, r4, g2); + oVar4 = oVar4.b(c.c.a.a0.d.J1(xVar7)); } 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.f761c, 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()))); + if (g == i2) { + x xVar8 = new x(g2); + iVar.readFully(xVar8.a, r4, g2); + xVar8.F(i2); 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.f761c, 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))))); + 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; - iVar.l(g2); - int i18 = f0.a; - this.i = oVar4; - z6 = z2; - r4 = 0; - i2 = 24; - i3 = 4; - i4 = 3; - i5 = 7; + 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 i18 = f0.a; + int i17 = e0.a; this.i = oVar4; - z6 = z2; + z7 = z2; r4 = 0; - i2 = 24; - i3 = 4; - i4 = 3; - i5 = 7; + i2 = 4; + i3 = 3; + i4 = 7; } z2 = f2; - int i18 = f0.a; + int i17 = e0.a; this.i = oVar4; - z6 = z2; + z7 = z2; r4 = 0; - i2 = 24; - i3 = 4; - i4 = 3; - i5 = 7; + i2 = 4; + i3 = 3; + i4 = 7; } Objects.requireNonNull(this.i); - this.j = Math.max(this.i.f761c, 6); - c.i.a.c.a2.w wVar10 = this.f; - int i19 = f0.a; - wVar10.e(this.i.e(this.a, this.h)); + 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; } @@ -342,25 +339,25 @@ public final class d implements h { this.g = 3; return 0; } - throw new ParserException("Failed to read FLAC stream marker."); + throw ParserException.a("Failed to read FLAC stream marker.", null); } } else { byte[] bArr8 = this.a; - iVar.n(bArr8, 0, bArr8.length); + iVar.o(bArr8, 0, bArr8.length); iVar.k(); this.g = 2; return 0; } } - @Override // c.i.a.c.a2.h + @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.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { long j3 = 0; if (j == 0) { @@ -376,10 +373,10 @@ public final class d implements h { } this.n = j3; this.m = 0; - this.b.z(0); + this.b.A(0); } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void release() { } } diff --git a/app/src/main/java/c/i/a/c/a2/e.java b/app/src/main/java/c/i/a/c/x2/e.java similarity index 81% rename from app/src/main/java/c/i/a/c/a2/e.java rename to app/src/main/java/c/i/a/c/x2/e.java index 0f64343008..0175fdfc09 100644 --- a/app/src/main/java/c/i/a/c/a2/e.java +++ b/app/src/main/java/c/i/a/c/x2/e.java @@ -1,7 +1,8 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; -import c.i.a.c.h2.f; -import c.i.a.c.i2.f0; +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; @@ -9,27 +10,31 @@ import java.util.Arrays; /* compiled from: DefaultExtractorInput */ public final class e implements i { public final byte[] a = new byte[4096]; - public final f b; + public final h b; /* renamed from: c reason: collision with root package name */ - public final long f662c; + public final long f930c; 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; + static { + i1.a("goog.exo.extractor"); + } + + public e(h hVar, long j, long j2) { + this.b = hVar; this.d = j; - this.f662c = j2; + this.f930c = j2; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public long b() { - return this.f662c; + return this.f930c; } - @Override // c.i.a.c.a2.i + @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; @@ -48,31 +53,31 @@ public final class e implements i { return i5 != -1; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public boolean e(byte[] bArr, int i, int i2, boolean z2) throws IOException { - if (!o(i2, z2)) { + if (!m(i2, z2)) { return false; } System.arraycopy(this.e, this.f - i2, bArr, i, i2); return true; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public long f() { return this.d + ((long) this.f); } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public void g(int i) throws IOException { - o(i, false); + m(i, false); } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public long getPosition() { return this.d; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public int h(int i) throws IOException { int min = Math.min(this.g, i); s(min); @@ -84,7 +89,7 @@ public final class e implements i { return min; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public int i(byte[] bArr, int i, int i2) throws IOException { int i3; q(i2); @@ -105,12 +110,12 @@ public final class e implements i { return i3; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public void k() { this.f = 0; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public void l(int i) throws IOException { int min = Math.min(this.g, i); s(min); @@ -121,12 +126,8 @@ public final class e implements i { 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 { + @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) { @@ -140,6 +141,11 @@ public final class e implements 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; @@ -150,7 +156,7 @@ public final class e implements 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)); + this.e = Arrays.copyOf(this.e, e0.h(bArr.length * 2, 65536 + i2, i2 + 524288)); } } @@ -168,7 +174,7 @@ public final class e implements i { throw new InterruptedIOException(); } - @Override // c.i.a.c.a2.i, c.i.a.c.h2.f + @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; @@ -185,7 +191,7 @@ public final class e implements i { return i4; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public void readFully(byte[] bArr, int i, int i2) throws IOException { c(bArr, i, i2, false); } diff --git a/app/src/main/java/c/i/a/c/a2/d0/a.java b/app/src/main/java/c/i/a/c/x2/e0/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/d0/a.java rename to app/src/main/java/c/i/a/c/x2/e0/a.java index 4fee6eb7cf..a27cc224e7 100644 --- a/app/src/main/java/c/i/a/c/a2/d0/a.java +++ b/app/src/main/java/c/i/a/c/x2/e0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.d0; +package c.i.a.c.x2.e0; 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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new c()}; } - @Override // c.i.a.c.a2.l + @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/a2/d0/b.java b/app/src/main/java/c/i/a/c/x2/e0/b.java similarity index 53% rename from app/src/main/java/c/i/a/c/a2/d0/b.java rename to app/src/main/java/c/i/a/c/x2/e0/b.java index 851d128449..7a29aa1bd1 100644 --- a/app/src/main/java/c/i/a/c/a2/d0/b.java +++ b/app/src/main/java/c/i/a/c/x2/e0/b.java @@ -1,10 +1,10 @@ -package c.i.a.c.a2.d0; +package c.i.a.c.x2.e0; 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 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; @@ -13,7 +13,7 @@ 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 f658c; + public boolean f931c; public boolean d; public int e; @@ -22,68 +22,66 @@ public final class b extends TagPayloadReader { } @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean b(c.i.a.c.i2.w wVar) throws TagPayloadReader.UnsupportedFormatException { - if (!this.f658c) { - int s2 = wVar.s(); - int i = (s2 >> 4) & 15; + 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[(s2 >> 2) & 3]; - Format.b bVar = new Format.b(); + int i2 = b[(t >> 2) & 3]; + j1.b bVar = new j1.b(); bVar.k = "audio/mpeg"; - bVar.f2281x = 1; - bVar.f2282y = i2; + 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"; - Format.b bVar2 = new Format.b(); + j1.b bVar2 = new j1.b(); bVar2.k = str; - bVar2.f2281x = 1; - bVar2.f2282y = 8000; + bVar2.f825x = 1; + bVar2.f826y = 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()); + throw new TagPayloadReader.UnsupportedFormatException(a.f(39, "Audio format not supported: ", this.e)); } - this.f658c = true; + this.f931c = true; } else { - wVar.E(1); + xVar.F(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 { + public boolean c(x xVar, long j) throws ParserException { if (this.e == 2) { - int a = wVar.a(); - this.a.c(wVar, a); + int a = xVar.a(); + this.a.c(xVar, a); this.a.d(j, 1, a, 0, null); return true; } - int s2 = wVar.s(); - if (s2 == 0 && !this.d) { - int a2 = wVar.a(); + int t = xVar.t(); + if (t == 0 && !this.d) { + int a2 = xVar.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(); + 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 = c2.f997c; - bVar.f2281x = c2.b; - bVar.f2282y = c2.a; + 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 && s2 != 1) { + } else if (this.e == 10 && t != 1) { return false; } else { - int a3 = wVar.a(); - this.a.c(wVar, a3); + 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/a2/d0/c.java b/app/src/main/java/c/i/a/c/x2/e0/c.java similarity index 73% rename from app/src/main/java/c/i/a/c/a2/d0/c.java rename to app/src/main/java/c/i/a/c/x2/e0/c.java index daf1f60050..6c3ecd177d 100644 --- a/app/src/main/java/c/i/a/c/a2/d0/c.java +++ b/app/src/main/java/c/i/a/c/x2/e0/c.java @@ -1,23 +1,23 @@ -package c.i.a.c.a2.d0; +package c.i.a.c.x2.e0; 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 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 w a = new w(4); - public final w b = new w(9); + 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 w f659c = new w(11); - public final w d = new w(); + 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; @@ -43,40 +43,40 @@ public final class c implements h { } } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public boolean b(i iVar) throws IOException { - iVar.n(this.a.a, 0, 3); - this.a.D(0); - if (this.a.u() != 4607062) { + iVar.o(this.a.a, 0, 3); + this.a.E(0); + if (this.a.v() != 4607062) { return false; } - iVar.n(this.a.a, 0, 2); - this.a.D(0); - if ((this.a.x() & 250) != 0) { + iVar.o(this.a.a, 0, 2); + this.a.E(0); + if ((this.a.y() & 250) != 0) { return false; } - iVar.n(this.a.a, 0, 4); - this.a.D(0); + iVar.o(this.a.a, 0, 4); + this.a.E(0); int f = this.a.f(); iVar.k(); iVar.g(f); - iVar.n(this.a.a, 0, 4); - this.a.D(0); + iVar.o(this.a.a, 0, 4); + this.a.E(0); return this.a.f() == 0; } - public final w c(i iVar) throws IOException { + public final x c(i iVar) throws IOException { int i = this.l; - w wVar = this.d; - byte[] bArr = wVar.a; + x xVar = this.d; + byte[] bArr = xVar.a; if (i > bArr.length) { - wVar.a = new byte[Math.max(bArr.length * 2, i)]; - wVar.f919c = 0; - wVar.b = 0; + xVar.a = new byte[Math.max(bArr.length * 2, i)]; + xVar.f792c = 0; + xVar.b = 0; } else { - wVar.D(0); + xVar.E(0); } - this.d.C(this.l); + this.d.D(this.l); iVar.readFully(this.d.a, 0, this.l); return this.d; } @@ -85,7 +85,7 @@ public final class c implements h { /* 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 + @Override // c.i.a.c.x2.h public int e(i iVar, s sVar) throws IOException { boolean z2; boolean z3; @@ -95,11 +95,11 @@ public final class c implements h { boolean z4 = false; if (i == 1) { if (iVar.c(this.b.a, 0, 9, true)) { - this.b.D(0); - this.b.E(4); - int s2 = this.b.s(); - boolean z5 = (s2 & 4) != 0; - if ((s2 & 1) != 0) { + 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) { @@ -121,13 +121,13 @@ public final class c implements h { this.j = 0; this.g = 3; } else if (i == 3) { - if (iVar.c(this.f659c.a, 0, 11, true)) { - this.f659c.D(0); - this.k = this.f659c.s(); - this.l = this.f659c.u(); - this.m = (long) this.f659c.u(); - this.m = (((long) (this.f659c.s() << 24)) | this.m) * 1000; - this.f659c.E(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; } @@ -161,7 +161,7 @@ public final class c implements h { d dVar = this.e; long j2 = dVar.b; if (j2 != -9223372036854775807L) { - this.f.a(new r(dVar.d, dVar.f660c, j2)); + this.f.a(new r(dVar.d, dVar.f933c, j2)); this.n = true; } } @@ -178,12 +178,12 @@ public final class c implements h { } } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void f(j jVar) { this.f = jVar; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { if (j == 0) { this.g = 1; @@ -194,7 +194,7 @@ public final class c implements h { this.j = 0; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/e0/d.java similarity index 68% rename from app/src/main/java/c/i/a/c/a2/d0/d.java rename to app/src/main/java/c/i/a/c/x2/e0/d.java index 871dfb7f0c..0e427b879a 100644 --- a/app/src/main/java/c/i/a/c/a2/d0/d.java +++ b/app/src/main/java/c/i/a/c/x2/e0/d.java @@ -1,8 +1,8 @@ -package c.i.a.c.a2.d0; +package c.i.a.c.x2.e0; import androidx.annotation.Nullable; -import c.i.a.c.a2.g; -import c.i.a.c.i2.w; +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; @@ -15,7 +15,7 @@ public final class d extends TagPayloadReader { public long b = -9223372036854775807L; /* renamed from: c reason: collision with root package name */ - public long[] f660c = new long[0]; + public long[] f933c = new long[0]; public long[] d = new long[0]; public d() { @@ -23,40 +23,40 @@ public final class d extends TagPayloadReader { } @Nullable - public static Object d(w wVar, int i) { + public static Object d(x xVar, int i) { if (i == 0) { - return Double.valueOf(Double.longBitsToDouble(wVar.m())); + return Double.valueOf(Double.longBitsToDouble(xVar.m())); } boolean z2 = false; if (i == 1) { - if (wVar.s() == 1) { + if (xVar.t() == 1) { z2 = true; } return Boolean.valueOf(z2); } else if (i == 2) { - return f(wVar); + return f(xVar); } else { if (i == 3) { HashMap hashMap = new HashMap(); while (true) { - String f = f(wVar); - int s2 = wVar.s(); - if (s2 == 9) { + String f = f(xVar); + int t = xVar.t(); + if (t == 9) { return hashMap; } - Object d = d(wVar, s2); + Object d = d(xVar, t); if (d != null) { hashMap.put(f, d); } } } else if (i == 8) { - return e(wVar); + return e(xVar); } 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()); + 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); } @@ -65,20 +65,20 @@ public final class d extends TagPayloadReader { } else if (i != 11) { return null; } else { - Date date = new Date((long) Double.valueOf(Double.longBitsToDouble(wVar.m())).doubleValue()); - wVar.E(2); + Date date = new Date((long) Double.valueOf(Double.longBitsToDouble(xVar.m())).doubleValue()); + xVar.F(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()); + 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); } @@ -86,24 +86,24 @@ public final class d extends TagPayloadReader { 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); + 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(w wVar) { + public boolean b(x xVar) { 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) { + public boolean c(x xVar, long j) { + if (xVar.t() != 2 || !"onMetaData".equals(f(xVar)) || xVar.t() != 8) { return false; } - HashMap e = e(wVar); + HashMap e = e(xVar); Object obj = e.get("duration"); if (obj instanceof Double) { double doubleValue = ((Double) obj).doubleValue(); @@ -120,7 +120,7 @@ public final class d extends TagPayloadReader { List list = (List) obj3; List list2 = (List) obj4; int size = list2.size(); - this.f660c = new long[size]; + this.f933c = new long[size]; this.d = new long[size]; int i = 0; while (true) { @@ -132,11 +132,11 @@ public final class d extends TagPayloadReader { if (!(obj6 instanceof Double) || !(obj5 instanceof Double)) { break; } - this.f660c[i] = (long) (((Double) obj6).doubleValue() * 1000000.0d); + this.f933c[i] = (long) (((Double) obj6).doubleValue() * 1000000.0d); this.d[i] = ((Double) obj5).longValue(); i++; } - this.f660c = new long[0]; + this.f933c = new long[0]; this.d = new long[0]; } } diff --git a/app/src/main/java/c/i/a/c/a2/d0/e.java b/app/src/main/java/c/i/a/c/x2/e0/e.java similarity index 57% rename from app/src/main/java/c/i/a/c/a2/d0/e.java rename to app/src/main/java/c/i/a/c/x2/e0/e.java index f0c05f4363..70542433c9 100644 --- a/app/src/main/java/c/i/a/c/a2/d0/e.java +++ b/app/src/main/java/c/i/a/c/x2/e0/e.java @@ -1,87 +1,88 @@ -package c.i.a.c.a2.d0; +package c.i.a.c.x2.e0; 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 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 w b = new w(u.a); + public final x b = new x(u.a); /* renamed from: c reason: collision with root package name */ - public final w f661c = new w(4); + public final x f934c = new x(4); public int d; public boolean e; public boolean f; public int g; - public e(c.i.a.c.a2.w wVar) { + public e(w wVar) { super(wVar); } @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean b(w wVar) throws TagPayloadReader.UnsupportedFormatException { - int s2 = wVar.s(); - int i = (s2 >> 4) & 15; - int i2 = s2 & 15; + 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.l("Video format not supported: ", i2)); + throw new TagPayloadReader.UnsupportedFormatException(a.f(39, "Video format not supported: ", i2)); } @Override // com.google.android.exoplayer2.extractor.flv.TagPayloadReader - public boolean c(w wVar, long j) throws ParserException { - int s2 = wVar.s(); - byte[] bArr = wVar.a; - int i = wVar.b; + 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; - wVar.b = i2; + xVar.b = i2; int i3 = i2 + 1; - wVar.b = i3; + xVar.b = i3; int i4 = (((bArr[i] & 255) << 24) >> 8) | ((bArr[i2] & 255) << 8); - wVar.b = i3 + 1; + xVar.b = i3 + 1; long j2 = (((long) ((bArr[i3] & 255) | i4)) * 1000) + j; - if (s2 == 0 && !this.e) { - w wVar2 = new w(new byte[wVar.a()]); - wVar.e(wVar2.a, 0, wVar.a()); - j b = j.b(wVar2); + 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; - Format.b bVar = new Format.b(); + j1.b bVar = new j1.b(); bVar.k = "video/avc"; bVar.h = b.f; - bVar.p = b.f924c; + 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 (s2 != 1 || !this.e) { + } 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.f661c.a; + byte[] bArr2 = this.f934c.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.f661c.a, i6, this.d); - this.f661c.D(0); - int v = this.f661c.v(); - this.b.D(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(wVar, v); - i7 = i7 + 4 + v; + this.a.c(xVar, w); + i7 = i7 + 4 + w; } this.a.d(j2, i5, i7, 0, null); this.f = 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/a2/e0/a.java b/app/src/main/java/c/i/a/c/x2/f0/a.java similarity index 79% rename from app/src/main/java/c/i/a/c/a2/e0/a.java rename to app/src/main/java/c/i/a/c/x2/f0/a.java index dbb80d386e..5fdf8806fe 100644 --- a/app/src/main/java/c/i/a/c/a2/e0/a.java +++ b/app/src/main/java/c/i/a/c/x2/f0/a.java @@ -1,17 +1,18 @@ -package c.i.a.c.a2.e0; +package c.i.a.c.x2.f0; 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 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; @@ -20,11 +21,11 @@ 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 final x a = new x(6); public j b; /* renamed from: c reason: collision with root package name */ - public int f663c; + public int f935c; public int d; public int e; public long f = -1; @@ -33,7 +34,7 @@ public final class a implements h { public i h; public c i; @Nullable - public c.i.a.c.a2.h0.i j; + public c.i.a.c.x2.i0.i j; public final void a() { c(new Metadata.Entry[0]); @@ -41,10 +42,10 @@ public final class a implements h { Objects.requireNonNull(jVar); jVar.j(); this.b.a(new t.b(-9223372036854775807L, 0)); - this.f663c = 6; + this.f935c = 6; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public boolean b(i iVar) throws IOException { if (d(iVar) != 65496) { return false; @@ -52,63 +53,64 @@ public final class a implements h { 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.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.z(6); - iVar.n(this.a.a, 0, 6); - return this.a.t() == 1165519206 && this.a.x() == 0; + 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); - c.i.a.c.a2.w p = jVar.p(1024, 4); - Format.b bVar = new Format.b(); + 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.z(2); - iVar.n(this.a.a, 0, 2); - return this.a.x(); + this.a.A(2); + iVar.o(this.a.a, 0, 2); + return this.a.y(); } - @Override // c.i.a.c.a2.h + @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.f663c; + int i2 = this.f935c; if (i2 == 0) { - this.a.z(2); + this.a.A(2); iVar.readFully(this.a.a, 0, 2); - int x2 = this.a.x(); - this.d = x2; - if (x2 == 65498) { + int y2 = this.a.y(); + this.d = y2; + if (y2 == 65498) { if (this.f != -1) { - this.f663c = 4; + this.f935c = 4; } else { a(); } - } else if ((x2 < 65488 || x2 > 65497) && x2 != 65281) { - this.f663c = 1; + } else if ((y2 < 65488 || y2 > 65497) && y2 != 65281) { + this.f935c = 1; } return 0; } else if (i2 == 1) { - this.a.z(2); + this.a.A(2); iVar.readFully(this.a.a, 0, 2); - this.e = this.a.x() - 2; - this.f663c = 2; + this.e = this.a.y() - 2; + this.f935c = 2; return 0; } else if (i2 == 2) { if (this.d == 65505) { @@ -125,7 +127,7 @@ public final class a implements h { while (i < i3 && bArr[i] != 0) { i++; } - str = f0.m(bArr, 0, i + 0); + str = e0.m(bArr, 0, i + 0); if (i < i3) { i++; } @@ -138,7 +140,7 @@ public final class a implements h { while (i4 < i3 && bArr[i4] != 0) { i4++; } - str2 = f0.m(bArr, i, i4 - i); + str2 = e0.m(bArr, i, i4 - i); } if (str2 != null) { long b = iVar.b(); @@ -159,7 +161,7 @@ public final class a implements h { b.a aVar = bVar.b.get(size); z2 |= "video/mp4".equals(aVar.a); if (size == 0) { - j = b - aVar.f664c; + j = b - aVar.f936c; b = 0; } else { long j6 = b - aVar.b; @@ -191,7 +193,7 @@ public final class a implements h { } else { iVar.l(this.e); } - this.f663c = 0; + this.f935c = 0; return 0; } else if (i2 == 4) { long position = iVar.getPosition(); @@ -205,20 +207,20 @@ public final class a implements h { } else { iVar.k(); if (this.j == null) { - this.j = new c.i.a.c.a2.h0.i(0); + 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.a2.h0.i iVar2 = this.j; + c.i.a.c.x2.i0.i iVar2 = this.j; long j8 = this.f; j jVar = this.b; Objects.requireNonNull(jVar); - iVar2.f702s = new d(j8, jVar); + iVar2.f974s = new d(j8, jVar); MotionPhotoMetadata motionPhotoMetadata2 = this.g; Objects.requireNonNull(motionPhotoMetadata2); c(motionPhotoMetadata2); - this.f663c = 5; + this.f935c = 5; } else { a(); } @@ -229,7 +231,7 @@ public final class a implements h { this.h = iVar; this.i = new c(iVar, this.f); } - c.i.a.c.a2.h0.i iVar3 = this.j; + c.i.a.c.x2.i0.i iVar3 = this.j; Objects.requireNonNull(iVar3); int e = iVar3.e(this.i, sVar); if (e == 1) { @@ -243,26 +245,26 @@ public final class a implements h { } } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void f(j jVar) { this.b = jVar; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { if (j == 0) { - this.f663c = 0; + this.f935c = 0; this.j = null; - } else if (this.f663c == 5) { - c.i.a.c.a2.h0.i iVar = this.j; + } 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.a2.h + @Override // c.i.a.c.x2.h public void release() { - c.i.a.c.a2.h0.i iVar = this.j; + 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/a2/e0/b.java b/app/src/main/java/c/i/a/c/x2/f0/b.java similarity index 87% rename from app/src/main/java/c/i/a/c/a2/e0/b.java rename to app/src/main/java/c/i/a/c/x2/f0/b.java index ab033e55ef..80b90cd81a 100644 --- a/app/src/main/java/c/i/a/c/a2/e0/b.java +++ b/app/src/main/java/c/i/a/c/x2/f0/b.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.e0; +package c.i.a.c.x2.f0; import java.util.List; /* compiled from: MotionPhotoDescription */ @@ -12,12 +12,12 @@ public final class b { public final long b; /* renamed from: c reason: collision with root package name */ - public final long f664c; + public final long f936c; public a(String str, String str2, long j, long j2) { this.a = str; this.b = j; - this.f664c = j2; + this.f936c = j2; } } diff --git a/app/src/main/java/c/i/a/c/a2/e0/c.java b/app/src/main/java/c/i/a/c/x2/f0/c.java similarity index 63% rename from app/src/main/java/c/i/a/c/a2/e0/c.java rename to app/src/main/java/c/i/a/c/x2/f0/c.java index e9f957b05b..33335e4bcc 100644 --- a/app/src/main/java/c/i/a/c/a2/e0/c.java +++ b/app/src/main/java/c/i/a/c/x2/f0/c.java @@ -1,7 +1,7 @@ -package c.i.a.c.a2.e0; +package c.i.a.c.x2.f0; import c.c.a.a0.d; -import c.i.a.c.a2.i; +import c.i.a.c.x2.i; /* compiled from: StartOffsetExtractorInput */ public final class c implements i { public final i a; @@ -9,71 +9,76 @@ public final class c implements i { public c(i iVar, long j) { this.a = iVar; - d.k(iVar.getPosition() >= j); + d.j(iVar.getPosition() >= j); this.b = j; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public long b() { return this.a.b() - this.b; } - @Override // c.i.a.c.a2.i + @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.a2.i + @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.a2.i + @Override // c.i.a.c.x2.i public long f() { return this.a.f() - this.b; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public void g(int i) { this.a.g(i); } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public long getPosition() { return this.a.getPosition() - this.b; } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.i public int h(int i) { return this.a.h(i); } - @Override // c.i.a.c.a2.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.a2.i + @Override // c.i.a.c.x2.i public void k() { this.a.k(); } - @Override // c.i.a.c.a2.i + @Override // c.i.a.c.x2.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.x2.i + public boolean m(int i, boolean z2) { + return this.a.m(i, z2); } - @Override // c.i.a.c.a2.i, c.i.a.c.h2.f + @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.a2.i + @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/a2/e0/d.java b/app/src/main/java/c/i/a/c/x2/f0/d.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/e0/d.java rename to app/src/main/java/c/i/a/c/x2/f0/d.java index 05265c9ed5..e590e3b256 100644 --- a/app/src/main/java/c/i/a/c/a2/e0/d.java +++ b/app/src/main/java/c/i/a/c/x2/f0/d.java @@ -1,9 +1,9 @@ -package c.i.a.c.a2.e0; +package c.i.a.c.x2.f0; -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; +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; @@ -17,24 +17,24 @@ public final class d implements j { this.a = tVar; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return this.a.c(); } - @Override // c.i.a.c.a2.t + @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.f764c; + 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.f764c + j4)); + return new t.a(uVar2, new u(uVar3.b, uVar3.f1036c + j4)); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public long i() { return this.a.i(); } @@ -45,17 +45,17 @@ public final class d implements j { this.j = jVar; } - @Override // c.i.a.c.a2.j + @Override // c.i.a.c.x2.j public void a(t tVar) { this.j.a(new a(tVar)); } - @Override // c.i.a.c.a2.j + @Override // c.i.a.c.x2.j public void j() { this.j.j(); } - @Override // c.i.a.c.a2.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/a2/e0/e.java b/app/src/main/java/c/i/a/c/x2/f0/e.java similarity index 56% rename from app/src/main/java/c/i/a/c/a2/e0/e.java rename to app/src/main/java/c/i/a/c/x2/f0/e.java index b61abf8f00..6f260e3702 100644 --- a/app/src/main/java/c/i/a/c/a2/e0/e.java +++ b/app/src/main/java/c/i/a/c/x2/f0/e.java @@ -1,13 +1,13 @@ -package c.i.a.c.a2.e0; +package c.i.a.c.x2.f0; 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.a.c.x2.f0.b; +import c.i.a.f.e.o.f; 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 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; @@ -21,7 +21,7 @@ public final class e { 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[] f665c = {"Camera:MicroVideoOffset", "GCamera:MicroVideoOffset"}; + 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; @@ -36,13 +36,13 @@ public final class e { 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; + if (d.X0(newPullParser, "x:xmpmeta")) { + a aVar = p.j; + p pVar = h0.k; long j2 = -9223372036854775807L; do { newPullParser.next(); - if (d.b1(newPullParser, "rdf:Description")) { + if (d.X0(newPullParser, "rdf:Description")) { String[] strArr = a; int length = strArr.length; int i = 0; @@ -50,10 +50,10 @@ public final class e { if (i >= length) { break; } - String t0 = d.t0(newPullParser, strArr[i]); - if (t0 == null) { + String q0 = d.q0(newPullParser, strArr[i]); + if (q0 == null) { i++; - } else if (Integer.parseInt(t0) == 1) { + } else if (Integer.parseInt(q0) == 1) { z2 = true; } } @@ -68,79 +68,79 @@ public final class e { if (i2 >= length2) { break; } - String t02 = d.t0(newPullParser, strArr2[i2]); - if (t02 != null) { - j = Long.parseLong(t02); + String q02 = d.q0(newPullParser, strArr2[i2]); + if (q02 != null) { + j = Long.parseLong(q02); } else { i2++; } } - String[] strArr3 = f665c; + String[] strArr3 = f937c; int length3 = strArr3.length; int i3 = 0; while (true) { if (i3 >= length3) { - a aVar2 = u.j; - uVar = q0.k; + a aVar2 = p.j; + pVar = h0.k; break; } - String t03 = d.t0(newPullParser, strArr3[i3]); - if (t03 != null) { - long parseLong = Long.parseLong(t03); + 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 = u.j; - uVar = u.m(aVar3, aVar4); + a aVar5 = p.j; + pVar = p.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"); + } 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.U0(newPullParser, "x:xmpmeta")); - if (uVar.isEmpty()) { + } while (!d.Q0(newPullParser, "x:xmpmeta")); + if (pVar.isEmpty()) { return null; } - return new b(j2, uVar); + return new b(j2, pVar); } - throw new ParserException("Couldn't find xmp metadata"); + 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.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"); + /* 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 u = c.d.b.a.a.u(str, ":Item"); - String u2 = c.d.b.a.a.u(str, ":Directory"); + String concat = str.concat(":Item"); + String concat2 = str.concat(":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; + 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(t0, t02, t03 != null ? Long.parseLong(t03) : 0, t04 != null ? Long.parseLong(t04) : 0); + 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, s.b.a(objArr.length, i2)); + objArr = Arrays.copyOf(objArr, n.b.a(objArr.length, i2)); } objArr[i] = aVar2; i = i2; } - } while (!d.U0(xmlPullParser, u2)); - return u.l(objArr, i); + } 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/a2/f0/a.java b/app/src/main/java/c/i/a/c/x2/g0/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/f0/a.java rename to app/src/main/java/c/i/a/c/x2/g0/a.java index ca87301b7b..11afe605a8 100644 --- a/app/src/main/java/c/i/a/c/a2/f0/a.java +++ b/app/src/main/java/c/i/a/c/x2/g0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.f0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new e(0)}; } - @Override // c.i.a.c.a2.l + @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/a2/f0/b.java b/app/src/main/java/c/i/a/c/x2/g0/b.java similarity index 72% rename from app/src/main/java/c/i/a/c/a2/f0/b.java rename to app/src/main/java/c/i/a/c/x2/g0/b.java index 9ff8d265c4..0d6cf0af1f 100644 --- a/app/src/main/java/c/i/a/c/a2/f0/b.java +++ b/app/src/main/java/c/i/a/c/x2/g0/b.java @@ -1,27 +1,27 @@ -package c.i.a.c.a2.f0; +package c.i.a.c.x2.g0; -import c.i.a.c.a2.i; +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<>(); + public final ArrayDeque b = new ArrayDeque<>(); /* renamed from: c reason: collision with root package name */ - public final g f666c = new g(); + 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.a2.f0.b$b reason: collision with other inner class name */ - public static final class C0087b { + /* 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 C0087b(int i, long j, a aVar) { + public C0096b(int i, long j, a aVar) { this.a = i; this.b = 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/x2/g0/c.java similarity index 71% rename from app/src/main/java/c/i/a/c/a2/f0/c.java rename to app/src/main/java/c/i/a/c/x2/g0/c.java index 6870b7d421..eefb9046fb 100644 --- a/app/src/main/java/c/i/a/c/a2/f0/c.java +++ b/app/src/main/java/c/i/a/c/x2/g0/c.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.f0; +package c.i.a.c.x2.g0; /* 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/x2/g0/d.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/f0/d.java rename to app/src/main/java/c/i/a/c/x2/g0/d.java index 6fbe1a6d41..ce00e5ef6e 100644 --- a/app/src/main/java/c/i/a/c/a2/f0/d.java +++ b/app/src/main/java/c/i/a/c/x2/g0/d.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.f0; +package c.i.a.c.x2.g0; /* 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/x2/g0/e.java similarity index 59% rename from app/src/main/java/c/i/a/c/a2/f0/e.java rename to app/src/main/java/c/i/a/c/x2/g0/e.java index 8ebca44bcb..4031a411ad 100644 --- a/app/src/main/java/c/i/a/c/a2/f0/e.java +++ b/app/src/main/java/c/i/a/c/x2/g0/e.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.f0; +package c.i.a.c.x2.g0; import android.util.Log; import android.util.Pair; @@ -6,26 +6,29 @@ 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 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.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; @@ -45,10 +48,10 @@ 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"); + 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[] f667c = {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 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; @@ -59,9 +62,9 @@ public class e implements h { public long F = -1; public long G = -9223372036854775807L; @Nullable - public q H; + public r H; @Nullable - public q I; + public r I; public boolean J; public boolean K; public int L; @@ -81,52 +84,52 @@ public class e implements h { public boolean Z; /* renamed from: a0 reason: collision with root package name */ - public boolean f668a0; + public boolean f940a0; /* renamed from: b0 reason: collision with root package name */ - public boolean f669b0; + public boolean f941b0; /* renamed from: c0 reason: collision with root package name */ - public int f670c0; + public int f942c0; /* renamed from: d0 reason: collision with root package name */ - public byte f671d0; + public byte f943d0; /* renamed from: e0 reason: collision with root package name */ - public boolean f672e0; + public boolean f944e0; public final d f; /* renamed from: f0 reason: collision with root package name */ - public j f673f0; + public j f945f0; 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; - public final w r; + 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 w f674s; + 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 f675x = -9223372036854775807L; + public long f947x = -9223372036854775807L; /* renamed from: y reason: collision with root package name */ - public long f676y = -9223372036854775807L; + public long f948y = -9223372036854775807L; @Nullable /* renamed from: z reason: collision with root package name */ - public c f677z; + public c f949z; /* compiled from: MatroskaExtractor */ public final class b implements c { @@ -155,17 +158,17 @@ public class e implements h { public int Q = 8000; public long R = 0; public long S = 0; - public d T; + public c.i.a.c.x2.x T; public boolean U; public boolean V = true; public String W = "eng"; - public c.i.a.c.a2.w X; + public w X; public int Y; public String a; public String b; /* renamed from: c reason: collision with root package name */ - public int f678c; + public int f950c; public int d; public int e; public int f; @@ -183,20 +186,20 @@ public class e implements h { public int r = -1; /* renamed from: s reason: collision with root package name */ - public float f679s = 0.0f; + 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 f680x = false; + public boolean f952x = false; /* renamed from: y reason: collision with root package name */ - public int f681y = -1; + public int f953y = -1; /* renamed from: z reason: collision with root package name */ - public int f682z = -1; + public int f954z = -1; public c() { } @@ -210,28 +213,8 @@ public class e implements h { 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 f683c; - public long d; - public int e; - public int f; - public int g; - - @RequiresNonNull({"#1.output"}) - public void a(c cVar) { - if (this.f683c > 0) { - cVar.X.d(this.d, this.e, this.f, this.g, cVar.j); - this.f683c = 0; - } + String valueOf = String.valueOf(str); + throw ParserException.a(valueOf.length() != 0 ? "Missing CodecPrivate for codec ".concat(valueOf) : new String("Missing CodecPrivate for codec "), null); } } @@ -252,16 +235,16 @@ public class e implements h { 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.r = new c.i.a.c.i2.w(); - this.f674s = new c.i.a.c.i2.w(); + 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]; } @@ -270,23 +253,27 @@ public class e implements h { } public static byte[] j(long j, String str, long j2) { - c.c.a.a0.d.k(j != -9223372036854775807L); + 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 f0.w(String.format(Locale.US, str, Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf((int) ((j4 - (((long) i3) * 1000000)) / j2)))); + 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) { - throw new ParserException(c.d.b.a.a.n("Element ", i, " must be in a Cues")); + 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.a2.h + @Override // c.i.a.c.x2.h public final boolean b(i iVar) throws IOException { long a2; int i; @@ -298,15 +285,15 @@ public class e implements h { j = b2; } int i3 = (int) j; - iVar.n(fVar.a.a, 0, 4); + iVar.o(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))) { + 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.n(fVar.a.a, 0, 1); + iVar.o(fVar.a.a, 0, 1); } long a3 = fVar.a(iVar); long j2 = (long) fVar.b; @@ -334,20 +321,23 @@ public class e implements h { @EnsuresNonNull({"currentTrack"}) public final void c(int i) throws ParserException { - if (this.f677z == null) { - throw new ParserException(c.d.b.a.a.n("Element ", i, " must be in a TrackEntry")); + 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); } } - /* 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) { + 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."); @@ -361,80 +351,62 @@ public class e implements h { str.hashCode(); if (str.equals("S_TEXT/ASS")) { bArr = j(j2, "%01d:%02d:%02d:%02d", 10000); - i5 = 21; + i4 = 21; } else if (str.equals("S_TEXT/UTF8")) { bArr = j(j2, "%02d:%02d:%02d,%03d", 1000); - i5 = 19; + i4 = 19; } else { throw new IllegalArgumentException(); } - System.arraycopy(bArr, 0, bArr2, i5, bArr.length); - int i7 = this.p.b; + System.arraycopy(bArr, 0, bArr2, i4, bArr.length); + int i5 = this.p.b; while (true) { - c.i.a.c.i2.w wVar = this.p; - if (i7 >= wVar.f919c) { + x xVar2 = this.p; + if (i5 >= xVar2.f792c) { break; - } else if (wVar.a[i7] == 0) { - wVar.C(i7); + } else if (xVar2.a[i5] == 0) { + xVar2.D(i5); break; } else { - i7++; + i5++; } } - c.i.a.c.a2.w wVar2 = cVar.X; - c.i.a.c.i2.w wVar3 = this.p; - wVar2.c(wVar3, wVar3.f919c); - i4 = i2 + this.p.f919c; - if ((268435456 & i6) != 0) { - if (this.P > 1) { - i6 &= -268435457; - } else { - c.i.a.c.i2.w wVar4 = this.f674s; - int i8 = wVar4.f919c; - cVar.X.f(wVar4, i8, 2); - i4 += i8; - } - } - cVar.X.d(j, i6, i4, i3, cVar.j); + w wVar = cVar.X; + x xVar3 = this.p; + wVar.c(xVar3, xVar3.f792c); + i2 += this.p.f792c; } } } - i4 = i2; - if ((268435456 & i6) != 0) { - } - cVar.X.d(j, i6, i4, i3, cVar.j); - } else if (dVar.b) { - int i9 = dVar.f683c; - int i10 = i9 + 1; - dVar.f683c = 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); + 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 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 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:342:0x077b, code lost: - if (r4 != 7) goto L_0x07bc; + /* 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:435:0x08d3 A[SYNTHETIC] */ - /* JADX WARNING: Removed duplicated region for block: B:454:0x08d5 A[SYNTHETIC] */ + /* 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.a2.h + @Override // c.i.a.c.x2.h public final int e(i iVar, s sVar) throws IOException { boolean z2; int i; @@ -449,18 +421,18 @@ public class e implements h { boolean z5 = true; while (z5 && !this.K) { b bVar = (b) this.f; - c.c.a.a0.d.H(bVar.d); + d.H(bVar.d); ?? r3 = z3; ?? r4 = z4; while (true) { - b.C0087b peek = bVar.b.peek(); + b.C0096b peek = bVar.b.peek(); if (peek == null || iVar.getPosition() < peek.b) { if (bVar.e == 0) { - long c2 = bVar.f666c.c(iVar, r4, r3, 4); + long c2 = bVar.f938c.c(iVar, r4, r3, 4); if (c2 == -2) { iVar.k(); while (true) { - iVar.n(bVar.a, r3, 4); + 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); @@ -481,7 +453,7 @@ public class e implements h { } } if (bVar.e == r4) { - bVar.g = bVar.f666c.c(iVar, r3, r4, 8); + bVar.g = bVar.f938c.c(iVar, r3, r4, 8); bVar.e = 2; } c cVar = bVar.d; @@ -600,42 +572,42 @@ public class e implements h { r4 = 1; } else if (i == r4) { long position = iVar.getPosition(); - bVar.b.push(new b.C0087b(bVar.f, bVar.g + position, null)); + 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; - c.c.a.a0.d.H(eVar.f673f0); + d.H(eVar.f945f0); if (i5 == 160) { i2 = 0; eVar.V = false; } else if (i5 == 174) { i2 = 0; - eVar.f677z = new c(null); + 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.f677z.h = true; + eVar.f949z.h = true; } else if (i5 == 21968) { eVar.c(i5); - eVar.f677z.f680x = true; + 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 new ParserException("Multiple Segment elements not supported"); + throw ParserException.a("Multiple Segment elements not supported", null); } } else if (i5 == 475249515) { - eVar.H = new q(); - eVar.I = new q(); + eVar.H = new r(); + eVar.I = new r(); } else if (i5 == 524531317 && !eVar.A) { if (!eVar.i || eVar.E == -1) { - eVar.f673f0.a(new t.b(eVar.f676y, 0)); + eVar.f945f0.a(new t.b(eVar.f948y, 0)); eVar.A = true; } else { eVar.D = true; @@ -660,22 +632,22 @@ public class e implements h { switch (i6) { case 131: eVar2.c(i6); - eVar2.f677z.d = (int) a3; + eVar2.f949z.d = (int) a3; break; case 136: eVar2.c(i6); - eVar2.f677z.V = a3 == 1; + eVar2.f949z.V = a3 == 1; break; case 155: eVar2.N = eVar2.m(a3); break; case 159: eVar2.c(i6); - eVar2.f677z.O = (int) a3; + eVar2.f949z.O = (int) a3; break; case 176: eVar2.c(i6); - eVar2.f677z.m = (int) a3; + eVar2.f949z.m = (int) a3; break; case 179: eVar2.a(i6); @@ -683,11 +655,11 @@ public class e implements h { break; case 186: eVar2.c(i6); - eVar2.f677z.n = (int) a3; + eVar2.f949z.n = (int) a3; break; case 215: eVar2.c(i6); - eVar2.f677z.f678c = (int) a3; + eVar2.f949z.f950c = (int) a3; break; case 231: eVar2.G = eVar2.m(a3); @@ -708,30 +680,30 @@ public class e implements h { break; case 16871: eVar2.c(i6); - eVar2.f677z.g = (int) a3; + eVar2.f949z.g = (int) a3; break; case 16980: if (a3 != 3) { - throw new ParserException(c.d.b.a.a.r("ContentCompAlgo ", a3, " not supported")); + throw ParserException.a(c.d.b.a.a.h(50, "ContentCompAlgo ", a3, " not supported"), null); } break; case 17029: if (a3 < 1 || a3 > 2) { - throw new ParserException(c.d.b.a.a.r("DocTypeReadVersion ", a3, " not supported")); + throw ParserException.a(c.d.b.a.a.h(53, "DocTypeReadVersion ", a3, " not supported"), null); } case 17143: if (a3 != 1) { - throw new ParserException(c.d.b.a.a.r("EBMLReadVersion ", a3, " not supported")); + throw ParserException.a(c.d.b.a.a.h(50, "EBMLReadVersion ", a3, " not supported"), null); } break; case 18401: if (a3 != 5) { - throw new ParserException(c.d.b.a.a.r("ContentEncAlgo ", a3, " not supported")); + throw ParserException.a(c.d.b.a.a.h(49, "ContentEncAlgo ", a3, " not supported"), null); } break; case 18408: if (a3 != 1) { - throw new ParserException(c.d.b.a.a.r("AESSettingsCipherMode ", a3, " not supported")); + throw ParserException.a(c.d.b.a.a.h(56, "AESSettingsCipherMode ", a3, " not supported"), null); } break; case 21420: @@ -744,53 +716,53 @@ public class e implements h { if (i7 != 1) { if (i7 != 3) { if (i7 == 15) { - eVar2.f677z.w = 3; + eVar2.f949z.w = 3; break; } } else { - eVar2.f677z.w = 1; + eVar2.f949z.w = 1; break; } } else { - eVar2.f677z.w = 2; + eVar2.f949z.w = 2; break; } } else { - eVar2.f677z.w = 0; + eVar2.f949z.w = 0; break; } break; case 21680: eVar2.c(i6); - eVar2.f677z.o = (int) a3; + eVar2.f949z.o = (int) a3; break; case 21682: eVar2.c(i6); - eVar2.f677z.q = (int) a3; + eVar2.f949z.q = (int) a3; break; case 21690: eVar2.c(i6); - eVar2.f677z.p = (int) a3; + eVar2.f949z.p = (int) a3; break; case 21930: eVar2.c(i6); - eVar2.f677z.U = a3 == 1; + eVar2.f949z.U = a3 == 1; break; case 21998: eVar2.c(i6); - eVar2.f677z.f = (int) a3; + eVar2.f949z.f = (int) a3; break; case 22186: eVar2.c(i6); - eVar2.f677z.R = a3; + eVar2.f949z.R = a3; break; case 22203: eVar2.c(i6); - eVar2.f677z.S = a3; + eVar2.f949z.S = a3; break; case 25188: eVar2.c(i6); - eVar2.f677z.P = (int) a3; + eVar2.f949z.P = (int) a3; break; case 30321: eVar2.c(i6); @@ -799,25 +771,25 @@ public class e implements h { if (i8 != 1) { if (i8 != 2) { if (i8 == 3) { - eVar2.f677z.r = 3; + eVar2.f949z.r = 3; break; } } else { - eVar2.f677z.r = 2; + eVar2.f949z.r = 2; break; } } else { - eVar2.f677z.r = 1; + eVar2.f949z.r = 1; break; } } else { - eVar2.f677z.r = 0; + eVar2.f949z.r = 0; break; } break; case 2352003: eVar2.c(i6); - eVar2.f677z.e = (int) a3; + eVar2.f949z.e = (int) a3; break; case 2807729: eVar2.w = a3; @@ -829,275 +801,267 @@ public class e implements h { int i9 = (int) a3; if (i9 != 1) { if (i9 == 2) { - eVar2.f677z.A = 1; + eVar2.f949z.A = 1; break; } } else { - eVar2.f677z.A = 2; + eVar2.f949z.A = 2; break; } break; case 21946: eVar2.c(i6); - int i10 = (int) a3; - if (i10 != 1) { - if (i10 == 16) { - eVar2.f677z.f682z = 6; - break; - } else if (i10 == 18) { - eVar2.f677z.f682z = 7; - break; - } else if (i10 != 6) { - } + int b3 = n.b((int) a3); + if (b3 != -1) { + eVar2.f949z.f954z = b3; + break; } - eVar2.f677z.f682z = 3; break; case 21947: eVar2.c(i6); - c cVar4 = eVar2.f677z; - cVar4.f680x = true; - int i11 = (int) a3; - if (i11 != 1) { - if (i11 != 9) { - if (i11 == 4 || i11 == 5 || i11 == 6 || i11 == 7) { - cVar4.f681y = 2; - break; - } - } else { - cVar4.f681y = 6; - break; - } - } else { - cVar4.f681y = 1; + 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.f677z.B = (int) a3; + eVar2.f949z.B = (int) a3; break; case 21949: eVar2.c(i6); - eVar2.f677z.C = (int) a3; + eVar2.f949z.C = (int) a3; break; } - break; } } else if (a3 != 1) { - throw new ParserException(c.d.b.a.a.r("ContentEncodingScope ", a3, " not supported")); + throw ParserException.a(c.d.b.a.a.h(55, "ContentEncodingScope ", a3, " not supported"), null); } } else if (a3 != 0) { - throw new ParserException(c.d.b.a.a.r("ContentEncodingOrder ", a3, " not supported")); + throw ParserException.a(c.d.b.a.a.h(55, "ContentEncodingOrder ", a3, " not supported"), null); } bVar.e = 0; } else { - StringBuilder O = c.d.b.a.a.O("Invalid integer size: "); - O.append(bVar.g); - throw new ParserException(O.toString()); + 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 cVar5 = bVar.d; - int i12 = bVar.f; - int i13 = (int) j5; - if (i13 == 0) { + c cVar4 = bVar.d; + int i10 = bVar.f; + int i11 = (int) j5; + if (i11 == 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; + 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, i13); + str = new String(bArr, 0, i11); } } - str = new String(bArr, 0, i13); + str = new String(bArr, 0, i11); } e eVar3 = e.this; Objects.requireNonNull(eVar3); - if (i12 == 134) { - eVar3.c(i12); - eVar3.f677z.b = str; - } else if (i12 != 17026) { - if (i12 == 21358) { - eVar3.c(i12); - eVar3.f677z.a = str; - } else if (i12 == 2274716) { - eVar3.c(i12); - eVar3.f677z.W = str; + 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)) { - throw new ParserException(c.d.b.a.a.v("DocType ", str, " not supported")); + 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 O2 = c.d.b.a.a.O("String element size: "); - O2.append(bVar.g); - throw new ParserException(O2.toString()); + StringBuilder sb3 = new StringBuilder(41); + sb3.append("String element size: "); + sb3.append(j5); + throw ParserException.a(sb3.toString(), null); } } else if (i == 4) { - c cVar6 = bVar.d; - int i15 = bVar.f; - int i16 = (int) bVar.g; + c cVar5 = bVar.d; + int i13 = bVar.f; + int i14 = (int) bVar.g; e eVar4 = e.this; Objects.requireNonNull(eVar4); - if (i15 == 161 || i15 == 163) { + 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.z(r3); + eVar4.l.A(r3); } - c cVar7 = eVar4.h.get(eVar4.R); - if (cVar7 == null) { - iVar.l(i16 - eVar4.S); + c cVar6 = eVar4.h.get(eVar4.R); + if (cVar6 == null) { + iVar.l(i14 - eVar4.S); eVar4.L = r3; } else { - Objects.requireNonNull(cVar7.X); + 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 = r4 == true ? 1 : 0; - int i20 = r4 == true ? 1 : 0; - int i21 = (eVar4.l.a[2] & 6) >> i17; - byte b3 = 255; - if (i21 == 0) { + int i19 = (eVar4.l.a[2] & 6) >> i15; + byte b4 = 255; + if (i19 == 0) { eVar4.P = r4; - int[] i22 = i(eVar4.Q, r4); - eVar4.Q = i22; + 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; - i22[c3] = (i16 - eVar4.S) - 3; + i20[c3] = (i14 - 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 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; - 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; + 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 (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 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 { - i47++; - i46 = 8; - z8 = true; - b3 = 255; + j = 0; } - } else { - j = 0; } - } - if (j >= -2147483648L && j <= 2147483647L) { - int i54 = (int) j; - int[] iArr4 = eVar4.Q; - if (i39 != 0) { - i54 += iArr4[i39 - 1]; + 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; } - iArr4[i39] = i54; - i40 += iArr4[i39]; - i39++; - z6 = false; - z7 = true; - b3 = 255; + } else { + throw ParserException.a("No valid varint length mask found", null); } } else { - throw new ParserException("No valid varint length mask found"); + eVar4.Q[i39 - 1] = ((i14 - eVar4.S) - i29) - i38; } - } else { - eVar4.Q[i42 - 1] = ((i16 - eVar4.S) - i41) - i40; } + } else { + throw c.d.b.a.a.s0(36, "Unexpected lacing value: ", i19, null); } - 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.T = (cVar6.d == 2 || (i13 == 163 && (eVar4.l.a[2] & 128) == 128)) ? 1 : 0; eVar4.L = 2; eVar4.O = 0; } - if (i15 == 163) { + if (i13 == 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); + 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; @@ -1105,158 +1069,159 @@ public class e implements h { } } else { while (true) { - int i56 = eVar4.O; - if (i56 < eVar4.P) { + int i54 = eVar4.O; + if (i54 < eVar4.P) { int[] iArr5 = eVar4.Q; - iArr5[i56] = eVar4.n(iVar, cVar7, iArr5[i56]); + iArr5[i54] = eVar4.n(iVar, cVar6, iArr5[i54]); eVar4.O++; } } } } - } else if (i15 != 165) { - if (i15 == 16877) { - eVar4.c(i15); - c cVar8 = eVar4.f677z; - int i57 = cVar8.g; - if (i57 == 1685485123 || i57 == 1685480259) { - byte[] bArr3 = new byte[i16]; - cVar8.N = bArr3; - iVar.readFully(bArr3, r3, i16); + } 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(i16); + iVar.l(i14); } - } else if (i15 == 16981) { - eVar4.c(i15); - byte[] bArr4 = new byte[i16]; - eVar4.f677z.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.f677z.j = new w.a(r4, bArr5, r3, r3); - } else if (i15 == 21419) { + } 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 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.f677z.k = bArr7; - iVar.readFully(bArr7, r3, i16); - } else if (i15 == 30322) { - eVar4.c(i15); - byte[] bArr8 = new byte[i16]; - eVar4.f677z.v = bArr8; - iVar.readFully(bArr8, r3, i16); + 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 new ParserException(c.d.b.a.a.l("Unexpected id: ", i15)); + throw c.d.b.a.a.s0(26, "Unexpected id: ", i13, null); } } else if (eVar4.L == 2) { - c cVar9 = eVar4.h.get(eVar4.R); - if (eVar4.U != 4 || !"V_VP9".equals(cVar9.b)) { - iVar.l(i16); + c cVar8 = eVar4.h.get(eVar4.R); + if (eVar4.U != 4 || !"V_VP9".equals(cVar8.b)) { + iVar.l(i14); } else { - c.i.a.c.i2.w wVar = eVar4.f674s; - byte[] bArr9 = wVar.a; - if (bArr9.length < i16) { - bArr9 = new byte[i16]; + x xVar = eVar4.f946s; + byte[] bArr9 = xVar.a; + if (bArr9.length < i14) { + bArr9 = new byte[i14]; } - wVar.B(bArr9, i16); - iVar.readFully(eVar4.f674s.a, r3, i16); + 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 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); + 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 (i58 == 181) { - eVar5.c(i58); - eVar5.f677z.Q = (int) intBitsToFloat; - } else if (i58 != 17545) { - switch (i58) { + if (i56 == 181) { + eVar5.c(i56); + eVar5.f949z.Q = (int) intBitsToFloat; + } else if (i56 != 17545) { + switch (i56) { case 21969: - eVar5.c(i58); - eVar5.f677z.D = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.D = (float) intBitsToFloat; break; case 21970: - eVar5.c(i58); - eVar5.f677z.E = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.E = (float) intBitsToFloat; break; case 21971: - eVar5.c(i58); - eVar5.f677z.F = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.F = (float) intBitsToFloat; break; case 21972: - eVar5.c(i58); - eVar5.f677z.G = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.G = (float) intBitsToFloat; break; case 21973: - eVar5.c(i58); - eVar5.f677z.H = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.H = (float) intBitsToFloat; break; case 21974: - eVar5.c(i58); - eVar5.f677z.I = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.I = (float) intBitsToFloat; break; case 21975: - eVar5.c(i58); - eVar5.f677z.J = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.J = (float) intBitsToFloat; break; case 21976: - eVar5.c(i58); - eVar5.f677z.K = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.K = (float) intBitsToFloat; break; case 21977: - eVar5.c(i58); - eVar5.f677z.L = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.L = (float) intBitsToFloat; break; case 21978: - eVar5.c(i58); - eVar5.f677z.M = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.M = (float) intBitsToFloat; break; default: - switch (i58) { + switch (i56) { case 30323: - eVar5.c(i58); - eVar5.f677z.f679s = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.f951s = (float) intBitsToFloat; break; case 30324: - eVar5.c(i58); - eVar5.f677z.t = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.t = (float) intBitsToFloat; break; case 30325: - eVar5.c(i58); - eVar5.f677z.u = (float) intBitsToFloat; + eVar5.c(i56); + eVar5.f949z.u = (float) intBitsToFloat; break; } } } else { - eVar5.f675x = (long) intBitsToFloat; + eVar5.f947x = (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()); + StringBuilder sb4 = new StringBuilder(40); + sb4.append("Invalid float size: "); + sb4.append(j6); + throw ParserException.a(sb4.toString(), null); } } else { - throw new ParserException(c.d.b.a.a.l("Invalid element type ", i)); + throw c.d.b.a.a.s0(32, "Invalid element type ", i, null); } } else { e.this.h(bVar.b.pop().a); @@ -1292,23 +1257,23 @@ public class e implements h { if (z5) { return 0; } - for (int i60 = 0; i60 < this.h.size(); i60++) { - c valueAt = this.h.valueAt(i60); + for (int i58 = 0; i58 < this.h.size(); i58++) { + c valueAt = this.h.valueAt(i58); Objects.requireNonNull(valueAt.X); - d dVar = valueAt.T; - if (dVar != null) { - dVar.a(valueAt); + 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.a2.h + @Override // c.i.a.c.x2.h public final void f(j jVar) { - this.f673f0 = jVar; + this.f945f0 = jVar; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h @CallSuper public void g(long j, long j2) { this.G = -9223372036854775807L; @@ -1316,301 +1281,303 @@ public class e implements h { b bVar = (b) this.f; bVar.e = 0; bVar.b.clear(); - g gVar = bVar.f666c; - gVar.f684c = 0; + g gVar = bVar.f938c; + gVar.f955c = 0; gVar.d = 0; g gVar2 = this.g; - gVar2.f684c = 0; + gVar2.f955c = 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.f683c = 0; + 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:400:0x07fb, code lost: - if (r1.m() == r7.getLeastSignificantBits()) goto L_0x07fd; + /* 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: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 */ + /* 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; - List list; int i2; + List list; int i3; - Format.b bVar; + j1.b bVar; int i4; int i5; - ColorInfo colorInfo; + n nVar; int i6; - byte[] bArr; int i7; - k a2; + byte[] bArr; int i8; + o a2; String str2; - ArrayList arrayList; - String str3; + int i9; List list2; - String str4; + ArrayList arrayList; List list3; boolean z3; + Throwable th; + String str3; + ArrayList arrayList2; + ArrayList arrayList3; + String str4; String str5; List list4; - int i9; - ArrayList arrayList2; - String str6; - List list5; - List list6; - String str7; - c.i.b.b.u uVar; Pair pair; + String str6; + Pair pair2; + p pVar; + String str7; + String str8; + List list5; t tVar; int i10; int i11; - e eVar = this; - c.c.a.a0.d.H(eVar.f673f0); + d.H(this.f945f0); int i12 = 0; if (i != 160) { if (i == 174) { - c cVar = eVar.f677z; - c.c.a.a0.d.H(cVar); - String str8 = cVar.b; - if (str8 != null) { - switch (str8.hashCode()) { + c cVar = this.f949z; + d.H(cVar); + String str9 = cVar.b; + if (str9 != null) { + switch (str9.hashCode()) { case -2095576542: - if (str8.equals("V_MPEG4/ISO/AP")) { + if (str9.equals("V_MPEG4/ISO/AP")) { c2 = 0; break; } c2 = 65535; break; case -2095575984: - if (str8.equals("V_MPEG4/ISO/SP")) { + if (str9.equals("V_MPEG4/ISO/SP")) { c2 = 1; break; } c2 = 65535; break; case -1985379776: - if (str8.equals("A_MS/ACM")) { + if (str9.equals("A_MS/ACM")) { c2 = 2; break; } c2 = 65535; break; case -1784763192: - if (str8.equals("A_TRUEHD")) { + if (str9.equals("A_TRUEHD")) { c2 = 3; break; } c2 = 65535; break; case -1730367663: - if (str8.equals("A_VORBIS")) { + if (str9.equals("A_VORBIS")) { c2 = 4; break; } c2 = 65535; break; case -1482641358: - if (str8.equals("A_MPEG/L2")) { + if (str9.equals("A_MPEG/L2")) { c2 = 5; break; } c2 = 65535; break; case -1482641357: - if (str8.equals("A_MPEG/L3")) { + if (str9.equals("A_MPEG/L3")) { c2 = 6; break; } c2 = 65535; break; case -1373388978: - if (str8.equals("V_MS/VFW/FOURCC")) { + if (str9.equals("V_MS/VFW/FOURCC")) { c2 = 7; break; } c2 = 65535; break; case -933872740: - if (str8.equals("S_DVBSUB")) { + if (str9.equals("S_DVBSUB")) { c2 = '\b'; break; } c2 = 65535; break; case -538363189: - if (str8.equals("V_MPEG4/ISO/ASP")) { + if (str9.equals("V_MPEG4/ISO/ASP")) { c2 = '\t'; break; } c2 = 65535; break; case -538363109: - if (str8.equals("V_MPEG4/ISO/AVC")) { + if (str9.equals("V_MPEG4/ISO/AVC")) { c2 = '\n'; break; } c2 = 65535; break; case -425012669: - if (str8.equals("S_VOBSUB")) { + if (str9.equals("S_VOBSUB")) { c2 = 11; break; } c2 = 65535; break; case -356037306: - if (str8.equals("A_DTS/LOSSLESS")) { + if (str9.equals("A_DTS/LOSSLESS")) { c2 = '\f'; break; } c2 = 65535; break; case 62923557: - if (str8.equals("A_AAC")) { + if (str9.equals("A_AAC")) { c2 = '\r'; break; } c2 = 65535; break; case 62923603: - if (str8.equals("A_AC3")) { + if (str9.equals("A_AC3")) { c2 = 14; break; } c2 = 65535; break; case 62927045: - if (str8.equals("A_DTS")) { + if (str9.equals("A_DTS")) { c2 = 15; break; } c2 = 65535; break; case 82318131: - if (str8.equals("V_AV1")) { + if (str9.equals("V_AV1")) { c2 = 16; break; } c2 = 65535; break; case 82338133: - if (str8.equals("V_VP8")) { + if (str9.equals("V_VP8")) { c2 = 17; break; } c2 = 65535; break; case 82338134: - if (str8.equals("V_VP9")) { + if (str9.equals("V_VP9")) { c2 = 18; break; } c2 = 65535; break; case 99146302: - if (str8.equals("S_HDMV/PGS")) { + if (str9.equals("S_HDMV/PGS")) { c2 = 19; break; } c2 = 65535; break; case 444813526: - if (str8.equals("V_THEORA")) { + if (str9.equals("V_THEORA")) { c2 = 20; break; } c2 = 65535; break; case 542569478: - if (str8.equals("A_DTS/EXPRESS")) { + if (str9.equals("A_DTS/EXPRESS")) { c2 = 21; break; } c2 = 65535; break; case 635596514: - if (str8.equals("A_PCM/FLOAT/IEEE")) { + if (str9.equals("A_PCM/FLOAT/IEEE")) { c2 = 22; break; } c2 = 65535; break; case 725948237: - if (str8.equals("A_PCM/INT/BIG")) { + if (str9.equals("A_PCM/INT/BIG")) { c2 = 23; break; } c2 = 65535; break; case 725957860: - if (str8.equals("A_PCM/INT/LIT")) { + if (str9.equals("A_PCM/INT/LIT")) { c2 = 24; break; } c2 = 65535; break; case 738597099: - if (str8.equals("S_TEXT/ASS")) { + if (str9.equals("S_TEXT/ASS")) { c2 = 25; break; } c2 = 65535; break; case 855502857: - if (str8.equals("V_MPEGH/ISO/HEVC")) { + if (str9.equals("V_MPEGH/ISO/HEVC")) { c2 = 26; break; } c2 = 65535; break; case 1422270023: - if (str8.equals("S_TEXT/UTF8")) { + if (str9.equals("S_TEXT/UTF8")) { c2 = 27; break; } c2 = 65535; break; case 1809237540: - if (str8.equals("V_MPEG2")) { + if (str9.equals("V_MPEG2")) { c2 = 28; break; } c2 = 65535; break; case 1950749482: - if (str8.equals("A_EAC3")) { + if (str9.equals("A_EAC3")) { c2 = 29; break; } c2 = 65535; break; case 1950789798: - if (str8.equals("A_FLAC")) { + if (str9.equals("A_FLAC")) { c2 = 30; break; } c2 = 65535; break; case 1951062397: - if (str8.equals("A_OPUS")) { + if (str9.equals("A_OPUS")) { c2 = 31; break; } @@ -1660,230 +1627,230 @@ public class e implements h { break; } if (z2) { - j jVar = eVar.f673f0; - int i13 = cVar.f678c; - String str9 = cVar.b; - str9.hashCode(); - switch (str9.hashCode()) { + j jVar = this.f945f0; + int i13 = cVar.f950c; + String str10 = cVar.b; + str10.hashCode(); + switch (str10.hashCode()) { case -2095576542: - if (str9.equals("V_MPEG4/ISO/AP")) { + if (str10.equals("V_MPEG4/ISO/AP")) { c3 = 0; break; } c3 = 65535; break; case -2095575984: - if (str9.equals("V_MPEG4/ISO/SP")) { + if (str10.equals("V_MPEG4/ISO/SP")) { c3 = 1; break; } c3 = 65535; break; case -1985379776: - if (str9.equals("A_MS/ACM")) { + if (str10.equals("A_MS/ACM")) { c3 = 2; break; } c3 = 65535; break; case -1784763192: - if (str9.equals("A_TRUEHD")) { + if (str10.equals("A_TRUEHD")) { c3 = 3; break; } c3 = 65535; break; case -1730367663: - if (str9.equals("A_VORBIS")) { + if (str10.equals("A_VORBIS")) { c3 = 4; break; } c3 = 65535; break; case -1482641358: - if (str9.equals("A_MPEG/L2")) { + if (str10.equals("A_MPEG/L2")) { c3 = 5; break; } c3 = 65535; break; case -1482641357: - if (str9.equals("A_MPEG/L3")) { + if (str10.equals("A_MPEG/L3")) { c3 = 6; break; } c3 = 65535; break; case -1373388978: - if (str9.equals("V_MS/VFW/FOURCC")) { + if (str10.equals("V_MS/VFW/FOURCC")) { c3 = 7; break; } c3 = 65535; break; case -933872740: - if (str9.equals("S_DVBSUB")) { + if (str10.equals("S_DVBSUB")) { c3 = '\b'; break; } c3 = 65535; break; case -538363189: - if (str9.equals("V_MPEG4/ISO/ASP")) { + if (str10.equals("V_MPEG4/ISO/ASP")) { c3 = '\t'; break; } c3 = 65535; break; case -538363109: - if (str9.equals("V_MPEG4/ISO/AVC")) { + if (str10.equals("V_MPEG4/ISO/AVC")) { c3 = '\n'; break; } c3 = 65535; break; case -425012669: - if (str9.equals("S_VOBSUB")) { + if (str10.equals("S_VOBSUB")) { c3 = 11; break; } c3 = 65535; break; case -356037306: - if (str9.equals("A_DTS/LOSSLESS")) { + if (str10.equals("A_DTS/LOSSLESS")) { c3 = '\f'; break; } c3 = 65535; break; case 62923557: - if (str9.equals("A_AAC")) { + if (str10.equals("A_AAC")) { c3 = '\r'; break; } c3 = 65535; break; case 62923603: - if (str9.equals("A_AC3")) { + if (str10.equals("A_AC3")) { c3 = 14; break; } c3 = 65535; break; case 62927045: - if (str9.equals("A_DTS")) { + if (str10.equals("A_DTS")) { c3 = 15; break; } c3 = 65535; break; case 82318131: - if (str9.equals("V_AV1")) { + if (str10.equals("V_AV1")) { c3 = 16; break; } c3 = 65535; break; case 82338133: - if (str9.equals("V_VP8")) { + if (str10.equals("V_VP8")) { c3 = 17; break; } c3 = 65535; break; case 82338134: - if (str9.equals("V_VP9")) { + if (str10.equals("V_VP9")) { c3 = 18; break; } c3 = 65535; break; case 99146302: - if (str9.equals("S_HDMV/PGS")) { + if (str10.equals("S_HDMV/PGS")) { c3 = 19; break; } c3 = 65535; break; case 444813526: - if (str9.equals("V_THEORA")) { + if (str10.equals("V_THEORA")) { c3 = 20; break; } c3 = 65535; break; case 542569478: - if (str9.equals("A_DTS/EXPRESS")) { + if (str10.equals("A_DTS/EXPRESS")) { c3 = 21; break; } c3 = 65535; break; case 635596514: - if (str9.equals("A_PCM/FLOAT/IEEE")) { + if (str10.equals("A_PCM/FLOAT/IEEE")) { c3 = 22; break; } c3 = 65535; break; case 725948237: - if (str9.equals("A_PCM/INT/BIG")) { + if (str10.equals("A_PCM/INT/BIG")) { c3 = 23; break; } c3 = 65535; break; case 725957860: - if (str9.equals("A_PCM/INT/LIT")) { + if (str10.equals("A_PCM/INT/LIT")) { c3 = 24; break; } c3 = 65535; break; case 738597099: - if (str9.equals("S_TEXT/ASS")) { + if (str10.equals("S_TEXT/ASS")) { c3 = 25; break; } c3 = 65535; break; case 855502857: - if (str9.equals("V_MPEGH/ISO/HEVC")) { + if (str10.equals("V_MPEGH/ISO/HEVC")) { c3 = 26; break; } c3 = 65535; break; case 1422270023: - if (str9.equals("S_TEXT/UTF8")) { + if (str10.equals("S_TEXT/UTF8")) { c3 = 27; break; } c3 = 65535; break; case 1809237540: - if (str9.equals("V_MPEG2")) { + if (str10.equals("V_MPEG2")) { c3 = 28; break; } c3 = 65535; break; case 1950749482: - if (str9.equals("A_EAC3")) { + if (str10.equals("A_EAC3")) { c3 = 29; break; } c3 = 65535; break; case 1950789798: - if (str9.equals("A_FLAC")) { + if (str10.equals("A_FLAC")) { c3 = 30; break; } c3 = 65535; break; case 1951062397: - if (str9.equals("A_OPUS")) { + if (str10.equals("A_OPUS")) { c3 = 31; break; } @@ -1893,40 +1860,36 @@ public class e implements h { c3 = 65535; break; } - String str10 = "video/x-unknown"; - String str11 = "audio/x-unknown"; - String str12 = "audio/raw"; + 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); - str11 = "video/mp4v-es"; - list2 = list3; - str4 = null; - str3 = str11; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; - i3 = -1; + i9 = -1; + arrayList = list3; + str2 = null; + list2 = arrayList; str = str2; - i2 = i8; + i2 = i9; + list = list2; + i3 = -1; byte[] bArr3 = cVar.N; - if (!(bArr3 == null || (a2 = k.a(new c.i.a.c.i2.w(bArr3))) == null)) { + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { - bVar.f2281x = cVar.O; - bVar.f2282y = cVar.Q; - bVar.f2283z = i3; + 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.i2.s.j(str12)) { + } else if (c.i.a.c.f3.t.j(str12)) { if (cVar.q == 0) { int i15 = cVar.o; i5 = -1; @@ -1944,10 +1907,10 @@ public class e implements h { } 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 (!(i17 == i5 || (i8 = cVar.p) == i5)) { + f = ((float) (cVar.n * i17)) / ((float) (cVar.m * i8)); } - if (cVar.f680x) { + 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 { @@ -1967,33 +1930,42 @@ public class e implements h { order.putShort((short) cVar.B); order.putShort((short) cVar.C); } - colorInfo = new ColorInfo(cVar.f681y, cVar.A, cVar.f682z, bArr); + nVar = new n(cVar.f953y, cVar.A, cVar.f954z, bArr); } else { - colorInfo = null; + 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.f679s, 0.0f) == 0 && Float.compare(cVar.t, 0.0f) == 0) { + 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) { - i6 = 0; + i7 = 0; } else if (Float.compare(cVar.t, 90.0f) == 0) { - i6 = 90; + i7 = 90; } else if (Float.compare(cVar.t, -180.0f) == 0 || Float.compare(cVar.t, 180.0f) == 0) { - i6 = BaseTransientBottomBar.ANIMATION_FADE_DURATION; + i7 = BaseTransientBottomBar.ANIMATION_FADE_DURATION; } else if (Float.compare(cVar.t, -90.0f) == 0) { - i6 = 270; + 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.f2280s = i6; + bVar.f824s = i7; bVar.u = cVar.v; bVar.v = cVar.w; - bVar.w = colorInfo; + bVar.w = nVar; i4 = 2; } } @@ -2003,15 +1975,15 @@ public class e implements h { bVar.p = cVar.m; bVar.q = cVar.n; bVar.t = f; - bVar.f2280s = i6; + bVar.f824s = i7; bVar.u = cVar.v; bVar.v = cVar.w; - bVar.w = colorInfo; + 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 new ParserException("Unexpected MIME type."); + throw ParserException.a("Unexpected MIME type.", null); } String str14 = cVar.a; if (str14 != null && !e.containsKey(str14)) { @@ -2020,26 +1992,25 @@ public class e implements h { bVar.b(i13); bVar.k = str12; bVar.l = i2; - bVar.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; case 2: - c.i.a.c.i2.w wVar = new c.i.a.c.i2.w(cVar.a(cVar.b)); + x xVar = new x(cVar.a(cVar.b)); try { - int l = wVar.l(); + int l = xVar.l(); if (l != 1) { if (l == 65534) { - wVar.D(24); - long m = wVar.m(); + xVar.E(24); + long m = xVar.m(); UUID uuid = d; if (m == uuid.getMostSignificantBits()) { break; @@ -2047,1456 +2018,1474 @@ public class e implements h { } z3 = false; if (!z3) { - i3 = f0.r(cVar.P); + i3 = e0.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()); + 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()); } - i2 = -1; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; } else { - c.d.b.a.a.k0("Non-PCM MS/ACM is unsupported. Setting mimeType to ", str11, "MatroskaExtractor"); + Log.w("MatroskaExtractor", "Non-PCM MS/ACM is unsupported. Setting mimeType to ".concat(str12)); } list3 = null; - list2 = list3; - str4 = null; - str3 = str11; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; - i3 = -1; + i9 = -1; + arrayList = list3; + str2 = null; + list2 = arrayList; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + i9 = -1; + arrayList = list3; + str2 = null; + list2 = arrayList; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); } catch (ArrayIndexOutOfBoundsException unused) { - throw new ParserException("Error parsing MS/ACM codec private"); + throw ParserException.a("Error parsing MS/ACM codec private", null); } break; case 3: - cVar.T = new d(); - str5 = "audio/true-hd"; - list4 = null; - i8 = -1; + cVar.T = new c.i.a.c.x2.x(); + str12 = "audio/true-hd"; + list3 = null; + i9 = -1; + arrayList = list3; str2 = null; - arrayList = list4; - str12 = str5; - list = arrayList; - i3 = -1; + list2 = arrayList; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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 i19 = 1; + int i20 = 0; + while ((a4[i19] & 255) == 255) { + i20 += 255; + i19++; } - int i20 = i18 + 1; - int i21 = i19 + (a4[i18] & 255); - int i22 = 0; - while ((a4[i20] & 255) == 255) { - i22 += 255; - i20++; + int i21 = i19 + 1; + int i22 = i20 + (a4[i19] & 255); + int i23 = 0; + while ((a4[i21] & 255) == 255) { + i23 += 255; + i21++; } - 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; + 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; - arrayList = list4; - str12 = str5; - list = arrayList; - i3 = -1; + list2 = arrayList; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; } else { - throw new ParserException("Error parsing vorbis codec private"); + 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 new ParserException("Error parsing vorbis codec private"); + throw ParserException.a("Error parsing vorbis codec private", null); } } else { - throw new ParserException("Error parsing vorbis codec private"); + throw ParserException.a("Error parsing vorbis codec private", null); } } else { - throw new ParserException("Error parsing vorbis codec private"); + throw ParserException.a("Error parsing vorbis codec private", null); } - } catch (ArrayIndexOutOfBoundsException unused2) { - throw new ParserException("Error parsing vorbis codec private"); + } catch (ArrayIndexOutOfBoundsException unused3) { + th = null; + throw ParserException.a("Error parsing vorbis codec private", th); } + break; case 5: - str6 = "audio/mpeg-L2"; - str5 = str6; + str4 = "audio/mpeg-L2"; + str3 = str4; i9 = 4096; - arrayList2 = null; - i8 = i9; + arrayList3 = null; str2 = null; - arrayList = arrayList2; - str12 = str5; - list = arrayList; - i3 = -1; + arrayList2 = arrayList3; + str12 = str3; + list2 = arrayList2; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; case 6: - str6 = "audio/mpeg"; - str5 = str6; + str4 = "audio/mpeg"; + str3 = str4; i9 = 4096; - arrayList2 = null; - i8 = i9; + arrayList3 = null; str2 = null; - arrayList = arrayList2; - str12 = str5; - list = arrayList; - i3 = -1; + arrayList2 = arrayList3; + str12 = str3; + list2 = arrayList2; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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); + 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 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 { + 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"); - pair = new Pair(str10, null); + pair2 = new Pair(str11, null); + pair = pair2; } - 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; - } catch (ArrayIndexOutOfBoundsException unused3) { - throw new ParserException("Error parsing FourCC private data"); + } 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); - 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + m b2 = m.b(new x(cVar.a(cVar.b))); + list = b2.a; cVar.Y = b2.b; - str4 = b2.f; - str3 = "video/avc"; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; + str8 = b2.f; + str7 = "video/avc"; + str = str8; + str12 = str7; i3 = -1; - str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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.f997c; - str5 = "audio/mp4a-latm"; - list5 = singletonList; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; case 20: - str11 = str10; - list6 = null; - str5 = str11; - str2 = null; - list5 = list6; - i8 = -1; - arrayList = list5; - str12 = str5; - list = arrayList; - i3 = -1; + str12 = str11; + str3 = str12; + list5 = null; + str5 = null; + list4 = list5; + str2 = str5; + i9 = -1; + arrayList2 = list4; + str12 = str3; + list2 = arrayList2; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; case 22: - if (cVar.P == 32) { + int i29 = cVar.P; + if (i29 == 32) { i3 = 4; - i2 = -1; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); } break; case 23: - int i28 = cVar.P; - if (i28 == 8) { + int i30 = cVar.P; + if (i30 == 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; + } 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; } else { i3 = 268435456; } - i2 = -1; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; case 24: - i3 = f0.r(cVar.P); + i3 = e0.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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; } - i2 = -1; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + c.i.b.b.a aVar = p.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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; case 26: - m a7 = m.a(new c.i.a.c.i2.w(cVar.a(cVar.b))); - list2 = a7.a; + q a7 = q.a(new x(cVar.a(cVar.b))); + list = a7.a; cVar.Y = a7.b; - str4 = a7.f927c; - str3 = "video/hevc"; - i8 = -1; - str12 = str3; - str2 = str4; - arrayList = list2; - list = arrayList; + str8 = a7.d; + str7 = "video/hevc"; + str = str8; + str12 = str7; i3 = -1; - str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, 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; + 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 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; case 31: - ArrayList arrayList4 = new ArrayList(3); - arrayList4.add(cVar.a(cVar.b)); + ArrayList arrayList5 = new ArrayList(3); + arrayList5.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()); + arrayList5.add(allocate.order(byteOrder).putLong(cVar.R).array()); + arrayList5.add(ByteBuffer.allocate(8).order(byteOrder).putLong(cVar.S).array()); i9 = 5760; - str5 = "audio/opus"; - arrayList2 = arrayList4; - i8 = i9; + str3 = "audio/opus"; + arrayList3 = arrayList5; str2 = null; - arrayList = arrayList2; - str12 = str5; - list = arrayList; - i3 = -1; + arrayList2 = arrayList3; + str12 = str3; + list2 = arrayList2; str = str2; - i2 = i8; + 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 Format.b(); - if (!c.i.a.c.i2.s.h(str12)) { + 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.f2279c = cVar.W; + bVar.f823c = 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.f678c, i4); + j1 a3 = bVar.a(); + w p = jVar.p(cVar.f950c, i4); cVar.X = p; p.e(a3); - eVar = this; - eVar.h.put(cVar.f678c, cVar); + this.h.put(cVar.f950c, cVar); break; default: - throw new ParserException("Unrecognized codec identifier."); + throw ParserException.a("Unrecognized codec identifier.", null); } } - eVar.f677z = null; + this.f949z = null; return; } - throw new ParserException("CodecId is missing in TrackEntry element"); + throw ParserException.a("CodecId is missing in TrackEntry element", null); } else if (i == 19899) { - int i29 = eVar.B; - if (i29 != -1) { - long j2 = eVar.C; + int i32 = this.B; + if (i32 != -1) { + long j2 = this.C; if (j2 != -1) { - if (i29 == 475249515) { - eVar.E = j2; + if (i32 == 475249515) { + this.E = j2; return; } return; } } - throw new ParserException("Mandatory element SeekID or SeekPosition not found"); + throw ParserException.a("Mandatory element SeekID or SeekPosition not found", null); } else if (i == 25152) { c(i); - c cVar2 = eVar.f677z; + c cVar2 = this.f949z; 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)); + cVar2.l = new DrmInitData(null, true, new DrmInitData.SchemeData(x0.a, "video/webm", aVar2.b)); return; } - throw new ParserException("Encrypted Track found but ContentEncKeyID was not found"); + throw ParserException.a("Encrypted Track found but ContentEncKeyID was not found", null); } } else if (i == 28032) { c(i); - c cVar3 = eVar.f677z; + c cVar3 = this.f949z; if (cVar3.h && cVar3.i != null) { - throw new ParserException("Combining encryption and compression is not supported"); + throw ParserException.a("Combining encryption and compression is not supported", null); } } else if (i == 357149030) { - if (eVar.w == -9223372036854775807L) { - eVar.w = 1000000; + if (this.w == -9223372036854775807L) { + this.w = 1000000; } - long j3 = eVar.f675x; + long j3 = this.f947x; if (j3 != -9223372036854775807L) { - eVar.f676y = eVar.m(j3); + this.f948y = m(j3); } } else if (i != 374648427) { if (i == 475249515) { - if (!eVar.A) { - j jVar2 = eVar.f673f0; - q qVar = eVar.H; - q qVar2 = eVar.I; - if (eVar.v == -1 || eVar.f676y == -9223372036854775807L || qVar == null || (i10 = qVar.a) == 0 || qVar2 == null || qVar2.a != i10) { - tVar = new t.b(eVar.f676y, 0); + 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 i30 = 0; i30 < i10; i30++) { - jArr3[i30] = qVar.b(i30); - jArr[i30] = qVar2.b(i30) + eVar.v; + 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 i31 = i12 + 1; - iArr[i12] = (int) (jArr[i31] - jArr[i12]); - jArr2[i12] = jArr3[i31] - jArr3[i12]; - i12 = i31; + int i34 = i12 + 1; + iArr[i12] = (int) (jArr[i34] - jArr[i12]); + jArr2[i12] = jArr3[i34] - jArr3[i12]; + i12 = i34; } - iArr[i11] = (int) ((eVar.v + eVar.u) - jArr[i11]); - jArr2[i11] = eVar.f676y - jArr3[i11]; + iArr[i11] = (int) ((this.v + this.u) - jArr[i11]); + jArr2[i11] = this.f948y - jArr3[i11]; long j4 = jArr2[i11]; if (j4 <= 0) { - Log.w("MatroskaExtractor", "Discarding last cue point with unexpected duration: " + j4); + 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.a2.c(iArr, jArr, jArr2, jArr3); + tVar = new c.i.a.c.x2.c(iArr, jArr, jArr2, jArr3); } jVar2.a(tVar); - eVar.A = true; + this.A = true; } - eVar.H = null; - eVar.I = null; + this.H = null; + this.I = null; } - } else if (eVar.h.size() != 0) { - eVar.f673f0.j(); + } else if (this.h.size() != 0) { + this.f945f0.j(); } else { - throw new ParserException("No valid tracks were found"); + throw ParserException.a("No valid tracks were found", null); } - } else if (eVar.L == 2) { - int i32 = 0; - for (int i33 = 0; i33 < eVar.P; i33++) { - i32 += eVar.Q[i33]; + } else if (this.L == 2) { + int i35 = 0; + for (int i36 = 0; i36 < this.P; i36++) { + i35 += this.Q[i36]; } - c cVar4 = eVar.h.get(eVar.R); + c cVar4 = this.h.get(this.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 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 i36 = eVar.Q[i34]; - int i37 = i32 - i36; - d(cVar4, j5, i35, i36, i37); - i34++; - i32 = i37; + int i39 = this.Q[i37]; + int i40 = i35 - i39; + d(cVar4, j5, i38, i39, i40); + i37++; + i35 = i40; } - eVar.L = 0; + this.L = 0; } } public final void k(i iVar, int i) throws IOException { - c.i.a.c.i2.w wVar = this.l; - if (wVar.f919c < i) { - byte[] bArr = wVar.a; + x xVar = this.l; + if (xVar.f792c < i) { + byte[] bArr = xVar.a; if (bArr.length < i) { - wVar.b(Math.max(bArr.length * 2, i)); + xVar.b(Math.max(bArr.length * 2, i)); } - c.i.a.c.i2.w wVar2 = this.l; - byte[] bArr2 = wVar2.a; - int i2 = wVar2.f919c; + x xVar2 = this.l; + byte[] bArr2 = xVar2.a; + int i2 = xVar2.f792c; iVar.readFully(bArr2, i2, i - i2); - this.l.C(i); + this.l.D(i); } } @@ -3505,204 +3494,190 @@ public class e implements h { this.X = 0; this.Y = 0; this.Z = false; - this.f668a0 = false; - this.f669b0 = false; - this.f670c0 = 0; - this.f671d0 = 0; - this.f672e0 = false; - this.o.z(0); + 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 f0.E(j, j2, 1000); + return e0.F(j, j2, 1000); } - throw new ParserException("Can't scale timecode prior to timecodeScale being set."); + 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; - int i3; 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 if ("S_TEXT/ASS".equals(cVar.b)) { - o(iVar, f667c, i); - int i5 = this.X; - l(); - return i5; } else { - c.i.a.c.a2.w wVar = cVar.X; - char c2 = '\b'; + w wVar = cVar.X; + boolean z2 = true; if (!this.Z) { if (cVar.h) { this.T &= -1073741825; - int i6 = 128; - if (!this.f668a0) { + 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.f671d0 = bArr[0]; - this.f668a0 = true; + this.f943d0 = bArr[0]; + this.f940a0 = true; } else { - throw new ParserException("Extension bit is set in signal byte"); + throw ParserException.a("Extension bit is set in signal byte", null); } } - byte b2 = this.f671d0; + byte b2 = this.f943d0; if ((b2 & 1) == 1) { - boolean z2 = (b2 & 2) == 2; + boolean z3 = (b2 & 2) == 2; this.T |= BasicMeasure.EXACTLY; - if (!this.f672e0) { + if (!this.f944e0) { iVar.readFully(this.q.a, 0, 8); this.W += 8; - this.f672e0 = true; - c.i.a.c.i2.w wVar2 = this.l; - byte[] bArr2 = wVar2.a; - if (!z2) { - i6 = 0; + this.f944e0 = true; + x xVar = this.l; + byte[] bArr2 = xVar.a; + if (!z3) { + i5 = 0; } - bArr2[0] = (byte) (i6 | 8); - wVar2.D(0); + bArr2[0] = (byte) (i5 | 8); + xVar.E(0); wVar.f(this.l, 1, 1); this.X++; - this.q.D(0); + this.q.E(0); wVar.f(this.q, 8, 1); this.X += 8; } - if (z2) { - if (!this.f669b0) { + if (z3) { + if (!this.f941b0) { iVar.readFully(this.l.a, 0, 1); this.W++; - this.l.D(0); - this.f670c0 = this.l.s(); - this.f669b0 = true; + this.l.E(0); + this.f942c0 = this.l.t(); + this.f941b0 = true; } - int i7 = this.f670c0 * 4; - this.l.z(i7); - iVar.readFully(this.l.a, 0, i7); - this.W += i7; - short s2 = (short) ((this.f670c0 / 2) + 1); - int i8 = (s2 * 6) + 2; + 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() < i8) { - this.t = ByteBuffer.allocate(i8); + 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; - int i10 = 0; while (true) { - i3 = this.f670c0; - if (i9 >= i3) { + i2 = this.f942c0; + if (i8 >= i2) { break; } - int v = this.l.v(); - if (i9 % 2 == 0) { - this.t.putShort((short) (v - i10)); + int w = this.l.w(); + if (i8 % 2 == 0) { + this.t.putShort((short) (w - i9)); } else { - this.t.putInt(v - i10); + this.t.putInt(w - i9); } - i9++; - i10 = v; + i8++; + i9 = w; } - int i11 = (i - this.W) - i10; - if (i3 % 2 == 1) { - this.t.putInt(i11); + int i10 = (i - this.W) - i9; + if (i2 % 2 == 1) { + this.t.putInt(i10); } else { - this.t.putShort((short) i11); + this.t.putShort((short) i10); this.t.putInt(0); } - this.r.B(this.t.array(), i8); - wVar.f(this.r, i8, 1); - this.X += i8; + this.r.C(this.t.array(), i7); + wVar.f(this.r, i7, 1); + this.X += i7; } } } else { byte[] bArr3 = cVar.i; if (bArr3 != null) { - c.i.a.c.i2.w wVar3 = this.o; + x xVar2 = this.o; int length = bArr3.length; - wVar3.a = bArr3; - wVar3.f919c = length; - wVar3.b = 0; + xVar2.a = bArr3; + xVar2.f792c = length; + xVar2.b = 0; } } if (cVar.f > 0) { this.T |= 268435456; - this.f674s.z(0); - this.l.z(4); - c.i.a.c.i2.w wVar4 = this.l; - byte[] bArr4 = wVar4.a; + 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(wVar4, 4, 2); + wVar.f(xVar3, 4, 2); this.X += 4; } this.Z = true; } - int i12 = i + this.o.f919c; + 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) { - c.c.a.a0.d.D(this.o.f919c == 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; - } + if (this.o.f792c != 0) { + z2 = false; } + d.D(z2); + cVar.T.c(iVar); } while (true) { - int i13 = this.W; - if (i13 >= i12) { + int i12 = this.W; + if (i12 >= i11) { break; } - int p = p(iVar, wVar, i12 - i13); + int p = p(iVar, wVar, i11 - i12); 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); + 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) { - c.i.a.c.i2.w wVar5 = this.o; - System.arraycopy(wVar5.a, wVar5.b, bArr6, i15, min); - wVar5.b += min; + x xVar4 = this.o; + System.arraycopy(xVar4.a, xVar4.b, bArr5, i14, min); + xVar4.b += min; } - this.W += i14; - this.k.D(0); - this.Y = this.k.v(); - this.j.D(0); + 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, i16); + int p2 = p(iVar, wVar, i15); this.W += p2; this.X += p2; this.Y -= p2; @@ -3710,31 +3685,31 @@ public class e implements h { } } if ("A_VORBIS".equals(cVar.b)) { - this.m.D(0); + this.m.E(0); wVar.c(this.m, 4); this.X += 4; } - int i17 = this.X; + int i16 = this.X; l(); - return i17; + return i16; } } 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; + x xVar = this.p; + byte[] bArr2 = xVar.a; if (bArr2.length < length) { - wVar.A(Arrays.copyOf(bArr, length + i)); + 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.D(0); - this.p.C(length); + this.p.E(0); + this.p.D(length); } - public final int p(i iVar, c.i.a.c.a2.w wVar, int i) throws IOException { + 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); @@ -3744,7 +3719,7 @@ public class e implements h { return min; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/g0/f.java similarity index 78% rename from app/src/main/java/c/i/a/c/a2/f0/f.java rename to app/src/main/java/c/i/a/c/x2/g0/f.java index 45f6d6b414..7cc22f0cc2 100644 --- a/app/src/main/java/c/i/a/c/a2/f0/f.java +++ b/app/src/main/java/c/i/a/c/x2/g0/f.java @@ -1,16 +1,16 @@ -package c.i.a.c.a2.f0; +package c.i.a.c.x2.g0; -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; +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 w a = new w(8); + public final x a = new x(8); public int b; public final long a(i iVar) throws IOException { int i = 0; - iVar.n(this.a.a, 0, 1); + iVar.o(this.a.a, 0, 1); int i2 = this.a.a[0] & 255; if (i2 == 0) { return Long.MIN_VALUE; @@ -22,7 +22,7 @@ public final class f { i4++; } int i5 = i2 & (~i3); - iVar.n(this.a.a, 1, i4); + iVar.o(this.a.a, 1, i4); while (i < i4) { i++; i5 = (this.a.a[i] & 255) + (i5 << 8); diff --git a/app/src/main/java/c/i/a/c/a2/f0/g.java b/app/src/main/java/c/i/a/c/x2/g0/g.java similarity index 89% rename from app/src/main/java/c/i/a/c/a2/f0/g.java rename to app/src/main/java/c/i/a/c/x2/g0/g.java index bcfb7f68a1..8253ee791e 100644 --- a/app/src/main/java/c/i/a/c/a2/f0/g.java +++ b/app/src/main/java/c/i/a/c/x2/g0/g.java @@ -1,6 +1,6 @@ -package c.i.a.c.a2.f0; +package c.i.a.c.x2.g0; -import c.i.a.c.a2.i; +import c.i.a.c.x2.i; import java.io.IOException; /* compiled from: VarintReader */ public final class g { @@ -8,7 +8,7 @@ public final class g { public final byte[] b = new byte[8]; /* renamed from: c reason: collision with root package name */ - public int f684c; + public int f955c; public int d; public static long a(byte[] bArr, int i, boolean z2) { @@ -37,27 +37,27 @@ public final class g { } public long c(i iVar, boolean z2, boolean z3, int i) throws IOException { - if (this.f684c == 0) { + 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.f684c = 1; + this.f955c = 1; } else { throw new IllegalStateException("No valid varint length mask found"); } } int i2 = this.d; if (i2 > i) { - this.f684c = 0; + this.f955c = 0; return -2; } if (i2 != 1) { iVar.readFully(this.b, 1, i2 - 1); } - this.f684c = 0; + this.f955c = 0; return a(this.b, this.d, z3); } } diff --git a/app/src/main/java/c/i/a/c/a2/h.java b/app/src/main/java/c/i/a/c/x2/h.java similarity index 92% rename from app/src/main/java/c/i/a/c/a2/h.java rename to app/src/main/java/c/i/a/c/x2/h.java index a9a036e182..a39e98ad60 100644 --- a/app/src/main/java/c/i/a/c/a2/h.java +++ b/app/src/main/java/c/i/a/c/x2/h.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import java.io.IOException; /* compiled from: Extractor */ diff --git a/app/src/main/java/c/i/a/c/a2/g0/a.java b/app/src/main/java/c/i/a/c/x2/h0/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/g0/a.java rename to app/src/main/java/c/i/a/c/x2/h0/a.java index 3999776af3..cf99c02590 100644 --- a/app/src/main/java/c/i/a/c/a2/g0/a.java +++ b/app/src/main/java/c/i/a/c/x2/h0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.g0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new f(0)}; } - @Override // c.i.a.c.a2.l + @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/a2/g0/b.java b/app/src/main/java/c/i/a/c/x2/h0/b.java similarity index 82% rename from app/src/main/java/c/i/a/c/a2/g0/b.java rename to app/src/main/java/c/i/a/c/x2/h0/b.java index 7c32f4748d..43962878f8 100644 --- a/app/src/main/java/c/i/a/c/a2/g0/b.java +++ b/app/src/main/java/c/i/a/c/x2/h0/b.java @@ -1,11 +1,11 @@ -package c.i.a.c.a2.g0; +package c.i.a.c.x2.h0; -import c.i.a.c.c2.k.b; +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.c2.k.b.a + @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/a2/g0/e.java b/app/src/main/java/c/i/a/c/x2/h0/e.java similarity index 65% rename from app/src/main/java/c/i/a/c/a2/g0/e.java rename to app/src/main/java/c/i/a/c/x2/h0/e.java index a6e4cd173c..cc9cd1416e 100644 --- a/app/src/main/java/c/i/a/c/a2/g0/e.java +++ b/app/src/main/java/c/i/a/c/x2/h0/e.java @@ -1,10 +1,9 @@ -package c.i.a.c.a2.g0; +package c.i.a.c.x2.h0; 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 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 { @@ -12,16 +11,16 @@ public final class e implements g { public final long[] b; /* renamed from: c reason: collision with root package name */ - public final long f686c; + public final long f957c; public e(long[] jArr, long[] jArr2, long j) { this.a = jArr; this.b = jArr2; - this.f686c = j == -9223372036854775807L ? h0.a(jArr2[jArr2.length - 1]) : j; + this.f957c = j == -9223372036854775807L ? e0.B(jArr2[jArr2.length - 1]) : j; } public static Pair b(long j, long[] jArr, long[] jArr2) { - int e = f0.e(jArr, j, true, true); + int e = e0.e(jArr, j, true, true); long j2 = jArr[e]; long j3 = jArr2[e]; int i = e + 1; @@ -32,29 +31,29 @@ public final class e implements g { 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 + @Override // c.i.a.c.x2.h0.g public long a() { return -1; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return true; } - @Override // c.i.a.c.a2.g0.g + @Override // c.i.a.c.x2.h0.g public long d(long j) { - return h0.a(((Long) b(j, this.a, this.b).second).longValue()); + return e0.B(((Long) b(j, this.a, this.b).second).longValue()); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public t.a h(long j) { - Pair b = b(h0.b(f0.i(j, 0, this.f686c)), this.b, this.a); - return new t.a(new u(h0.a(((Long) b.first).longValue()), ((Long) b.second).longValue())); + 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.a2.t + @Override // c.i.a.c.x2.t public long i() { - return this.f686c; + return this.f957c; } } diff --git a/app/src/main/java/c/i/a/c/a2/g0/f.java b/app/src/main/java/c/i/a/c/x2/h0/f.java similarity index 62% rename from app/src/main/java/c/i/a/c/a2/g0/f.java rename to app/src/main/java/c/i/a/c/x2/h0/f.java index 380a41aa3f..21f00ca9b1 100644 --- a/app/src/main/java/c/i/a/c/a2/g0/f.java +++ b/app/src/main/java/c/i/a/c/x2/h0/f.java @@ -1,23 +1,23 @@ -package c.i.a.c.a2.g0; +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.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 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; @@ -31,15 +31,15 @@ public final class f implements h { public final int b; /* renamed from: c reason: collision with root package name */ - public final long f687c; - public final w d; - public final z.a e; + public final long f958c; + public final x d; + public final a0.a e; public final p f; public final q g; - public final c.i.a.c.a2.w h; + public final w h; public j i; - public c.i.a.c.a2.w j; - public c.i.a.c.a2.w k; + public w j; + public w k; public int l; @Nullable public Metadata m; @@ -50,7 +50,7 @@ public final class f implements h { public g r; /* renamed from: s reason: collision with root package name */ - public boolean f688s; + public boolean f959s; public boolean t; public long u; @@ -63,10 +63,10 @@ public final class f implements h { } public f(int i) { - this.b = i; - this.f687c = -9223372036854775807L; - this.d = new w(10); - this.e = new z.a(); + 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(); @@ -85,7 +85,7 @@ public final class f implements h { if (entry instanceof TextInformationFrame) { TextInformationFrame textInformationFrame = (TextInformationFrame) entry; if (textInformationFrame.i.equals("TLEN")) { - return h0.a(Long.parseLong(textInformationFrame.k)); + return e0.B(Long.parseLong(textInformationFrame.k)); } } } @@ -100,70 +100,69 @@ public final class f implements h { return ((j * 1000000) / ((long) this.e.d)) + this.n; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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); + 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); + return new c(iVar.b(), iVar.getPosition(), this.e, z2); } - /* 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:134:0x02f0, code lost: + if ((r1.b & 1) != 0) goto L_0x02f2; */ - /* JADX WARNING: Code restructure failed: missing block: B:20:0x0060, code lost: - if (r3 != 1231971951) goto L_0x0063; + /* 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: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 + /* 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 iVar2; + i iVar3; long j; long j2; long d; int f; int i3; - i iVar3; - int v; i iVar4; + int w; + i iVar5; h hVar2; h hVar3; int i4; - i iVar5 = iVar; d.H(this.j); - int i5 = f0.a; + int i5 = e0.a; if (this.l == 0) { try { - j(iVar5, false); + j(iVar, false); } catch (EOFException unused) { - i = -1; fVar = this; } } if (this.r == null) { - w wVar = new w(this.e.f1012c); - iVar5.n(wVar.a, 0, this.e.f1012c); - z.a aVar = this.e; + 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) { @@ -172,9 +171,9 @@ public final class f implements h { } else if (aVar.e == 1) { i6 = 13; } - if (wVar.f919c >= i6 + 4) { - wVar.D(i6); - i2 = wVar.f(); + if (xVar.f792c >= i6 + 4) { + xVar.E(i6); + i2 = xVar.f(); if (i2 != 1483304551) { } String str = ", "; @@ -182,132 +181,133 @@ public final class f implements h { fVar = this; long b = iVar.b(); long position = iVar.getPosition(); - z.a aVar2 = fVar.e; + a0.a aVar2 = fVar.e; int i7 = aVar2.g; int i8 = aVar2.d; - f = wVar.f(); - if ((f & 1) == 1 || (v = wVar.v()) == 0) { + f = xVar.f(); + if ((f & 1) == 1 || (w = xVar.w()) == 0) { i3 = i6; - iVar3 = null; + iVar4 = null; } else { i3 = i6; - long E = f0.E((long) v, ((long) i7) * 1000000, (long) i8); + long F = e0.F((long) w, ((long) i7) * 1000000, (long) i8); if ((f & 6) != 6) { - iVar4 = new i(position, aVar2.f1012c, E, -1, null); + iVar5 = new i(position, aVar2.f885c, F, -1, null); } else { - long t = wVar.t(); + long u = xVar.u(); long[] jArr = new long[100]; for (int i9 = 0; i9 < 100; i9++) { - jArr[i9] = (long) wVar.s(); + jArr[i9] = (long) xVar.t(); } if (b != -1) { - long j3 = position + t; + long j3 = position + u; if (b != j3) { - StringBuilder R = a.R("XING data size mismatch: ", b, str); - R.append(j3); - Log.w("XingSeeker", R.toString()); + StringBuilder P = a.P(67, "XING data size mismatch: ", b, str); + P.append(j3); + Log.w("XingSeeker", P.toString()); } } - iVar4 = new i(position, aVar2.f1012c, E, t, jArr); + iVar5 = new i(position, aVar2.f885c, F, u, jArr); } - iVar3 = iVar4; + iVar4 = iVar5; } - if (iVar3 != null) { + if (iVar4 != null) { p pVar = fVar.f; - if (!((pVar.b == -1 || pVar.f762c == -1) ? false : true)) { + if (!((pVar.b == -1 || pVar.f1034c == -1) ? false : true)) { iVar.k(); - iVar5 = iVar; - iVar5.g(i3 + 141); - iVar5.n(fVar.d.a, 0, 3); - fVar.d.D(0); + iVar2 = iVar; + iVar2.g(i3 + 141); + iVar2.o(fVar.d.a, 0, 3); + fVar.d.E(0); p pVar2 = fVar.f; - int u = fVar.d.u(); + int v = fVar.d.v(); Objects.requireNonNull(pVar2); - int i10 = u >> 12; - int i11 = u & 4095; + int i10 = v >> 12; + int i11 = v & 4095; if (i10 > 0 || i11 > 0) { pVar2.b = i10; - pVar2.f762c = i11; + pVar2.f1034c = i11; } - iVar5.l(fVar.e.f1012c); - hVar = iVar3; - if (iVar3 != null) { - boolean c2 = iVar3.c(); - hVar = iVar3; + iVar2.l(fVar.e.f885c); + hVar = iVar4; + if (iVar4 != null) { + boolean c2 = iVar4.c(); + hVar = iVar4; if (!c2) { - hVar = iVar3; + hVar = iVar4; if (i2 == 1231971951) { - hVar = c(iVar); + hVar = fVar.c(iVar2, false); } } } } } - iVar5 = iVar; - iVar5.l(fVar.e.f1012c); - hVar = iVar3; - if (iVar3 != null) { + iVar2 = iVar; + iVar2.l(fVar.e.f885c); + hVar = iVar4; + if (iVar4 != 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(); + a0.a aVar3 = this.e; + xVar.F(10); + int f2 = xVar.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.f1012c); - long[] jArr2 = new long[x2]; - long[] jArr3 = new long[x2]; + 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 < x2) { - jArr2[i13] = (((long) i13) * E2) / ((long) x2); + if (i13 < y2) { + jArr2[i13] = (((long) i13) * F2) / ((long) y2); 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) { + 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 = wVar.v(); + i4 = xVar.w(); } - j5 += (long) (i4 * x3); + j5 += (long) (i4 * y3); 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()); + StringBuilder P2 = a.P(67, "VBRI data size mismatch: ", b2, str); + P2.append(j5); + Log.w("VbriSeeker", P2.toString()); } - hVar3 = new h(jArr2, jArr3, E2, j5); + hVar3 = new h(jArr2, jArr3, F2, j5); } } fVar = this; - iVar.l(fVar.e.f1012c); - iVar5 = iVar; + iVar.l(fVar.e.f885c); + iVar2 = iVar; hVar2 = hVar3; } hVar3 = null; fVar = this; - iVar.l(fVar.e.f1012c); - iVar5 = iVar; + iVar.l(fVar.e.f885c); + iVar2 = iVar; hVar2 = hVar3; } else { fVar = this; iVar.k(); + iVar2 = iVar; hVar2 = null; } hVar = hVar2; @@ -344,13 +344,13 @@ public final class f implements h { i14++; } } - if (!fVar.f688s) { - iVar2 = new g.a(); + if (!fVar.f959s) { + iVar3 = new g.a(); } else { i iVar6 = hVar; - if ((fVar.b & 2) != 0) { + if ((fVar.b & 4) != 0) { if (eVar != null) { - d = eVar.f686c; + d = eVar.f957c; } else if (hVar != null) { j2 = hVar.i(); j = hVar.a(); @@ -368,51 +368,51 @@ public final class f implements h { } if (iVar6 != null) { boolean c3 = iVar6.c(); - iVar2 = iVar6; + iVar3 = iVar6; if (!c3) { - iVar2 = iVar6; + iVar3 = iVar6; } } - iVar2 = c(iVar); + iVar3 = fVar.c(iVar2, (fVar.b & 2) != 0); } - fVar.r = 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; + 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.f2281x = aVar4.e; - bVar.f2282y = aVar4.d; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; p pVar3 = fVar.f; bVar.A = pVar3.b; - bVar.B = pVar3.f762c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); + 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.f688s) { + if (!fVar.f959s) { } - fVar.r = 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; + 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.f2281x = aVar4.e; - bVar.f2282y = aVar4.d; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; p pVar3 = fVar.f; bVar.A = pVar3.b; - bVar.B = pVar3.f762c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); + bVar.B = pVar3.f1034c; + bVar.i = (fVar.b & 8) == 0 ? null : fVar.m; + wVar.e(bVar.a()); fVar.p = iVar.getPosition(); } - if (wVar.f919c >= 40) { - wVar.D(36); - if (wVar.f() == 1447187017) { + if (xVar.f792c >= 40) { + xVar.E(36); + if (xVar.f() == 1447187017) { i2 = 1447187017; String str = ", "; if (i2 != 1483304551) { @@ -420,42 +420,42 @@ public final class f implements h { fVar = this; long b = iVar.b(); long position = iVar.getPosition(); - z.a aVar2 = fVar.e; + a0.a aVar2 = fVar.e; int i7 = aVar2.g; int i8 = aVar2.d; - f = wVar.f(); + f = xVar.f(); if ((f & 1) == 1) { } i3 = i6; - iVar3 = null; - if (iVar3 != null) { + iVar4 = null; + if (iVar4 != null) { } - iVar5 = iVar; - iVar5.l(fVar.e.f1012c); - hVar = iVar3; - if (iVar3 != 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.f688s) { + if (!fVar.f959s) { } - fVar.r = 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; + 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.f2281x = aVar4.e; - bVar.f2282y = aVar4.d; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; p pVar3 = fVar.f; bVar.A = pVar3.b; - bVar.B = pVar3.f762c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); + bVar.B = pVar3.f1034c; + bVar.i = (fVar.b & 8) == 0 ? null : fVar.m; + wVar.e(bVar.a()); fVar.p = iVar.getPosition(); } } @@ -466,60 +466,61 @@ public final class f implements h { fVar = this; long b = iVar.b(); long position = iVar.getPosition(); - z.a aVar2 = fVar.e; + a0.a aVar2 = fVar.e; int i7 = aVar2.g; int i8 = aVar2.d; - f = wVar.f(); + f = xVar.f(); if ((f & 1) == 1) { } i3 = i6; - iVar3 = null; - if (iVar3 != null) { + iVar4 = null; + if (iVar4 != null) { } - iVar5 = iVar; - iVar5.l(fVar.e.f1012c); - hVar = iVar3; - if (iVar3 != 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.f688s) { + if (!fVar.f959s) { } - fVar.r = 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; + 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.f2281x = aVar4.e; - bVar.f2282y = aVar4.d; + bVar.f825x = aVar4.e; + bVar.f826y = aVar4.d; p pVar3 = fVar.f; bVar.A = pVar3.b; - bVar.B = pVar3.f762c; - bVar.i = (fVar.b & 4) == 0 ? null : fVar.m; - wVar2.e(bVar.a()); + 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) { - iVar5.l((int) (j7 - position4)); + iVar2.l((int) (j7 - position4)); } } } if (fVar.q == 0) { iVar.k(); if (!i(iVar)) { - fVar.d.D(0); + fVar.d.E(0); int f3 = fVar.d.f(); - if (!h(f3, (long) fVar.l) || z.a(f3) == -1) { - iVar5.l(1); + 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)) { @@ -535,20 +536,20 @@ public final class f implements h { fVar.e.a(f3); if (fVar.n == -9223372036854775807L) { fVar.n = fVar.r.d(iVar.getPosition()); - if (fVar.f687c != -9223372036854775807L) { - fVar.n = (fVar.f687c - fVar.r.d(0)) + fVar.n; + if (fVar.f958c != -9223372036854775807L) { + fVar.n = (fVar.f958c - fVar.r.d(0)) + fVar.n; } } - z.a aVar5 = fVar.e; - fVar.q = aVar5.f1012c; + 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.f1012c); + long position5 = iVar.getPosition() + ((long) fVar.e.f885c); if (!dVar.b(a3)) { dVar.b.a(a3); - dVar.f685c.a(position5); + dVar.f956c.a(position5); } if (fVar.t && dVar.b(fVar.u)) { fVar.t = false; @@ -562,12 +563,12 @@ public final class f implements h { } return i; } - int b3 = fVar.k.b(iVar5, fVar.q, true); + 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.f1012c, 0, null); + fVar.k.d(fVar.a(fVar.o), 1, fVar.e.f885c, 0, null); fVar.o += (long) fVar.e.g; fVar.q = 0; } @@ -584,16 +585,16 @@ public final class f implements h { return i; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void f(j jVar) { this.i = jVar; - c.i.a.c.a2.w p = jVar.p(0, 1); + w p = jVar.p(0, 1); this.j = p; this.k = p; this.i.j(); } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { this.l = 0; this.n = -9223372036854775807L; @@ -629,7 +630,7 @@ public final class f implements h { int i3 = z2 ? 32768 : 131072; iVar.k(); if (iVar.getPosition() == 0) { - Metadata a3 = this.g.a(iVar, (this.b & 4) == 0 ? null : a); + Metadata a3 = this.g.a(iVar, (this.b & 8) == 0 ? null : a); this.m = a3; if (a3 != null) { this.f.b(a3); @@ -647,9 +648,9 @@ public final class f implements h { int i5 = 0; while (true) { if (!i(iVar)) { - this.d.D(0); + this.d.E(0); int f = this.d.f(); - if ((i2 == 0 || h(f, (long) i2)) && (a2 = z.a(f)) != -1) { + if ((i2 == 0 || h(f, (long) i2)) && (a2 = a0.a(f)) != -1) { i4++; if (i4 != 1) { if (i4 == 4) { @@ -675,7 +676,7 @@ public final class f implements h { } else if (z2) { return false; } else { - throw new ParserException("Searched too many bytes."); + throw ParserException.a("Searched too many bytes.", null); } } } else if (i4 <= 0) { @@ -691,7 +692,7 @@ public final class f implements h { return true; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/h0/g.java similarity index 76% rename from app/src/main/java/c/i/a/c/a2/g0/g.java rename to app/src/main/java/c/i/a/c/x2/h0/g.java index 566ba42c1b..44f45e60e8 100644 --- a/app/src/main/java/c/i/a/c/a2/g0/g.java +++ b/app/src/main/java/c/i/a/c/x2/h0/g.java @@ -1,6 +1,6 @@ -package c.i.a.c.a2.g0; +package c.i.a.c.x2.h0; -import c.i.a.c.a2.t; +import c.i.a.c.x2.t; /* compiled from: Seeker */ public interface g extends t { @@ -10,12 +10,12 @@ public interface g extends t { super(-9223372036854775807L, 0); } - @Override // c.i.a.c.a2.g0.g + @Override // c.i.a.c.x2.h0.g public long a() { return -1; } - @Override // c.i.a.c.a2.g0.g + @Override // c.i.a.c.x2.h0.g public long d(long j) { return 0; } diff --git a/app/src/main/java/c/i/a/c/a2/g0/h.java b/app/src/main/java/c/i/a/c/x2/h0/h.java similarity index 66% rename from app/src/main/java/c/i/a/c/a2/g0/h.java rename to app/src/main/java/c/i/a/c/x2/h0/h.java index bff70ca420..42516df765 100644 --- a/app/src/main/java/c/i/a/c/a2/g0/h.java +++ b/app/src/main/java/c/i/a/c/x2/h0/h.java @@ -1,42 +1,42 @@ -package c.i.a.c.a2.g0; +package c.i.a.c.x2.h0; -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.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 f689c; + 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.f689c = j; + this.f960c = j; this.d = j2; } - @Override // c.i.a.c.a2.g0.g + @Override // c.i.a.c.x2.h0.g public long a() { return this.d; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return true; } - @Override // c.i.a.c.a2.g0.g + @Override // c.i.a.c.x2.h0.g public long d(long j) { - return this.a[f0.e(this.b, j, true, true)]; + return this.a[e0.e(this.b, j, true, true)]; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public t.a h(long j) { - int e = f0.e(this.a, j, true, true); + int e = e0.e(this.a, j, true, true); long[] jArr = this.a; long j2 = jArr[e]; long[] jArr2 = this.b; @@ -48,8 +48,8 @@ public final class h implements g { return new t.a(uVar, new u(jArr[i], jArr2[i])); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public long i() { - return this.f689c; + return this.f960c; } } diff --git a/app/src/main/java/c/i/a/c/a2/g0/i.java b/app/src/main/java/c/i/a/c/x2/h0/i.java similarity index 77% rename from app/src/main/java/c/i/a/c/a2/g0/i.java rename to app/src/main/java/c/i/a/c/x2/h0/i.java index 7c4ec47923..5a8cbe8cb1 100644 --- a/app/src/main/java/c/i/a/c/a2/g0/i.java +++ b/app/src/main/java/c/i/a/c/x2/h0/i.java @@ -1,10 +1,10 @@ -package c.i.a.c.a2.g0; +package c.i.a.c.x2.h0; 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 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 { @@ -12,7 +12,7 @@ public final class i implements g { public final int b; /* renamed from: c reason: collision with root package name */ - public final long f690c; + public final long f961c; public final long d; public final long e; @Nullable @@ -21,23 +21,23 @@ public final class i implements g { public i(long j, int i, long j2, long j3, @Nullable long[] jArr) { this.a = j; this.b = i; - this.f690c = j2; + this.f961c = j2; this.f = jArr; this.d = j3; this.e = j3 != -1 ? j + j3 : -1; } - @Override // c.i.a.c.a2.g0.g + @Override // c.i.a.c.x2.h0.g public long a() { return this.e; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return this.f != null; } - @Override // c.i.a.c.a2.g0.g + @Override // c.i.a.c.x2.h0.g public long d(long j) { long j2 = j - this.a; if (!c() || j2 <= ((long) this.b)) { @@ -46,8 +46,8 @@ public final class i implements g { 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.f690c; + 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; @@ -56,13 +56,13 @@ public final class i implements g { 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 + @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 = f0.i(j, 0, this.f690c); - double d = (((double) i) * 100.0d) / ((double) this.f690c); + 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) { @@ -76,11 +76,11 @@ public final class i implements g { 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))); + 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.a2.t + @Override // c.i.a.c.x2.t public long i() { - return this.f690c; + return this.f961c; } } diff --git a/app/src/main/java/c/i/a/c/a2/i.java b/app/src/main/java/c/i/a/c/x2/i.java similarity index 73% rename from app/src/main/java/c/i/a/c/a2/i.java rename to app/src/main/java/c/i/a/c/x2/i.java index a73272b808..da551de0fd 100644 --- a/app/src/main/java/c/i/a/c/a2/i.java +++ b/app/src/main/java/c/i/a/c/x2/i.java @@ -1,9 +1,9 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; -import c.i.a.c.h2.f; +import c.i.a.c.e3.h; import java.io.IOException; /* compiled from: ExtractorInput */ -public interface i extends f { +public interface i extends h { long b(); boolean c(byte[] bArr, int i, int i2, boolean z2) throws IOException; @@ -24,9 +24,11 @@ public interface i extends f { void l(int i) throws IOException; - void n(byte[] bArr, int i, int i2) throws IOException; + boolean m(int i, boolean z2) throws IOException; - @Override // c.i.a.c.h2.f + 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/a2/h0/a.java b/app/src/main/java/c/i/a/c/x2/i0/a.java similarity index 92% rename from app/src/main/java/c/i/a/c/a2/h0/a.java rename to app/src/main/java/c/i/a/c/x2/i0/a.java index e8a3dee642..a37ba0e023 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/a.java +++ b/app/src/main/java/c/i/a/c/x2/i0/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import c.i.b.a.e; /* compiled from: lambda */ diff --git a/app/src/main/java/c/i/a/c/a2/h0/b.java b/app/src/main/java/c/i/a/c/x2/i0/b.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/h0/b.java rename to app/src/main/java/c/i/a/c/x2/i0/b.java index f03adb6afa..6c30846d80 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/b.java +++ b/app/src/main/java/c/i/a/c/x2/i0/b.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new i(0)}; } - @Override // c.i.a.c.a2.l + @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/a2/h0/c.java b/app/src/main/java/c/i/a/c/x2/i0/c.java similarity index 94% rename from app/src/main/java/c/i/a/c/a2/h0/c.java rename to app/src/main/java/c/i/a/c/x2/i0/c.java index 1d57634329..fa79b253be 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/c.java +++ b/app/src/main/java/c/i/a/c/x2/i0/c.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import c.i.b.a.e; import java.util.Objects; diff --git a/app/src/main/java/c/i/a/c/a2/h0/d.java b/app/src/main/java/c/i/a/c/x2/i0/d.java similarity index 59% rename from app/src/main/java/c/i/a/c/a2/h0/d.java rename to app/src/main/java/c/i/a/c/x2/i0/d.java index f54334fd38..44bcfab971 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/d.java +++ b/app/src/main/java/c/i/a/c/x2/i0/d.java @@ -1,7 +1,7 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import androidx.annotation.Nullable; -import c.i.a.c.i2.w; +import c.i.a.c.f3.x; import java.util.ArrayList; import java.util.Arrays; import java.util.List; @@ -14,7 +14,7 @@ public abstract class d { public final long b; /* renamed from: c reason: collision with root package name */ - public final List f691c = new ArrayList(); + public final List f962c = new ArrayList(); public final List d = new ArrayList(); public a(int i, long j) { @@ -36,9 +36,9 @@ public abstract class d { @Nullable public b c(int i) { - int size = this.f691c.size(); + int size = this.f962c.size(); for (int i2 = 0; i2 < size; i2++) { - b bVar = this.f691c.get(i2); + b bVar = this.f962c.get(i2); if (bVar.a == i) { return bVar; } @@ -46,19 +46,24 @@ public abstract class d { return null; } - @Override // c.i.a.c.a2.h0.d + @Override // c.i.a.c.x2.i0.d public String toString() { - return d.a(this.a) + " leaves: " + Arrays.toString(this.f691c.toArray()) + " containers: " + Arrays.toString(this.d.toArray()); + 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 w b; + public final x b; - public b(int i, w wVar) { + public b(int i, x xVar) { super(i); - this.b = wVar; + this.b = xVar; } } @@ -67,12 +72,12 @@ public abstract class d { } 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(); + 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() { 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/a2/h0/f.java b/app/src/main/java/c/i/a/c/x2/i0/f.java similarity index 80% rename from app/src/main/java/c/i/a/c/a2/h0/f.java rename to app/src/main/java/c/i/a/c/x2/i0/f.java index 90b163e5ef..01f814acda 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/f.java +++ b/app/src/main/java/c/i/a/c/x2/i0/f.java @@ -1,17 +1,17 @@ -package c.i.a.c.a2.h0; +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 f694c; + 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.f694c = i3; + 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/a2/h0/h.java b/app/src/main/java/c/i/a/c/x2/i0/h.java similarity index 59% rename from app/src/main/java/c/i/a/c/a2/h0/h.java rename to app/src/main/java/c/i/a/c/x2/i0/h.java index bded70337e..5e37c220cd 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/h.java +++ b/app/src/main/java/c/i/a/c/x2/i0/h.java @@ -1,11 +1,11 @@ -package c.i.a.c.a2.h0; +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.i2.w; +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; @@ -17,34 +17,33 @@ public final class h { 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); + 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); } - StringBuilder O = a.O("Failed to parse comment attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); + 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(w wVar) { - int f = wVar.f(); - if (wVar.f() == 1684108385) { - int f2 = wVar.f() & ViewCompat.MEASURED_SIZE_MASK; + 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.i0("Unrecognized cover art flags: ", f2, "MetadataUtil"); + a.d0(41, "Unrecognized cover art flags: ", f2, "MetadataUtil"); return null; } - wVar.E(4); + xVar.F(4); int i = f - 16; byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += 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"); @@ -52,59 +51,63 @@ public final class h { } @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; + 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, l); + return new TextInformationFrame(str, null, sb2); } } - StringBuilder O = a.O("Failed to parse index/count attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); + 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, w wVar) { - int f = wVar.f(); - if (wVar.f() == 1684108385) { - wVar.E(8); - return new TextInformationFrame(str, null, wVar.o(f - 16)); + 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)); } - StringBuilder O = a.O("Failed to parse text attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); + 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, w wVar, boolean z2, boolean z3) { - int f = f(wVar); + 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)); } - StringBuilder O = a.O("Failed to parse uint8 attribute: "); - O.append(d.a(i)); - Log.w("MetadataUtil", O.toString()); + 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(w wVar) { - wVar.E(4); - if (wVar.f() == 1684108385) { - wVar.E(8); - return wVar.s(); + 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/a2/h0/i.java b/app/src/main/java/c/i/a/c/x2/i0/i.java similarity index 66% rename from app/src/main/java/c/i/a/c/a2/h0/i.java rename to app/src/main/java/c/i/a/c/x2/i0/i.java index 7b6d5a6862..06dde8bd0e 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/i.java +++ b/app/src/main/java/c/i/a/c/x2/i0/i.java @@ -1,22 +1,23 @@ -package c.i.a.c.a2.h0; +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.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 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.Format; import com.google.android.exoplayer2.ParserException; import com.google.android.exoplayer2.metadata.Metadata; import com.google.android.exoplayer2.metadata.id3.InternalFrame; @@ -36,10 +37,10 @@ public final class i implements h, t { public final int b; /* renamed from: c reason: collision with root package name */ - public final w f701c; - public final w d; - public final w e; - public final w f; + 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; @@ -48,25 +49,25 @@ public final class i implements h, t { public long l; public int m; @Nullable - public w n; + 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 f702s; + 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 f703x; + public int f975x; @Nullable /* renamed from: y reason: collision with root package name */ - public MotionPhotoMetadata f704y; + public MotionPhotoMetadata f976y; /* compiled from: Mp4Extractor */ public static final class a { @@ -74,13 +75,16 @@ public final class i implements h, t { public final p b; /* renamed from: c reason: collision with root package name */ - public final c.i.a.c.a2.w f705c; - public int d; + public final w f977c; + @Nullable + public final c.i.a.c.x2.x d; + public int e; - public a(m mVar, p pVar, c.i.a.c.a2.w wVar) { + public a(m mVar, p pVar, w wVar) { this.a = mVar; this.b = pVar; - this.f705c = wVar; + this.f977c = wVar; + this.d = "audio/true-hd".equals(mVar.f.v) ? new c.i.a.c.x2.x() : null; } } @@ -93,11 +97,11 @@ public final class i implements h, t { this.j = (i & 4) != 0 ? 3 : 0; this.h = new k(); this.i = new ArrayList(); - this.f = new w(16); + this.f = new x(16); this.g = new ArrayDeque<>(); - this.f701c = new w(u.a); - this.d = new w(4); - this.e = new w(); + this.f973c = new x(u.a); + this.d = new x(4); + this.e = new x(); this.o = -1; } @@ -106,26 +110,26 @@ public final class i implements h, t { if (a2 == -1) { a2 = pVar.b(j); } - return a2 == -1 ? j2 : Math.min(pVar.f711c[a2], j2); + return a2 == -1 ? j2 : Math.min(pVar.f983c[a2], j2); } - @Override // c.i.a.c.a2.h - public boolean b(c.i.a.c.a2.i iVar) throws IOException { + @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.a2.t + @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: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 { + /* 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; @@ -136,18 +140,15 @@ public final class i implements h, t { 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.f703x == 2 && (this.b & 2) != 0) { - j jVar = this.f702s; + if (this.f975x == 2 && (this.b & 2) != 0) { + j jVar = this.f974s; Objects.requireNonNull(jVar); - c.i.a.c.a2.w p = jVar.p(0, 4); - MotionPhotoMetadata motionPhotoMetadata = this.f704y; - if (motionPhotoMetadata != null) { - metadata = new Metadata(motionPhotoMetadata); - } - Format.b bVar = new Format.b(); + 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(); @@ -159,8 +160,8 @@ public final class i implements h, t { } } else { this.m = 8; - this.f.D(0); - this.l = this.f.t(); + this.f.E(0); + this.l = this.f.u(); this.k = this.f.f(); } } @@ -168,7 +169,7 @@ public final class i implements h, t { if (j == 1) { iVar.readFully(this.f.a, 8, 8); this.m += 8; - this.l = this.f.w(); + this.l = this.f.x(); } else if (j == 0) { long b = iVar.b(); if (b == -1 && (peek = this.g.peek()) != null) { @@ -188,16 +189,16 @@ public final class i implements h, t { 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; + this.e.A(8); + iVar.o(this.e.a, 0, 8); + x xVar = this.e; byte[] bArr = e.a; - int i7 = wVar.b; - wVar.E(4); - if (wVar.f() != 1751411826) { + int i7 = xVar.b; + xVar.F(4); + if (xVar.f() != 1751411826) { i7 += 4; } - wVar.D(i7); + xVar.E(i7); iVar.l(this.e.b); iVar.k(); } @@ -210,16 +211,16 @@ public final class i implements h, t { } 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; + 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.f704y = new MotionPhotoMetadata(0, j7, -9223372036854775807L, j7 + j6, this.l - j6); + this.f976y = new MotionPhotoMetadata(0, j7, -9223372036854775807L, j7 + j6, this.l - j6); } this.n = null; this.j = 1; @@ -228,26 +229,26 @@ public final class i implements h, t { if (z3) { } } else { - throw new ParserException("Atom size less than header length (unsupported)."); + 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; - w wVar3 = this.n; - if (wVar3 != null) { - iVar.readFully(wVar3.a, this.m, (int) j8); + x xVar3 = this.n; + if (xVar3 != null) { + iVar.readFully(xVar3.a, this.m, (int) j8); if (this.k == 1718909296) { - wVar3.D(8); - int f = wVar3.f(); + xVar3.E(8); + int f = xVar3.f(); int i8 = f != 1751476579 ? f != 1903435808 ? 0 : 1 : 2; if (i8 == 0) { - wVar3.E(4); + xVar3.F(4); while (true) { - if (wVar3.a() <= 0) { + if (xVar3.a() <= 0) { i8 = 0; break; } - int f2 = wVar3.f(); + int f2 = xVar3.f(); if (f2 == 1751476579) { i8 = 2; continue; @@ -263,9 +264,9 @@ public final class i implements h, t { } } } - this.f703x = i8; + this.f975x = i8; } else if (!this.g.isEmpty()) { - this.g.peek().f691c.add(new d.b(this.k, wVar3)); + this.g.peek().f962c.add(new d.b(this.k, xVar3)); } } else if (j8 < Permission.USE_EXTERNAL_EMOJIS) { iVar.l((int) j8); @@ -294,22 +295,22 @@ public final class i implements h, t { long j11 = RecyclerView.FOREVER_NS; while (true) { a[] aVarArr = this.t; - int i12 = f0.a; + int i12 = e0.a; if (i11 >= aVarArr.length) { break; } a aVar = aVarArr[i11]; - int i13 = aVar.d; + int i13 = aVar.e; p pVar = aVar.b; if (i13 != pVar.b) { - long j12 = pVar.f711c[i13]; + 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; - i10 = i11; j11 = j14; + i10 = i11; j10 = j13; } if (j13 < j9) { @@ -329,13 +330,14 @@ public final class i implements h, t { } } a[] aVarArr2 = this.t; - int i14 = f0.a; + int i14 = e0.a; a aVar2 = aVarArr2[this.o]; - c.i.a.c.a2.w wVar4 = aVar2.f705c; - int i15 = aVar2.d; + w wVar = aVar2.f977c; + int i15 = aVar2.e; p pVar2 = aVar2.b; - long j15 = pVar2.f711c[i15]; + 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; @@ -349,20 +351,22 @@ public final class i implements h, t { m mVar = aVar2.a; int i17 = mVar.j; if (i17 == 0) { - if ("audio/ac4".equals(mVar.f.t)) { + if ("audio/ac4".equals(mVar.f.v)) { if (this.q == 0) { - m.a(i16, this.e); - wVar4.c(this.e, 7); + 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 = wVar4.b(iVar, i16 - i18, false); + int b2 = wVar.b(iVar, i16 - i18, false); this.p += b2; this.q += b2; this.r -= b2; @@ -378,19 +382,19 @@ public final class i implements h, t { if (i20 == 0) { iVar.readFully(bArr2, i19, i17); this.p += i17; - this.d.D(0); + this.d.E(0); int f3 = this.d.f(); if (f3 >= 0) { this.r = f3; - this.f701c.D(0); - wVar4.c(this.f701c, 4); + this.f973c.E(0); + wVar.c(this.f973c, 4); this.q += 4; i16 += i19; } else { - throw new ParserException("Invalid NAL length"); + throw ParserException.a("Invalid NAL length", null); } } else { - int b3 = wVar4.b(iVar, i20, false); + int b3 = wVar.b(iVar, i20, false); this.p += b3; this.q += b3; this.r -= b3; @@ -398,8 +402,17 @@ public final class i implements h, t { } } p pVar3 = aVar2.b; - wVar4.d(pVar3.f[i15], pVar3.g[i15], i16, 0, null); - aVar2.d++; + 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; @@ -408,84 +421,80 @@ public final class i implements h, t { } else if (i2 == 3) { k kVar = this.h; List list = this.i; - int i21 = kVar.d; - if (i21 == 0) { + 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 (i21 != 1) { - short s2 = 2816; - if (i21 == 2) { + } else if (i22 != 1) { + short s2 = 2819; + if (i22 == 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 != s2) { - if (!(i24 == 2817 || i24 == 2819 || i24 == 2820)) { - wVar5.E(8); - i23++; - s2 = 2816; - i4 = 2; - } + 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); } - kVar.f707c.add(new k.a(i24, (b5 - ((long) kVar.e)) - ((long) wVar5.h()), wVar5.h())); - i23++; - s2 = 2816; + i24++; + s2 = 2819; i4 = 2; } - if (kVar.f707c.isEmpty()) { + if (kVar.f979c.isEmpty()) { sVar.a = 0; } else { kVar.d = 3; - sVar.a = kVar.f707c.get(0).a; + sVar.a = kVar.f979c.get(0).a; } - } else if (i21 == 3) { + } else if (i22 == 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.f707c.size()) { - k.a aVar3 = kVar.f707c.get(i25); - wVar6.D((int) (aVar3.a - position5)); - wVar6.E(i3); - int h = wVar6.h(); - String p2 = wVar6.p(h); - switch (p2.hashCode()) { + 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 (p2.equals("SlowMotion_Data")) { + if (q.equals("SlowMotion_Data")) { i = 0; break; } i = -1; break; case -1332107749: - if (p2.equals("Super_SlowMotion_Edit_Data")) { + if (q.equals("Super_SlowMotion_Edit_Data")) { i = 1; break; } i = -1; break; case -1251387154: - if (p2.equals("Super_SlowMotion_Data")) { + if (q.equals("Super_SlowMotion_Data")) { i = 2; break; } i = -1; break; case -830665521: - if (p2.equals("Super_SlowMotion_Deflickering_On")) { + if (q.equals("Super_SlowMotion_Deflickering_On")) { i = 3; break; } i = -1; break; case 1760745220: - if (p2.equals("Super_SlowMotion_BGM")) { + if (q.equals("Super_SlowMotion_BGM")) { i = 4; break; } @@ -506,29 +515,30 @@ public final class i implements h, t { } else if (i == i3) { c2 = 2817; } else { - throw new ParserException("Invalid SEF name"); + throw ParserException.a("Invalid SEF name", null); } - int i26 = aVar3.b - (h + 8); + int i27 = 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)); + 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 new ParserException(e); + throw ParserException.a(null, e); } } else { - throw new ParserException(); + throw ParserException.a(null, null); } } list.add(new SlowMotionData(arrayList)); } else if (!(c2 == 2816 || c2 == 2817 || c2 == 2819 || c2 == 2820)) { throw new IllegalStateException(); } - i25++; + i26++; + list = list; i3 = 4; } sVar.a = 0; @@ -556,12 +566,12 @@ public final class i implements h, t { } } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void f(j jVar) { - this.f702s = jVar; + this.f974s = jVar; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { this.g.clear(); this.m = 0; @@ -578,20 +588,25 @@ public final class i implements h, t { if (a2 == -1) { a2 = pVar.b(j2); } - aVar.d = a2; + 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.f707c.clear(); + kVar.f979c.clear(); kVar.d = 0; this.i.clear(); } } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public t.a h(long j) { long j2; long j3; @@ -602,7 +617,7 @@ public final class i implements h, t { a[] aVarArr = this.t; Objects.requireNonNull(aVarArr); if (aVarArr.length == 0) { - return new t.a(c.i.a.c.a2.u.a); + return new t.a(c.i.a.c.x2.u.a); } long j7 = -1; int i = this.v; @@ -613,15 +628,15 @@ public final class i implements h, t { a2 = pVar.b(j6); } if (a2 == -1) { - return new t.a(c.i.a.c.a2.u.a); + return new t.a(c.i.a.c.x2.u.a); } long j8 = pVar.f[a2]; - j2 = pVar.f711c[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.f711c[b]; + long j10 = pVar.f983c[b]; j5 = j9; j7 = j10; } @@ -649,11 +664,11 @@ public final class i implements h, t { } 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)); + 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.a2.t + @Override // c.i.a.c.x2.t public long i() { return this.w; } @@ -663,27 +678,25 @@ public final class i implements h, t { 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[]) + /* 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]) - (r5v10 com.google.android.exoplayer2.metadata.Metadata) + (r12v7 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: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 { - i iVar; boolean z2; ArrayList arrayList; int i; @@ -699,13 +712,13 @@ public final class i implements h, t { Metadata metadata5; int i5; ArrayList arrayList2; - i iVar2; ArrayList arrayList3; int i6; int i7; + int i8; Metadata metadata6; String[] strArr; - int i8; + int i9; MdtaMetadataEntry mdtaMetadataEntry; boolean z3; ArrayList arrayList4; @@ -713,106 +726,105 @@ public final class i implements h, t { boolean z4; Object obj; String str; - i iVar3 = this; - while (!iVar3.g.isEmpty() && iVar3.g.peek().b == j) { - d.a pop = iVar3.g.pop(); + 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 = iVar3.f703x == 1; + boolean z5 = this.f975x == 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; + 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; - w wVar = c2.b; - wVar.D(8); + x xVar = c2.b; + xVar.E(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; + 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; } - wVar.D(i16); - int i17 = i9; + xVar.E(i17); + int i18 = i10; while (true) { - int i18 = wVar.b; - if (i18 >= i15) { + int i19 = xVar.b; + if (i19 >= i16) { arrayList4 = arrayList5; z3 = z5; break; } - int f3 = wVar.f(); - if (wVar.f() == i17) { - wVar.D(i18); - int i19 = i18 + f3; - wVar.E(i13); + 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 i20 = wVar.b; - if (i20 >= i19) { + int i21 = xVar.b; + if (i21 >= i20) { break; } - int f4 = wVar.f() + i20; - int f5 = wVar.f(); - int i21 = (f5 >> 24) & 255; - if (i21 == 169 || i21 == 253) { + int f4 = xVar.f() + i21; + int f5 = xVar.f(); + int i22 = (f5 >> 24) & 255; + if (i22 == 169 || i22 == 253) { z4 = z5; - int i22 = 16777215 & f5; - if (i22 == 6516084) { - obj = h.a(f5, wVar); + int i23 = 16777215 & f5; + if (i23 == 6516084) { + obj = h.a(f5, xVar); } 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); + 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", wVar); + obj = h.d(f5, "TCOM", xVar); } } - obj = h.d(f5, "TIT2", wVar); + obj = h.d(f5, "TIT2", xVar); } - wVar.D(f4); + xVar.E(f4); if (obj == null) { arrayList6.add(obj); } str2 = null; - i19 = i19; + i20 = i20; arrayList5 = arrayList5; z5 = z4; } else { if (f5 == 1735291493) { try { - int f6 = h.f(wVar); + int f6 = h.f(xVar); if (f6 > 0) { String[] strArr2 = h.a; if (f6 <= strArr2.length) { @@ -823,11 +835,11 @@ public final class i implements h, t { Log.w("MetadataUtil", "Failed to parse standard genre code"); z4 = z5; obj = null; - wVar.D(f4); + xVar.E(f4); if (obj == null) { } str2 = null; - i19 = i19; + i20 = i20; arrayList5 = arrayList5; z5 = z4; } @@ -837,106 +849,107 @@ public final class i implements h, t { if (str == null) { } } catch (Throwable th) { - wVar.D(f4); + xVar.E(f4); throw th; } } else if (f5 == 1684632427) { - obj = h.c(f5, "TPOS", wVar); + obj = h.c(f5, "TPOS", xVar); } else if (f5 == 1953655662) { - obj = h.c(f5, "TRCK", wVar); + obj = h.c(f5, "TRCK", xVar); } else if (f5 == 1953329263) { - obj = h.e(f5, "TBPM", wVar, true, false); + obj = h.e(f5, "TBPM", xVar, true, false); } else if (f5 == 1668311404) { - obj = h.e(f5, "TCMP", wVar, true, true); + obj = h.e(f5, "TCMP", xVar, true, true); } else if (f5 == 1668249202) { - obj = h.b(wVar); + obj = h.b(xVar); } else if (f5 == 1631670868) { - obj = h.d(f5, "TPE2", wVar); + obj = h.d(f5, "TPE2", xVar); } else if (f5 == 1936682605) { - obj = h.d(f5, "TSOT", wVar); + obj = h.d(f5, "TSOT", xVar); } else if (f5 == 1936679276) { - obj = h.d(f5, "TSO2", wVar); + obj = h.d(f5, "TSO2", xVar); } else if (f5 == 1936679282) { - obj = h.d(f5, "TSOA", wVar); + obj = h.d(f5, "TSOA", xVar); } else if (f5 == 1936679265) { - obj = h.d(f5, "TSOP", wVar); + obj = h.d(f5, "TSOP", xVar); } else if (f5 == 1936679791) { - obj = h.d(f5, "TSOC", wVar); + obj = h.d(f5, "TSOC", xVar); } else if (f5 == 1920233063) { - obj = h.e(f5, "ITUNESADVISORY", wVar, false, false); + obj = h.e(f5, "ITUNESADVISORY", xVar, false, false); } else if (f5 == 1885823344) { - obj = h.e(f5, "ITUNESGAPLESS", wVar, false, true); + obj = h.e(f5, "ITUNESGAPLESS", xVar, false, true); } else if (f5 == 1936683886) { - obj = h.d(f5, "TVSHOWSORT", wVar); + obj = h.d(f5, "TVSHOWSORT", xVar); } else if (f5 == 1953919848) { - obj = h.d(f5, "TVSHOW", wVar); + obj = h.d(f5, "TVSHOW", xVar); } else if (f5 == 757935405) { - int i23 = -1; int i24 = -1; + int i25 = -1; String str3 = str2; while (true) { - int i25 = wVar.b; - if (i25 >= f4) { + int i26 = xVar.b; + if (i26 >= f4) { break; } - int f7 = wVar.f(); - int f8 = wVar.f(); - wVar.E(4); + int f7 = xVar.f(); + int f8 = xVar.f(); + xVar.F(4); if (f8 == 1835360622) { - str2 = wVar.o(f7 - 12); + str2 = xVar.o(f7 - 12); } else if (f8 == 1851878757) { - str3 = wVar.o(f7 - 12); + str3 = xVar.o(f7 - 12); } else { if (f8 == 1684108385) { - i24 = f7; - i23 = i25; + i25 = f7; + i24 = i26; } - wVar.E(f7 - 12); + xVar.F(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 (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; - i19 = i19; + i20 = i20; arrayList5 = arrayList5; z5 = z4; } } obj = null; - wVar.D(f4); + xVar.E(f4); if (obj == null) { } str2 = null; - i19 = i19; + i20 = i20; arrayList5 = arrayList5; z5 = z4; } else { z4 = z5; } z4 = z5; - wVar.D(f4); + xVar.E(f4); if (obj == null) { } str2 = null; - i19 = i19; + i20 = i20; arrayList5 = arrayList5; z5 = z4; } - Log.d("MetadataUtil", "Skipped unknown metadata entry: " + d.a(f5)); + 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; - wVar.D(f4); + xVar.E(f4); if (obj == null) { } str2 = null; - i19 = i19; + i20 = i20; arrayList5 = arrayList5; z5 = z4; } @@ -946,10 +959,10 @@ public final class i implements h, t { metadata7 = new Metadata(arrayList6); } } else { - wVar.D(i18 + f3); - i13 = 8; + xVar.E(i19 + f3); + i14 = 8; + i18 = 1768715124; str2 = null; - i17 = 1768715124; } } metadata7 = null; @@ -958,36 +971,37 @@ public final class i implements h, t { arrayList4 = arrayList5; z3 = z5; if (f2 == 1936553057) { - wVar.D(i14); - int i26 = i14 + f; - wVar.E(12); + xVar.E(i15); + int i27 = i15 + f; + xVar.F(12); while (true) { - int i27 = wVar.b; - if (i27 >= i26) { + int i28 = xVar.b; + if (i28 >= i27) { break; } - int f9 = wVar.f(); - if (wVar.f() != 1935766900) { - wVar.D(i27 + f9); + int f9 = xVar.f(); + if (xVar.f() != 1935766900) { + xVar.E(i28 + f9); } else if (f9 >= 14) { - wVar.E(5); - int s2 = wVar.s(); - if (s2 == 12 || s2 == 13) { - float f10 = s2 == 12 ? 240.0f : 120.0f; - wVar.E(1); - metadata9 = new Metadata(new SmtaMetadataEntry(f10, wVar.s())); + 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; } } - wVar.D(i14 + f); - i13 = 8; + xVar.E(i15 + f); + i14 = 8; + i10 = 1768715124; + i11 = 1751411826; + i12 = 1835365473; str2 = null; - i9 = 1768715124; - i10 = 1751411826; - i11 = 1835365473; - i12 = 4; + i13 = 4; arrayList5 = arrayList4; z5 = z3; } @@ -1015,195 +1029,206 @@ public final class i implements h, t { 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(); + 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 i28 = 0; i28 < f11; i28++) { - int f12 = wVar3.f(); - wVar3.E(4); - strArr3[i28] = wVar3.p(f12 - 8); + for (int i29 = 0; i29 < f11; i29++) { + int f12 = xVar3.f(); + xVar3.F(4); + strArr3[i29] = xVar3.q(f12 - 8); } - int i29 = 8; - w wVar4 = c5.b; - wVar4.D(8); + int i30 = 8; + x xVar4 = c5.b; + xVar4.E(8); ArrayList arrayList7 = new ArrayList(); - while (wVar4.a() > i29) { - int i30 = wVar4.b; - int f13 = wVar4.f(); - int f14 = wVar4.f() - 1; + while (xVar4.a() > i30) { + int i31 = xVar4.b; + int f13 = xVar4.f(); + int f14 = xVar4.f() - 1; if (f14 < 0 || f14 >= f11) { - i8 = f11; + i9 = f11; strArr = strArr3; metadata6 = metadata10; - c.d.b.a.a.i0("Skipped metadata with unknown key index: ", f14, "AtomParsers"); + c.d.b.a.a.d0(52, "Skipped metadata with unknown key index: ", f14, "AtomParsers"); } else { String str4 = strArr3[f14]; - int i31 = i30 + f13; + int i32 = i31 + f13; while (true) { - int i32 = wVar4.b; - if (i32 >= i31) { - i8 = f11; + int i33 = xVar4.b; + if (i33 >= i32) { + i9 = 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]; + 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(wVar4.a, wVar4.b, bArr3, 0, i33); - wVar4.b += i33; + System.arraycopy(xVar4.a, xVar4.b, bArr3, 0, i34); + xVar4.b += i34; mdtaMetadataEntry = new MdtaMetadataEntry(str4, bArr3, f17, f16); break; } - wVar4.D(i32 + f15); - f11 = i8; + xVar4.E(i33 + f15); + f11 = i9; } if (mdtaMetadataEntry != null) { arrayList7.add(mdtaMetadataEntry); } } - wVar4.D(i30 + f13); - i29 = 8; - f11 = i8; + xVar4.E(i31 + f13); + i30 = 8; + f11 = i9; 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.f702s; + 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; - int i34 = -1; i2 = 0; + int i35 = -1; 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); + 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; - 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.r = ((float) i7) / (((float) j4) / 1000000.0f); + if (i37 == 2 && j4 > 0 && (i8 = pVar2.b) > 1) { + a2.r = ((float) i8) / (((float) j4) / 1000000.0f); } - if (i35 == 1) { - int i36 = pVar.b; - if ((i36 == -1 || pVar.f762c == -1) ? false : true) { - a2.A = i36; - a2.B = pVar.f762c; + 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; - iVar2 = this; - metadataArr[1] = iVar2.i.isEmpty() ? null : new Metadata(iVar2.i); - Metadata metadata11 = new Metadata(new Metadata.Entry[0]); - if (i35 == 1) { + 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 = metadata3; + metadata11 = metadata11; + metadata12 = metadata3; for (i6 = 0; i6 < 2; i6++) { - Metadata metadata12 = metadataArr[i6]; - if (metadata12 != null) { - metadata11 = metadata11.a(metadata12.i); + Metadata metadata13 = metadataArr[i6]; + if (metadata13 != null) { + metadata12 = metadata12.a(metadata13.i); } } - if (metadata11.i.length > 0) { - a2.i = metadata11; + if (metadata12.i.length > 0) { + a2.i = metadata12; } - aVar.f705c.e(a2.a()); - if (mVar.b == 2 && i34 == -1) { - i34 = arrayList.size(); + 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); - j2 = max; } - } else if (i35 == 2 && metadata4 != null) { - int i37 = 0; + } else if (i37 == 2 && metadata11 != null) { + int i39 = 0; + metadata11 = metadata11; while (true) { - Metadata.Entry[] entryArr = metadata4.i; - if (i37 >= entryArr.length) { + Metadata.Entry[] entryArr = metadata11.i; + if (i39 >= entryArr.length) { + metadata5 = metadata2; break; } - Metadata.Entry entry = entryArr[i37]; + Metadata.Entry entry = entryArr[i39]; if (entry instanceof MdtaMetadataEntry) { MdtaMetadataEntry mdtaMetadataEntry2 = (MdtaMetadataEntry) entry; metadata5 = metadata2; if ("com.android.capture.fps".equals(mdtaMetadataEntry2.i)) { - metadata11 = new Metadata(mdtaMetadataEntry2); + metadata12 = new Metadata(mdtaMetadataEntry2); break; } } else { metadata5 = metadata2; } - i37++; + i39++; metadata2 = metadata5; } while (i6 < 2) { } - if (metadata11.i.length > 0) { + if (metadata12.i.length > 0) { } - aVar.f705c.e(a2.a()); - i34 = arrayList.size(); + aVar.f977c.e(a2.a()); + if (mVar.b == 2) { + } + i35 = i7; arrayList3 = arrayList; arrayList3.add(aVar); - j2 = max; } metadata5 = metadata2; + metadata11 = metadata11; while (i6 < 2) { } - if (metadata11.i.length > 0) { + if (metadata12.i.length > 0) { } - aVar.f705c.e(a2.a()); - i34 = arrayList.size(); + aVar.f977c.e(a2.a()); + if (mVar.b == 2) { + } + i35 = i7; 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.w = j2; + this.v = i35; + this.w = j2; aVarArr = (a[]) arrayList.toArray(new a[0]); - iVar.t = aVarArr; + this.t = aVarArr; long[][] jArr = new long[aVarArr.length][]; int[] iArr = new int[aVarArr.length]; long[] jArr2 = new long[aVarArr.length]; @@ -1215,49 +1240,49 @@ public final class i implements h, t { 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 = -1; + for (int i41 = 0; i41 < aVarArr.length; i41++) { + if (!zArr[i41] && jArr2[i41] <= j6) { + j6 = jArr2[i41]; + i40 = i41; } } - 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]; + 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[i38] = true; + zArr[i40] = true; i4++; } } - iVar.u = jArr; + this.u = jArr; jVar.j(); - jVar.a(iVar); - iVar.g.clear(); - iVar.j = 2; + jVar.a(this); + this.g.clear(); + this.j = 2; } metadata4 = null; - List

e = e.e(pop, pVar, -9223372036854775807L, null, (iVar3.b & 1) != 0, z2, a.a); - j jVar = iVar3.f702s; + 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; - int i34 = -1; i2 = 0; + int i35 = -1; while (i2 < size) { } - iVar = iVar3; long j5 = 0; - iVar.v = i34; - iVar.w = j2; + this.v = i35; + this.w = j2; aVarArr = (a[]) arrayList.toArray(new a[0]); - iVar.t = aVarArr; + this.t = aVarArr; long[][] jArr = new long[aVarArr.length][]; int[] iArr = new int[aVarArr.length]; long[] jArr2 = new long[aVarArr.length]; @@ -1267,33 +1292,33 @@ public final class i implements h, t { i4 = 0; while (i4 < aVarArr.length) { } - iVar.u = jArr; + this.u = jArr; jVar.j(); - jVar.a(iVar); - iVar.g.clear(); - iVar.j = 2; + jVar.a(this); + this.g.clear(); + this.j = 2; } } } metadata3 = metadata10; metadata4 = null; - List

e = e.e(pop, pVar, -9223372036854775807L, null, (iVar3.b & 1) != 0, z2, a.a); - j jVar = iVar3.f702s; + 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; - int i34 = -1; i2 = 0; + int i35 = -1; while (i2 < size) { } - iVar = iVar3; long j5 = 0; - iVar.v = i34; - iVar.w = j2; + this.v = i35; + this.w = j2; aVarArr = (a[]) arrayList.toArray(new a[0]); - iVar.t = aVarArr; + this.t = aVarArr; long[][] jArr = new long[aVarArr.length][]; int[] iArr = new int[aVarArr.length]; long[] jArr2 = new long[aVarArr.length]; @@ -1303,25 +1328,21 @@ public final class i implements h, t { i4 = 0; while (i4 < aVarArr.length) { } - iVar.u = jArr; + this.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); - } + jVar.a(this); + this.g.clear(); + this.j = 2; + } else if (!this.g.isEmpty()) { + this.g.peek().d.add(pop); } - iVar3 = iVar; } - if (iVar3.j != 2) { + if (this.j != 2) { j(); } } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/i0/j.java similarity index 78% rename from app/src/main/java/c/i/a/c/a2/h0/j.java rename to app/src/main/java/c/i/a/c/x2/i0/j.java index d312b7d175..d5f8511fd9 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/j.java +++ b/app/src/main/java/c/i/a/c/x2/i0/j.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import java.util.UUID; /* compiled from: PsshAtomUtil */ @@ -7,11 +7,11 @@ public class j { public final int b; /* renamed from: c reason: collision with root package name */ - public final byte[] f706c; + public final byte[] f978c; public j(UUID uuid, int i, byte[] bArr) { this.a = uuid; this.b = i; - this.f706c = bArr; + this.f978c = 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/x2/i0/k.java similarity index 82% rename from app/src/main/java/c/i/a/c/a2/h0/k.java rename to app/src/main/java/c/i/a/c/x2/i0/k.java index ec8b71617a..bfa252721c 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/k.java +++ b/app/src/main/java/c/i/a/c/x2/i0/k.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import c.i.b.a.b; import c.i.b.a.j; @@ -7,11 +7,11 @@ 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('*'))); + 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 f707c = new ArrayList(); + public final List f979c = new ArrayList(); public int d = 0; public int e; diff --git a/app/src/main/java/c/i/a/c/a2/h0/l.java b/app/src/main/java/c/i/a/c/x2/i0/l.java similarity index 83% rename from app/src/main/java/c/i/a/c/a2/h0/l.java rename to app/src/main/java/c/i/a/c/x2/i0/l.java index d958e0799e..06530ae208 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/l.java +++ b/app/src/main/java/c/i/a/c/x2/i0/l.java @@ -1,7 +1,7 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; +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 */ @@ -21,7 +21,7 @@ public final class l { j = b; } int i2 = (int) j; - w wVar = new w(64); + x xVar = new x(64); boolean z5 = false; int i3 = 0; boolean z6 = false; @@ -29,8 +29,8 @@ public final class l { if (i3 >= i2) { break; } - wVar.z(8); - byte[] bArr = wVar.a; + xVar.A(8); + byte[] bArr = xVar.a; int i4 = z5 ? 1 : 0; int i5 = z5 ? 1 : 0; int i6 = z5 ? 1 : 0; @@ -38,46 +38,46 @@ public final class l { if (!iVar.e(bArr, i4, 8, true)) { break; } - long t = wVar.t(); - int f = wVar.f(); + long u = xVar.u(); + int f = xVar.f(); int i8 = 16; - if (t == 1) { - iVar.n(wVar.a, 8, 8); - wVar.C(16); - t = wVar.m(); + if (u == 1) { + iVar.o(xVar.a, 8, 8); + xVar.D(16); + u = xVar.m(); } else { - if (t == 0) { + if (u == 0) { long b2 = iVar.b(); if (b2 != j2) { - t = (b2 - iVar.f()) + ((long) 8); + u = (b2 - iVar.f()) + ((long) 8); } } i8 = 8; } long j3 = (long) i8; - if (t < j3) { + if (u < j3) { return z5; } i3 += i8; if (f == 1836019574) { - i2 += (int) t; + 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) + t) - j3 >= ((long) i2)) { + } else if ((((long) i3) + u) - j3 >= ((long) i2)) { break; } else { - int i9 = (int) (t - j3); + int i9 = (int) (u - j3); i3 += i9; if (f == 1718909296) { if (i9 < 8) { return false; } - wVar.z(i9); - iVar.n(wVar.a, 0, i9); + xVar.A(i9); + iVar.o(xVar.a, 0, i9); int i10 = i9 / 4; int i11 = 0; while (true) { @@ -85,9 +85,9 @@ public final class l { break; } if (i11 == 1) { - wVar.E(4); + xVar.F(4); } else { - int f2 = wVar.f(); + int f2 = xVar.f(); if ((f2 >>> 8) != 3368816 && (f2 != 1751476579 || !z3)) { int[] iArr = a; int length = iArr.length; diff --git a/app/src/main/java/c/i/a/c/a2/h0/m.java b/app/src/main/java/c/i/a/c/x2/i0/m.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/h0/m.java rename to app/src/main/java/c/i/a/c/x2/i0/m.java index 3b58279beb..b534da25ab 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/m.java +++ b/app/src/main/java/c/i/a/c/x2/i0/m.java @@ -1,17 +1,17 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; +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 f708c; + public final long f980c; public final long d; public final long e; - public final Format f; + public final j1 f; public final int g; @Nullable public final long[] h; @@ -21,13 +21,13 @@ public final class m { @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) { + 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.f708c = j; + this.f980c = j; this.d = j2; this.e = j3; - this.f = format; + this.f = j1Var; this.g = i3; this.k = nVarArr; this.j = i4; diff --git a/app/src/main/java/c/i/a/c/a2/h0/n.java b/app/src/main/java/c/i/a/c/x2/i0/n.java similarity index 84% rename from app/src/main/java/c/i/a/c/a2/h0/n.java rename to app/src/main/java/c/i/a/c/x2/i0/n.java index 8dc75f978e..57e47e9559 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/n.java +++ b/app/src/main/java/c/i/a/c/x2/i0/n.java @@ -1,9 +1,9 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; -import android.util.Log; import androidx.annotation.Nullable; import c.c.a.a0.d; -import c.i.a.c.a2.w; +import c.d.b.a.a; +import c.i.a.c.x2.w; /* compiled from: TrackEncryptionBox */ public final class n { public final boolean a; @@ -11,7 +11,7 @@ public final class n { public final String b; /* renamed from: c reason: collision with root package name */ - public final w.a f709c; + public final w.a f981c; public final int d; @Nullable public final byte[] e; @@ -23,7 +23,7 @@ public final class n { 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)); + d.j((i == 0) ^ (bArr2 == null)); this.a = z2; this.b = str; this.d = i; @@ -60,9 +60,9 @@ public final class n { 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."); + a.g0(str.length() + 68, "Unsupported protection scheme type '", str, "'. Assuming AES-CTR crypto mode.", "TrackEncryptionBox"); } } - this.f709c = new w.a(i4, bArr, i2, i3); + this.f981c = 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/x2/i0/o.java similarity index 50% rename from app/src/main/java/c/i/a/c/a2/h0/o.java rename to app/src/main/java/c/i/a/c/x2/i0/o.java index a895ce8436..c5306e5b16 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/o.java +++ b/app/src/main/java/c/i/a/c/x2/i0/o.java @@ -1,28 +1,27 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import androidx.annotation.Nullable; -import c.i.a.c.i2.w; +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 f710c; + 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 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]; + public long[] i = new long[0]; + public boolean[] j = new boolean[0]; + public boolean k; + public boolean[] l = new boolean[0]; @Nullable - public n n; - public final w o = new w(); - public boolean p; - public long q; - public boolean r; + 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/a2/h0/p.java b/app/src/main/java/c/i/a/c/x2/i0/p.java similarity index 74% rename from app/src/main/java/c/i/a/c/a2/h0/p.java rename to app/src/main/java/c/i/a/c/x2/i0/p.java index f2d661c00a..3270998c09 100644 --- a/app/src/main/java/c/i/a/c/a2/h0/p.java +++ b/app/src/main/java/c/i/a/c/x2/i0/p.java @@ -1,14 +1,14 @@ -package c.i.a.c.a2.h0; +package c.i.a.c.x2.i0; import c.c.a.a0.d; -import c.i.a.c.i2.f0; +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[] f711c; + public final long[] f983c; public final int[] d; public final int e; public final long[] f; @@ -17,11 +17,11 @@ public final class p { 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); + d.j(iArr.length == jArr2.length); + d.j(jArr.length == jArr2.length); + d.j(iArr2.length == jArr2.length ? true : z2); this.a = mVar; - this.f711c = jArr; + this.f983c = jArr; this.d = iArr; this.e = i; this.f = jArr2; @@ -35,7 +35,7 @@ public final class p { } public int a(long j) { - for (int e = f0.e(this.f, j, true, false); e >= 0; e--) { + for (int e = e0.e(this.f, j, true, false); e >= 0; e--) { if ((this.g[e] & 1) != 0) { return e; } @@ -44,7 +44,7 @@ public final class p { } public int b(long j) { - for (int b = f0.b(this.f, j, true, false); b < this.f.length; b++) { + for (int b = e0.b(this.f, j, true, false); b < this.f.length; b++) { if ((this.g[b] & 1) != 0) { return b; } diff --git a/app/src/main/java/c/i/a/c/a2/j.java b/app/src/main/java/c/i/a/c/x2/j.java similarity index 81% rename from app/src/main/java/c/i/a/c/a2/j.java rename to app/src/main/java/c/i/a/c/x2/j.java index 1d5a5491d5..c99ce0327d 100644 --- a/app/src/main/java/c/i/a/c/a2/j.java +++ b/app/src/main/java/c/i/a/c/x2/j.java @@ -1,21 +1,21 @@ -package c.i.a.c.a2; +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.a2.j + @Override // c.i.a.c.x2.j public void a(t tVar) { throw new UnsupportedOperationException(); } - @Override // c.i.a.c.a2.j + @Override // c.i.a.c.x2.j public void j() { throw new UnsupportedOperationException(); } - @Override // c.i.a.c.a2.j + @Override // c.i.a.c.x2.j public w p(int i, int i2) { throw new UnsupportedOperationException(); } diff --git a/app/src/main/java/c/i/a/c/a2/i0/a.java b/app/src/main/java/c/i/a/c/x2/j0/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/i0/a.java rename to app/src/main/java/c/i/a/c/x2/j0/a.java index c92617627d..66caac3c87 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/a.java +++ b/app/src/main/java/c/i/a/c/x2/j0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new d()}; } - @Override // c.i.a.c.a2.l + @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/a2/i0/b.java b/app/src/main/java/c/i/a/c/x2/j0/b.java similarity index 73% rename from app/src/main/java/c/i/a/c/a2/i0/b.java rename to app/src/main/java/c/i/a/c/x2/j0/b.java index 85bddfd683..2082de73ac 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/b.java +++ b/app/src/main/java/c/i/a/c/x2/j0/b.java @@ -1,11 +1,11 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.j0; 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 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 */ @@ -14,7 +14,7 @@ public final class b implements g { public final long b; /* renamed from: c reason: collision with root package name */ - public final long f712c; + public final long f984c; public final i d; public int e; public long f; @@ -26,25 +26,25 @@ public final class b implements g { 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) { + /* 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.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return true; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public t.a h(long j) { b bVar = b.this; long j2 = bVar.b; - long j3 = bVar.f712c; - return new t.a(new u(j, f0.i(((((j3 - j2) * ((((long) bVar.d.i) * j) / 1000000)) / bVar.f) + j2) - 30000, j2, j3 - 1))); + 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.a2.t + @Override // c.i.a.c.x2.t public long i() { b bVar = b.this; return (bVar.f * 1000000) / ((long) bVar.d.i); @@ -52,10 +52,10 @@ public final class b implements g { } public b(i iVar, long j, long j2, long j3, long j4, boolean z2) { - d.k(j >= 0 && j2 > j); + d.j(j >= 0 && j2 > j); this.d = iVar; this.b = j; - this.f712c = j2; + this.f984c = j2; if (j3 == j2 - j || z2) { this.f = j4; this.e = 4; @@ -65,19 +65,20 @@ public final class b implements g { this.a = new f(); } - @Override // c.i.a.c.a2.i0.g + @Override // c.i.a.c.x2.j0.g @Nullable public t a() { if (this.f != 0) { - return new C0088b(null); + 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.a2.i0.g + @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; @@ -85,7 +86,7 @@ public final class b implements g { long position = iVar.getPosition(); this.g = position; this.e = 1; - long j3 = this.f712c - 65307; + long j3 = this.f984c - 65307; if (j3 > position) { return j3; } @@ -103,7 +104,7 @@ public final class b implements g { iVar.k(); long j4 = this.h; f fVar = this.a; - long j5 = fVar.f716c; + long j5 = fVar.f988c; long j6 = j4 - j5; int i2 = fVar.e + fVar.f; if (0 > j6 || j6 >= 72000) { @@ -113,7 +114,7 @@ public final class b implements g { this.l = j5; } else { this.i = iVar.getPosition() + ((long) i2); - this.k = this.a.f716c; + this.k = this.a.f988c; } long j7 = this.j; long j8 = this.i; @@ -124,7 +125,7 @@ public final class b implements g { 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); + j2 = e0.i((((j9 - j10) * j6) / (this.l - this.k)) + position3, j10, j9 - 1); } } } @@ -149,41 +150,53 @@ public final class b implements g { this.a.c(iVar, j); this.a.a(iVar, false); f fVar2 = this.a; - if (fVar2.f716c > this.h) { + 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.f716c; + this.k = this.a.f988c; 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); + 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)) { + if ((fVar4.b & 4) == 4 || !fVar4.c(iVar, -1) || iVar.getPosition() >= this.f984c || !this.a.a(iVar, true)) { break; } - } while (iVar.getPosition() < this.f712c); - this.f = this.a.f716c; + 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.a2.i0.g + @Override // c.i.a.c.x2.j0.g public void c(long j) { - this.h = f0.i(j, 0, this.f - 1); + this.h = e0.i(j, 0, this.f - 1); this.e = 2; this.i = this.b; - this.j = this.f712c; + this.j = this.f984c; 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/x2/j0/c.java similarity index 65% rename from app/src/main/java/c/i/a/c/a2/i0/c.java rename to app/src/main/java/c/i/a/c/x2/j0/c.java index af7eac4b27..3f660a6615 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/c.java +++ b/app/src/main/java/c/i/a/c/x2/j0/c.java @@ -1,15 +1,15 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.j0; 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 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; @@ -26,7 +26,7 @@ public final class c extends i { public o.a b; /* renamed from: c reason: collision with root package name */ - public long f713c = -1; + public long f985c = -1; public long d = -1; public a(o oVar, o.a aVar) { @@ -34,13 +34,13 @@ public final class c extends i { this.b = aVar; } - @Override // c.i.a.c.a2.i0.g + @Override // c.i.a.c.x2.j0.g public t a() { - d.D(this.f713c != -1); - return new n(this.a, this.f713c); + d.D(this.f985c != -1); + return new n(this.a, this.f985c); } - @Override // c.i.a.c.a2.i0.g + @Override // c.i.a.c.x2.j0.g public long b(i iVar) { long j = this.d; if (j < 0) { @@ -51,44 +51,44 @@ public final class c extends i { return j2; } - @Override // c.i.a.c.a2.i0.g + @Override // c.i.a.c.x2.j0.g public void c(long j) { long[] jArr = this.b.a; - this.d = jArr[f0.e(jArr, j, true, true)]; + this.d = jArr[e0.e(jArr, j, true, true)]; } } - @Override // c.i.a.c.a2.i0.i - public long c(w wVar) { - byte[] bArr = wVar.a; + @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) { - wVar.E(4); - wVar.y(); + xVar.F(4); + xVar.z(); } - int c2 = m.c(wVar, i); - wVar.D(0); + int c2 = m.c(xVar, i); + xVar.E(0); return (long) c2; } - @Override // c.i.a.c.a2.i0.i + @Override // c.i.a.c.x2.j0.i @EnsuresNonNullIf(expression = {"#3.format"}, result = false) - public boolean d(w wVar, long j, i.b bVar) { - byte[] bArr = wVar.a; + 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, wVar.f919c), null); + bVar.a = oVar2.e(Arrays.copyOfRange(bArr, 9, xVar.f792c), null); return true; } else if ((bArr[0] & Byte.MAX_VALUE) == 3) { - o.a L1 = d.L1(wVar); - o b = oVar.b(L1); + o.a J1 = d.J1(xVar); + o b = oVar.b(J1); this.n = b; - this.o = new a(b, L1); + this.o = new a(b, J1); return true; } else { if (!(bArr[0] == -1)) { @@ -96,7 +96,7 @@ public final class c extends i { } a aVar = this.o; if (aVar != null) { - aVar.f713c = j; + aVar.f985c = j; bVar.b = aVar; } Objects.requireNonNull(bVar.a); @@ -104,7 +104,7 @@ public final class c extends i { } } - @Override // c.i.a.c.a2.i0.i + @Override // c.i.a.c.x2.j0.i public void e(boolean z2) { super.e(z2); if (z2) { diff --git a/app/src/main/java/c/i/a/c/a2/i0/d.java b/app/src/main/java/c/i/a/c/x2/j0/d.java similarity index 74% rename from app/src/main/java/c/i/a/c/a2/i0/d.java rename to app/src/main/java/c/i/a/c/x2/j0/d.java index b5e4ebfd32..b54e21ff6a 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/d.java +++ b/app/src/main/java/c/i/a/c/x2/j0/d.java @@ -1,15 +1,16 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.j0; -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 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.Format; import com.google.android.exoplayer2.ParserException; import java.io.IOException; import java.util.Arrays; @@ -20,7 +21,7 @@ public class d implements h { public i b; /* renamed from: c reason: collision with root package name */ - public boolean f714c; + public boolean f986c; static { a aVar = a.a; @@ -33,31 +34,31 @@ public class d implements h { 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) { + 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 { - wVar.D(0); + xVar.E(0); try { - z2 = c.c.a.a0.d.m2(1, wVar, true); + z2 = c.c.a.a0.d.l2(1, xVar, true); } catch (ParserException unused) { z2 = false; } if (z2) { this.b = new j(); } else { - wVar.D(0); - int a = wVar.a(); + 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(wVar.a, wVar.b, bArr2, 0, length); - wVar.b += length; + System.arraycopy(xVar.a, xVar.b, bArr2, 0, length); + xVar.b += length; z3 = Arrays.equals(bArr2, bArr); } if (z3) { @@ -70,7 +71,7 @@ public class d implements h { return false; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public boolean b(i iVar) throws IOException { try { return a(iVar); @@ -79,9 +80,9 @@ public class d implements h { } } - /* JADX WARNING: Removed duplicated region for block: B:64:0x017e */ + /* 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.a2.h + @Override // c.i.a.c.x2.h public int e(i iVar, s sVar) throws IOException { boolean z2; int i; @@ -91,22 +92,23 @@ public class d implements h { if (a(iVar)) { iVar.k(); } else { - throw new ParserException("Failed to determine bitstream type"); + throw ParserException.a("Failed to determine bitstream type", null); } } - if (!this.f714c) { - c.i.a.c.a2.w p = this.a.p(0, 1); + if (!this.f986c) { + w p = this.a.p(0, 1); this.a.j(); i iVar2 = this.b; - iVar2.f717c = this.a; + iVar2.f989c = this.a; iVar2.b = p; iVar2.e(true); - this.f714c = true; + this.f986c = true; } i iVar3 = this.b; c.c.a.a0.d.H(iVar3.b); - int i2 = f0.a; + int i2 = e0.a; int i3 = iVar3.h; + int i4 = 3; if (i3 == 0) { while (true) { if (iVar3.a.b(iVar)) { @@ -118,17 +120,18 @@ public class d implements h { break; } iVar3.f = iVar.getPosition(); + i4 = 3; } else { - iVar3.h = 3; + iVar3.h = i4; z2 = false; break; } } if (z2) { - Format format = iVar3.j.a; - iVar3.i = format.H; + j1 j1Var = iVar3.j.a; + iVar3.i = j1Var.J; if (!iVar3.m) { - iVar3.b.e(format); + iVar3.b.e(j1Var); iVar3.m = true; } g gVar = iVar3.j.b; @@ -139,22 +142,22 @@ public class d implements h { } else { f fVar = iVar3.a.a; i = 2; - iVar3.d = new b(iVar3, iVar3.f, iVar.b(), (long) (fVar.e + fVar.f), fVar.f716c, (fVar.b & 4) != 0); + 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; - w wVar = eVar.b; - bArr = wVar.a; + x xVar = eVar.b; + bArr = xVar.a; if (bArr.length != 65025) { return 0; } - wVar.B(Arrays.copyOf(bArr, Math.max(65025, wVar.f919c)), eVar.b.f919c); + xVar.C(Arrays.copyOf(bArr, Math.max(65025, xVar.f792c)), eVar.b.f792c); return 0; } i = 2; iVar3.h = i; e eVar = iVar3.a; - w wVar = eVar.b; - bArr = wVar.a; + x xVar = eVar.b; + bArr = xVar.a; if (bArr.length != 65025) { } } @@ -174,19 +177,19 @@ public class d implements h { if (!iVar3.l) { t a = iVar3.d.a(); c.c.a.a0.d.H(a); - iVar3.f717c.a(a); + iVar3.f989c.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); + 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(wVar2, wVar2.f919c); - iVar3.b.d(j3, 1, wVar2.f919c, 0, null); + iVar3.b.c(xVar2, xVar2.f792c); + iVar3.b.d(j3, 1, xVar2.f792c, 0, null); iVar3.e = -1; } } @@ -200,19 +203,19 @@ public class d implements h { return -1; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void f(j jVar) { this.a = jVar; } - @Override // c.i.a.c.a2.h + @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.z(0); - eVar.f715c = -1; + eVar.b.A(0); + eVar.f987c = -1; eVar.e = false; if (j == 0) { iVar.e(!iVar.l); @@ -220,14 +223,14 @@ public class d implements h { long j3 = (((long) iVar.i) * j2) / 1000000; iVar.e = j3; g gVar = iVar.d; - int i = f0.a; + int i = e0.a; gVar.c(j3); iVar.h = 2; } } } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/j0/e.java similarity index 53% rename from app/src/main/java/c/i/a/c/a2/i0/e.java rename to app/src/main/java/c/i/a/c/x2/j0/e.java index cd90800b32..e401dccf3a 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/e.java +++ b/app/src/main/java/c/i/a/c/x2/j0/e.java @@ -1,16 +1,17 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.j0; import c.c.a.a0.d; -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; +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 w b = new w(new byte[65025], 0); + public final x b = new x(new byte[65025], 0); /* renamed from: c reason: collision with root package name */ - public int f715c = -1; + public int f987c = -1; public int d; public boolean e; @@ -34,43 +35,61 @@ public final class e { } 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.z(0); + this.b.A(0); } while (!this.e) { - if (this.f715c < 0) { + 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.f919c == 0) { + if ((fVar.b & 1) == 1 && this.b.f792c == 0) { i2 += a(0); i = this.d + 0; } else { i = 0; } - iVar.l(i2); - this.f715c = i; + try { + iVar.l(i2); + z3 = true; + } catch (EOFException unused) { + z3 = false; + } + if (!z3) { + return false; + } + this.f987c = i; } - int a = a(this.f715c); - int i3 = this.f715c + this.d; + int a = a(this.f987c); + int i3 = this.f987c + this.d; if (a > 0) { - w wVar = this.b; - wVar.b(wVar.f919c + a); - w wVar2 = this.b; - iVar.readFully(wVar2.a, wVar2.f919c, a); - w wVar3 = this.b; - wVar3.C(wVar3.f919c + a); + 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.f715c = i3; + 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/a2/i0/g.java b/app/src/main/java/c/i/a/c/x2/j0/g.java similarity index 76% rename from app/src/main/java/c/i/a/c/a2/i0/g.java rename to app/src/main/java/c/i/a/c/x2/j0/g.java index 9abdfedf45..13ed72a479 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/g.java +++ b/app/src/main/java/c/i/a/c/x2/j0/g.java @@ -1,8 +1,8 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.j0; import androidx.annotation.Nullable; -import c.i.a.c.a2.i; -import c.i.a.c.a2.t; +import c.i.a.c.x2.i; +import c.i.a.c.x2.t; import java.io.IOException; /* compiled from: OggSeeker */ public interface g { diff --git a/app/src/main/java/c/i/a/c/a2/i0/h.java b/app/src/main/java/c/i/a/c/x2/j0/h.java similarity index 67% rename from app/src/main/java/c/i/a/c/a2/i0/h.java rename to app/src/main/java/c/i/a/c/x2/j0/h.java index 085ff438f1..c5f39c4028 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/h.java +++ b/app/src/main/java/c/i/a/c/x2/j0/h.java @@ -1,10 +1,10 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.j0; import c.c.a.a0.d; -import c.i.a.c.a2.i0.i; -import c.i.a.c.i2.w; +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 com.google.android.exoplayer2.Format; import java.util.Arrays; import java.util.List; import java.util.Objects; @@ -14,9 +14,9 @@ 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; + @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; @@ -30,31 +30,31 @@ public final class h extends i { 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 + @Override // c.i.a.c.x2.j0.i @EnsuresNonNullIf(expression = {"#3.format"}, result = false) - public boolean d(w wVar, long j, i.b bVar) { + public boolean d(x xVar, long j, i.b bVar) { boolean z2 = true; if (!this.o) { - byte[] copyOf = Arrays.copyOf(wVar.a, wVar.f919c); - List h = d.h(copyOf); - Format.b bVar2 = new Format.b(); + byte[] copyOf = Arrays.copyOf(xVar.a, xVar.f792c); + List g = d.g(copyOf); + j1.b bVar2 = new j1.b(); bVar2.k = "audio/opus"; - bVar2.f2281x = copyOf[9] & 255; - bVar2.f2282y = 48000; - bVar2.m = h; + 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 (wVar.f() != 1332770163) { + if (xVar.f() != 1332770163) { z2 = false; } - wVar.D(0); + xVar.E(0); return z2; } - @Override // c.i.a.c.a2.i0.i + @Override // c.i.a.c.x2.j0.i public void e(boolean z2) { super.e(z2); if (z2) { diff --git a/app/src/main/java/c/i/a/c/a2/i0/i.java b/app/src/main/java/c/i/a/c/x2/j0/i.java similarity index 73% rename from app/src/main/java/c/i/a/c/a2/i0/i.java rename to app/src/main/java/c/i/a/c/x2/j0/i.java index 0f2905432f..b23d9f7496 100644 --- a/app/src/main/java/c/i/a/c/a2/i0/i.java +++ b/app/src/main/java/c/i/a/c/x2/j0/i.java @@ -1,9 +1,10 @@ -package c.i.a.c.a2.i0; +package c.i.a.c.x2.j0; -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 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 */ @@ -12,7 +13,7 @@ public abstract class i { public w b; /* renamed from: c reason: collision with root package name */ - public j f717c; + public j f989c; public g d; public long e; public long f; @@ -26,7 +27,7 @@ public abstract class i { /* compiled from: StreamReader */ public static class b { - public Format a; + public j1 a; public g b; } @@ -35,17 +36,17 @@ public abstract class i { public c(a aVar) { } - @Override // c.i.a.c.a2.i0.g + @Override // c.i.a.c.x2.j0.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) { + @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.a2.i0.g + @Override // c.i.a.c.x2.j0.g public void c(long j) { } } @@ -58,10 +59,10 @@ public abstract class i { this.g = j; } - public abstract long c(c.i.a.c.i2.w wVar); + public abstract long c(x xVar); @EnsuresNonNullIf(expression = {"#3.format"}, result = false) - public abstract boolean d(c.i.a.c.i2.w wVar, long j, b bVar) throws IOException; + public abstract boolean d(x xVar, long j, b bVar) throws IOException; public void e(boolean z2) { if (z2) { 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/a2/k.java b/app/src/main/java/c/i/a/c/x2/k.java similarity index 84% rename from app/src/main/java/c/i/a/c/a2/k.java rename to app/src/main/java/c/i/a/c/x2/k.java index 4fa518100a..06aa5f9f1b 100644 --- a/app/src/main/java/c/i/a/c/a2/k.java +++ b/app/src/main/java/c/i/a/c/x2/k.java @@ -1,10 +1,10 @@ -package c.i.a.c.a2; +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/a2/h; */ + /* 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/a2/j0/a.java b/app/src/main/java/c/i/a/c/x2/k0/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/j0/a.java rename to app/src/main/java/c/i/a/c/x2/k0/a.java index 2b012b7e2b..a73567d683 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/a.java +++ b/app/src/main/java/c/i/a/c/x2/k0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new f()}; } - @Override // c.i.a.c.a2.l + @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/a2/j0/a0.java b/app/src/main/java/c/i/a/c/x2/k0/a0.java similarity index 71% rename from app/src/main/java/c/i/a/c/a2/j0/a0.java rename to app/src/main/java/c/i/a/c/x2/k0/a0.java index 67dd7be45c..9578a0d552 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/a0.java +++ b/app/src/main/java/c/i/a/c/x2/k0/a0.java @@ -1,31 +1,31 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; -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 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 e0 a = new e0(0); - public final w b = new w(); + public final d0 a = new d0(0); + public final x b = new x(); /* renamed from: c reason: collision with root package name */ - public boolean f719c; + 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(w wVar) { - int i = wVar.b; - if (wVar.a() < 9) { + public static long c(x xVar) { + int i = xVar.b; + if (xVar.a() < 9) { return -9223372036854775807L; } byte[] bArr = new byte[9]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, 9); - wVar.b += 9; - wVar.D(i); + 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; } @@ -33,8 +33,8 @@ public final class a0 { } public final int a(i iVar) { - this.b.A(f0.f); - this.f719c = true; + this.b.B(e0.f); + this.f991c = true; iVar.k(); return 0; } diff --git a/app/src/main/java/c/i/a/c/a2/j0/b.java b/app/src/main/java/c/i/a/c/x2/k0/b.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/j0/b.java rename to app/src/main/java/c/i/a/c/x2/k0/b.java index 181ea77957..d8a9af5a40 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/b.java +++ b/app/src/main/java/c/i/a/c/x2/k0/b.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new h()}; } - @Override // c.i.a.c.a2.l + @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/a2/j0/c.java b/app/src/main/java/c/i/a/c/x2/k0/c.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/j0/c.java rename to app/src/main/java/c/i/a/c/x2/k0/c.java index a942df08fa..dd1357026f 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/c.java +++ b/app/src/main/java/c/i/a/c/x2/k0/c.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new j(0)}; } - @Override // c.i.a.c.a2.l + @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/a2/j0/d.java b/app/src/main/java/c/i/a/c/x2/k0/d.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/j0/d.java rename to app/src/main/java/c/i/a/c/x2/k0/d.java index 57fea95400..83be9e3ce3 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/d.java +++ b/app/src/main/java/c/i/a/c/x2/k0/d.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new b0()}; } - @Override // c.i.a.c.a2.l + @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/a2/j0/d0.java b/app/src/main/java/c/i/a/c/x2/k0/d0.java similarity index 56% rename from app/src/main/java/c/i/a/c/a2/j0/d0.java rename to app/src/main/java/c/i/a/c/x2/k0/d0.java index ff1b5ebbab..6f75ce6aaf 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/d0.java +++ b/app/src/main/java/c/i/a/c/x2/k0/d0.java @@ -1,18 +1,17 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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; +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 w b = new w(32); + public final x b = new x(32); /* renamed from: c reason: collision with root package name */ - public int f722c; + public int f994c; public int d; public boolean e; public boolean f; @@ -21,79 +20,79 @@ public final class d0 implements i0 { 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); + @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.a2.j0.i0 - public void b(w wVar, int i) { + @Override // c.i.a.c.x2.k0.i0 + public void b(x xVar, int i) { boolean z2 = (i & 1) != 0; - int s2 = z2 ? wVar.b + wVar.s() : -1; + int t = z2 ? xVar.b + xVar.t() : -1; if (this.f) { if (z2) { this.f = false; - wVar.D(s2); + xVar.E(t); this.d = 0; } else { return; } } - while (wVar.a() > 0) { + while (xVar.a() > 0) { int i2 = this.d; if (i2 < 3) { if (i2 == 0) { - int s3 = wVar.s(); - wVar.D(wVar.b - 1); - if (s3 == 255) { + int t2 = xVar.t(); + xVar.E(xVar.b - 1); + if (t2 == 255) { this.f = true; return; } } - int min = Math.min(wVar.a(), 3 - this.d); - wVar.e(this.b.a, this.d, min); + 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.D(0); - this.b.C(3); - this.b.E(1); - int s4 = this.b.s(); - int s5 = this.b.s(); - this.e = (s4 & 128) != 0; - int i4 = (((s4 & 15) << 8) | s5) + 3; - this.f722c = i4; + 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(wVar.a(), this.f722c - this.d); - wVar.e(this.b.a, this.d, min2); + 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.f722c; + int i6 = this.f994c; if (i5 != i6) { continue; } else { if (this.e) { byte[] bArr2 = this.b.a; - int i7 = f0.a; + int i7 = e0.a; int i8 = -1; for (int i9 = 0; i9 < i6; i9++) { - i8 = f0.k[((i8 >>> 24) ^ (bArr2[i9] & 255)) & 255] ^ (i8 << 8); + i8 = e0.k[((i8 >>> 24) ^ (bArr2[i9] & 255)) & 255] ^ (i8 << 8); } if (i8 != 0) { this.f = true; return; } - this.b.C(this.f722c - 4); + this.b.D(this.f994c - 4); } else { - this.b.C(i6); + this.b.D(i6); } - this.b.D(0); + this.b.E(0); this.a.b(this.b); this.d = 0; } @@ -101,7 +100,7 @@ public final class d0 implements i0 { } } - @Override // c.i.a.c.a2.j0.i0 + @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/a2/j0/e.java b/app/src/main/java/c/i/a/c/x2/k0/e.java similarity index 71% rename from app/src/main/java/c/i/a/c/a2/j0/e.java rename to app/src/main/java/c/i/a/c/x2/k0/e.java index 3262b42fa9..5197139bdc 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/e.java +++ b/app/src/main/java/c/i/a/c/x2/k0/e.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new h0(1, 0, 112800)}; } - @Override // c.i.a.c.a2.l + @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/a2/j0/f.java b/app/src/main/java/c/i/a/c/x2/k0/f.java similarity index 65% rename from app/src/main/java/c/i/a/c/a2/j0/f.java rename to app/src/main/java/c/i/a/c/x2/k0/f.java index 94097e475c..1e271fe304 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/f.java +++ b/app/src/main/java/c/i/a/c/x2/k0/f.java @@ -1,21 +1,21 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; -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 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 w b = new w(2786); + public final x b = new x(2786); /* renamed from: c reason: collision with root package name */ - public boolean f723c; + public boolean f995c; static { a aVar = a.a; @@ -31,21 +31,21 @@ public final class f implements h { /* JADX WARNING: Code restructure failed: missing block: B:9:0x003f, code lost: return false; */ - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public boolean b(i iVar) throws IOException { int i; - w wVar = new w(10); + x xVar = new x(10); int i2 = 0; while (true) { - 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 r = wVar.r(); - i2 += r + 10; - iVar.g(r); + xVar.F(3); + int s2 = xVar.s(); + i2 += s2 + 10; + iVar.g(s2); } iVar.k(); iVar.g(i2); @@ -53,20 +53,20 @@ public final class f implements h { while (true) { int i4 = 0; while (true) { - iVar.n(wVar.a, 0, 6); - wVar.D(0); - if (wVar.x() != 2935) { + iVar.o(xVar.a, 0, 6); + xVar.E(0); + if (xVar.y() != 2935) { break; } i4++; if (i4 >= 4) { return true; } - byte[] bArr = wVar.a; + 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 : l.a((bArr[4] & 192) >> 6, bArr[4] & 63); + 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; @@ -77,36 +77,36 @@ public final class f implements h { } } - @Override // c.i.a.c.a2.h + @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.D(0); - this.b.C(read); - if (!this.f723c) { - this.a.l = 0; - this.f723c = true; + 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.a2.h + @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.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { - this.f723c = false; + this.f995c = false; this.a.c(); } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/k0/f0.java similarity index 57% rename from app/src/main/java/c/i/a/c/a2/j0/f0.java rename to app/src/main/java/c/i/a/c/x2/k0/f0.java index 498acbca49..7b79c994bb 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/f0.java +++ b/app/src/main/java/c/i/a/c/x2/k0/f0.java @@ -1,48 +1,49 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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 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.a2.a { +public final class f0 extends c.i.a.c.x2.a { /* compiled from: TsBinarySearchSeeker */ public static final class a implements a.f { - public final e0 a; - public final w b = new w(); + public final d0 a; + public final x b = new x(); /* renamed from: c reason: collision with root package name */ - public final int f724c; + public final int f996c; public final int d; - public a(int i, e0 e0Var, int i2) { - this.f724c = i; - this.a = e0Var; + public a(int i, d0 d0Var, int i2) { + this.f996c = i; + this.a = d0Var; this.d = i2; } - @Override // c.i.a.c.a2.a.f + @Override // c.i.a.c.x2.a.f public void a() { - this.b.A(c.i.a.c.i2.f0.f); + this.b.B(e0.f); } - @Override // c.i.a.c.a2.a.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.z(min); - iVar.n(this.b.a, 0, min); - w wVar = this.b; - int i = wVar.f919c; + 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 (wVar.a() >= 188) { - byte[] bArr = wVar.a; - int i2 = wVar.b; + while (xVar.a() >= 188) { + byte[] bArr = xVar.a; + int i2 = xVar.b; while (i2 < i && bArr[i2] != 71) { i2++; } @@ -50,9 +51,9 @@ public final class f0 extends c.i.a.c.a2.a { if (i3 > i) { break; } - long K1 = d.K1(wVar, i2, this.f724c); - if (K1 != -9223372036854775807L) { - long b = this.a.b(K1); + 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); } @@ -62,14 +63,14 @@ public final class f0 extends c.i.a.c.a2.a { j4 = b; j3 = (long) i2; } - wVar.D(i3); + xVar.E(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); + 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/a2/j0/g.java b/app/src/main/java/c/i/a/c/x2/k0/g.java similarity index 50% rename from app/src/main/java/c/i/a/c/a2/j0/g.java rename to app/src/main/java/c/i/a/c/x2/k0/g.java index 8fe892814e..7d5ba378dd 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/g.java +++ b/app/src/main/java/c/i/a/c/x2/k0/g.java @@ -1,43 +1,43 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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; +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 v a; - public final w b; + public final w a; + public final x b; @Nullable /* renamed from: c reason: collision with root package name */ - public final String f725c; + public final String f997c; public String d; - public c.i.a.c.a2.w e; + public c.i.a.c.x2.w e; public int f = 0; public int g; public boolean h; public long i; - public Format j; + public j1 j; public int k; - public long l; + public long l = -9223372036854775807L; public g(@Nullable String str) { - v vVar = new v(new byte[128]); - this.a = vVar; - this.b = new w(vVar.a); - this.f725c = 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: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) { + /* 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; @@ -53,23 +53,23 @@ public final class g implements o { int i12; boolean z2; d.H(this.e); - while (wVar.a() > 0) { + while (xVar.a() > 0) { int i13 = this.f; if (i13 == 0) { while (true) { - if (wVar.a() <= 0) { + if (xVar.a() <= 0) { z2 = false; break; } else if (!this.h) { - this.h = wVar.s() == 11; + this.h = xVar.t() == 11; } else { - int s2 = wVar.s(); - if (s2 == 119) { + int t = xVar.t(); + if (t == 119) { this.h = false; z2 = true; break; } - this.h = s2 == 11; + this.h = t == 11; } } if (z2) { @@ -81,22 +81,22 @@ public final class g implements o { } } 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 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); - v vVar = this.a; - int e = vVar.e(); - vVar.m(40); - boolean z3 = vVar.g(5) > 10; - vVar.k(e); + 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) { - vVar.m(16); - int g = vVar.g(2); + wVar.m(16); + int g = wVar.g(2); if (g == 0) { i15 = 0; } else if (g == 1) { @@ -104,128 +104,128 @@ public final class g implements o { } else if (g == 2) { i15 = 2; } - vVar.m(3); - i3 = (vVar.g(11) + 1) * 2; - int g2 = vVar.g(2); + wVar.m(3); + i3 = (wVar.g(11) + 1) * 2; + int g2 = wVar.g(2); if (g2 == 3) { - i5 = l.f998c[vVar.g(2)]; + i5 = m.f891c[wVar.g(2)]; i7 = 6; i6 = 3; } else { - int g3 = vVar.g(2); + int g3 = wVar.g(2); i6 = g3; - i7 = l.a[g3]; - i5 = l.b[g2]; + i7 = m.a[g3]; + i5 = m.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); + 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) { - vVar.m(5); - if (vVar.f()) { - vVar.m(8); + wVar.m(5); + if (wVar.f()) { + wVar.m(8); } } - if (i15 == 1 && vVar.f()) { - vVar.m(16); + if (i15 == 1 && wVar.f()) { + wVar.m(16); } - if (vVar.f()) { + if (wVar.f()) { if (g4 > 2) { - vVar.m(2); + wVar.m(2); } if ((g4 & 1) == 0 || g4 <= 2) { i10 = 6; } else { i10 = 6; - vVar.m(6); + wVar.m(6); } if ((g4 & 4) != 0) { - vVar.m(i10); + wVar.m(i10); } - if (f && vVar.f()) { - vVar.m(5); + if (f && wVar.f()) { + wVar.m(5); } if (i15 == 0) { - if (vVar.f()) { + if (wVar.f()) { i11 = 6; - vVar.m(6); + wVar.m(6); } else { i11 = 6; } - if (g4 == 0 && vVar.f()) { - vVar.m(i11); + if (g4 == 0 && wVar.f()) { + wVar.m(i11); } - if (vVar.f()) { - vVar.m(i11); + if (wVar.f()) { + wVar.m(i11); } - int g5 = vVar.g(2); + int g5 = wVar.g(2); if (g5 == 1) { - vVar.m(5); + wVar.m(5); } else if (g5 == 2) { - vVar.m(12); + wVar.m(12); } else if (g5 == 3) { - int g6 = vVar.g(5); - if (vVar.f()) { - vVar.m(5); - if (vVar.f()) { - vVar.m(4); + int g6 = wVar.g(5); + if (wVar.f()) { + wVar.m(5); + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + if (wVar.f()) { + wVar.m(4); } - if (vVar.f()) { - vVar.m(4); + if (wVar.f()) { + wVar.m(4); } } } - if (vVar.f()) { - vVar.m(5); - if (vVar.f()) { - vVar.m(7); - if (vVar.f()) { - vVar.m(8); + if (wVar.f()) { + wVar.m(5); + if (wVar.f()) { + wVar.m(7); + if (wVar.f()) { + wVar.m(8); i12 = 2; - vVar.m((g6 + 2) * 8); - vVar.c(); + wVar.m((g6 + 2) * 8); + wVar.c(); if (g4 < i12) { - if (vVar.f()) { - vVar.m(14); + if (wVar.f()) { + wVar.m(14); } - if (g4 == 0 && vVar.f()) { - vVar.m(14); + if (g4 == 0 && wVar.f()) { + wVar.m(14); } } - if (vVar.f()) { + if (wVar.f()) { if (i6 == 0) { - vVar.m(5); + wVar.m(5); } else { for (int i16 = 0; i16 < i7; i16++) { - if (vVar.f()) { - vVar.m(5); + if (wVar.f()) { + wVar.m(5); } } } @@ -234,133 +234,139 @@ public final class g implements o { } } i12 = 2; - vVar.m((g6 + 2) * 8); - vVar.c(); + wVar.m((g6 + 2) * 8); + wVar.c(); if (g4 < i12) { } - if (vVar.f()) { + if (wVar.f()) { } } i12 = 2; if (g4 < i12) { } - if (vVar.f()) { + if (wVar.f()) { } } } - if (vVar.f()) { - vVar.m(5); + if (wVar.f()) { + wVar.m(5); if (g4 == 2) { - vVar.m(4); + wVar.m(4); } if (g4 >= 6) { - vVar.m(2); + wVar.m(2); } - if (vVar.f()) { + if (wVar.f()) { i9 = 8; - vVar.m(8); + wVar.m(8); } else { i9 = 8; } - if (g4 == 0 && vVar.f()) { - vVar.m(i9); + if (g4 == 0 && wVar.f()) { + wVar.m(i9); } if (g2 < 3) { - vVar.l(); + wVar.l(); } } if (i15 == 0 && i6 != 3) { - vVar.l(); + wVar.l(); } - if (i15 != 2 || (i6 != 3 && !vVar.f())) { + if (i15 != 2 || (i6 != 3 && !wVar.f())) { i8 = 6; } else { i8 = 6; - vVar.m(6); + wVar.m(6); } - str = (vVar.f() && vVar.g(i8) == 1 && vVar.g(8) == 1) ? "audio/eac3-joc" : "audio/eac3"; + str = (wVar.f() && wVar.g(i8) == 1 && wVar.g(8) == 1) ? "audio/eac3-joc" : "audio/eac3"; i15 = i5; } else { - vVar.m(32); - int g7 = vVar.g(2); + wVar.m(32); + int g7 = wVar.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); + 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; - vVar.m(2); + wVar.m(2); } if ((g8 & 4) != 0) { - vVar.m(i4); + wVar.m(i4); } if (g8 == i4) { - vVar.m(i4); + wVar.m(i4); } - int[] iArr = l.b; + int[] iArr = m.b; if (g7 < iArr.length) { i15 = iArr[g7]; } - i = l.d[g8] + (vVar.f() ? 1 : 0); + i = m.d[g8] + (wVar.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(); + 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.f2281x = i; - bVar.f2282y = i15; - bVar.f2279c = this.f725c; - Format a2 = bVar.a(); + 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.H); - this.b.D(0); + 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(wVar.a(), this.k - this.g); - this.e.c(wVar, min2); + 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) { - this.e.d(this.l, 1, i18, 0, null); - this.l += this.i; + 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.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.l = j; + if (j != -9223372036854775807L) { + 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/x2/k0/g0.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/j0/g0.java rename to app/src/main/java/c/i/a/c/x2/k0/g0.java index ddad473522..0614d3c29c 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/g0.java +++ b/app/src/main/java/c/i/a/c/x2/k0/g0.java @@ -1,16 +1,16 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; -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 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 e0 b = new e0(0); + public final d0 b = new d0(0); /* renamed from: c reason: collision with root package name */ - public final w f726c = new w(); + public final x f998c = new x(); public boolean d; public boolean e; public boolean f; @@ -23,7 +23,7 @@ public final class g0 { } public final int a(i iVar) { - this.f726c.A(f0.f); + this.f998c.B(e0.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/x2/k0/h.java similarity index 68% rename from app/src/main/java/c/i/a/c/a2/j0/h.java rename to app/src/main/java/c/i/a/c/x2/k0/h.java index d2fdf24ca3..f11601bf12 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/h.java +++ b/app/src/main/java/c/i/a/c/x2/k0/h.java @@ -1,19 +1,19 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; -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.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.a2.h { +public final class h implements c.i.a.c.x2.h { public final i a = new i(null); - public final w b = new w(16384); + public final x b = new x(16384); /* renamed from: c reason: collision with root package name */ - public boolean f727c; + public boolean f999c; static { b bVar = b.a; @@ -29,21 +29,21 @@ public final class h implements c.i.a.c.a2.h { /* 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 + @Override // c.i.a.c.x2.h public boolean b(i iVar) throws IOException { int i; - w wVar = new w(10); + x xVar = new x(10); int i2 = 0; while (true) { - 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 r = wVar.r(); - i2 += r + 10; - iVar.g(r); + xVar.F(3); + int s2 = xVar.s(); + i2 += s2 + 10; + iVar.g(s2); } iVar.k(); iVar.g(i2); @@ -52,17 +52,17 @@ public final class h implements c.i.a.c.a2.h { 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) { + 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 = wVar.a; + byte[] bArr = xVar.a; if (bArr.length < 7) { i = -1; } else { @@ -72,7 +72,7 @@ public final class h implements c.i.a.c.a2.h { } else { i5 = 4; } - if (x2 == 44097) { + if (y2 == 44097) { i5 += 2; } i = i6 + i5; @@ -86,36 +86,36 @@ public final class h implements c.i.a.c.a2.h { } } - @Override // c.i.a.c.a2.h + @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.D(0); - this.b.C(read); - if (!this.f727c) { - this.a.m = 0; - this.f727c = true; + 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.a2.h + @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.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { - this.f727c = false; + this.f999c = false; this.a.c(); } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/k0/h0.java similarity index 53% rename from app/src/main/java/c/i/a/c/a2/j0/h0.java rename to app/src/main/java/c/i/a/c/x2/k0/h0.java index 659148798d..5426240aae 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/h0.java +++ b/app/src/main/java/c/i/a/c/x2/k0/h0.java @@ -1,19 +1,21 @@ -package c.i.a.c.a2.j0; +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.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 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; @@ -26,8 +28,8 @@ public final class h0 implements h { public final int b; /* renamed from: c reason: collision with root package name */ - public final List f728c; - public final w d; + public final List f1000c; + public final x d; public final SparseIntArray e; public final i0.c f; public final SparseArray g; @@ -40,30 +42,31 @@ public final class h0 implements h { 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 f729s; + public int f1001s; /* compiled from: TsExtractor */ public class a implements c0 { - public final v a = new v(new byte[4]); + public final w a = new w(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.x2.k0.c0 + public void a(d0 d0Var, 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; + @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++) { - wVar.d(this.a, 4); + xVar.d(this.a, 4); int g = this.a.g(16); this.a.m(3); if (g == 0) { @@ -87,217 +90,220 @@ public final class h0 implements h { /* compiled from: TsExtractor */ public class b implements c0 { - public final v a = new v(new byte[5]); + 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 f730c = new SparseIntArray(); + public final SparseIntArray f1002c = 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) { + @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:46:0x013d, code lost: - if (r24.s() == r13) goto L_0x013f; + /* 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: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; + /* 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; - e0 e0Var2; + d0 d0Var2; i0 i0Var; int i2; int i3; int i4; - e0 e0Var3; - if (wVar.s() == 2) { + d0 d0Var3; + if (xVar.t() == 2) { h0 h0Var = h0.this; int i5 = h0Var.a; if (i5 == 1 || i5 == 2 || h0Var.m == 1) { - e0Var = h0Var.f728c.get(0); + d0Var = h0Var.f1000c.get(0); } else { - e0Var = new e0(h0Var.f728c.get(0).c()); - h0.this.f728c.add(e0Var); + d0Var = new d0(h0Var.f1000c.get(0).c()); + h0.this.f1000c.add(d0Var); } - if ((wVar.s() & 128) != 0) { - wVar.E(1); - int x2 = wVar.x(); + if ((xVar.t() & 128) != 0) { + xVar.F(1); + int y2 = xVar.y(); int i6 = 3; - wVar.E(3); - wVar.d(this.a, 2); + xVar.F(3); + xVar.d(this.a, 2); this.a.m(3); int i7 = 13; - h0.this.f729s = this.a.g(13); - wVar.d(this.a, 2); + h0.this.f1001s = this.a.g(13); + xVar.d(this.a, 2); int i8 = 4; this.a.m(4); int i9 = 12; - wVar.E(this.a.g(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, f0.f); + 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; - h0Var4.q.a(e0Var, h0Var4.l, new i0.d(x2, 21, 8192)); + i0 i0Var2 = h0Var4.q; + if (i0Var2 != null) { + i0Var2.a(d0Var, h0Var4.l, new i0.d(y2, 21, 8192)); + } } this.b.clear(); - this.f730c.clear(); - int a = wVar.a(); + this.f1002c.clear(); + int a = xVar.a(); while (a > 0) { int i11 = 5; - wVar.d(this.a, 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 = wVar.b; + int i12 = xVar.b; int i13 = g3 + i12; int i14 = -1; String str = null; ArrayList arrayList = null; - while (wVar.b < i13) { - int s2 = wVar.s(); - int s3 = wVar.b + wVar.s(); - if (s3 > i13) { + while (xVar.b < i13) { + int t = xVar.t(); + int t2 = xVar.b + xVar.t(); + if (t2 > i13) { break; } - if (s2 == i11) { - long t = wVar.t(); - if (t != 1094921523) { - if (t != 1161904947) { - if (t != 1094921524) { - if (t == 1212503619) { + if (t == i11) { + long u = xVar.u(); + if (u != 1094921523) { + if (u != 1161904947) { + if (u != 1094921524) { + if (u == 1212503619) { i14 = 36; } - i4 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; g2 = i3; i11 = 5; i10 = 21; } i14 = 172; - i4 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; g2 = i3; i11 = 5; i10 = 21; } i14 = 135; - i4 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; g2 = i3; i11 = 5; i10 = 21; } - } else if (s2 != 106) { - if (s2 != 122) { - if (s2 != 127) { - if (s2 == 123) { + } else if (t != 106) { + if (t != 122) { + if (t != 127) { + if (t == 123) { i14 = 138; - } else if (s2 == 10) { - str = wVar.p(3).trim(); - i4 = x2; - e0Var3 = e0Var; + } else if (t == 10) { + str = xVar.q(3).trim(); + i4 = y2; + d0Var3 = d0Var; i3 = g2; - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; g2 = i3; i11 = 5; i10 = 21; } else { int i15 = 3; - if (s2 == 89) { + if (t == 89) { ArrayList arrayList2 = new ArrayList(); - while (wVar.b < s3) { - String trim = wVar.p(i15).trim(); - int s4 = wVar.s(); + while (xVar.b < t2) { + String trim = xVar.q(i15).trim(); + int t3 = xVar.t(); byte[] bArr = new byte[4]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, 4); - wVar.b += 4; - arrayList2.add(new i0.a(trim, s4, bArr)); - e0Var = e0Var; - x2 = x2; + 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 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; arrayList = arrayList2; i14 = 89; } else { - i4 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; - if (s2 == 111) { + if (t == 111) { i14 = 257; } } - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; g2 = i3; i11 = 5; i10 = 21; } } - i4 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; g2 = i3; i11 = 5; i10 = 21; } i14 = 135; - i4 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = i4; g2 = i3; i11 = 5; i10 = 21; } i14 = 129; - i4 = x2; - e0Var3 = e0Var; + i4 = y2; + d0Var3 = d0Var; i3 = g2; - wVar.E(s3 - wVar.b); - e0Var = e0Var3; - x2 = i4; + xVar.F(t2 - xVar.b); + d0Var = d0Var3; + y2 = 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)); + 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; } @@ -311,36 +317,36 @@ public final class h0 implements h { i0Var = h0Var6.q; if (h0.this.a != 2) { i2 = g2; - if (i2 >= this.f730c.get(i16, 8192)) { + if (i2 >= this.f1002c.get(i16, 8192)) { } } else { i2 = g2; } - this.f730c.put(i16, i2); + this.f1002c.put(i16, i2); this.b.put(i16, i0Var); } } i0Var = h0Var6.f.a(g, bVar2); if (h0.this.a != 2) { } - this.f730c.put(i16, i2); + this.f1002c.put(i16, i2); this.b.put(i16, i0Var); } - e0Var = e0Var; - x2 = x2; + d0Var = d0Var; + y2 = y2; i6 = 3; i8 = 4; i7 = 13; i9 = 12; i10 = 21; } - int i17 = x2; - e0 e0Var4 = e0Var; - int size = this.f730c.size(); + int i17 = y2; + d0 d0Var4 = d0Var; + int size = this.f1002c.size(); int i18 = 0; while (i18 < size) { - int keyAt = this.f730c.keyAt(i18); - int valueAt = this.f730c.valueAt(i18); + 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); @@ -350,19 +356,19 @@ public final class h0 implements h { j jVar = h0Var7.l; i = i17; i0.d dVar = new i0.d(i, keyAt, 8192); - e0Var2 = e0Var4; - valueAt2.a(e0Var2, jVar, dVar); + d0Var2 = d0Var4; + valueAt2.a(d0Var2, jVar, dVar); } else { - e0Var2 = e0Var4; + d0Var2 = d0Var4; i = i17; } h0.this.g.put(valueAt, valueAt2); } else { - e0Var2 = e0Var4; + d0Var2 = d0Var4; i = i17; } i18++; - e0Var4 = e0Var2; + d0Var4 = d0Var2; i17 = i; } h0 h0Var8 = h0.this; @@ -391,19 +397,19 @@ public final class h0 implements h { } public h0(int i, int i2, int i3) { - e0 e0Var = new e0(0); + 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.f728c = Collections.singletonList(e0Var); + this.f1000c = Collections.singletonList(d0Var); } else { ArrayList arrayList = new ArrayList(); - this.f728c = arrayList; - arrayList.add(e0Var); + this.f1000c = arrayList; + arrayList.add(d0Var); } - this.d = new w(new byte[9400], 0); + this.d = new x(new byte[9400], 0); SparseBooleanArray sparseBooleanArray = new SparseBooleanArray(); this.h = sparseBooleanArray; this.i = new SparseBooleanArray(); @@ -411,7 +417,8 @@ public final class h0 implements h { this.g = sparseArray; this.e = new SparseIntArray(); this.j = new g0(i3); - this.f729s = -1; + this.l = j.d; + this.f1001s = -1; sparseBooleanArray.clear(); sparseArray.clear(); SparseArray b2 = lVar.b(); @@ -423,11 +430,11 @@ public final class h0 implements h { this.q = null; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public boolean b(i iVar) throws IOException { boolean z2; byte[] bArr = this.d.a; - iVar.n(bArr, 0, 940); + iVar.o(bArr, 0, 940); for (int i = 0; i < 188; i++) { int i2 = 0; while (true) { @@ -449,24 +456,25 @@ public final class h0 implements h { return false; } - /* JADX DEBUG: Multi-variable search result rejected for r9v4, resolved type: android.util.SparseBooleanArray */ + /* 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.a2.h + @Override // c.i.a.c.x2.h public int e(i iVar, s sVar) throws IOException { - ?? r4; - ?? r3; - int i; + ?? r1; + ?? r0; boolean z2; - int i2; + 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.f729s; + int i3 = this.f1001s; if (i3 <= 0) { g0Var.a(iVar); return 0; @@ -477,29 +485,50 @@ public final class h0 implements h { long j2 = b3 - ((long) min); if (iVar.getPosition() != j2) { sVar.a = j2; - } else { - g0Var.f726c.z(min); - iVar.k(); - iVar.n(g0Var.f726c.a, 0, min); - w wVar = g0Var.f726c; - int i4 = wVar.b; - int i5 = wVar.f919c; + 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) { - i5--; - if (i5 < i4) { + if (i7 > 4) { + z4 = false; break; - } else if (wVar.a[i5] == 71) { - long K1 = d.K1(wVar, i5, i3); - if (K1 != -9223372036854775807L) { - j = K1; + } + int i9 = (i7 * 188) + i6; + if (i9 < i4 || i9 >= i5 || bArr[i9] != 71) { + i8 = 0; + } else { + i8++; + if (i8 == 5) { + z4 = true; break; } } + i7++; } - g0Var.h = j; - g0Var.f = true; - return 0; + 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; @@ -508,41 +537,46 @@ public final class h0 implements h { long j3 = (long) 0; if (iVar.getPosition() != j3) { sVar.a = j3; - } else { - g0Var.f726c.z(min2); - iVar.k(); - iVar.n(g0Var.f726c.a, 0, min2); - w wVar2 = g0Var.f726c; - int i6 = wVar2.b; - int i7 = wVar2.f919c; - while (true) { - if (i6 >= i7) { + 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; } - 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; + i10++; } + g0Var.g = j; + g0Var.e = true; } else { long j4 = g0Var.g; if (j4 == -9223372036854775807L) { g0Var.a(iVar); return 0; } - g0Var.i = g0Var.b.b(g0Var.h) - g0Var.b.b(j4); + 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; } - return 1; + i2 = 0; + return i2; } } if (!this.o) { @@ -550,7 +584,7 @@ public final class h0 implements h { g0 g0Var2 = this.j; long j5 = g0Var2.i; if (j5 != -9223372036854775807L) { - f0 f0Var = new f0(g0Var2.b, j5, b2, this.f729s, this.b); + f0 f0Var = new f0(g0Var2.b, j5, b2, this.f1001s, this.b); this.k = f0Var; this.l.a(f0Var.a); } else { @@ -568,154 +602,151 @@ public final class h0 implements h { } else { z3 = false; } - r4 = 1; - r4 = 1; + r1 = 1; + r1 = 1; f0 f0Var2 = this.k; - r3 = z3; + r0 = z3; if (f0Var2 != null) { - r3 = z3; + r0 = z3; if (f0Var2.b()) { return this.k.a(iVar, sVar); } } } else { - r3 = 0; - r4 = 1; + r0 = 0; + r1 = 1; } - w wVar3 = this.d; - byte[] bArr = wVar3.a; - if (9400 - wVar3.b < 188) { - int a2 = wVar3.a(); + x xVar3 = this.d; + byte[] bArr2 = xVar3.a; + if (9400 - xVar3.b < 188) { + int a2 = xVar3.a(); if (a2 > 0) { - System.arraycopy(bArr, this.d.b, bArr, r3, a2); + System.arraycopy(bArr2, this.d.b, bArr2, r0, a2); } - this.d.B(bArr, a2); + this.d.C(bArr2, a2); } while (true) { if (this.d.a() >= 188) { - i = -1; z2 = true; break; } - int i8 = this.d.f919c; - int read = iVar.read(bArr, i8, 9400 - i8); - i = -1; + int i12 = this.d.f792c; + int read = iVar.read(bArr2, i12, 9400 - i12); if (read == -1) { z2 = false; break; } - this.d.C(i8 + read); + this.d.D(i12 + read); } if (!z2) { - return i; + return -1; } - w wVar4 = this.d; - int i9 = wVar4.b; - int i10 = wVar4.f919c; - byte[] bArr2 = wVar4.a; - int i11 = i9; - while (i11 < i10 && bArr2[i11] != 71) { - i11++; + 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.D(i11); - int i12 = i11 + 188; - if (i12 > i10) { - int i13 = (i11 - i9) + this.r; - this.r = i13; - i2 = 2; - if (this.a == 2 && i13 > 376) { - throw new ParserException("Cannot find sync byte. Most likely not a Transport Stream."); + 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 { - i2 = 2; - this.r = r3; + i = 2; + this.r = r0; } - w wVar5 = this.d; - int i14 = wVar5.f919c; - if (i12 > i14) { - return r3; + x xVar5 = this.d; + int i18 = xVar5.f792c; + if (i16 > i18) { + return r0; } - int f = wVar5.f(); + int f = xVar5.f(); if ((8388608 & f) != 0) { - this.d.D(i12); - return r3; + 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); } - 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; + this.d.E(i16); + return r0; } - 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)) { + 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 (z8) { - int s2 = 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(s2 - i21); + 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 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); + 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 != i2 && !z9 && this.n && b2 != -1) { - this.p = r4; + if (this.a != i && !z6 && this.n && b2 != -1) { + this.p = r1; } - 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; + 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.a2.h + @Override // c.i.a.c.x2.h public void f(j jVar) { this.l = jVar; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.h public void g(long j, long j2) { f0 f0Var; d.D(this.a != 2); - int size = this.f728c.size(); + int size = this.f1000c.size(); for (int i = 0; i < size; i++) { - e0 e0Var = this.f728c.get(i); - if ((e0Var.d() == -9223372036854775807L) || !(e0Var.d() == 0 || e0Var.c() == j2)) { - synchronized (e0Var) { - e0Var.a = j2; - e0Var.f909c = -9223372036854775807L; - } + 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.z(0); + this.d.A(0); this.e.clear(); for (int i2 = 0; i2 < this.g.size(); i2++) { this.g.valueAt(i2).c(); @@ -723,7 +754,7 @@ public final class h0 implements h { this.r = 0; } - @Override // c.i.a.c.a2.h + @Override // c.i.a.c.x2.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/x2/k0/i.java similarity index 53% rename from app/src/main/java/c/i/a/c/a2/j0/i.java rename to app/src/main/java/c/i/a/c/x2/k0/i.java index a0752917d1..016000a7fb 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/i.java +++ b/app/src/main/java/c/i/a/c/x2/k0/i.java @@ -1,65 +1,65 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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; +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 v a; - public final w b; + public final w a; + public final x b; @Nullable /* renamed from: c reason: collision with root package name */ - public final String f731c; + public final String f1003c; public String d; - public c.i.a.c.a2.w e; + 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 Format k; + public j1 k; public int l; - public long m; + public long m = -9223372036854775807L; public i(@Nullable String str) { - v vVar = new v(new byte[16]); - this.a = vVar; - this.b = new w(vVar.a); - this.f731c = 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.a2.j0.o - public void b(w wVar) { + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { int i; boolean z2; - int s2; + int t; d.H(this.e); - while (wVar.a() > 0) { + while (xVar.a() > 0) { int i2 = this.f; boolean z3 = true; if (i2 == 0) { while (true) { i = 65; - if (wVar.a() <= 0) { + if (xVar.a() <= 0) { z2 = false; break; } else if (!this.h) { - this.h = wVar.s() == 172; + this.h = xVar.t() == 172; } else { - s2 = wVar.s(); - this.h = s2 == 172; - if (s2 == 64 || s2 == 65) { + t = xVar.t(); + this.h = t == 172; + if (t == 64 || t == 65) { break; } } } - this.i = s2 == 65; + this.i = t == 65; z2 = true; if (z2) { this.f = 1; @@ -73,9 +73,9 @@ public final class i implements o { } } 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 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) { @@ -83,61 +83,67 @@ public final class i implements o { } 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(); + 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.f2281x = 2; - bVar.f2282y = b.a; - bVar.f2279c = this.f731c; - Format a = bVar.a(); + 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.f999c) * 1000000) / ((long) this.k.H); - this.b.D(0); + 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(wVar.a(), this.l - this.g); - this.e.c(wVar, min2); + 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) { - this.e.d(this.m, 1, i5, 0, null); - this.m += this.j; + 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.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.m = j; + if (j != -9223372036854775807L) { + 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/x2/k0/i0.java similarity index 74% rename from app/src/main/java/c/i/a/c/a2/j0/i0.java rename to app/src/main/java/c/i/a/c/x2/k0/i0.java index 74455983d2..bb0d7f7360 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/i0.java +++ b/app/src/main/java/c/i/a/c/x2/k0/i0.java @@ -1,9 +1,9 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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 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; @@ -29,13 +29,13 @@ public interface i0 { public final String b; /* renamed from: c reason: collision with root package name */ - public final List f732c; + 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.f732c = list == null ? Collections.emptyList() : Collections.unmodifiableList(list); + this.f1004c = list == null ? Collections.emptyList() : Collections.unmodifiableList(list); this.d = bArr; } } @@ -52,28 +52,33 @@ public interface i0 { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f733c; + 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) { - str = i + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN; + 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.f733c = i3; + this.f1005c = 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.f733c; - this.e = this.a + 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() { @@ -92,9 +97,9 @@ public interface i0 { } } - void a(e0 e0Var, j jVar, d dVar); + void a(d0 d0Var, j jVar, d dVar); - void b(w wVar, int i) throws ParserException; + 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/a2/j0/k.java b/app/src/main/java/c/i/a/c/x2/k0/k.java similarity index 59% rename from app/src/main/java/c/i/a/c/a2/j0/k.java rename to app/src/main/java/c/i/a/c/x2/k0/k.java index f300f4b648..a2bc82d8c4 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/k.java +++ b/app/src/main/java/c/i/a/c/x2/k0/k.java @@ -1,15 +1,15 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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 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; @@ -20,13 +20,13 @@ public final class k implements o { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final v f735c = new v(new byte[7]); - public final w d = new w(Arrays.copyOf(a, 10)); + 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.a2.w g; - public c.i.a.c.a2.w h; + 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; @@ -39,9 +39,9 @@ public final class k implements o { public long r; /* renamed from: s reason: collision with root package name */ - public int f736s; + public int f1008s; public long t; - public c.i.a.c.a2.w u; + public c.i.a.c.x2.w u; public long v; public k(boolean z2, @Nullable String str) { @@ -49,6 +49,7 @@ public final class k implements o { this.n = -1; this.o = -1; this.r = -9223372036854775807L; + this.t = -9223372036854775807L; this.b = z2; this.e = str; } @@ -57,34 +58,34 @@ public final class k implements o { 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; + 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: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 { + /* 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 = f0.a; - while (wVar.a() > 0) { + int i3 = e0.a; + while (xVar.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.f919c; + byte[] bArr = xVar.a; + int i7 = xVar.b; + int i8 = xVar.f792c; while (true) { if (i7 >= i8) { - wVar.D(i7); + xVar.E(i7); break; } i = i7 + 1; @@ -94,17 +95,17 @@ public final class k implements o { break; } int i9 = i - 2; - wVar.D(i9 + 1); - if (i(wVar, this.f735c.a, 1)) { - this.f735c.k(4); - int g = this.f735c.g(1); + 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(wVar, this.f735c.a, 1)) { - this.f735c.k(i6); - if (this.f735c.g(4) == this.o) { - wVar.D(i9 + 2); + if (i(xVar, this.f1007c.a, 1)) { + this.f1007c.k(i6); + if (this.f1007c.g(4) == this.o) { + xVar.E(i9 + 2); } } z2 = true; @@ -112,12 +113,12 @@ public final class k implements o { break; } } - if (i(wVar, this.f735c.a, 4)) { - this.f735c.k(14); - int g2 = this.f735c.g(i5); + if (i(xVar, this.f1007c.a, 4)) { + this.f1007c.k(14); + int g2 = this.f1007c.g(i5); if (g2 >= 7) { - byte[] bArr2 = wVar.a; - int i11 = wVar.f919c; + byte[] bArr2 = xVar.a; + int i11 = xVar.f792c; int i12 = i9 + g2; if (i12 < i11) { if (bArr2[i12] == -1) { @@ -144,9 +145,9 @@ public final class k implements o { if (i14 == 1075) { this.i = 2; this.j = a.length; - this.f736s = 0; - this.d.D(0); - wVar.D(i); + this.f1008s = 0; + this.d.E(0); + xVar.E(i); break; } else if (i13 != 256) { this.k = 256; @@ -170,80 +171,87 @@ public final class k implements o { this.i = 3; this.j = 0; } - wVar.D(i); + xVar.E(i); } else if (i4 != 1) { if (i4 != 2) { if (i4 == 3) { - if (a(wVar, this.f735c.a, this.l ? 7 : 5)) { - this.f735c.k(0); + if (a(xVar, this.f1007c.a, this.l ? 7 : 5)) { + this.f1007c.k(0); if (!this.q) { - int g3 = this.f735c.g(2) + 1; + int g3 = this.f1007c.g(2) + 1; if (g3 != 2) { - Log.w("AdtsReader", "Detected audio object type: " + g3 + ", but assuming AAC LC."); + 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.f735c.m(5); - int g4 = this.f735c.g(3); + 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))}; - k.b c2 = c.i.a.c.v1.k.c(new v(bArr3), false); - Format.b bVar = new Format.b(); + 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 = c2.f997c; - bVar.f2281x = c2.b; - bVar.f2282y = c2.a; + bVar.h = b.f890c; + bVar.f825x = b.b; + bVar.f826y = b.a; bVar.m = Collections.singletonList(bArr3); - bVar.f2279c = this.e; - Format a2 = bVar.a(); - this.r = 1024000000 / ((long) a2.H); + bVar.f823c = this.e; + j1 a2 = bVar.a(); + this.r = 1024000000 / ((long) a2.J); this.g.e(a2); this.q = true; } else { - this.f735c.m(10); + this.f1007c.m(10); } - this.f735c.m(4); - int g5 = (this.f735c.g(13) - 2) - 5; + this.f1007c.m(4); + int g5 = (this.f1007c.g(13) - 2) - 5; if (this.l) { g5 -= 2; } - c.i.a.c.a2.w wVar2 = this.g; + c.i.a.c.x2.w wVar = this.g; long j = this.r; this.i = 4; this.j = 0; - this.u = wVar2; + this.u = wVar; this.v = j; - this.f736s = g5; + this.f1008s = g5; } } else if (i4 == 4) { - int min = Math.min(wVar.a(), this.f736s - this.j); - this.u.c(wVar, min); + 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.f736s; + int i17 = this.f1008s; if (i16 == i17) { - this.u.d(this.t, 1, i17, 0, null); - this.t += this.v; + 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(wVar, this.d.a, 10)) { + } else if (a(xVar, this.d.a, 10)) { this.h.c(this.d, 10); - this.d.D(6); - c.i.a.c.a2.w wVar3 = this.h; + this.d.E(6); + c.i.a.c.x2.w wVar2 = this.h; this.i = 4; this.j = 10; - this.u = wVar3; + this.u = wVar2; this.v = 0; - this.f736s = this.d.r() + 10; + this.f1008s = this.d.s() + 10; } - } else if (wVar.a() != 0) { - v vVar = this.f735c; - vVar.a[0] = wVar.a[wVar.b]; - vVar.k(2); - int g6 = this.f735c.g(4); + } 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) { @@ -261,28 +269,29 @@ public final class k implements o { } } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void c() { + this.t = -9223372036854775807L; this.m = false; h(); } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @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.a2.w p = jVar.p(dVar.c(), 1); + 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.a2.w p2 = jVar.p(dVar.c(), 5); + c.i.a.c.x2.w p2 = jVar.p(dVar.c(), 5); this.h = p2; - Format.b bVar = new Format.b(); + j1.b bVar = new j1.b(); bVar.a = dVar.b(); bVar.k = "application/id3"; p2.e(bVar.a()); @@ -291,9 +300,11 @@ public final class k implements o { this.h = new g(); } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.t = j; + if (j != -9223372036854775807L) { + this.t = j; + } } public final void h() { @@ -302,12 +313,12 @@ public final class k implements o { this.k = 256; } - public final boolean i(w wVar, byte[] bArr, int i) { - if (wVar.a() < i) { + public final boolean i(x xVar, byte[] bArr, int i) { + if (xVar.a() < i) { return false; } - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += i; + 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/a2/j0/l.java b/app/src/main/java/c/i/a/c/x2/k0/l.java similarity index 53% rename from app/src/main/java/c/i/a/c/a2/j0/l.java rename to app/src/main/java/c/i/a/c/x2/k0/l.java index b432ed5f52..d36bc64b5d 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/l.java +++ b/app/src/main/java/c/i/a/c/x2/k0/l.java @@ -1,93 +1,99 @@ -package c.i.a.c.a2.j0; +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.a2.j0.i0; +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.q0; -import c.i.b.b.u; -import com.google.android.exoplayer2.Format; +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 final List b; public l(int i) { - a aVar = u.j; - u uVar = q0.k; + a aVar = p.j; + p pVar = h0.k; this.a = i; - this.b = uVar; + this.b = pVar; } - @Override // c.i.a.c.a2.j0.i0.c + @Override // c.i.a.c.x2.k0.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 != 2) { + if (i == 3 || i == 4) { + return new y(new v(bVar.b)); } - if (i == 89) { - return new y(new n(bVar.f732c)); + if (i == 21) { + return new y(new t()); } - if (i != 138) { - if (i == 172) { - return new y(new i(bVar.b)); + if (i != 27) { + if (i == 36) { + return new y(new s(new e0(c(bVar)))); } - if (i == 257) { - return new d0(new x("application/vnd.dvb.ait")); + if (i == 89) { + return new y(new n(bVar.f1004c)); } - 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: + 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; + } } - } else if (d(16)) { - return null; - } else { - return new d0(new x("application/x-scte35")); } - } else if (!d(64)) { + 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 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))); } - 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() { @@ -100,7 +106,7 @@ public final class l implements i0.c { /* 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) { + public final List c(i0.b bVar) { String str; int i; if (d(32)) { @@ -122,7 +128,7 @@ public final class l implements i0.c { int i8 = bArr[i5] & 255 & 31; int i9 = 0; while (i9 < i8) { - String str2 = new String(bArr, i7, 3, c.f1275c); + String str2 = new String(bArr, i7, 3, c.f1307c); int i10 = i7 + 3; int i11 = i10 + 1; int i12 = bArr[i10] & 255; @@ -137,14 +143,14 @@ public final class l implements i0.c { int i13 = i11 + 1; byte b = (byte) (bArr[i11] & 255); int i14 = i13 + 1; - d.k(i14 >= 0 && i14 <= length); + d.j(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(); + j1.b bVar2 = new j1.b(); bVar2.k = str; - bVar2.f2279c = str2; + bVar2.f823c = str2; bVar2.C = i; bVar2.m = list; arrayList.add(bVar2.a()); @@ -155,7 +161,7 @@ public final class l implements i0.c { if (i6 < 0 || i6 > length) { z2 = false; } - d.k(z2); + d.j(z2); i2 = i6; arrayList = arrayList; } diff --git a/app/src/main/java/c/i/a/c/a2/j0/m.java b/app/src/main/java/c/i/a/c/x2/k0/m.java similarity index 66% rename from app/src/main/java/c/i/a/c/a2/j0/m.java rename to app/src/main/java/c/i/a/c/x2/k0/m.java index 1d2fdb5368..043e3e8ccc 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/m.java +++ b/app/src/main/java/c/i/a/c/x2/k0/m.java @@ -1,39 +1,39 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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 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 w a = new w(new byte[18]); + 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 f737c; - public c.i.a.c.a2.w d; + public String f1009c; + public w d; public int e = 0; public int f; public int g; public long h; - public Format i; + public j1 i; public int j; - public long k; + public long k = -9223372036854775807L; 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) { + /* 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; @@ -46,27 +46,27 @@ public final class m implements o { int i5; byte b5; int i6; - v vVar; + c.i.a.c.f3.w wVar; int i7; int i8; boolean z3; boolean z4; d.H(this.d); - while (wVar.a() > 0) { + while (xVar.a() > 0) { int i9 = this.e; int i10 = 8; int i11 = 2; if (i9 == 0) { while (true) { - if (wVar.a() <= 0) { + if (xVar.a() <= 0) { z3 = false; break; } int i12 = this.g << 8; this.g = i12; - int s2 = i12 | wVar.s(); - this.g = s2; - if (s2 == 2147385345 || s2 == -25230976 || s2 == 536864768 || s2 == -14745368) { + int t = i12 | xVar.t(); + this.g = t; + if (t == 2147385345 || t == -25230976 || t == 536864768 || t == -14745368) { z4 = true; continue; } else { @@ -75,10 +75,10 @@ public final class m implements o { } if (z4) { byte[] bArr = this.a.a; - bArr[0] = (byte) ((s2 >> 24) & 255); - bArr[1] = (byte) ((s2 >> 16) & 255); - bArr[2] = (byte) ((s2 >> 8) & 255); - bArr[3] = (byte) (s2 & 255); + 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; @@ -90,18 +90,18 @@ public final class m implements o { } } 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 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.f737c; + String str = this.f1009c; String str2 = this.b; if (bArr3[0] == Byte.MAX_VALUE) { - vVar = new v(bArr3); + wVar = new c.i.a.c.f3.w(bArr3); } else { byte[] copyOf = Arrays.copyOf(bArr3, bArr3.length); if (copyOf[0] == -2 || copyOf[0] == -1) { @@ -112,49 +112,49 @@ public final class m implements o { copyOf[i15] = b6; } } - v vVar2 = new v(copyOf); + c.i.a.c.f3.w wVar2 = new c.i.a.c.f3.w(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.f918c, 14); - int i16 = vVar2.f918c; + 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 = vVar2.a; - int i18 = vVar2.b; + 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; - vVar2.a[i20] = (byte) (g >>> i19); + wVar2.a[i20] = (byte) (g >>> i19); i20++; i10 = 8; } int i21 = 8 - i19; - byte[] bArr5 = vVar2.a; + byte[] bArr5 = wVar2.a; bArr5[i20] = (byte) (bArr5[i20] & ((1 << i21) - 1)); bArr5[i20] = (byte) (((((1 << i19) - 1) & g) << i21) | bArr5[i20]); - vVar2.m(14); - vVar2.a(); + wVar2.m(14); + wVar2.a(); i10 = 8; i11 = 2; } } int length = copyOf.length; - vVar2.a = copyOf; - vVar2.b = 0; - vVar2.f918c = 0; - vVar2.d = length; - vVar = vVar2; + wVar2.a = copyOf; + wVar2.b = 0; + wVar2.f791c = 0; + wVar2.d = length; + wVar = wVar2; } - 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.f1010c; + 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; @@ -162,17 +162,17 @@ public final class m implements o { 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(); + 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.f2281x = i24; - bVar.f2282y = i23; + bVar.f825x = i24; + bVar.f826y = i23; bVar.n = null; - bVar.f2279c = str2; - Format a = bVar.a(); + bVar.f823c = str2; + j1 a = bVar.a(); this.i = a; this.d.e(a); } @@ -208,8 +208,8 @@ public final class m implements o { 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.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 { @@ -217,8 +217,8 @@ public final class m implements o { 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.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 { @@ -235,20 +235,23 @@ public final class m implements o { 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.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(wVar.a(), this.j - this.f); - this.d.c(wVar, min3); + 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) { - this.d.d(this.k, 1, i26, 0, null); - this.k += this.h; + long j = this.k; + if (j != -9223372036854775807L) { + this.d.d(j, 1, i26, 0, null); + this.k += this.h; + } this.e = 0; } } else { @@ -257,26 +260,29 @@ public final class m implements o { } } - @Override // c.i.a.c.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void e(j jVar, i0.d dVar) { dVar.a(); - this.f737c = dVar.b(); + this.f1009c = dVar.b(); this.d = jVar.p(dVar.c(), 1); } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.k = j; + 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/a2/j0/o.java b/app/src/main/java/c/i/a/c/x2/k0/o.java similarity index 61% rename from app/src/main/java/c/i/a/c/a2/j0/o.java rename to app/src/main/java/c/i/a/c/x2/k0/o.java index c9c68fbe7f..c997903eb6 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/o.java +++ b/app/src/main/java/c/i/a/c/x2/k0/o.java @@ -1,12 +1,12 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; -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.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(w wVar) throws ParserException; + void b(x xVar) throws ParserException; void c(); 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/a2/j0/q.java b/app/src/main/java/c/i/a/c/x2/k0/q.java similarity index 62% rename from app/src/main/java/c/i/a/c/a2/j0/q.java rename to app/src/main/java/c/i/a/c/x2/k0/q.java index 4298c15f06..4430daf726 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/q.java +++ b/app/src/main/java/c/i/a/c/x2/k0/q.java @@ -1,15 +1,15 @@ -package c.i.a.c.a2.j0; +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.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 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; @@ -21,7 +21,7 @@ public final class q implements o { @Nullable /* renamed from: c reason: collision with root package name */ - public final w f741c = new w(); + public final x f1013c = new x(); public final boolean[] d = new boolean[4]; public final a e = new a(128); @Nullable @@ -29,9 +29,9 @@ public final class q implements o { public b g; public long h; public String i; - public c.i.a.c.a2.w j; + public w j; public boolean k; - public long l; + public long l = -9223372036854775807L; /* compiled from: H263Reader */ public static final class a { @@ -39,7 +39,7 @@ public final class q implements o { public boolean b; /* renamed from: c reason: collision with root package name */ - public int f742c; + public int f1014c; public int d; public int e; public byte[] f; @@ -65,34 +65,34 @@ public final class q implements o { public void b() { this.b = false; this.d = 0; - this.f742c = 0; + this.f1014c = 0; } } /* compiled from: H263Reader */ public static final class b { - public final c.i.a.c.a2.w a; + public final w a; public boolean b; /* renamed from: c reason: collision with root package name */ - public boolean f743c; + public boolean f1015c; public boolean d; public int e; public int f; public long g; public long h; - public b(c.i.a.c.a2.w wVar) { + public b(w wVar) { this.a = wVar; } public void a(byte[] bArr, int i, int i2) { - if (this.f743c) { + if (this.f1015c) { int i3 = this.f; int i4 = (i + 1) - i3; if (i4 < i2) { this.d = ((bArr[i4] & 192) >> 6) == 0; - this.f743c = false; + this.f1015c = false; return; } this.f = (i2 - i) + i3; @@ -104,32 +104,33 @@ public final class q implements o { 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: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.a2.j0.o - public void b(w wVar) { + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { int i; int i2; - w wVar2; - long j; + w wVar; b bVar; + long j; int i3; boolean z2; float f; d.H(this.g); d.H(this.j); - int i4 = wVar.b; - int i5 = wVar.f919c; - byte[] bArr = wVar.a; - this.h += (long) wVar.a(); - this.j.c(wVar, wVar.a()); + 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) { @@ -137,15 +138,15 @@ public final class q implements o { this.e.a(bArr, i4, i5); } this.g.a(bArr, i4, i5); - w wVar3 = this.f; - if (wVar3 != null) { - wVar3.a(bArr, i4, i5); + w wVar2 = this.f; + if (wVar2 != null) { + wVar2.a(bArr, i4, i5); return; } return; } int i6 = b2 + 3; - int i7 = wVar.a[i6] & 255; + int i7 = xVar.a[i6] & 255; int i8 = b2 - i4; if (!this.k) { if (i8 > 0) { @@ -153,7 +154,7 @@ public final class q implements o { } int i9 = i8 < 0 ? -i8 : 0; a aVar = this.e; - int i10 = aVar.f742c; + int i10 = aVar.f1014c; if (i10 != 0) { if (i10 != 1) { if (i10 != 2) { @@ -165,56 +166,56 @@ public final class q implements o { aVar.b = false; z2 = true; if (z2) { - c.i.a.c.a2.w wVar4 = this.j; + 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); - 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); + 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 = vVar.g(4); + int g = wVar4.g(4); i = i6; if (g == 15) { - int g2 = vVar.g(8); - int g3 = vVar.g(8); + 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 (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 (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 (vVar.g(2) != 0) { + if (wVar4.g(2) != 0) { Log.w("H263Reader", "Unhandled video object layer shape"); } - vVar.l(); - int g4 = vVar.g(16); - vVar.l(); - if (vVar.f()) { + wVar4.l(); + int g4 = wVar4.g(16); + wVar4.l(); + if (wVar4.f()) { if (g4 == 0) { Log.w("H263Reader", "Invalid vop_increment_time_resolution"); } else { @@ -222,82 +223,87 @@ public final class q implements o { for (int i13 = g4 - 1; i13 > 0; i13 >>= 1) { i12++; } - vVar.m(i12); + wVar4.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(); + 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); - wVar4.e(bVar2.a()); + wVar3.e(bVar2.a()); this.k = true; this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { + wVar = this.f; + if (wVar != null) { if (i8 > 0) { - wVar2.a(bArr, i4, b2); + wVar.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.f741c; - int i14 = f0.a; - wVar6.B(this.f.d, e); - this.b.a(this.l, this.f741c); + 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 (wVar.a[b2 + 2] == 1) { + if (xVar.a[b2 + 2] == 1) { this.f.d(i7); } int i15 = i2 - b2; - j = this.h - ((long) i15); + long j2 = 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); + 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 = j; + bVar.g = j2; } b bVar3 = this.g; - long j2 = this.l; + long j3 = this.l; bVar3.e = i7; bVar3.d = false; bVar3.b = i7 != 182 || i7 == 179; - bVar3.f743c = i7 == 182; + bVar3.f1015c = i7 == 182; bVar3.f = 0; - bVar3.h = j2; + bVar3.h = j3; i5 = i2; i4 = i; } } int i15 = i2 - b2; - j = this.h - ((long) i15); + long j2 = 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); + j = bVar.h; + if (j != -9223372036854775807L) { + } if (bVar.e != 179) { } b bVar3 = this.g; - long j2 = this.l; + long j3 = this.l; bVar3.e = i7; bVar3.d = false; bVar3.b = i7 != 182 || i7 == 179; - bVar3.f743c = i7 == 182; + bVar3.f1015c = i7 == 182; bVar3.f = 0; - bVar3.h = j2; + bVar3.h = j3; i5 = i2; i4 = i; } @@ -306,49 +312,51 @@ public final class q implements o { i2 = i5; if (g < fArr.length) { f = fArr[g]; - if (vVar.f()) { + if (wVar4.f()) { } - if (vVar.g(2) != 0) { + if (wVar4.g(2) != 0) { } - vVar.l(); - int g4 = vVar.g(16); - vVar.l(); - if (vVar.f()) { + wVar4.l(); + int g4 = wVar4.g(16); + wVar4.l(); + if (wVar4.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(); + 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); - wVar4.e(bVar2.a()); + wVar3.e(bVar2.a()); this.k = true; this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { + wVar = this.f; + if (wVar != null) { } int i15 = i2 - b2; - j = this.h - ((long) i15); + long j2 = 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); + j = bVar.h; + if (j != -9223372036854775807L) { + } if (bVar.e != 179) { } b bVar3 = this.g; - long j2 = this.l; + long j3 = this.l; bVar3.e = i7; bVar3.d = false; bVar3.b = i7 != 182 || i7 == 179; - bVar3.f743c = i7 == 182; + bVar3.f1015c = i7 == 182; bVar3.f = 0; - bVar3.h = j2; + bVar3.h = j3; i5 = i2; i4 = i; } else { @@ -356,49 +364,51 @@ public final class q implements o { } } f = 1.0f; - if (vVar.f()) { + if (wVar4.f()) { } - if (vVar.g(2) != 0) { + if (wVar4.g(2) != 0) { } - vVar.l(); - int g4 = vVar.g(16); - vVar.l(); - if (vVar.f()) { + wVar4.l(); + int g4 = wVar4.g(16); + wVar4.l(); + if (wVar4.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(); + 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); - wVar4.e(bVar2.a()); + wVar3.e(bVar2.a()); this.k = true; this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { + wVar = this.f; + if (wVar != null) { } int i15 = i2 - b2; - j = this.h - ((long) i15); + long j2 = 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); + j = bVar.h; + if (j != -9223372036854775807L) { + } if (bVar.e != 179) { } b bVar3 = this.g; - long j2 = this.l; + long j3 = this.l; bVar3.e = i7; bVar3.d = false; bVar3.b = i7 != 182 || i7 == 179; - bVar3.f743c = i7 == 182; + bVar3.f1015c = i7 == 182; bVar3.f = 0; - bVar3.h = j2; + bVar3.h = j3; i5 = i2; i4 = i; } @@ -408,22 +418,22 @@ public final class q implements o { aVar.b(); } else { aVar.e = aVar.d; - aVar.f742c = 4; + aVar.f1014c = 4; } } else if (i7 > 31) { Log.w("H263Reader", "Unexpected start code value"); aVar.b(); } else { - aVar.f742c = 3; + aVar.f1014c = 3; } } else if (i7 != 181) { Log.w("H263Reader", "Unexpected start code value"); aVar.b(); } else { - aVar.f742c = 2; + aVar.f1014c = 2; } } else if (i7 == 176) { - aVar.f742c = 1; + aVar.f1014c = 1; aVar.b = true; } byte[] bArr2 = a.a; @@ -435,37 +445,39 @@ public final class q implements o { i2 = i5; i = i6; this.g.a(bArr, i4, b2); - wVar2 = this.f; - if (wVar2 != null) { + wVar = this.f; + if (wVar != null) { } int i15 = i2 - b2; - j = this.h - ((long) i15); + long j2 = 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); + j = bVar.h; + if (j != -9223372036854775807L) { + } if (bVar.e != 179) { } b bVar3 = this.g; - long j2 = this.l; + long j3 = this.l; bVar3.e = i7; bVar3.d = false; bVar3.b = i7 != 182 || i7 == 179; - bVar3.f743c = i7 == 182; + bVar3.f1015c = i7 == 182; bVar3.f = 0; - bVar3.h = j2; + bVar3.h = j3; i5 = i2; i4 = i; } } - @Override // c.i.a.c.a2.j0.o + @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.f743c = false; + bVar.f1015c = false; bVar.d = false; bVar.e = -1; } @@ -474,17 +486,18 @@ public final class q implements o { wVar.c(); } this.h = 0; + this.l = -9223372036854775807L; } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.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); + w p = jVar.p(dVar.c(), 2); this.j = p; this.g = new b(p); j0 j0Var = this.b; @@ -493,8 +506,10 @@ public final class q implements o { } } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.l = j; + if (j != -9223372036854775807L) { + 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/x2/k0/r.java similarity index 68% rename from app/src/main/java/c/i/a/c/a2/j0/r.java rename to app/src/main/java/c/i/a/c/x2/k0/r.java index 89c8c2e47e..e4a1d58d29 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/r.java +++ b/app/src/main/java/c/i/a/c/x2/k0/r.java @@ -1,16 +1,17 @@ -package c.i.a.c.a2.j0; +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.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 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; @@ -20,7 +21,7 @@ public final class r implements o { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final boolean f744c; + 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); @@ -30,9 +31,9 @@ public final class r implements o { public w j; public b k; public boolean l; - public long m; + public long m = -9223372036854775807L; public boolean n; - public final c.i.a.c.i2.w o = new c.i.a.c.i2.w(); + public final x o = new x(); /* compiled from: H264Reader */ public static final class b { @@ -40,10 +41,10 @@ public final class r implements o { public final boolean b; /* renamed from: c reason: collision with root package name */ - public final boolean f745c; - public final SparseArray d = new SparseArray<>(); - public final SparseArray e = new SparseArray<>(); - public final x f; + 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; @@ -64,7 +65,7 @@ public final class r implements o { @Nullable /* renamed from: c reason: collision with root package name */ - public u.b f746c; + public u.c f1018c; public int d; public int e; public int f; @@ -86,10 +87,10 @@ public final class r implements o { public b(w wVar, boolean z2, boolean z3) { this.a = wVar; this.b = z2; - this.f745c = z3; + this.f1017c = z3; byte[] bArr = new byte[128]; this.g = bArr; - this.f = new x(bArr, 0, 0); + this.f = new y(bArr, 0, 0); this.k = false; this.o = false; a aVar = this.n; @@ -101,15 +102,15 @@ public final class r implements o { public r(e0 e0Var, boolean z2, boolean z3) { this.a = e0Var; this.b = z2; - this.f744c = z3; + this.f1016c = 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 */ + /* 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; @@ -124,7 +125,7 @@ public final class r implements o { int i8; int i9; int i10; - if (!this.l || this.k.f745c) { + if (!this.l || this.k.f1017c) { this.d.a(bArr, i, i2); this.e.a(bArr, i, i2); } @@ -141,16 +142,21 @@ public final class r implements o { System.arraycopy(bArr, i, bVar.g, bVar.h, i11); int i13 = bVar.h + i11; bVar.h = i13; - bVar.f.h(bVar.g, 0, 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.j(); + bVar.f.i(); int e = bVar.f.e(2); - bVar.f.k(5); + bVar.f.j(5); if (bVar.f.c()) { bVar.f.f(); if (bVar.f.c()) { int f = bVar.f.f(); - if (!bVar.f745c) { + if (!bVar.f1017c) { bVar.k = false; b.a aVar = bVar.n; aVar.e = f; @@ -161,18 +167,18 @@ public final class r implements o { bVar.k = false; return; } - u.a aVar2 = bVar.e.get(f2); - u.b bVar2 = bVar.d.get(aVar2.b); - if (bVar2.h) { + 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.k(2); + bVar.f.j(2); } else { return; } } - if (bVar.f.b(bVar2.j)) { - int e2 = bVar.f.e(bVar2.j); - if (bVar2.i) { + 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(); @@ -188,13 +194,13 @@ public final class r implements o { } else { return; } - i4 = bVar2.k; + i4 = cVar.k; if (i4 == 0) { - if (i4 != 1 || bVar2.m) { + if (i4 != 1 || cVar.m) { i9 = 0; } else if (bVar.f.c()) { i9 = bVar.f.g(); - if (aVar2.f916c && !z4) { + if (bVar2.f788c && !z4) { if (bVar.f.c()) { i7 = bVar.f.g(); i5 = 0; @@ -211,9 +217,9 @@ public final class r implements o { i8 = 0; i7 = 0; i5 = 0; - } else if (bVar.f.b(bVar2.l)) { - i8 = bVar.f.e(bVar2.l); - if (!aVar2.f916c || z4) { + } 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(); @@ -226,23 +232,23 @@ public final class r implements o { } else { return; } - b.a aVar3 = bVar.n; - aVar3.f746c = 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; + 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; @@ -256,26 +262,26 @@ public final class r implements o { } if (z5) { } - i4 = bVar2.k; + i4 = cVar.k; if (i4 == 0) { } - b.a aVar3 = bVar.n; - aVar3.f746c = 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; + 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; } } @@ -285,8 +291,8 @@ public final class r implements o { } } - /* 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: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; @@ -304,33 +310,35 @@ public final class r implements o { 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; + if (r7 == false) goto L_0x022f; */ - /* 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: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: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) { + /* 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 = f0.a; - int i4 = wVar.b; - int i5 = wVar.f919c; - byte[] bArr2 = wVar.a; - this.g += (long) wVar.a(); - this.j.c(wVar, wVar.a()); + 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) { @@ -344,76 +352,76 @@ public final class r implements o { a(bArr2, i4, b2); } int i9 = i5 - b2; - long j = this.g - ((long) i9); + long j2 = this.g - ((long) i9); int i10 = i8 < 0 ? -i8 : 0; - long j2 = this.m; - if (!this.l || this.k.f745c) { + 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 wVar2 = this.d; - if (wVar2.f753c) { - u.b d = u.d(wVar2.d, 3, wVar2.e); - this.k.d.append(d.d, d); + 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 wVar3 = this.e; - if (wVar3.f753c) { - u.a c2 = u.c(wVar3.d, 3, wVar3.e); - this.k.e.append(c2.a, c2); + 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.f753c && this.e.f753c) { + } else if (this.d.f1025c && this.e.f1025c) { ArrayList arrayList = new ArrayList(); - w wVar4 = this.d; + 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.e; - arrayList.add(Arrays.copyOf(wVar5.d, wVar5.e)); - w wVar6 = this.d; + 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); - 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.f917c); - w wVar8 = this.j; - Format.b bVar3 = new Format.b(); + 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 = d2.e; - bVar3.q = d2.f; - bVar3.t = d2.g; + bVar3.p = e2.e; + bVar3.q = e2.f; + bVar3.t = e2.g; bVar3.m = arrayList; - wVar8.e(bVar3.a()); + wVar7.e(bVar3.a()); this.l = true; - this.k.d.append(d2.d, d2); - this.k.e.append(c3.a, c3); + 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 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); + 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.f745c) { + if (bVar.f1017c) { b.a aVar = bVar.n; b.a aVar2 = bVar.m; if (aVar.a) { if (aVar2.a) { - u.b bVar4 = aVar.f746c; - d.H(bVar4); - u.b bVar5 = aVar2.f746c; - d.H(bVar5); + 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) { @@ -427,15 +435,15 @@ public final class r implements o { if (i11 != 0) { } } - int i13 = bVar4.k; + int i13 = cVar.k; if (i13 == 0) { - if (bVar5.k == 0) { + if (cVar2.k == 0) { if (aVar.m == aVar2.m) { } } } if (i13 == 1) { - if (bVar5.k == 1) { + if (cVar2.k == 1) { if (aVar.o == aVar2.o) { } } @@ -464,18 +472,18 @@ public final class r implements o { if (z2) { this.n = false; } - long j3 = this.m; - if (!this.l || this.k.f745c) { + 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 = j3; - bVar2.j = j; + bVar2.l = j4; + bVar2.j = j2; int i15 = bVar2.b ? 1 : 1; - if (bVar2.f745c) { + if (bVar2.f1017c) { if (!(i7 == 5 || i7 == i15 || i7 == 2)) { } b.a aVar4 = bVar2.m; @@ -491,8 +499,12 @@ public final class r implements o { bArr2 = bArr; } if (z4 && bVar.o) { - long j4 = bVar.j; - bVar.a.d(bVar.q, bVar.r ? 1 : 0, (int) (j4 - bVar.p), i9 + ((int) (j - j4)), null); + 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; @@ -506,17 +518,17 @@ public final class r implements o { bVar.r = z2; if (z2) { } - long j3 = this.m; + long j4 = 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; + bVar2.l = j4; + bVar2.j = j2; if (bVar2.b) { } - if (bVar2.f745c) { + if (bVar2.f1017c) { } i4 = i6; i5 = i; @@ -531,8 +543,11 @@ public final class r implements o { boolean z5 = this.n; if (bVar.i != 9) { } - long j4 = bVar.j; - bVar.a.d(bVar.q, bVar.r ? 1 : 0, (int) (j4 - bVar.p), i9 + ((int) (j - j4)), null); + 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; @@ -545,17 +560,17 @@ public final class r implements o { bVar.r = z2; if (z2) { } - long j3 = this.m; + long j4 = 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; + bVar2.l = j4; + bVar2.j = j2; if (bVar2.b) { } - if (bVar2.f745c) { + if (bVar2.f1017c) { } i4 = i6; i5 = i; @@ -563,10 +578,11 @@ public final class r implements o { } } - @Override // c.i.a.c.a2.j0.o + @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(); @@ -581,23 +597,25 @@ public final class r implements o { } } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @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.f744c); + this.k = new b(p, this.b, this.f1016c); this.a.a(jVar, dVar); } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.m = j; + if (j != -9223372036854775807L) { + 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/x2/k0/s.java similarity index 51% rename from app/src/main/java/c/i/a/c/a2/j0/s.java rename to app/src/main/java/c/i/a/c/x2/k0/s.java index e2f9638d4a..df38c9fa42 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/s.java +++ b/app/src/main/java/c/i/a/c/x2/k0/s.java @@ -1,14 +1,15 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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 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 */ @@ -17,7 +18,7 @@ public final class s implements o { public String b; /* renamed from: c reason: collision with root package name */ - public w f747c; + public w f1019c; public a d; public boolean e; public final boolean[] f = new boolean[3]; @@ -27,8 +28,8 @@ public final class s implements o { 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(); + public long m = -9223372036854775807L; + public final x n = new x(); /* compiled from: H265Reader */ public static final class a { @@ -36,7 +37,7 @@ public final class s implements o { public long b; /* renamed from: c reason: collision with root package name */ - public boolean f748c; + public boolean f1020c; public int d; public long e; public boolean f; @@ -53,8 +54,11 @@ public final class s implements o { } 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); + 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); + } } } @@ -84,14 +88,14 @@ public final class s implements o { 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) { + /* 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; @@ -102,15 +106,15 @@ public final class s implements o { long j3; int i5; long j4; - c.i.a.c.i2.w wVar2 = wVar; - d.H(this.f747c); - int i6 = f0.a; - while (wVar.a() > 0) { - int i7 = wVar2.f919c; - byte[] bArr2 = wVar2.a; - this.l += (long) wVar.a(); - this.f747c.c(wVar2, wVar.a()); - for (int i8 = wVar2.b; i8 < i7; i8 = i3) { + 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); @@ -129,7 +133,7 @@ public final class s implements o { a aVar = this.d; boolean z2 = this.e; if (aVar.j && aVar.g) { - aVar.m = aVar.f748c; + aVar.m = aVar.f1020c; aVar.j = false; } else if (aVar.h || aVar.g) { if (z2 && aVar.i) { @@ -137,196 +141,208 @@ public final class s implements o { } aVar.k = aVar.b; aVar.l = aVar.e; - aVar.m = aVar.f748c; + aVar.m = aVar.f1020c; aVar.i = true; } if (!this.e) { this.g.b(i13); this.h.b(i13); this.i.b(i13); - w wVar3 = this.g; - if (wVar3.f753c) { - w wVar4 = this.h; - if (wVar4.f753c) { - w wVar5 = this.i; - if (wVar5.f753c) { - w wVar6 = this.f747c; + 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 = wVar3.e; + int i14 = wVar.e; bArr = bArr2; i3 = i9; - byte[] bArr3 = new byte[(wVar4.e + i14 + wVar5.e)]; + byte[] bArr3 = new byte[(wVar2.e + i14 + wVar3.e)]; i2 = i12; - System.arraycopy(wVar3.d, 0, bArr3, 0, i14); + System.arraycopy(wVar.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); + 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; - for (int i16 = 0; i16 < e; i16++) { - if (xVar.d()) { - i15 += 89; + int i16 = 0; + for (int i17 = 32; i15 < i17; i17 = 32) { + if (yVar.d()) { + i16 |= 1 << i15; } - if (xVar.d()) { - i15 += 8; + 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; } } - xVar.k(i15); + yVar.j(i19); if (e > 0) { - xVar.k((8 - e) * 2); + yVar.j((8 - e) * 2); } - xVar.f(); - int f = xVar.f(); + yVar.f(); + int f = yVar.f(); if (f == 3) { - xVar.j(); + yVar.i(); } - 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(); + 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; } - xVar.f(); - xVar.f(); - int f8 = xVar.f(); - for (int i17 = xVar.d() ? 0 : e; i17 <= e; i17++) { - xVar.f(); - xVar.f(); - xVar.f(); + yVar.f(); + yVar.f(); + int f8 = yVar.f(); + for (int i21 = yVar.d() ? 0 : e; i21 <= e; i21++) { + yVar.f(); + yVar.f(); + yVar.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(); + 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 << ((i18 << 1) + 4)); - if (i18 > 1) { - xVar.g(); + int min = Math.min(64, 1 << ((i22 << 1) + 4)); + if (i22 > 1) { + yVar.g(); } - for (int i21 = 0; i21 < min; i21++) { - xVar.g(); + for (int i25 = 0; i25 < min; i25++) { + yVar.g(); } } - i20 += i18 == 3 ? 3 : 1; + i24 += i22 == 3 ? 3 : 1; j6 = j4; } - i18++; + i22++; } } j2 = j6; - xVar.k(2); - if (xVar.d()) { - xVar.k(8); - xVar.f(); - xVar.f(); - xVar.j(); + yVar.j(2); + if (yVar.d()) { + yVar.j(8); + yVar.f(); + yVar.f(); + yVar.i(); } - int f9 = xVar.f(); - int i22 = 0; + int f9 = yVar.f(); + int i26 = 0; boolean z3 = false; - int i23 = 0; - while (i22 < f9) { - if (i22 != 0) { - z3 = xVar.d(); + int i27 = 0; + while (i26 < f9) { + if (i26 != 0) { + z3 = yVar.d(); } if (z3) { - xVar.j(); - xVar.f(); - for (int i24 = 0; i24 <= i23; i24++) { - if (xVar.d()) { - xVar.j(); + yVar.i(); + yVar.f(); + for (int i28 = 0; i28 <= i27; i28++) { + if (yVar.d()) { + yVar.i(); } } i5 = f9; } else { - int f10 = xVar.f(); - int f11 = xVar.f(); - int i25 = f10 + f11; + int f10 = yVar.f(); + int f11 = yVar.f(); + int i29 = f10 + f11; i5 = f9; - for (int i26 = 0; i26 < f10; i26++) { - xVar.f(); - xVar.j(); + for (int i30 = 0; i30 < f10; i30++) { + yVar.f(); + yVar.i(); } - for (int i27 = 0; i27 < f11; i27++) { - xVar.f(); - xVar.j(); + for (int i31 = 0; i31 < f11; i31++) { + yVar.f(); + yVar.i(); } - i23 = i25; + i27 = i29; } - i22++; + i26++; f9 = i5; } - if (xVar.d()) { - for (int i28 = 0; i28 < xVar.f(); i28++) { - xVar.k(f8 + 4 + 1); + if (yVar.d()) { + for (int i32 = 0; i32 < yVar.f(); i32++) { + yVar.j(f8 + 4 + 1); } } - xVar.k(2); + yVar.j(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); + 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 (e2 < fArr.length) { - f12 = fArr[e2]; + if (e5 < fArr.length) { + f12 = fArr[e5]; } else { - c.d.b.a.a.i0("Unexpected aspect_ratio_idc value: ", e2, "H265Reader"); + c.d.b.a.a.d0(46, "Unexpected aspect_ratio_idc value: ", e5, "H265Reader"); } } } - if (xVar.d()) { - xVar.j(); + if (yVar.d()) { + yVar.i(); } - if (xVar.d()) { - xVar.k(4); - if (xVar.d()) { - xVar.k(24); + if (yVar.d()) { + yVar.j(4); + if (yVar.d()) { + yVar.j(24); } } - if (xVar.d()) { - xVar.f(); - xVar.f(); + if (yVar.d()) { + yVar.f(); + yVar.f(); } - xVar.j(); - if (xVar.d()) { + yVar.i(); + if (yVar.d()) { f3 *= 2; } } - xVar.h(wVar4.d, 0, wVar4.e); - xVar.k(24); - String b2 = h.b(xVar); - Format.b bVar = new Format.b(); + 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; @@ -334,22 +350,22 @@ public final class s implements o { bVar.q = f3; bVar.t = f12; bVar.m = Collections.singletonList(bArr3); - wVar6.e(bVar.a()); + wVar4.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); + w wVar5 = this.j; + this.n.C(this.j.d, u.f(wVar5.d, wVar5.e)); + this.n.F(5); j3 = j2; - d.L(j3, this.n, this.a.b); + d.J(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); + 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; @@ -372,7 +388,7 @@ public final class s implements o { } } boolean z5 = i < 16 && i <= 21; - aVar2.f748c = z5; + aVar2.f1020c = z5; aVar2.f = !z5 || i <= 9; if (this.e) { this.g.d(i); @@ -410,7 +426,7 @@ public final class s implements o { } if (i < 16) { } - aVar2.f748c = z5; + aVar2.f1020c = z5; aVar2.f = !z5 || i <= 9; if (this.e) { } @@ -419,13 +435,14 @@ public final class s implements o { i7 = i4; bArr2 = bArr; } - wVar2 = wVar; + xVar2 = xVar; } } - @Override // c.i.a.c.a2.j0.o + @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(); @@ -442,22 +459,24 @@ public final class s implements o { } } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @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.f747c = p; + this.f1019c = p; this.d = new a(p); this.a.a(jVar, dVar); } - @Override // c.i.a.c.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.m = j; + 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/a2/j0/u.java b/app/src/main/java/c/i/a/c/x2/k0/u.java similarity index 51% rename from app/src/main/java/c/i/a/c/a2/j0/u.java rename to app/src/main/java/c/i/a/c/x2/k0/u.java index 1dc2df825e..e48c5acaa3 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/u.java +++ b/app/src/main/java/c/i/a/c/x2/k0/u.java @@ -1,13 +1,13 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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 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; @@ -15,18 +15,18 @@ import java.util.Objects; public final class u implements o { @Nullable public final String a; - public final w b; + public final x b; /* renamed from: c reason: collision with root package name */ - public final v f750c; - public c.i.a.c.a2.w d; + public final w f1022c; + public c.i.a.c.x2.w d; public String e; - public Format f; + public j1 f; public int g; public int h; public int i; public int j; - public long k; + public long k = -9223372036854775807L; public boolean l; public int m; public int n; @@ -36,176 +36,179 @@ public final class u implements o { public int r; /* renamed from: s reason: collision with root package name */ - public long f751s; + public long f1023s; public int t; @Nullable public String u; public u(@Nullable String str) { this.a = str; - w wVar = new w(1024); - this.b = wVar; - this.f750c = new v(wVar.a); + x xVar = new x(1024); + this.b = xVar; + this.f1022c = new w(xVar.a); } - public static long a(v vVar) { - return (long) vVar.g((vVar.g(2) + 1) * 8); + public static long a(w wVar) { + return (long) wVar.g((wVar.g(2) + 1) * 8); } - /* JADX WARNING: Code restructure failed: missing block: B:64:0x014e, code lost: - if (r13.l == false) goto L_0x01a8; + /* JADX WARNING: Code restructure failed: missing block: B:64:0x014c, code lost: + if (r14.l == false) goto L_0x01af; */ - @Override // c.i.a.c.a2.j0.o - public void b(w wVar) throws ParserException { + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) throws ParserException { int i; boolean f; d.H(this.d); - while (wVar.a() > 0) { + while (xVar.a() > 0) { int i2 = this.g; if (i2 != 0) { if (i2 == 1) { - int s2 = wVar.s(); - if ((s2 & 224) == 224) { - this.j = s2; + int t = xVar.t(); + if ((t & 224) == 224) { + this.j = t; this.g = 2; - } else if (s2 != 86) { + } else if (t != 86) { this.g = 0; } } else if (i2 == 2) { - int s3 = ((this.j & -225) << 8) | wVar.s(); - this.i = s3; - w wVar2 = this.b; - byte[] bArr = wVar2.a; - if (s3 > bArr.length) { - if (bArr.length < s3) { - bArr = new byte[s3]; + 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]; } - wVar2.B(bArr, s3); - v vVar = this.f750c; + xVar2.C(bArr, t2); + w wVar = this.f1022c; byte[] bArr2 = this.b.a; - Objects.requireNonNull(vVar); + Objects.requireNonNull(wVar); int length = bArr2.length; - vVar.a = bArr2; - vVar.b = 0; - vVar.f918c = 0; - vVar.d = 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(wVar.a(), this.i - this.h); - wVar.e(this.f750c.a, this.h, min); + 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.f750c.k(0); - v vVar2 = this.f750c; - if (!vVar2.f()) { + this.f1022c.k(0); + w wVar2 = this.f1022c; + if (!wVar2.f()) { this.l = true; - int g = vVar2.g(1); - int g2 = g == 1 ? vVar2.g(1) : 0; + int g = wVar2.g(1); + int g2 = g == 1 ? wVar2.g(1) : 0; this.m = g2; if (g2 == 0) { if (g == 1) { - a(vVar2); + a(wVar2); } - if (vVar2.f()) { - this.n = vVar2.g(6); - int g3 = vVar2.g(4); - int g4 = vVar2.g(3); + 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 = vVar2.e(); - int g5 = g(vVar2); - vVar2.k(e); + int e = wVar2.e(); + int g5 = g(wVar2); + wVar2.k(e); byte[] bArr3 = new byte[((g5 + 7) / 8)]; - vVar2.h(bArr3, 0, g5); - Format.b bVar = new Format.b(); + 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.f2281x = this.t; - bVar.f2282y = this.r; + bVar.f825x = this.t; + bVar.f826y = this.r; bVar.m = Collections.singletonList(bArr3); - bVar.f2279c = this.a; - Format a = bVar.a(); + bVar.f823c = this.a; + j1 a = bVar.a(); if (!a.equals(this.f)) { this.f = a; - this.f751s = 1024000000 / ((long) a.H); + this.f1023s = 1024000000 / ((long) a.J); this.d.e(a); } } else { - vVar2.m(((int) a(vVar2)) - g(vVar2)); + wVar2.m(((int) a(wVar2)) - g(wVar2)); } - int g6 = vVar2.g(3); + int g6 = wVar2.g(3); this.o = g6; if (g6 == 0) { - vVar2.m(8); + wVar2.m(8); } else if (g6 == 1) { - vVar2.m(9); + wVar2.m(9); } else if (g6 == 3 || g6 == 4 || g6 == 5) { - vVar2.m(6); + wVar2.m(6); } else if (g6 == 6 || g6 == 7) { - vVar2.m(1); + wVar2.m(1); } else { throw new IllegalStateException(); } - boolean f2 = vVar2.f(); + boolean f2 = wVar2.f(); this.p = f2; this.q = 0; if (f2) { if (g == 1) { - this.q = a(vVar2); + this.q = a(wVar2); } else { do { - f = vVar2.f(); - this.q = (this.q << 8) + ((long) vVar2.g(8)); + f = wVar2.f(); + this.q = (this.q << 8) + ((long) wVar2.g(8)); } while (f); } } - if (vVar2.f()) { - vVar2.m(8); + if (wVar2.f()) { + wVar2.m(8); } } else { - throw new ParserException(); + throw ParserException.a(null, null); } } else { - throw new ParserException(); + throw ParserException.a(null, null); } } else { - throw new ParserException(); + throw ParserException.a(null, null); } } if (this.m != 0) { - throw new ParserException(); + throw ParserException.a(null, null); } else if (this.n != 0) { - throw new ParserException(); + throw ParserException.a(null, null); } else if (this.o == 0) { int i4 = 0; while (true) { - int g7 = vVar2.g(8); + int g7 = wVar2.g(8); i = i4 + g7; if (g7 != 255) { break; } i4 = i; } - int e2 = vVar2.e(); + int e2 = wVar2.e(); if ((e2 & 7) == 0) { - this.b.D(e2 >> 3); + this.b.E(e2 >> 3); } else { - vVar2.h(this.b.a, 0, i * 8); - this.b.D(0); + wVar2.h(this.b.a, 0, i * 8); + this.b.E(0); } this.d.c(this.b, i); - this.d.d(this.k, 1, i, 0, null); - this.k += this.f751s; + long j = this.k; + if (j != -9223372036854775807L) { + this.d.d(j, 1, i, 0, null); + this.k += this.f1023s; + } if (this.p) { - vVar2.m((int) this.q); + wVar2.m((int) this.q); } this.g = 0; } else { - throw new ParserException(); + throw ParserException.a(null, null); } } else { continue; @@ -213,40 +216,43 @@ public final class u implements o { } else { throw new IllegalStateException(); } - } else if (wVar.s() == 86) { + } else if (xVar.t() == 86) { this.g = 1; } } } - @Override // c.i.a.c.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.k = j; + if (j != -9223372036854775807L) { + 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.f997c; - this.r = c2.a; - this.t = c2.b; - return b - vVar.b(); + 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/a2/j0/v.java b/app/src/main/java/c/i/a/c/x2/k0/v.java similarity index 59% rename from app/src/main/java/c/i/a/c/a2/j0/v.java rename to app/src/main/java/c/i/a/c/x2/k0/v.java index a11f62fd5d..b98c774a86 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/v.java +++ b/app/src/main/java/c/i/a/c/x2/k0/v.java @@ -1,21 +1,22 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; 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; +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 w a; - public final z.a b; + public final x a; + public final a0.a b; @Nullable /* renamed from: c reason: collision with root package name */ - public final String f752c; - public c.i.a.c.a2.w d; + public final String f1024c; + public w d; public String e; public int f = 0; public int g; @@ -26,32 +27,33 @@ public final class v implements o { 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.f752c = 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.a2.j0.o - public void b(w wVar) { + @Override // c.i.a.c.x2.k0.o + public void b(x xVar) { d.H(this.d); - while (wVar.a() > 0) { + while (xVar.a() > 0) { int i = this.f; if (i == 0) { - byte[] bArr = wVar.a; - int i2 = wVar.b; - int i3 = wVar.f919c; + byte[] bArr = xVar.a; + int i2 = xVar.b; + int i3 = xVar.f792c; while (true) { if (i2 >= i3) { - wVar.D(i3); + xVar.E(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); + xVar.E(i2 + 1); this.i = false; this.a.a[1] = bArr[i2]; this.g = 2; @@ -61,45 +63,48 @@ public final class v implements o { i2++; } } else if (i == 1) { - int min = Math.min(wVar.a(), 4 - this.g); - wVar.e(this.a.a, this.g, min); + 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.D(0); + this.a.E(0); if (!this.b.a(this.a.f())) { this.g = 0; this.f = 1; } else { - z.a aVar = this.b; - this.k = aVar.f1012c; + a0.a aVar = this.b; + this.k = aVar.f885c; if (!this.h) { int i5 = aVar.d; this.j = (((long) aVar.g) * 1000000) / ((long) i5); - Format.b bVar = new Format.b(); + j1.b bVar = new j1.b(); bVar.a = this.e; bVar.k = aVar.b; bVar.l = 4096; - bVar.f2281x = aVar.e; - bVar.f2282y = i5; - bVar.f2279c = this.f752c; + bVar.f825x = aVar.e; + bVar.f826y = i5; + bVar.f823c = this.f1024c; this.d.e(bVar.a()); this.h = true; } - this.a.D(0); + this.a.E(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 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) { - this.d.d(this.l, 1, i7, 0, null); - this.l += this.j; + 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; } @@ -109,26 +114,29 @@ public final class v implements o { } } - @Override // c.i.a.c.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void d() { } - @Override // c.i.a.c.a2.j0.o + @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.a2.j0.o + @Override // c.i.a.c.x2.k0.o public void f(long j, int i) { - this.l = j; + if (j != -9223372036854775807L) { + 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/x2/k0/w.java similarity index 89% rename from app/src/main/java/c/i/a/c/a2/j0/w.java rename to app/src/main/java/c/i/a/c/x2/k0/w.java index b0d1036482..90da47a91c 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/w.java +++ b/app/src/main/java/c/i/a/c/x2/k0/w.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2.j0; +package c.i.a.c.x2.k0; import c.c.a.a0.d; import java.util.Arrays; @@ -8,7 +8,7 @@ public final class w { public boolean b; /* renamed from: c reason: collision with root package name */ - public boolean f753c; + public boolean f1025c; public byte[] d; public int e; @@ -39,13 +39,13 @@ public final class w { } this.e -= i; this.b = false; - this.f753c = true; + this.f1025c = true; return true; } public void c() { this.b = false; - this.f753c = false; + this.f1025c = false; } public void d(int i) { @@ -57,7 +57,7 @@ public final class w { this.b = z2; if (z2) { this.e = 3; - this.f753c = false; + 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/a2/j0/y.java b/app/src/main/java/c/i/a/c/x2/k0/y.java similarity index 63% rename from app/src/main/java/c/i/a/c/a2/j0/y.java rename to app/src/main/java/c/i/a/c/x2/k0/y.java index bbf0ea9b78..b287bd32dc 100644 --- a/app/src/main/java/c/i/a/c/a2/j0/y.java +++ b/app/src/main/java/c/i/a/c/x2/k0/y.java @@ -1,24 +1,24 @@ -package c.i.a.c.a2.j0; +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.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 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 v b = new v(new byte[10]); + public final w b = new w(new byte[10]); /* renamed from: c reason: collision with root package name */ - public int f755c = 0; + public int f1027c = 0; public int d; - public e0 e; + public d0 e; public boolean f; public boolean g; public boolean h; @@ -31,29 +31,31 @@ public final class y implements i0 { this.a = oVar; } - @Override // c.i.a.c.a2.j0.i0 - public void a(e0 e0Var, j jVar, i0.d dVar) { - this.e = e0Var; + @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.a2.j0.i0 - public final void b(w wVar, int i) throws ParserException { + @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.f755c; + 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) { - 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()); + 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 { @@ -62,13 +64,13 @@ public final class y implements i0 { } e(1); } - while (wVar.a() > 0) { - int i5 = this.f755c; - 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)) { + 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) { @@ -91,22 +93,22 @@ public final class y implements i0 { 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); + } else if (i6 == i3) { + int a = xVar.a(); int i8 = this.j; if (i8 != i2) { - int i9 = i8 - a; - this.j = i9; - if (i9 == 0) { + 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); } @@ -114,11 +116,11 @@ public final class y implements i0 { } else { throw new IllegalStateException(); } - } else if (d(wVar, this.b.a, 9)) { + } else if (d(xVar, 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"); + a.d0(41, "Unexpected start code prefix: ", g2, "PesReader"); this.j = -1; z2 = false; } else { @@ -135,12 +137,10 @@ public final class y implements i0 { 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()); + 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; } } @@ -149,31 +149,31 @@ public final class y implements i0 { e(z2 ? 2 : 0); } } else { - wVar.E(wVar.a()); + xVar.F(xVar.a()); } i2 = -1; i3 = 3; } } - @Override // c.i.a.c.a2.j0.i0 + @Override // c.i.a.c.x2.k0.i0 public final void c() { - this.f755c = 0; + this.f1027c = 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); + 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) { - wVar.E(min); + xVar.F(min); } else { - System.arraycopy(wVar.a, wVar.b, bArr, this.d, min); - wVar.b += min; + System.arraycopy(xVar.a, xVar.b, bArr, this.d, min); + xVar.b += min; } int i2 = this.d + min; this.d = i2; @@ -181,7 +181,7 @@ public final class y implements i0 { } public final void e(int i) { - this.f755c = 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/a2/l.java b/app/src/main/java/c/i/a/c/x2/l.java similarity index 90% rename from app/src/main/java/c/i/a/c/a2/l.java rename to app/src/main/java/c/i/a/c/x2/l.java index dc93a56532..b8c7a9ee98 100644 --- a/app/src/main/java/c/i/a/c/a2/l.java +++ b/app/src/main/java/c/i/a/c/x2/l.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import android.net.Uri; import java.util.List; diff --git a/app/src/main/java/c/i/a/c/a2/k0/a.java b/app/src/main/java/c/i/a/c/x2/l0/a.java similarity index 70% rename from app/src/main/java/c/i/a/c/a2/k0/a.java rename to app/src/main/java/c/i/a/c/x2/l0/a.java index d3228a12f9..32b758b74c 100644 --- a/app/src/main/java/c/i/a/c/a2/k0/a.java +++ b/app/src/main/java/c/i/a/c/x2/l0/a.java @@ -1,20 +1,20 @@ -package c.i.a.c.a2.k0; +package c.i.a.c.x2.l0; 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 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.a2.l + @Override // c.i.a.c.x2.l public final h[] a() { return new h[]{new b()}; } - @Override // c.i.a.c.a2.l + @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/a2/k0/c.java b/app/src/main/java/c/i/a/c/x2/l0/c.java similarity index 78% rename from app/src/main/java/c/i/a/c/a2/k0/c.java rename to app/src/main/java/c/i/a/c/x2/l0/c.java index 466aa6f6c5..5848144868 100644 --- a/app/src/main/java/c/i/a/c/a2/k0/c.java +++ b/app/src/main/java/c/i/a/c/x2/l0/c.java @@ -1,11 +1,11 @@ -package c.i.a.c.a2.k0; -/* compiled from: WavHeader */ +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 f759c; + public final int f1031c; public final int d; public final int e; public final byte[] f; @@ -13,7 +13,7 @@ public final class c { public c(int i, int i2, int i3, int i4, int i5, int i6, byte[] bArr) { this.a = i; this.b = i2; - this.f759c = i3; + this.f1031c = 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/x2/l0/d.java similarity index 51% rename from app/src/main/java/c/i/a/c/a2/k0/d.java rename to app/src/main/java/c/i/a/c/x2/l0/d.java index 8dfc499d83..4e3a4c3cae 100644 --- a/app/src/main/java/c/i/a/c/a2/k0/d.java +++ b/app/src/main/java/c/i/a/c/x2/l0/d.java @@ -1,7 +1,7 @@ -package c.i.a.c.a2.k0; +package c.i.a.c.x2.l0; -import c.i.a.c.a2.i; -import c.i.a.c.i2.w; +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 { @@ -13,9 +13,9 @@ public final class d { 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()); + 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/a2/k0/e.java b/app/src/main/java/c/i/a/c/x2/l0/e.java similarity index 63% rename from app/src/main/java/c/i/a/c/a2/k0/e.java rename to app/src/main/java/c/i/a/c/x2/l0/e.java index eee5a1ceee..a2e44d6c0f 100644 --- a/app/src/main/java/c/i/a/c/a2/k0/e.java +++ b/app/src/main/java/c/i/a/c/x2/l0/e.java @@ -1,50 +1,50 @@ -package c.i.a.c.a2.k0; +package c.i.a.c.x2.l0; -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.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 f760c; + 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.f760c = j; + this.f1032c = 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.f759c); + return e0.F(j * ((long) this.b), 1000000, (long) this.a.f1031c); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return true; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public t.a h(long j) { - long i = f0.i((((long) this.a.f759c) * j) / (((long) this.b) * 1000000), 0, this.d - 1); - long j2 = (((long) this.a.d) * i) + this.f760c; + 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.f760c)); + return new t.a(uVar, new u(b(j3), (((long) this.a.d) * j3) + this.f1032c)); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public long i() { return this.e; } diff --git a/app/src/main/java/c/i/a/c/a2/m.java b/app/src/main/java/c/i/a/c/x2/m.java similarity index 66% rename from app/src/main/java/c/i/a/c/a2/m.java rename to app/src/main/java/c/i/a/c/x2/m.java index 3120779b4e..1c65a7ed16 100644 --- a/app/src/main/java/c/i/a/c/a2/m.java +++ b/app/src/main/java/c/i/a/c/x2/m.java @@ -1,7 +1,7 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; -import c.i.a.c.i2.f0; -import c.i.a.c.i2.w; +import c.i.a.c.f3.e0; +import c.i.a.c.f3.x; /* compiled from: FlacFrameReader */ public final class m { @@ -10,13 +10,13 @@ public final class m { public long a; } - public static boolean a(w wVar, o oVar, boolean z2, a aVar) { + public static boolean a(x xVar, o oVar, boolean z2, a aVar) { try { - long y2 = wVar.y(); + long z3 = xVar.z(); if (!z2) { - y2 *= (long) oVar.b; + z3 *= (long) oVar.b; } - aVar.a = y2; + aVar.a = z3; return true; } catch (NumberFormatException unused) { return false; @@ -27,33 +27,33 @@ public final class m { 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; + 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(w wVar, o oVar, int i, a aVar) { + public static boolean b(x xVar, o oVar, int i, a aVar) { boolean z2; - long t = wVar.t(); - long j = t >>> 16; + long u = xVar.u(); + long j = u >>> 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; + 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(wVar, oVar, z3, aVar)) { + if (!(i5 == 0 || i5 == oVar.i) || z4 || !a(xVar, oVar, z3, aVar)) { return false; } - int c2 = c(wVar, i2); + int c2 = c(xVar, i2); if (!(c2 != -1 && c2 <= oVar.b)) { return false; } @@ -62,9 +62,9 @@ public final class m { if (i3 > 11) { if (i3 != 12) { if (i3 <= 14) { - int x2 = wVar.x(); + int y2 = xVar.y(); if (i3 == 14) { - x2 *= 10; + y2 *= 10; } } } @@ -73,23 +73,23 @@ public final class m { if (z2) { return false; } - int s2 = wVar.s(); - int i7 = wVar.b; - byte[] bArr = wVar.a; + int t = xVar.t(); + int i7 = xVar.b; + byte[] bArr = xVar.a; int i8 = i7 - 1; - int i9 = f0.a; + int i9 = e0.a; int i10 = 0; - for (int i11 = wVar.b; i11 < i8; i11++) { - i10 = f0.l[i10 ^ (bArr[i11] & 255)]; + for (int i11 = xVar.b; i11 < i8; i11++) { + i10 = e0.l[i10 ^ (bArr[i11] & 255)]; } - return s2 == i10; + return t == i10; } z2 = true; if (z2) { } } - public static int c(w wVar, int i) { + public static int c(x xVar, int i) { switch (i) { case 1: return 192; @@ -99,9 +99,9 @@ public final class m { case 5: return 576 << (i - 2); case 6: - return wVar.s() + 1; + return xVar.t() + 1; case 7: - return wVar.x() + 1; + return xVar.y() + 1; case 8: case 9: case 10: diff --git a/app/src/main/java/c/i/a/c/a2/n.java b/app/src/main/java/c/i/a/c/x2/n.java similarity index 80% rename from app/src/main/java/c/i/a/c/a2/n.java rename to app/src/main/java/c/i/a/c/x2/n.java index e4f708b2a1..46d598040d 100644 --- a/app/src/main/java/c/i/a/c/a2/n.java +++ b/app/src/main/java/c/i/a/c/x2/n.java @@ -1,9 +1,9 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; 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; +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; @@ -18,19 +18,19 @@ public final class n implements t { return new u((j * 1000000) / ((long) this.a.e), this.b + j2); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return true; } - @Override // c.i.a.c.a2.t + @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 = f0.e(jArr, oVar.g(j), true, false); + int e = e0.e(jArr, oVar.g(j), true, false); long j2 = 0; long j3 = e == -1 ? 0 : jArr[e]; if (e != -1) { @@ -44,7 +44,7 @@ public final class n implements t { return new t.a(b, b(jArr[i], jArr2[i])); } - @Override // c.i.a.c.a2.t + @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/a2/o.java b/app/src/main/java/c/i/a/c/x2/o.java similarity index 76% rename from app/src/main/java/c/i/a/c/a2/o.java rename to app/src/main/java/c/i/a/c/x2/o.java index 137bd220d0..b4e44c02c8 100644 --- a/app/src/main/java/c/i/a/c/a2/o.java +++ b/app/src/main/java/c/i/a/c/x2/o.java @@ -1,9 +1,10 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; +import android.util.Log; 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 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; @@ -16,7 +17,7 @@ public final class o { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f761c; + public final int f1033c; public final int d; public final int e; public final int f; @@ -43,7 +44,7 @@ public final class o { 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.f761c = i3; + this.f1033c = i3; this.d = i4; this.e = i5; this.f = h(i5); @@ -56,20 +57,20 @@ public final class o { } 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.f761c = vVar.g(24); - this.d = vVar.g(24); - int g = vVar.g(20); + 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 = vVar.g(3) + 1; - int g2 = vVar.g(5) + 1; + this.g = wVar.g(3) + 1; + int g2 = wVar.g(5) + 1; this.h = g2; this.i = c(g2); - this.j = (f0.L(vVar.g(4)) << 32) | f0.L(vVar.g(32)); + this.j = (e0.L(wVar.g(4)) << 32) | e0.L(wVar.g(32)); this.k = null; this.l = null; } @@ -82,11 +83,12 @@ public final class o { 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"); + 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(H[0], H[1])); + arrayList.add(new VorbisComment(I[0], I[1])); } } arrayList.addAll(list2); @@ -142,7 +144,7 @@ public final class o { } public o b(@Nullable a aVar) { - return new o(this.a, this.b, this.f761c, this.d, this.e, this.g, this.h, this.j, aVar, this.l); + 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() { @@ -153,18 +155,18 @@ public final class o { return (j * 1000000) / ((long) this.e); } - public Format e(byte[] bArr, @Nullable Metadata metadata) { + 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); - Format.b bVar = new Format.b(); + j1.b bVar = new j1.b(); bVar.k = "audio/flac"; bVar.l = i; - bVar.f2281x = this.g; - bVar.f2282y = this.e; + bVar.f825x = this.g; + bVar.f826y = this.e; bVar.m = Collections.singletonList(bArr); bVar.i = f; return bVar.a(); @@ -177,6 +179,6 @@ public final class o { } public long g(long j) { - return f0.i((j * ((long) this.e)) / 1000000, 0, this.j - 1); + return e0.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/x2/p.java similarity index 93% rename from app/src/main/java/c/i/a/c/a2/p.java rename to app/src/main/java/c/i/a/c/x2/p.java index 276a2ffa0a..96cac4d0ad 100644 --- a/app/src/main/java/c/i/a/c/a2/p.java +++ b/app/src/main/java/c/i/a/c/x2/p.java @@ -1,6 +1,6 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; -import c.i.a.c.i2.f0; +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; @@ -12,7 +12,7 @@ public final class p { public int b = -1; /* renamed from: c reason: collision with root package name */ - public int f762c = -1; + public int f1034c = -1; public final boolean a(String str) { Matcher matcher = a.matcher(str); @@ -21,14 +21,14 @@ public final class p { } try { String group = matcher.group(1); - int i = f0.a; + 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.f762c = parseInt2; + this.f1034c = parseInt2; return true; } catch (NumberFormatException unused) { return false; diff --git a/app/src/main/java/c/i/a/c/a2/q.java b/app/src/main/java/c/i/a/c/x2/q.java similarity index 68% rename from app/src/main/java/c/i/a/c/a2/q.java rename to app/src/main/java/c/i/a/c/x2/q.java index ad655a1a7b..10c626c896 100644 --- a/app/src/main/java/c/i/a/c/a2/q.java +++ b/app/src/main/java/c/i/a/c/x2/q.java @@ -1,14 +1,14 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import androidx.annotation.Nullable; -import c.i.a.c.c2.k.b; -import c.i.a.c.i2.w; +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 w a = new w(10); + public final x a = new x(10); @Nullable public Metadata a(i iVar, @Nullable b.a aVar) throws IOException { @@ -16,21 +16,21 @@ public final class q { int i = 0; while (true) { try { - iVar.n(this.a.a, 0, 10); - this.a.D(0); - if (this.a.u() != 4801587) { + iVar.o(this.a.a, 0, 10); + this.a.E(0); + if (this.a.v() != 4801587) { break; } - this.a.E(3); - int r = this.a.r(); - int i2 = r + 10; + 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.n(bArr, 10, r); + iVar.o(bArr, 10, s2); metadata = new b(aVar).d(bArr, i2); } else { - iVar.g(r); + iVar.g(s2); } i += i2; } catch (EOFException unused) { diff --git a/app/src/main/java/c/i/a/c/a2/r.java b/app/src/main/java/c/i/a/c/x2/r.java similarity index 79% rename from app/src/main/java/c/i/a/c/a2/r.java rename to app/src/main/java/c/i/a/c/x2/r.java index f9f4923a35..d5f3f6bf7a 100644 --- a/app/src/main/java/c/i/a/c/a2/r.java +++ b/app/src/main/java/c/i/a/c/x2/r.java @@ -1,19 +1,19 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import c.c.a.a0.d; -import c.i.a.c.a2.t; -import c.i.a.c.i2.f0; +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 f763c; + public final long f1035c; public final boolean d; public r(long[] jArr, long[] jArr2, long j) { - d.k(jArr.length == jArr2.length); + d.j(jArr.length == jArr2.length); int length = jArr2.length; boolean z2 = length > 0; this.d = z2; @@ -29,20 +29,20 @@ public final class r implements t { System.arraycopy(jArr, 0, jArr3, 1, length); System.arraycopy(jArr2, 0, jArr4, 1, length); } - this.f763c = j; + this.f1035c = j; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return this.d; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.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); + int e = e0.e(this.b, j, true, true); long[] jArr = this.b; long j2 = jArr[e]; long[] jArr2 = this.a; @@ -54,8 +54,8 @@ public final class r implements t { return new t.a(uVar, new u(jArr[i], jArr2[i])); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public long i() { - return this.f763c; + return this.f1035c; } } diff --git a/app/src/main/java/c/i/a/c/a2/s.java b/app/src/main/java/c/i/a/c/x2/s.java similarity index 80% rename from app/src/main/java/c/i/a/c/a2/s.java rename to app/src/main/java/c/i/a/c/x2/s.java index c3c94d8dfc..8d62244366 100644 --- a/app/src/main/java/c/i/a/c/a2/s.java +++ b/app/src/main/java/c/i/a/c/x2/s.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2; +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/a2/t.java b/app/src/main/java/c/i/a/c/x2/t.java similarity index 79% rename from app/src/main/java/c/i/a/c/a2/t.java rename to app/src/main/java/c/i/a/c/x2/t.java index dc588c949c..a7b7ae6987 100644 --- a/app/src/main/java/c/i/a/c/a2/t.java +++ b/app/src/main/java/c/i/a/c/x2/t.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import androidx.annotation.Nullable; /* compiled from: SeekMap */ @@ -36,16 +36,14 @@ public interface t { public String toString() { String str; - StringBuilder O = c.d.b.a.a.O("["); - O.append(this.a); + String valueOf = String.valueOf(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(); + String valueOf2 = String.valueOf(this.b); + str = c.d.b.a.a.i(valueOf2.length() + 2, ", ", valueOf2); } - return c.d.b.a.a.G(O, str, "]"); + return c.d.b.a.a.k(c.d.b.a.a.b(str, valueOf.length() + 2), "[", valueOf, str, "]"); } } @@ -59,17 +57,17 @@ public interface t { this.b = new a(j2 == 0 ? u.a : new u(0, j2)); } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public boolean c() { return false; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public a h(long j) { return this.b; } - @Override // c.i.a.c.a2.t + @Override // c.i.a.c.x2.t public long i() { return this.a; } diff --git a/app/src/main/java/c/i/a/c/a2/u.java b/app/src/main/java/c/i/a/c/x2/u.java similarity index 64% rename from app/src/main/java/c/i/a/c/a2/u.java rename to app/src/main/java/c/i/a/c/x2/u.java index 2662134dc3..b05f8ee4a2 100644 --- a/app/src/main/java/c/i/a/c/a2/u.java +++ b/app/src/main/java/c/i/a/c/x2/u.java @@ -1,4 +1,4 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import androidx.annotation.Nullable; import c.d.b.a.a; @@ -8,11 +8,11 @@ public final class u { public final long b; /* renamed from: c reason: collision with root package name */ - public final long f764c; + public final long f1036c; public u(long j, long j2) { this.b = j; - this.f764c = j2; + this.f1036c = j2; } public boolean equals(@Nullable Object obj) { @@ -23,17 +23,15 @@ public final class u { return false; } u uVar = (u) obj; - return this.b == uVar.b && this.f764c == uVar.f764c; + return this.b == uVar.b && this.f1036c == uVar.f1036c; } public int hashCode() { - return (((int) this.b) * 31) + ((int) this.f764c); + return (((int) this.b) * 31) + ((int) this.f1036c); } public String toString() { - StringBuilder O = a.O("[timeUs="); - O.append(this.b); - O.append(", position="); - return a.A(O, this.f764c, "]"); + 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/a2/w.java b/app/src/main/java/c/i/a/c/x2/w.java similarity index 64% rename from app/src/main/java/c/i/a/c/a2/w.java rename to app/src/main/java/c/i/a/c/x2/w.java index 271c59ed40..859754cd09 100644 --- a/app/src/main/java/c/i/a/c/a2/w.java +++ b/app/src/main/java/c/i/a/c/x2/w.java @@ -1,8 +1,9 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import androidx.annotation.Nullable; -import c.i.a.c.h2.f; -import com.google.android.exoplayer2.Format; +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 */ @@ -14,13 +15,13 @@ public interface w { public final byte[] b; /* renamed from: c reason: collision with root package name */ - public final int f765c; + 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.f765c = i2; + this.f1037c = i2; this.d = i3; } @@ -32,23 +33,23 @@ public interface w { return false; } a aVar = (a) obj; - return this.a == aVar.a && this.f765c == aVar.f765c && this.d == aVar.d && Arrays.equals(this.b, aVar.b); + 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.f765c) * 31) + this.d; + return ((((Arrays.hashCode(this.b) + (this.a * 31)) * 31) + this.f1037c) * 31) + this.d; } } - int a(f fVar, int i, boolean z2, int i2) throws IOException; + int a(h hVar, int i, boolean z2, int i2) throws IOException; - int b(f fVar, int i, boolean z2) throws IOException; + int b(h hVar, int i, boolean z2) throws IOException; - void c(c.i.a.c.i2.w wVar, int i); + void c(x xVar, int i); void d(long j, int i, int i2, int i3, @Nullable a aVar); - void e(Format format); + void e(j1 j1Var); - void f(c.i.a.c.i2.w wVar, int i, int i2); + 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/a2/x.java b/app/src/main/java/c/i/a/c/x2/y.java similarity index 76% rename from app/src/main/java/c/i/a/c/a2/x.java rename to app/src/main/java/c/i/a/c/x2/y.java index d1b1a437eb..ef454517f9 100644 --- a/app/src/main/java/c/i/a/c/a2/x.java +++ b/app/src/main/java/c/i/a/c/x2/y.java @@ -1,28 +1,28 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; import c.c.a.a0.d; /* compiled from: VorbisBitArray */ -public final class x { +public final class y { public final byte[] a; public final int b; /* renamed from: c reason: collision with root package name */ - public int f766c; + public int f1039c; public int d; - public x(byte[] bArr) { + public y(byte[] bArr) { this.a = bArr; this.b = bArr.length; } public boolean a() { - boolean z2 = (((this.a[this.f766c] & 255) >> this.d) & 1) == 1; + boolean z2 = (((this.a[this.f1039c] & 255) >> this.d) & 1) == 1; c(1); return z2; } public int b(int i) { - int i2 = this.f766c; + 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)); @@ -39,16 +39,16 @@ public final class x { public void c(int i) { int i2; int i3 = i / 8; - int i4 = this.f766c + i3; - this.f766c = i4; + 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.f766c = i4 + 1; + this.f1039c = i4 + 1; this.d = i5 - 8; } - int i6 = this.f766c; + int i6 = this.f1039c; if (i6 < 0 || (i6 >= (i2 = this.b) && !(i6 == i2 && this.d == 0))) { z2 = false; } diff --git a/app/src/main/java/c/i/a/c/a2/y.java b/app/src/main/java/c/i/a/c/x2/z.java similarity index 50% rename from app/src/main/java/c/i/a/c/a2/y.java rename to app/src/main/java/c/i/a/c/x2/z.java index 7f4eee4b72..fdb61cbdf3 100644 --- a/app/src/main/java/c/i/a/c/a2/y.java +++ b/app/src/main/java/c/i/a/c/x2/z.java @@ -1,9 +1,9 @@ -package c.i.a.c.a2; +package c.i.a.c.x2; /* compiled from: VorbisUtil */ -public final class y { +public final class z { public final String[] a; - public y(String str, String[] strArr, int i) { + 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 7ddfcb202a..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.f1020c; - 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 477408b80b..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 f1018c; - 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.f1018c = 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.f1018c ? 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.f1018c, 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.f1018c == y0Var.f1018c && 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.f1018c)) * 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 e31899ee4f..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 f1019c; - - public a(int i, int i2, int i3) { - this.a = i; - this.b = i2; - this.f1019c = 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.f1019c == aVar.f1019c; - } - - public int hashCode() { - return ((((527 + this.a) * 31) + this.b) * 31) + this.f1019c; - } -} 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/b2/a.java b/app/src/main/java/c/i/a/c/y2/a.java similarity index 79% rename from app/src/main/java/c/i/a/c/b2/a.java rename to app/src/main/java/c/i/a/c/y2/a.java index 69f6e188b5..e3808ed9d7 100644 --- a/app/src/main/java/c/i/a/c/b2/a.java +++ b/app/src/main/java/c/i/a/c/y2/a.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import android.os.HandlerThread; import c.i.b.a.l; @@ -12,6 +12,6 @@ public final /* synthetic */ class a implements l { @Override // c.i.b.a.l public final Object get() { - return new HandlerThread(l.j(this.i, "ExoPlayer:MediaCodecAsyncAdapter:")); + return new HandlerThread(l.l(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/y2/b.java similarity index 79% rename from app/src/main/java/c/i/a/c/b2/b.java rename to app/src/main/java/c/i/a/c/y2/b.java index 8868fdd686..88f6593ab9 100644 --- a/app/src/main/java/c/i/a/c/b2/b.java +++ b/app/src/main/java/c/i/a/c/y2/b.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import android.os.HandlerThread; import c.i.b.a.l; @@ -12,6 +12,6 @@ public final /* synthetic */ class b implements l { @Override // c.i.b.a.l public final Object get() { - return new HandlerThread(l.j(this.i, "ExoPlayer:MediaCodecQueueingThread:")); + return new HandlerThread(l.l(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/y2/c.java similarity index 65% rename from app/src/main/java/c/i/a/c/b2/c.java rename to app/src/main/java/c/i/a/c/y2/c.java index 7b1c8906e1..a94dceb4b7 100644 --- a/app/src/main/java/c/i/a/c/b2/c.java +++ b/app/src/main/java/c/i/a/c/y2/c.java @@ -1,24 +1,24 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import android.media.MediaCodec; -import c.i.a.c.b2.r; -import c.i.a.c.j2.n; +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 */ r.b b; + public final /* synthetic */ t.c b; - public /* synthetic */ c(l lVar, r.b bVar) { + public /* synthetic */ c(l lVar, t.c cVar) { this.a = lVar; - this.b = bVar; + this.b = cVar; } @Override // android.media.MediaCodec.OnFrameRenderedListener public final void onFrameRendered(MediaCodec mediaCodec, long j, long j2) { l lVar = this.a; - r.b bVar = this.b; + t.c cVar = this.b; Objects.requireNonNull(lVar); - ((n.b) bVar).b(lVar, j, j2); + ((r.b) cVar).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/y2/d.java similarity index 98% rename from app/src/main/java/c/i/a/c/b2/d.java rename to app/src/main/java/c/i/a/c/y2/d.java index f826cefb7f..c7b53ce0a9 100644 --- a/app/src/main/java/c/i/a/c/b2/d.java +++ b/app/src/main/java/c/i/a/c/y2/d.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; /* compiled from: lambda */ public final /* synthetic */ class d implements Runnable { public final /* synthetic */ o i; diff --git a/app/src/main/java/c/i/a/c/b2/e.java b/app/src/main/java/c/i/a/c/y2/e.java similarity index 79% rename from app/src/main/java/c/i/a/c/b2/e.java rename to app/src/main/java/c/i/a/c/y2/e.java index 18709906bb..660476c0a3 100644 --- a/app/src/main/java/c/i/a/c/b2/e.java +++ b/app/src/main/java/c/i/a/c/y2/e.java @@ -1,6 +1,6 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; -import c.i.a.c.i2.f0; +import c.i.a.c.f3.e0; import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; import java.util.regex.Pattern; /* compiled from: lambda */ @@ -10,10 +10,10 @@ public final /* synthetic */ class e implements MediaCodecUtil.f { @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f public final int a(Object obj) { Pattern pattern = MediaCodecUtil.a; - String str = ((s) obj).a; + String str = ((u) 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; + return (e0.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/y2/f.java similarity index 83% rename from app/src/main/java/c/i/a/c/b2/f.java rename to app/src/main/java/c/i/a/c/y2/f.java index 25bf862788..205c91e991 100644 --- a/app/src/main/java/c/i/a/c/b2/f.java +++ b/app/src/main/java/c/i/a/c/y2/f.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; import java.util.regex.Pattern; @@ -9,6 +9,6 @@ public final /* synthetic */ class f implements MediaCodecUtil.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; + return ((u) 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/y2/g.java similarity index 63% rename from app/src/main/java/c/i/a/c/b2/g.java rename to app/src/main/java/c/i/a/c/y2/g.java index cf219f2d08..7f3fdf177d 100644 --- a/app/src/main/java/c/i/a/c/b2/g.java +++ b/app/src/main/java/c/i/a/c/y2/g.java @@ -1,19 +1,19 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; -import com.google.android.exoplayer2.Format; +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 */ Format a; + public final /* synthetic */ j1 a; - public /* synthetic */ g(Format format) { - this.a = format; + public /* synthetic */ g(j1 j1Var) { + this.a = j1Var; } @Override // com.google.android.exoplayer2.mediacodec.MediaCodecUtil.f public final int a(Object obj) { try { - return ((s) obj).e(this.a) ? 1 : 0; + 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/b2/h.java b/app/src/main/java/c/i/a/c/y2/h.java similarity index 96% rename from app/src/main/java/c/i/a/c/b2/h.java rename to app/src/main/java/c/i/a/c/y2/h.java index 71c715ea5d..c7c6c90d3d 100644 --- a/app/src/main/java/c/i/a/c/b2/h.java +++ b/app/src/main/java/c/i/a/c/y2/h.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; import java.util.Comparator; 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/b2/j.java b/app/src/main/java/c/i/a/c/y2/j.java similarity index 94% rename from app/src/main/java/c/i/a/c/b2/j.java rename to app/src/main/java/c/i/a/c/y2/j.java index 47eda3a14d..49eb9475d5 100644 --- a/app/src/main/java/c/i/a/c/b2/j.java +++ b/app/src/main/java/c/i/a/c/y2/j.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import android.media.MediaCodec; /* compiled from: lambda */ diff --git a/app/src/main/java/c/i/a/c/b2/k.java b/app/src/main/java/c/i/a/c/y2/k.java similarity index 73% rename from app/src/main/java/c/i/a/c/b2/k.java rename to app/src/main/java/c/i/a/c/y2/k.java index c4687e1858..9c84591054 100644 --- a/app/src/main/java/c/i/a/c/b2/k.java +++ b/app/src/main/java/c/i/a/c/y2/k.java @@ -1,12 +1,12 @@ -package c.i.a.c.b2; +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 t { +public final /* synthetic */ class k implements v { public static final /* synthetic */ k b = new k(); - @Override // c.i.a.c.b2.t + @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/b2/l.java b/app/src/main/java/c/i/a/c/y2/l.java similarity index 52% rename from app/src/main/java/c/i/a/c/b2/l.java rename to app/src/main/java/c/i/a/c/y2/l.java index 798c5c2046..4bd3049c31 100644 --- a/app/src/main/java/c/i/a/c/b2/l.java +++ b/app/src/main/java/c/i/a/c/y2/l.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import android.media.MediaCodec; import android.media.MediaCrypto; @@ -10,32 +10,118 @@ 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 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 r { +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 f770c; + public final n f1041c; public final boolean d; public boolean e; public int f = 0; + @Nullable + public Surface g; - public l(MediaCodec mediaCodec, HandlerThread handlerThread, HandlerThread handlerThread2, boolean z2, boolean z3, a aVar) { - this.a = mediaCodec; - this.b = new o(handlerThread); - this.f770c = new n(mediaCodec, handlerThread2, z2); - this.d = z3; + /* 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 static String j(int i, String str) { + 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"); @@ -49,40 +135,45 @@ public final class l implements r { 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.f770c; + @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.f772c = 0; + e.f1043c = 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); + 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.iv = b2; - cryptoInfo.mode = bVar.f1014c; - if (f0.a >= 24) { - cryptoInfo.setPattern(new MediaCodec.CryptoInfo.Pattern(bVar.g, bVar.h)); + 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.b2.r - public void b(int i, long j) { + @Override // c.i.a.c.y2.t + public void c(int i, long j) { this.a.releaseOutputBuffer(i, j); } - @Override // c.i.a.c.b2.r - public int c() { + @Override // c.i.a.c.y2.t + public int d() { int i; o oVar = this.b; synchronized (oVar.a) { @@ -92,9 +183,9 @@ public final class l implements r { if (illegalStateException == null) { MediaCodec.CodecException codecException = oVar.j; if (codecException == null) { - c.i.a.c.i2.n nVar = oVar.d; - if (!(nVar.f912c == 0)) { - i = nVar.b(); + s sVar = oVar.d; + if (!(sVar.f1047c == 0)) { + i = sVar.b(); } } else { oVar.j = null; @@ -109,21 +200,8 @@ public final class l implements r { 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.f773c == null); - oVar.b.start(); - Handler handler = new Handler(oVar.b.getLooper()); - mediaCodec.setCallback(oVar, handler); - oVar.f773c = handler; - this.a.configure(mediaFormat, surface, mediaCrypto, i); - this.f = 1; - } - - @Override // c.i.a.c.b2.r - public int d(MediaCodec.BufferInfo bufferInfo) { + @Override // c.i.a.c.y2.t + public int e(MediaCodec.BufferInfo bufferInfo) { int i; o oVar = this.b; synchronized (oVar.a) { @@ -133,9 +211,9 @@ public final class l implements r { if (illegalStateException == null) { MediaCodec.CodecException codecException = oVar.j; if (codecException == null) { - c.i.a.c.i2.n nVar = oVar.e; - if (!(nVar.f912c == 0)) { - i = nVar.b(); + s sVar = oVar.e; + if (!(sVar.f1047c == 0)) { + i = sVar.b(); if (i >= 0) { d.H(oVar.h); MediaCodec.BufferInfo remove = oVar.f.remove(); @@ -157,21 +235,15 @@ public final class l implements r { 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.y2.t + public void f(t.c cVar, Handler handler) { + m(); + this.a.setOnFrameRenderedListener(new c(this, cVar), 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 + @Override // c.i.a.c.y2.t public void flush() { - this.f770c.d(); + this.f1041c.d(); this.a.flush(); o oVar = this.b; MediaCodec mediaCodec = this.a; @@ -179,19 +251,19 @@ public final class l implements r { j jVar = new j(mediaCodec); synchronized (oVar.a) { oVar.k++; - Handler handler = oVar.f773c; - int i = f0.a; + Handler handler = oVar.f1044c; + int i = e0.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.y2.t + public void g(int i) { + m(); + this.a.setVideoScalingMode(i); } - @Override // c.i.a.c.b2.r + @Override // c.i.a.c.y2.t public MediaFormat getOutputFormat() { MediaFormat mediaFormat; o oVar = this.b; @@ -204,22 +276,28 @@ public final class l implements r { return mediaFormat; } - @Override // c.i.a.c.b2.r - public void h(Surface surface) { - k(); + @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.b2.r + @Override // c.i.a.c.y2.t @Nullable - public ByteBuffer i(int i) { + public ByteBuffer j(int i) { return this.a.getOutputBuffer(i); } - public final void k() { + public final void m() { if (this.d) { try { - this.f770c.a(); + this.f1041c.a(); } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new IllegalStateException(e); @@ -227,35 +305,33 @@ public final class l implements r { } } - @Override // c.i.a.c.b2.r + @Override // c.i.a.c.y2.t public void queueInputBuffer(int i, int i2, int i3, long j, int i4) { - n nVar = this.f770c; + n nVar = this.f1041c; nVar.f(); n.a e = n.e(); e.a = i; e.b = i2; - e.f772c = i3; + e.f1043c = i3; e.e = j; e.f = i4; Handler handler = nVar.e; - int i5 = f0.a; + int i5 = e0.a; handler.obtainMessage(0, e).sendToTarget(); } - @Override // c.i.a.c.b2.r + @Override // c.i.a.c.y2.t public void release() { + Surface surface; boolean z2 = true; try { - if (this.f == 2) { - n nVar = this.f770c; - if (nVar.i) { + if (this.f == 1) { + n nVar = this.f1041c; + if (nVar.h) { nVar.d(); nVar.d.quit(); } - nVar.i = false; - } - int i = this.f; - if (i == 1 || i == 2) { + nVar.h = false; o oVar = this.b; synchronized (oVar.a) { oVar.l = true; @@ -263,8 +339,12 @@ public final class l implements r { oVar.a(); } } - this.f = 3; + this.f = 2; } finally { + surface = this.g; + if (surface != null) { + surface.release(); + } if (!this.e) { this.a.release(); this.e = z2; @@ -272,26 +352,14 @@ public final class l implements r { } } - @Override // c.i.a.c.b2.r + @Override // c.i.a.c.y2.t public void releaseOutputBuffer(int i, boolean z2) { this.a.releaseOutputBuffer(i, z2); } - @Override // c.i.a.c.b2.r + @Override // c.i.a.c.y2.t public void setParameters(Bundle bundle) { - k(); + m(); this.a.setParameters(bundle); } - - @Override // c.i.a.c.b2.r - public void start() { - n nVar = this.f770c; - 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/y2/m.java similarity index 79% rename from app/src/main/java/c/i/a/c/b2/m.java rename to app/src/main/java/c/i/a/c/y2/m.java index a5a2a1bbc8..6c7c7c2c1f 100644 --- a/app/src/main/java/c/i/a/c/b2/m.java +++ b/app/src/main/java/c/i/a/c/y2/m.java @@ -1,10 +1,10 @@ -package c.i.a.c.b2; +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.b2.n; +import c.i.a.c.y2.n; import java.util.ArrayDeque; import java.util.Objects; /* compiled from: AsynchronousMediaCodecBufferEnqueuer */ @@ -26,7 +26,7 @@ public class m extends Handler { if (i == 0) { aVar = (n.a) message.obj; try { - nVar.f771c.queueInputBuffer(aVar.a, aVar.b, aVar.f772c, aVar.e, aVar.f); + nVar.f1042c.queueInputBuffer(aVar.a, aVar.b, aVar.f1043c, aVar.e, aVar.f); } catch (RuntimeException e) { nVar.f.set(e); } @@ -45,12 +45,8 @@ public class m extends Handler { long j = aVar.e; int i4 = aVar.f; try { - if (nVar.h) { - synchronized (n.b) { - nVar.f771c.queueSecureInputBuffer(i2, i3, cryptoInfo, j, i4); - } - } else { - nVar.f771c.queueSecureInputBuffer(i2, i3, cryptoInfo, j, i4); + synchronized (n.b) { + nVar.f1042c.queueSecureInputBuffer(i2, i3, cryptoInfo, j, i4); } } catch (RuntimeException e2) { nVar.f.set(e2); diff --git a/app/src/main/java/c/i/a/c/b2/n.java b/app/src/main/java/c/i/a/c/y2/n.java similarity index 81% rename from app/src/main/java/c/i/a/c/b2/n.java rename to app/src/main/java/c/i/a/c/y2/n.java index 3afd6a373e..68599c0168 100644 --- a/app/src/main/java/c/i/a/c/b2/n.java +++ b/app/src/main/java/c/i/a/c/y2/n.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import android.media.MediaCodec; import android.os.Handler; @@ -6,8 +6,8 @@ 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 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; @@ -19,13 +19,12 @@ public class n { public static final Object b = new Object(); /* renamed from: c reason: collision with root package name */ - public final MediaCodec f771c; + public final MediaCodec f1042c; public final HandlerThread d; public Handler e; public final AtomicReference f = new AtomicReference<>(); public final j g; - public final boolean h; - public boolean i; + public boolean h; /* compiled from: AsynchronousMediaCodecBufferEnqueuer */ public static class a { @@ -33,26 +32,17 @@ public class n { public int b; /* renamed from: c reason: collision with root package name */ - public int f772c; + public int f1043c; 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) { + public n(MediaCodec mediaCodec, HandlerThread handlerThread) { j jVar = new j(); - this.f771c = mediaCodec; + this.f1042c = mediaCodec; this.d = handlerThread; this.g = jVar; - boolean z3 = false; - if (!z2) { - String K = f0.K(f0.f910c); - } - z3 = true; - this.h = z3; } @Nullable @@ -92,7 +82,7 @@ public class n { public final void a() throws InterruptedException { this.g.a(); Handler handler = this.e; - int i = f0.a; + int i = e0.a; handler.obtainMessage(2).sendToTarget(); j jVar = this.g; synchronized (jVar) { @@ -103,10 +93,10 @@ public class n { } public void d() { - if (this.i) { + if (this.h) { try { Handler handler = this.e; - int i = f0.a; + int i = e0.a; handler.removeCallbacksAndMessages(null); a(); f(); diff --git a/app/src/main/java/c/i/a/c/b2/o.java b/app/src/main/java/c/i/a/c/y2/o.java similarity index 75% rename from app/src/main/java/c/i/a/c/b2/o.java rename to app/src/main/java/c/i/a/c/y2/o.java index 9c6db406be..8bc55f8d92 100644 --- a/app/src/main/java/c/i/a/c/b2/o.java +++ b/app/src/main/java/c/i/a/c/y2/o.java @@ -1,14 +1,12 @@ -package c.i.a.c.b2; +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.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) @@ -17,11 +15,11 @@ public final class o extends MediaCodec.Callback { public final HandlerThread b; /* renamed from: c reason: collision with root package name */ - public Handler f773c; + public Handler f1044c; @GuardedBy("lock") - public final n d; + public final s d; @GuardedBy("lock") - public final n e; + public final s e; @GuardedBy("lock") public final ArrayDeque f; @GuardedBy("lock") @@ -45,8 +43,8 @@ public final class o extends MediaCodec.Callback { public o(HandlerThread handlerThread) { this.b = handlerThread; - this.d = new n(); - this.e = new n(); + this.d = new s(); + this.e = new s(); this.f = new ArrayDeque<>(); this.g = new ArrayDeque<>(); } @@ -56,14 +54,14 @@ public final class o extends MediaCodec.Callback { if (!this.g.isEmpty()) { this.i = this.g.getLast(); } - n nVar = this.d; - nVar.a = 0; - nVar.b = -1; - nVar.f912c = 0; - n nVar2 = this.e; - nVar2.a = 0; - nVar2.b = -1; - nVar2.f912c = 0; + 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; @@ -81,21 +79,21 @@ public final class o extends MediaCodec.Callback { } @Override // android.media.MediaCodec.Callback - public void onError(@NonNull MediaCodec mediaCodec, @NonNull MediaCodec.CodecException codecException) { + public void onError(MediaCodec mediaCodec, MediaCodec.CodecException codecException) { synchronized (this.a) { this.j = codecException; } } @Override // android.media.MediaCodec.Callback - public void onInputBufferAvailable(@NonNull MediaCodec mediaCodec, int i) { + public void onInputBufferAvailable(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) { + public void onOutputBufferAvailable(MediaCodec mediaCodec, int i, MediaCodec.BufferInfo bufferInfo) { synchronized (this.a) { MediaFormat mediaFormat = this.i; if (mediaFormat != null) { @@ -109,7 +107,7 @@ public final class o extends MediaCodec.Callback { } @Override // android.media.MediaCodec.Callback - public void onOutputFormatChanged(@NonNull MediaCodec mediaCodec, @NonNull MediaFormat mediaFormat) { + public void onOutputFormatChanged(MediaCodec mediaCodec, MediaFormat mediaFormat) { synchronized (this.a) { this.e.a(-2); this.g.add(mediaFormat); diff --git a/app/src/main/java/c/i/a/c/b2/p.java b/app/src/main/java/c/i/a/c/y2/p.java similarity index 88% rename from app/src/main/java/c/i/a/c/b2/p.java rename to app/src/main/java/c/i/a/c/y2/p.java index d5e3e13475..8604f306d8 100644 --- a/app/src/main/java/c/i/a/c/b2/p.java +++ b/app/src/main/java/c/i/a/c/y2/p.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import c.c.a.a0.d; import com.google.android.exoplayer2.decoder.DecoderInputBuffer; @@ -9,7 +9,7 @@ public final class p extends DecoderInputBuffer { public int r; /* renamed from: s reason: collision with root package name */ - public int f774s = 32; + public int f1045s = 32; public p() { super(2); @@ -28,11 +28,11 @@ public final class p extends DecoderInputBuffer { /* 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()); + d.j(!decoderInputBuffer.t()); + d.j(!decoderInputBuffer.l()); + d.j(!decoderInputBuffer.n()); if (v()) { - if (this.r < this.f774s && decoderInputBuffer.m() == m()) { + if (this.r < this.f1045s && decoderInputBuffer.m() == m()) { ByteBuffer byteBuffer = decoderInputBuffer.k; if (!(byteBuffer == null || (r3 = this.k) == null)) { } diff --git a/app/src/main/java/c/i/a/c/b2/q.java b/app/src/main/java/c/i/a/c/y2/q.java similarity index 52% rename from app/src/main/java/c/i/a/c/b2/q.java rename to app/src/main/java/c/i/a/c/y2/q.java index cc9812bebc..0364bca6fc 100644 --- a/app/src/main/java/c/i/a/c/b2/q.java +++ b/app/src/main/java/c/i/a/c/y2/q.java @@ -1,9 +1,13 @@ -package c.i.a.c.b2; +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 f775c; + 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/i2/n.java b/app/src/main/java/c/i/a/c/y2/s.java similarity index 84% rename from app/src/main/java/c/i/a/c/i2/n.java rename to app/src/main/java/c/i/a/c/y2/s.java index d2cabcfe1b..e88f6c088c 100644 --- a/app/src/main/java/c/i/a/c/i2/n.java +++ b/app/src/main/java/c/i/a/c/y2/s.java @@ -1,24 +1,24 @@ -package c.i.a.c.i2; +package c.i.a.c.y2; import java.util.NoSuchElementException; /* compiled from: IntArrayQueue */ -public final class n { +public final class s { public int a = 0; public int b = -1; /* renamed from: c reason: collision with root package name */ - public int f912c = 0; + public int f1047c = 0; public int[] d; public int e; - public n() { + public s() { int[] iArr = new int[16]; this.d = iArr; this.e = iArr.length - 1; } public void a(int i) { - int i2 = this.f912c; + int i2 = this.f1047c; int[] iArr = this.d; if (i2 == iArr.length) { int length = iArr.length << 1; @@ -30,7 +30,7 @@ public final class n { System.arraycopy(iArr, i3, iArr2, 0, i4); System.arraycopy(this.d, 0, iArr2, i4, i3); this.a = 0; - this.b = this.f912c - 1; + this.b = this.f1047c - 1; this.d = iArr2; this.e = length - 1; } else { @@ -40,17 +40,17 @@ public final class n { int i5 = (this.b + 1) & this.e; this.b = i5; this.d[i5] = i; - this.f912c++; + this.f1047c++; } public int b() { - int i = this.f912c; + 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.f912c = i - 1; + 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/b2/s.java b/app/src/main/java/c/i/a/c/y2/u.java similarity index 66% rename from app/src/main/java/c/i/a/c/b2/s.java rename to app/src/main/java/c/i/a/c/y2/u.java index b821cea495..847a43bc23 100644 --- a/app/src/main/java/c/i/a/c/b2/s.java +++ b/app/src/main/java/c/i/a/c/y2/u.java @@ -1,4 +1,4 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import android.graphics.Point; import android.media.MediaCodecInfo; @@ -8,18 +8,19 @@ 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 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 s { +public final class u { public final String a; public final String b; /* renamed from: c reason: collision with root package name */ - public final String f776c; + public final String f1049c; @Nullable public final MediaCodecInfo.CodecCapabilities d; public final boolean e; @@ -27,22 +28,22 @@ public final class s { 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) { + 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.f776c = str3; + this.f1049c = str3; this.d = codecCapabilities; this.e = z5; this.f = z7; - this.g = c.i.a.c.i2.s.j(str2); + 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(f0.f(i, widthAlignment) * widthAlignment, f0.f(i2, heightAlignment) * heightAlignment); + return new Point(e0.f(i, widthAlignment) * widthAlignment, e0.f(i2, heightAlignment) * heightAlignment); } @RequiresApi(21) @@ -54,43 +55,43 @@ public final class s { } /* 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; + 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 s i(String str, String str2, String str3, @Nullable MediaCodecInfo.CodecCapabilities codecCapabilities, boolean z2, boolean z3, boolean z4, boolean z5, boolean z6) { + 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 = f0.a; + int i = e0.a; if (i >= 19 && codecCapabilities.isFeatureSupported("adaptive-playback")) { if (i <= 22) { - String str4 = f0.d; + 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 (f0.a >= 21 && codecCapabilities.isFeatureSupported("tunneled-playback")) { + if (e0.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); + return new u(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); + return new u(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); + return new u(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); } } } @@ -106,64 +107,64 @@ public final class s { if (!z6) { } z9 = true; - return new s(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); + return new u(str, str2, str3, codecCapabilities, z2, z3, z4, z7, z8, z9); } - public e c(Format format, Format format2) { + public g c(j1 j1Var, j1 j1Var2) { boolean z2 = false; - int i = !f0.a(format.t, format2.t) ? 8 : 0; + int i = !e0.a(j1Var.v, j1Var2.v) ? 8 : 0; if (this.g) { - if (format.B != format2.B) { + if (j1Var.D != j1Var2.D) { i |= 1024; } - if (!this.e && !(format.f2277y == format2.f2277y && format.f2278z == format2.f2278z)) { + if (!this.e && !(j1Var.A == j1Var2.A && j1Var.B == j1Var2.B)) { i |= 512; } - if (!f0.a(format.F, format2.F)) { + if (!e0.a(j1Var.H, j1Var2.H)) { i |= 2048; } String str = this.a; - if (f0.d.startsWith("SM-T230") && "OMX.MARVELL.VIDEO.HW.CODA7542DECODER".equals(str)) { + if (e0.d.startsWith("SM-T230") && "OMX.MARVELL.VIDEO.HW.CODA7542DECODER".equals(str)) { z2 = true; } - if (z2 && !format.b(format2)) { + if (z2 && !j1Var.c(j1Var2)) { i |= 2; } if (i == 0) { - return new e(this.a, format, format2, format.b(format2) ? 3 : 2, 0); + return new g(this.a, j1Var, j1Var2, j1Var.c(j1Var2) ? 3 : 2, 0); } } else { - if (format.G != format2.G) { + if (j1Var.I != j1Var2.I) { i |= 4096; } - if (format.H != format2.H) { + if (j1Var.J != j1Var2.J) { i |= 8192; } - if (format.I != format2.I) { + if (j1Var.K != j1Var2.K) { i |= 16384; } if (i == 0 && "audio/mp4a-latm".equals(this.b)) { - Pair c2 = MediaCodecUtil.c(format); - Pair c3 = MediaCodecUtil.c(format2); + 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 e(this.a, format, format2, 3, 0); + return new g(this.a, j1Var, j1Var2, 3, 0); } } } - if (!format.b(format2)) { + if (!j1Var.c(j1Var2)) { i |= 32; } if ("audio/opus".equals(this.b)) { i |= 2; } if (i == 0) { - return new e(this.a, format, format2, 1, 0); + return new g(this.a, j1Var, j1Var2, 1, 0); } } - return new e(this.a, format, format2, 0, i); + return new g(this.a, j1Var, j1Var2, 0, i); } public MediaCodecInfo.CodecProfileLevel[] d() { @@ -174,33 +175,30 @@ public final class s { /* 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 { + /* 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 = format.q; + String str = j1Var.f819s; int i2 = 16; boolean z5 = false; - if (!(str == null || this.b == null || (c2 = c.i.a.c.i2.s.c(str)) == null)) { + if (!(str == null || this.b == null || (c2 = t.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()); + String str2 = j1Var.f819s; + h(a.k(c2.length() + a.b(str2, 13), "codec.mime ", str2, ", ", c2)); } else { - Pair c3 = MediaCodecUtil.c(format); + 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 (f0.a <= 23 && "video/x-vnd.on2.vp9".equals(this.b) && d.length == 0) { + 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; @@ -213,11 +211,8 @@ public final class s { 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()); + String str3 = j1Var.f819s; + h(a.k(c2.length() + a.b(str3, 22), "codec.profileLevel, ", str3, ", ", c2)); } } } @@ -226,28 +221,24 @@ public final class s { return false; } if (this.g) { - int i4 = format.f2277y; - if (i4 <= 0 || (i = format.f2278z) <= 0) { + int i4 = j1Var.A; + if (i4 <= 0 || (i = j1Var.B) <= 0) { return true; } - if (f0.a >= 21) { - return g(i4, i, (double) format.A); + if (e0.a >= 21) { + return g(i4, i, (double) j1Var.C); } if (i4 * i <= MediaCodecUtil.i()) { z5 = true; } if (!z5) { - StringBuilder O3 = a.O("legacyFrameSize, "); - O3.append(format.f2277y); - O3.append("x"); - O3.append(format.f2278z); - h(O3.toString()); + h(a.g(40, "legacyFrameSize, ", j1Var.A, "x", j1Var.B)); } return z5; } - int i5 = f0.a; + int i5 = e0.a; if (i5 >= 21) { - int i6 = format.H; + int i6 = j1Var.J; if (i6 != -1) { MediaCodecInfo.CodecCapabilities codecCapabilities2 = this.d; if (codecCapabilities2 == null) { @@ -257,7 +248,10 @@ public final class s { if (audioCapabilities == null) { h("sampleRate.aCaps"); } else if (!audioCapabilities.isSampleRateSupported(i6)) { - h("sampleRate.support, " + i6); + StringBuilder sb = new StringBuilder(31); + sb.append("sampleRate.support, "); + sb.append(i6); + h(sb.toString()); } else { z4 = true; if (!z4) { @@ -269,7 +263,7 @@ public final class s { if (!z4) { } } - int i7 = format.G; + int i7 = j1Var.I; if (i7 != -1) { MediaCodecInfo.CodecCapabilities codecCapabilities3 = this.d; if (codecCapabilities3 == null) { @@ -279,20 +273,31 @@ public final class s { if (audioCapabilities2 == null) { h("channelCount.aCaps"); } else { - String str2 = this.a; - String str3 = this.b; + String str4 = this.a; + String str5 = 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)) { + 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(str3)) { + } else if (!"audio/eac3".equals(str5)) { i2 = 30; } - Log.w("MediaCodecInfo", "AssumedMaxChannelAdjustment: " + str2 + ", [" + maxInputChannelCount + " to " + i2 + "]"); + 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) { - h("channelCount.support, " + i7); + StringBuilder sb3 = new StringBuilder(33); + sb3.append("channelCount.support, "); + sb3.append(i7); + h(sb3.toString()); } else { z3 = true; if (z3) { @@ -313,11 +318,11 @@ public final class s { } } - public boolean f(Format format) { + public boolean f(j1 j1Var) { if (this.g) { return this.e; } - Pair c2 = MediaCodecUtil.c(format); + Pair c2 = MediaCodecUtil.c(j1Var); return c2 != null && ((Integer) c2.first).intValue() == 42; } @@ -335,36 +340,37 @@ public final class s { } 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()); + 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 Q2 = a.Q("sizeAndRate.support, ", i, "x", i2, "x"); - Q2.append(d); - h(Q2.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) { - 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()); + 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() { diff --git a/app/src/main/java/c/i/a/c/b2/t.java b/app/src/main/java/c/i/a/c/y2/v.java similarity index 66% rename from app/src/main/java/c/i/a/c/b2/t.java rename to app/src/main/java/c/i/a/c/y2/v.java index ea74315de3..3d9abcfd76 100644 --- a/app/src/main/java/c/i/a/c/b2/t.java +++ b/app/src/main/java/c/i/a/c/y2/v.java @@ -1,10 +1,10 @@ -package c.i.a.c.b2; +package c.i.a.c.y2; import com.google.android.exoplayer2.mediacodec.MediaCodecUtil; import java.util.List; /* compiled from: MediaCodecSelector */ -public interface t { +public interface v { public static final /* synthetic */ int a = 0; - List a(String str, boolean z2, boolean z3) throws MediaCodecUtil.DecoderQueryException; + 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 7466624c03..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 f1020c; - 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.f1020c = 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).f958c; - 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.f816c); - if (a < i3) { - return e(r1Var, aVar.a, i2, a, y0Var.f1018c, aVar.d); - } - long j6 = y0Var.f1018c; - if (j6 == -9223372036854775807L) { - r1.c cVar = this.b; - r1.b bVar = this.a; - Pair k2 = r1Var.k(cVar, bVar, bVar.f958c, -9223372036854775807L, Math.max(0L, j3)); - if (k2 == null) { - return null; - } - j6 = ((Long) k2.second).longValue(); - } - return f(r1Var, aVar.a, j6, y0Var.f1018c, 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.f816c, 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.f816c); - } else { - j = y0Var.d; - if (j == -9223372036854775807L || j == Long.MIN_VALUE) { - j = this.a.d; - } - } - return new y0(aVar, y0Var.b, y0Var.f1018c, 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).f958c, 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).f958c, this.b).p == r1Var.b(aVar.a); - } - - public final void k() { - if (this.f1020c != 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).f958c; - Object obj2 = this.l; - if (obj2 == null || (b = r1Var.b(obj2)) == -1 || r1Var.f(b, this.a).f958c != 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).f958c == 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.f1018c); - 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/a0.java b/app/src/main/java/c/i/a/c/z1/a0.java deleted file mode 100644 index a18f4b42b8..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 f1021c; - 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.f1021c = 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.f897c; - 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.f1021c || 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.f884c.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/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/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/q.java b/app/src/main/java/c/i/a/c/z1/q.java deleted file mode 100644 index 2d120eab7f..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 f1023c; - - /* 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.f1023c = new CopyOnWriteArrayList<>(); - this.a = 0; - this.b = null; - } - - public a(CopyOnWriteArrayList copyOnWriteArrayList, int i, @Nullable y.a aVar) { - this.f1023c = copyOnWriteArrayList; - this.a = i; - this.b = aVar; - } - - public void a() { - Iterator it = this.f1023c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new h(this, next.b)); - } - } - - public void b() { - Iterator it = this.f1023c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new g(this, next.b)); - } - } - - public void c() { - Iterator it = this.f1023c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new i(this, next.b)); - } - } - - public void d() { - Iterator it = this.f1023c.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.f1023c.iterator(); - while (it.hasNext()) { - C0100a next = it.next(); - f0.D(next.a, new j(this, next.b, exc)); - } - } - - public void f() { - Iterator it = this.f1023c.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.f1023c, 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 a83ffb5af8..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.w == 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.w != 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/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/c2/a.java b/app/src/main/java/c/i/a/c/z2/a.java similarity index 63% rename from app/src/main/java/c/i/a/c/c2/a.java rename to app/src/main/java/c/i/a/c/z2/a.java index 1ac2670537..c61c26f9f9 100644 --- a/app/src/main/java/c/i/a/c/c2/a.java +++ b/app/src/main/java/c/i/a/c/z2/a.java @@ -1,7 +1,8 @@ -package c.i.a.c.c2; +package c.i.a.c.z2; import androidx.annotation.Nullable; -import com.google.android.exoplayer2.Format; +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 { @@ -11,7 +12,10 @@ public final /* synthetic */ class a { } @Nullable - public static Format b(Metadata.Entry entry) { + 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/c2/b.java b/app/src/main/java/c/i/a/c/z2/b.java similarity index 90% rename from app/src/main/java/c/i/a/c/c2/b.java rename to app/src/main/java/c/i/a/c/z2/b.java index d3c28296d6..800d60f6ad 100644 --- a/app/src/main/java/c/i/a/c/c2/b.java +++ b/app/src/main/java/c/i/a/c/z2/b.java @@ -1,4 +1,4 @@ -package c.i.a.c.c2; +package c.i.a.c.z2; import androidx.annotation.Nullable; import com.google.android.exoplayer2.metadata.Metadata; diff --git a/app/src/main/java/c/i/a/c/c2/c.java b/app/src/main/java/c/i/a/c/z2/c.java similarity index 70% rename from app/src/main/java/c/i/a/c/c2/c.java rename to app/src/main/java/c/i/a/c/z2/c.java index 4f90fd5929..545684e538 100644 --- a/app/src/main/java/c/i/a/c/c2/c.java +++ b/app/src/main/java/c/i/a/c/z2/c.java @@ -1,24 +1,23 @@ -package c.i.a.c.c2; +package c.i.a.c.z2; -import c.i.a.c.c2.k.b; -import com.google.android.exoplayer2.Format; +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.c2.c - public boolean a(Format format) { - String str = format.t; + @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.c2.c - public b b(Format format) { - String str = format.t; + @Override // c.i.a.c.z2.c + public b b(j1 j1Var) { + String str = j1Var.v; if (str != null) { - str.hashCode(); char c2 = 65535; switch (str.hashCode()) { case -1354451219: @@ -54,22 +53,23 @@ public interface c { } switch (c2) { case 0: - return new c.i.a.c.c2.h.a(); + return new c.i.a.c.z2.h.a(); case 1: - return new c.i.a.c.c2.j.a(); + return new c.i.a.c.z2.j.a(); case 2: return new b(); case 3: - return new c.i.a.c.c2.i.a(); + return new c.i.a.c.z2.i.a(); case 4: - return new c.i.a.c.c2.l.a(); + return new c.i.a.c.z2.l.a(); } } - throw new IllegalArgumentException(c.d.b.a.a.u("Attempted to create decoder for unsupported MIME type: ", str)); + 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(Format format); + boolean a(j1 j1Var); - b b(Format format); + b b(j1 j1Var); } diff --git a/app/src/main/java/c/i/a/c/c2/d.java b/app/src/main/java/c/i/a/c/z2/d.java similarity index 91% rename from app/src/main/java/c/i/a/c/c2/d.java rename to app/src/main/java/c/i/a/c/z2/d.java index 37b20006d3..e0243656fa 100644 --- a/app/src/main/java/c/i/a/c/c2/d.java +++ b/app/src/main/java/c/i/a/c/z2/d.java @@ -1,4 +1,4 @@ -package c.i.a.c.c2; +package c.i.a.c.z2; import com.google.android.exoplayer2.decoder.DecoderInputBuffer; /* compiled from: MetadataInputBuffer */ diff --git a/app/src/main/java/c/i/a/c/c2/e.java b/app/src/main/java/c/i/a/c/z2/e.java similarity index 69% rename from app/src/main/java/c/i/a/c/c2/e.java rename to app/src/main/java/c/i/a/c/z2/e.java index bec4d232c4..ce57996a74 100644 --- a/app/src/main/java/c/i/a/c/c2/e.java +++ b/app/src/main/java/c/i/a/c/z2/e.java @@ -1,7 +1,7 @@ -package c.i.a.c.c2; +package c.i.a.c.z2; import com.google.android.exoplayer2.metadata.Metadata; /* compiled from: MetadataOutput */ public interface e { - void l(Metadata metadata); + 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/c2/g.java b/app/src/main/java/c/i/a/c/z2/g.java similarity index 84% rename from app/src/main/java/c/i/a/c/c2/g.java rename to app/src/main/java/c/i/a/c/z2/g.java index 163479ccc1..2bfad099a2 100644 --- a/app/src/main/java/c/i/a/c/c2/g.java +++ b/app/src/main/java/c/i/a/c/z2/g.java @@ -1,4 +1,4 @@ -package c.i.a.c.c2; +package c.i.a.c.z2; import androidx.annotation.Nullable; import c.c.a.a0.d; @@ -7,12 +7,12 @@ import java.nio.ByteBuffer; import java.util.Objects; /* compiled from: SimpleMetadataDecoder */ public abstract class g implements b { - @Override // c.i.a.c.c2.b + @Override // c.i.a.c.z2.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); + d.j(byteBuffer.position() == 0 && byteBuffer.hasArray() && byteBuffer.arrayOffset() == 0); if (dVar.m()) { return null; } diff --git a/app/src/main/java/c/i/a/c/c2/h/a.java b/app/src/main/java/c/i/a/c/z2/h/a.java similarity index 53% rename from app/src/main/java/c/i/a/c/c2/h/a.java rename to app/src/main/java/c/i/a/c/z2/h/a.java index 3a7347c8fd..8186e6c319 100644 --- a/app/src/main/java/c/i/a/c/c2/h/a.java +++ b/app/src/main/java/c/i/a/c/z2/h/a.java @@ -1,9 +1,9 @@ -package c.i.a.c.c2.h; +package c.i.a.c.z2.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.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; @@ -12,55 +12,55 @@ 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 + @Override // c.i.a.c.z2.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); + 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 (vVar.d() < d) { - vVar.m(48); - int g = vVar.g(8); - vVar.m(4); - int d2 = vVar.d() + vVar.g(12); + 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 (vVar.d() < d2) { - int g2 = vVar.g(8); - int g3 = vVar.g(8); - int d3 = vVar.d() + g3; + while (wVar.d() < d2) { + int g2 = wVar.g(8); + int g3 = wVar.g(8); + int d3 = wVar.d() + g3; if (g2 == 2) { - int g4 = vVar.g(16); - vVar.m(8); + int g4 = wVar.g(16); + wVar.m(8); if (g4 != 3) { } - while (vVar.d() < d3) { - int g5 = vVar.g(8); + while (wVar.d() < d3) { + int g5 = wVar.g(8); Charset charset = c.a; byte[] bArr = new byte[g5]; - vVar.i(bArr, 0, g5); + wVar.i(bArr, 0, g5); str = new String(bArr, charset); - int g6 = vVar.g(8); + int g6 = wVar.g(8); for (int i = 0; i < g6; i++) { - vVar.n(vVar.g(8)); + wVar.n(wVar.g(8)); } } } else if (g2 == 21) { Charset charset2 = c.a; byte[] bArr2 = new byte[g3]; - vVar.i(bArr2, 0, g3); + wVar.i(bArr2, 0, g3); str2 = new String(bArr2, charset2); } - vVar.k(d3 * 8); + wVar.k(d3 * 8); } - vVar.k(d2 * 8); + wVar.k(d2 * 8); if (!(str == null || str2 == null)) { - arrayList.add(new AppInfoTable(g, c.d.b.a.a.u(str, str2))); + arrayList.add(new AppInfoTable(g, str2.length() != 0 ? str.concat(str2) : new String(str))); } } if (!arrayList.isEmpty()) { diff --git a/app/src/main/java/c/i/a/c/c2/i/a.java b/app/src/main/java/c/i/a/c/z2/i/a.java similarity index 53% rename from app/src/main/java/c/i/a/c/c2/i/a.java rename to app/src/main/java/c/i/a/c/z2/i/a.java index d95172e0f5..e2f7051d28 100644 --- a/app/src/main/java/c/i/a/c/c2/i/a.java +++ b/app/src/main/java/c/i/a/c/z2/i/a.java @@ -1,8 +1,8 @@ -package c.i.a.c.c2.i; +package c.i.a.c.z2.i; -import c.i.a.c.c2.d; -import c.i.a.c.c2.g; -import c.i.a.c.i2.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.emsg.EventMessage; import java.nio.ByteBuffer; @@ -10,13 +10,13 @@ import java.util.Arrays; import java.util.Objects; /* compiled from: EventMessageDecoder */ public final class a extends g { - @Override // c.i.a.c.c2.g + @Override // c.i.a.c.z2.g public Metadata b(d dVar, ByteBuffer byteBuffer) { - w wVar = new w(byteBuffer.array(), byteBuffer.limit()); - String n = wVar.n(); + x xVar = new x(byteBuffer.array(), byteBuffer.limit()); + String n = xVar.n(); Objects.requireNonNull(n); - String n2 = wVar.n(); + String n2 = xVar.n(); Objects.requireNonNull(n2); - return new Metadata(new EventMessage(n, n2, wVar.t(), wVar.t(), Arrays.copyOfRange(wVar.a, wVar.b, wVar.f919c))); + 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/c2/i/b.java b/app/src/main/java/c/i/a/c/z2/i/b.java similarity index 52% rename from app/src/main/java/c/i/a/c/c2/i/b.java rename to app/src/main/java/c/i/a/c/z2/i/b.java index 5657f08703..5271cd684b 100644 --- a/app/src/main/java/c/i/a/c/c2/i/b.java +++ b/app/src/main/java/c/i/a/c/z2/i/b.java @@ -1,8 +1,7 @@ -package c.i.a.c.c2.i; +package c.i.a.c.z2.i; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; -import java.io.IOException; /* compiled from: EventMessageEncoder */ public final class b { public final ByteArrayOutputStream a; @@ -13,11 +12,4 @@ public final class b { 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/z2/j/a.java similarity index 67% rename from app/src/main/java/c/i/a/c/c2/j/a.java rename to app/src/main/java/c/i/a/c/z2/j/a.java index a75eb8fac9..459e427ac2 100644 --- a/app/src/main/java/c/i/a/c/c2/j/a.java +++ b/app/src/main/java/c/i/a/c/z2/j/a.java @@ -1,8 +1,8 @@ -package c.i.a.c.c2.j; +package c.i.a.c.z2.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.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; @@ -14,13 +14,13 @@ 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.f1275c.newDecoder(); + public final CharsetDecoder b = c.f1307c.newDecoder(); /* renamed from: c reason: collision with root package name */ - public final CharsetDecoder f784c = c.b.newDecoder(); + public final CharsetDecoder f1055c = c.b.newDecoder(); /* JADX INFO: finally extract failed */ - @Override // c.i.a.c.c2.g + @Override // c.i.a.c.z2.g public Metadata b(d dVar, ByteBuffer byteBuffer) { String str; String str2 = null; @@ -28,15 +28,15 @@ public final class a extends g { str = this.b.decode(byteBuffer).toString(); } catch (CharacterCodingException unused) { try { - str = this.f784c.decode(byteBuffer).toString(); - this.f784c.reset(); + str = this.f1055c.decode(byteBuffer).toString(); + this.f1055c.reset(); byteBuffer.rewind(); } catch (CharacterCodingException unused2) { - this.f784c.reset(); + this.f1055c.reset(); byteBuffer.rewind(); str = null; } catch (Throwable th) { - this.f784c.reset(); + this.f1055c.reset(); byteBuffer.rewind(); throw th; } @@ -52,13 +52,15 @@ public final class a extends g { 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; + 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; } } } diff --git a/app/src/main/java/c/i/a/c/c2/k/a.java b/app/src/main/java/c/i/a/c/z2/k/a.java similarity index 76% rename from app/src/main/java/c/i/a/c/c2/k/a.java rename to app/src/main/java/c/i/a/c/z2/k/a.java index d5c4cc2a90..d19e974021 100644 --- a/app/src/main/java/c/i/a/c/c2/k/a.java +++ b/app/src/main/java/c/i/a/c/z2/k/a.java @@ -1,11 +1,11 @@ -package c.i.a.c.c2.k; +package c.i.a.c.z2.k; -import c.i.a.c.c2.k.b; +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.c2.k.b.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/c2/k/b.java b/app/src/main/java/c/i/a/c/z2/k/b.java similarity index 51% rename from app/src/main/java/c/i/a/c/c2/k/b.java rename to app/src/main/java/c/i/a/c/z2/k/b.java index de33e223c2..416face8cf 100644 --- a/app/src/main/java/c/i/a/c/c2/k/b.java +++ b/app/src/main/java/c/i/a/c/z2/k/b.java @@ -1,12 +1,13 @@ -package c.i.a.c.c2.k; +package c.i.a.c.z2.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 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; @@ -37,18 +38,18 @@ public final class b extends g { } /* 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 { + /* 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 f785c; + public final int f1056c; - public C0090b(int i, boolean z2, int i2) { + public C0099b(int i, boolean z2, int i2) { this.a = i; this.b = z2; - this.f785c = i2; + this.f1056c = i2; } } @@ -61,64 +62,58 @@ public final class b extends g { } public static byte[] c(byte[] bArr, int i, int i2) { - return i2 <= i ? f0.f : Arrays.copyOfRange(bArr, i, i2); + return i2 <= i ? e0.f : Arrays.copyOfRange(bArr, i, i2); } - public static ApicFrame e(w wVar, int i, int i2) throws UnsupportedEncodingException { - String str; + public static ApicFrame e(x xVar, int i, int i2) throws UnsupportedEncodingException { int i3; - int s2 = wVar.s(); - String t = t(s2); + String str; + int t = xVar.t(); + String t2 = t(t); int i4 = i - 1; byte[] bArr = new byte[i4]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i4); - wVar.b += i4; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i4); + xVar.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"; + 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 { - int w = w(bArr, 0); - String K = f0.K(new String(bArr, 0, w, "ISO-8859-1")); - if (K.indexOf(47) == -1) { - i3 = w; - str = c.d.b.a.a.u("image/", K); - } else { - i3 = w; - str = K; - } + 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, s2); - return new ApicFrame(str, new String(bArr, i5, v - i5, t), bArr[i3 + 1] & 255, c(bArr, s(s2) + v, i4)); + 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(w wVar, int i, String str) { + public static BinaryFrame f(x xVar, int i, String str) { byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += i; + System.arraycopy(xVar.a, xVar.b, bArr, 0, i); + xVar.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 w = w(wVar.a, i4); - String str = new String(wVar.a, i4, w - i4, "ISO-8859-1"); - wVar.D(w + 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; + 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 (wVar.b < i5) { - Id3Frame j3 = j(i2, wVar, z2, i3, aVar); + while (xVar.b < i5) { + Id3Frame j3 = j(i2, xVar, z2, i3, aVar); if (j3 != null) { arrayList.add(j3); } @@ -126,26 +121,26 @@ public final class b extends g { 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 w = w(wVar.a, i4); - String str = new String(wVar.a, i4, w - i4, "ISO-8859-1"); - wVar.D(w + 1); - int s2 = wVar.s(); - boolean z3 = (s2 & 2) != 0; - boolean z4 = (s2 & 1) != 0; - int s3 = wVar.s(); - String[] strArr = new String[s3]; - for (int i5 = 0; i5 < s3; i5++) { - int i6 = wVar.b; - int w2 = w(wVar.a, i6); - strArr[i5] = new String(wVar.a, i6, w2 - i6, "ISO-8859-1"); - wVar.D(w2 + 1); + 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 (wVar.b < i7) { - Id3Frame j = j(i2, wVar, z2, i3, aVar); + while (xVar.b < i7) { + Id3Frame j = j(i2, xVar, z2, i3, aVar); if (j != null) { arrayList.add(j); } @@ -154,32 +149,32 @@ public final class b extends g { } @Nullable - public static CommentFrame i(w wVar, int i) throws UnsupportedEncodingException { + public static CommentFrame i(x xVar, int i) throws UnsupportedEncodingException { if (i < 4) { return null; } - int s2 = wVar.s(); - String t = t(s2); + int t = xVar.t(); + String t2 = t(t); byte[] bArr = new byte[3]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, 3); - wVar.b += 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(wVar.a, wVar.b, bArr2, 0, i2); - wVar.b += i2; - int v = v(bArr2, 0, s2); - String str2 = new String(bArr2, 0, v, t); - int s3 = s(s2) + v; - return new CommentFrame(str, str2, n(bArr2, s3, v(bArr2, s3, s2), t)); + 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, w wVar, boolean z2, int i2, @Nullable a aVar) { - int v; + public static Id3Frame j(int i, x xVar, boolean z2, int i2, @Nullable a aVar) { + int w; int i3; int i4; String str; @@ -189,42 +184,42 @@ public final class b extends g { boolean z6; boolean z7; Id3Frame id3Frame; - int s2 = wVar.s(); - int s3 = wVar.s(); - int s4 = wVar.s(); - int s5 = i >= 3 ? wVar.s() : 0; + int t = xVar.t(); + int t2 = xVar.t(); + int t3 = xVar.t(); + int t4 = i >= 3 ? xVar.t() : 0; if (i == 4) { - v = wVar.v(); + w = xVar.w(); if (!z2) { - v = (((v >> 24) & 255) << 21) | (v & 255) | (((v >> 8) & 255) << 7) | (((v >> 16) & 255) << 14); + w = (((w >> 24) & 255) << 21) | (w & 255) | (((w >> 8) & 255) << 7) | (((w >> 16) & 255) << 14); } } else { - v = i == 3 ? wVar.v() : wVar.u(); + w = i == 3 ? xVar.w() : xVar.v(); } - int i5 = v; - int x2 = i >= 3 ? wVar.x() : 0; - if (s2 == 0 && s3 == 0 && s4 == 0 && s5 == 0 && i5 == 0 && x2 == 0) { - wVar.D(wVar.f919c); + 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 = wVar.b + i5; - if (i6 > wVar.f919c) { + int i6 = xVar.b + i5; + if (i6 > xVar.f792c) { Log.w("Id3Decoder", "Frame size exceeds remaining tag data"); - wVar.D(wVar.f919c); + xVar.E(xVar.f792c); return null; } if (aVar != null) { str = "Id3Decoder"; i4 = i6; - i3 = x2; - if (!aVar.a(i, s2, s3, s4, s5)) { - wVar.D(i4); + i3 = y2; + if (!aVar.a(i, t, t2, t3, t4)) { + xVar.E(i4); return null; } } else { str = "Id3Decoder"; i4 = i6; - i3 = x2; + i3 = y2; } if (i == 3) { z6 = (i3 & 128) != 0; @@ -250,107 +245,113 @@ public final class b extends g { } if (z3 || z5) { Log.w(str, "Skipping unsupported compressed or encrypted frame"); - wVar.D(i4); + xVar.E(i4); return null; } if (z7) { i5--; - wVar.E(1); + xVar.F(1); } if (z6) { i5 -= 4; - wVar.E(4); + xVar.F(4); } if (z4) { - i5 = x(wVar, i5); + i5 = x(xVar, i5); } - if (s2 == 84 && s3 == 88 && s4 == 88 && (i == 2 || s5 == 88)) { + if (t == 84 && t2 == 88 && t3 == 88 && (i == 2 || t4 == 88)) { try { - id3Frame = p(wVar, i5); + id3Frame = p(xVar, i5); } catch (UnsupportedEncodingException unused) { Log.w(str, "Unsupported character encoding"); - wVar.D(i4); + xVar.E(i4); return null; } catch (Throwable th) { - wVar.D(i4); + xVar.E(i4); throw th; } - } else if (s2 == 84) { - id3Frame = o(wVar, i5, u(i, s2, s3, s4, s5)); - } else if (s2 == 87 && s3 == 88 && s4 == 88 && (i == 2 || s5 == 88)) { - id3Frame = r(wVar, i5); - } else if (s2 == 87) { - id3Frame = q(wVar, i5, u(i, s2, s3, s4, s5)); - } else if (s2 == 80 && s3 == 82 && s4 == 73 && s5 == 86) { - id3Frame = m(wVar, i5); - } else if (s2 == 71 && s3 == 69 && s4 == 79 && (s5 == 66 || i == 2)) { - id3Frame = k(wVar, i5); + } 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 (s2 == 80 && s3 == 73 && s4 == 67) { + if (t == 80 && t2 == 73 && t3 == 67) { } - id3Frame = (s2 != 67 && s3 == 79 && s4 == 77 && (s5 == 77 || i == 2)) ? i(wVar, i5) : (s2 != 67 && s3 == 72 && s4 == 65 && s5 == 80) ? g(wVar, i5, i, z2, i2, aVar) : (s2 != 67 && s3 == 84 && s4 == 79 && s5 == 67) ? h(wVar, i5, i, z2, i2, aVar) : (s2 != 77 && s3 == 76 && s4 == 76 && s5 == 84) ? l(wVar, i5) : f(wVar, i5, u(i, s2, s3, s4, s5)); + 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 (s2 == 65) { - if (s3 == 80) { - if (s4 == 73) { + if (t == 65) { + if (t2 == 80) { + if (t3 == 73) { } } } - if (s2 != 67) { + if (t != 67) { } } - id3Frame = e(wVar, i5, i); + id3Frame = e(xVar, i5, i); } if (id3Frame == null) { - Log.w(str, "Failed to decode frame: id=" + u(i, s2, s3, s4, s5) + ", frameSize=" + i5); + 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()); } - wVar.D(i4); + xVar.E(i4); return id3Frame; } - public static GeobFrame k(w wVar, int i) throws UnsupportedEncodingException { - int s2 = wVar.s(); - String t = t(s2); + 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(wVar.a, wVar.b, bArr, 0, i2); - wVar.b += 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, s2); - String n = n(bArr, i3, v, t); - int s3 = s(s2) + v; - int v2 = v(bArr, s3, s2); - return new GeobFrame(str, n, n(bArr, s3, v2, t), c(bArr, s(s2) + v2, i2)); + 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(w wVar, int i) { - int x2 = wVar.x(); - int u = wVar.u(); - int u2 = wVar.u(); - int s2 = wVar.s(); - int s3 = wVar.s(); - v vVar = new v(); - vVar.j(wVar.a, wVar.f919c); - vVar.k(wVar.b * 8); - int i2 = ((i - 10) * 8) / (s2 + s3); + 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 = vVar.g(s2); - int g2 = vVar.g(s3); + int g = wVar.g(t); + int g2 = wVar.g(t2); iArr[i3] = g; iArr2[i3] = g2; } - return new MlltFrame(x2, u, u2, iArr, iArr2); + return new MlltFrame(y2, v, v2, iArr, iArr2); } - public static PrivFrame m(w wVar, int i) throws UnsupportedEncodingException { + public static PrivFrame m(x xVar, int i) throws UnsupportedEncodingException { byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += 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)); } @@ -360,58 +361,58 @@ public final class b extends g { } @Nullable - public static TextInformationFrame o(w wVar, int i, String str) throws UnsupportedEncodingException { + public static TextInformationFrame o(x xVar, int i, String str) throws UnsupportedEncodingException { if (i < 1) { return null; } - int s2 = wVar.s(); - String t = t(s2); + int t = xVar.t(); + String t2 = t(t); 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, s2), t)); + 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(w wVar, int i) throws UnsupportedEncodingException { + public static TextInformationFrame p(x xVar, int i) throws UnsupportedEncodingException { if (i < 1) { return null; } - int s2 = wVar.s(); - String t = t(s2); + int t = xVar.t(); + String t2 = t(t); 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, s2); - String str = new String(bArr, 0, v, t); - int s3 = s(s2) + v; - return new TextInformationFrame("TXXX", str, n(bArr, s3, v(bArr, s3, s2), t)); + 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(w wVar, int i, String str) throws UnsupportedEncodingException { + public static UrlLinkFrame q(x xVar, int i, String str) throws UnsupportedEncodingException { byte[] bArr = new byte[i]; - System.arraycopy(wVar.a, wVar.b, bArr, 0, i); - wVar.b += 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(w wVar, int i) throws UnsupportedEncodingException { + public static UrlLinkFrame r(x xVar, int i) throws UnsupportedEncodingException { if (i < 1) { return null; } - int s2 = wVar.s(); - String t = t(s2); + int t = xVar.t(); + String t2 = t(t); 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, s2); - String str = new String(bArr, 0, v, t); - int s3 = s(s2) + v; - return new UrlLinkFrame("WXXX", str, n(bArr, s3, w(bArr, s3), "ISO-8859-1")); + 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) { @@ -432,7 +433,7 @@ public final class b extends g { return w; } while (w < bArr.length - 1) { - if (w % 2 == 0 && bArr[w + 1] == 0) { + if ((w - i) % 2 == 0 && bArr[w + 1] == 0) { return w; } w = w(bArr, w + 1); @@ -450,9 +451,9 @@ public final class b extends g { return bArr.length; } - public static int x(w wVar, int i) { - byte[] bArr = wVar.a; - int i2 = wVar.b; + 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; @@ -473,32 +474,32 @@ public final class b extends g { /* 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) { + public static boolean y(x xVar, int i, int i2, boolean z2) { int i3; long j; int i4; int i5; - int i6 = wVar.b; + int i6 = xVar.b; while (true) { try { boolean z3 = true; - if (wVar.a() >= i2) { + if (xVar.a() >= i2) { if (i >= 3) { - i4 = wVar.f(); - j = wVar.t(); - i3 = wVar.x(); + i4 = xVar.f(); + j = xVar.u(); + i3 = xVar.y(); } else { - i4 = wVar.u(); - j = (long) wVar.u(); + i4 = xVar.v(); + j = (long) xVar.v(); i3 = 0; } if (i4 == 0 && j == 0 && i3 == 0) { - wVar.D(i6); + xVar.E(i6); return true; } if (i == 4 && !z2) { if ((8421504 & j) != 0) { - wVar.D(i6); + xVar.E(i6); return false; } j = (((j >> 24) & 255) << 21) | (j & 255) | (((j >> 8) & 255) << 7) | (((j >> 16) & 255) << 14); @@ -515,97 +516,94 @@ public final class b extends g { i5 += 4; } if (j < ((long) i5)) { - wVar.D(i6); + xVar.E(i6); return false; - } else if (((long) wVar.a()) < j) { + } else if (((long) xVar.a()) < j) { return false; } else { - wVar.E((int) j); + xVar.F((int) j); } } else { - wVar.D(i6); + xVar.E(i6); return true; } } finally { - wVar.D(i6); + xVar.E(i6); } } } - @Override // c.i.a.c.c2.g + @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:44:0x00b6 A[RETURN] */ - /* JADX WARNING: Removed duplicated region for block: B:45:0x00b7 */ + /* 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) { - C0090b bVar; + C0099b bVar; ArrayList arrayList = new ArrayList(); - w wVar = new w(bArr, i); + x xVar = new x(bArr, i); boolean z2 = false; int i2 = 10; - if (wVar.a() < 10) { + if (xVar.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()); + 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 s2 = wVar.s(); - wVar.E(1); - int s3 = wVar.s(); - int r = wVar.r(); - if (s2 == 2) { - if ((s3 & 64) != 0) { + 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 (s2 == 3) { - if ((s3 & 64) != 0) { - int f = wVar.f(); - wVar.E(f); - r -= f + 4; + } else if (t == 3) { + if ((t2 & 64) != 0) { + int f = xVar.f(); + xVar.F(f); + s2 -= f + 4; } - } else if (s2 == 4) { - if ((s3 & 64) != 0) { - int r2 = wVar.r(); - wVar.E(r2 - 4); - r -= r2; + } else if (t == 4) { + if ((t2 & 64) != 0) { + int s3 = xVar.s(); + xVar.F(s3 - 4); + s2 -= s3; } - if ((s3 & 16) != 0) { - r -= 10; + if ((t2 & 16) != 0) { + s2 -= 10; } } else { - c.d.b.a.a.i0("Skipped ID3 tag with unsupported majorVersion=", s2, "Id3Decoder"); + c.d.b.a.a.d0(57, "Skipped ID3 tag with unsupported majorVersion=", t, "Id3Decoder"); } - bVar = new C0090b(s2, s2 < 4 && (s3 & 128) != 0, r); + bVar = new C0099b(t, t < 4 && (t2 & 128) != 0, s2); if (bVar != null) { return null; } - int i3 = wVar.b; + int i3 = xVar.b; if (bVar.a == 2) { i2 = 6; } - int i4 = bVar.f785c; + int i4 = bVar.f1056c; if (bVar.b) { - i4 = x(wVar, i4); + i4 = x(xVar, 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()); + 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 (wVar.a() >= i2) { - Id3Frame j = j(bVar.a, wVar, z2, i2, this.b); + while (xVar.a() >= i2) { + Id3Frame j = j(bVar.a, xVar, z2, i2, this.b); if (j != null) { arrayList.add(j); } diff --git a/app/src/main/java/c/i/a/c/c2/l/a.java b/app/src/main/java/c/i/a/c/z2/l/a.java similarity index 57% rename from app/src/main/java/c/i/a/c/c2/l/a.java rename to app/src/main/java/c/i/a/c/z2/l/a.java index 7ae5e643ef..0c330917b9 100644 --- a/app/src/main/java/c/i/a/c/c2/l/a.java +++ b/app/src/main/java/c/i/a/c/z2/l/a.java @@ -1,10 +1,10 @@ -package c.i.a.c.c2.l; +package c.i.a.c.z2.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 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; @@ -17,13 +17,13 @@ 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(); + public final x a = new x(); + public final w b = new w(); /* renamed from: c reason: collision with root package name */ - public e0 f786c; + public d0 f1057c; - @Override // c.i.a.c.c2.g + @Override // c.i.a.c.z2.g public Metadata b(d dVar, ByteBuffer byteBuffer) { int i; int i2; @@ -50,63 +50,62 @@ public final class a extends g { long j6; long j7; boolean z10; - e0 e0Var = this.f786c; - if (e0Var == null || dVar.q != e0Var.d()) { - long j8 = dVar.m; - e0 e0Var2 = new e0(j8); - this.f786c = e0Var2; - e0Var2.a(j8 - dVar.q); + 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.B(array, 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.E(14); + this.a.F(14); Metadata.Entry entry = null; if (g3 == 0) { entry = new SpliceNullCommand(); } else if (g3 != 255) { - long j9 = 128; + long j8 = 128; if (g3 == 4) { - w wVar = this.a; - int s2 = wVar.s(); - ArrayList arrayList2 = new ArrayList(s2); + x xVar = this.a; + int t = xVar.t(); + ArrayList arrayList2 = new ArrayList(t); int i8 = 0; - while (i8 < s2) { - long t = wVar.t(); - boolean z11 = (wVar.s() & 128) != 0; + while (i8 < t) { + long u = xVar.u(); + boolean z11 = (xVar.t() & 128) != 0; ArrayList arrayList3 = new ArrayList(); if (!z11) { - int s3 = wVar.s(); - boolean z12 = (s3 & 128) != 0; - boolean z13 = (s3 & 64) != 0; - boolean z14 = (s3 & 32) != 0; - long t2 = z13 ? wVar.t() : -9223372036854775807L; + 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 s4 = wVar.s(); - ArrayList arrayList4 = new ArrayList(s4); + int t3 = xVar.t(); + ArrayList arrayList4 = new ArrayList(t3); int i9 = 0; - while (i9 < s4) { - arrayList4.add(new SpliceScheduleCommand.b(wVar.s(), wVar.t(), null)); + while (i9 < t3) { + arrayList4.add(new SpliceScheduleCommand.b(xVar.t(), xVar.u(), null)); i9++; - s4 = s4; - s2 = s2; + t3 = t3; + t = t; } - i4 = s2; + i4 = t; arrayList3 = arrayList4; } else { - i4 = s2; + i4 = t; } if (z14) { - long s5 = (long) wVar.s(); + long t4 = (long) xVar.t(); j3 = 128; - z5 = (s5 & 128) != 0; - j4 = ((((s5 & 1) << 32) | wVar.t()) * 1000) / 90; + z5 = (t4 & 128) != 0; + j4 = ((((t4 & 1) << 32) | xVar.u()) * 1000) / 90; } else { j3 = 128; z5 = false; @@ -115,15 +114,15 @@ public final class a extends g { z2 = z5; j = j4; arrayList = arrayList3; - i3 = wVar.x(); + i3 = xVar.y(); z4 = z12; z3 = z13; - j2 = t2; - i2 = wVar.s(); - i = wVar.s(); + j2 = u2; + i2 = xVar.t(); + i = xVar.t(); } else { - i4 = s2; - j3 = j9; + i4 = t; + j3 = j8; arrayList = arrayList3; z4 = false; z3 = false; @@ -134,51 +133,51 @@ public final class a extends g { i2 = 0; i = 0; } - arrayList2.add(new SpliceScheduleCommand.c(t, z11, z4, z3, arrayList, j2, z2, j, i3, i2, i)); + arrayList2.add(new SpliceScheduleCommand.c(u, z11, z4, z3, arrayList, j2, z2, j, i3, i2, i)); i8++; - j9 = j3; - s2 = i4; + j8 = j3; + t = i4; } entry = new SpliceScheduleCommand(arrayList2); } else if (g3 == 5) { - w wVar2 = this.a; - e0 e0Var3 = this.f786c; - long t3 = wVar2.t(); - boolean z15 = (wVar2.s() & 128) != 0; + 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 s6 = wVar2.s(); - boolean z16 = (s6 & 128) != 0; - boolean z17 = (s6 & 64) != 0; - boolean z18 = (s6 & 32) != 0; - boolean z19 = (s6 & 16) != 0; - long a = (!z17 || z19) ? -9223372036854775807L : TimeSignalCommand.a(wVar2, g); + 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 s7 = wVar2.s(); - ArrayList arrayList5 = new ArrayList(s7); - for (int i10 = 0; i10 < s7; i10++) { - int s8 = wVar2.s(); - long a2 = !z19 ? TimeSignalCommand.a(wVar2, g) : -9223372036854775807L; - arrayList5.add(new SpliceInsertCommand.b(s8, a2, e0Var3.b(a2), null)); + 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 s9 = (long) wVar2.s(); - z10 = (s9 & 128) != 0; - j7 = ((((s9 & 1) << 32) | wVar2.t()) * 1000) / 90; + long t8 = (long) xVar2.t(); + z10 = (t8 & 128) != 0; + j7 = ((((t8 & 1) << 32) | xVar2.u()) * 1000) / 90; } else { z10 = false; j7 = -9223372036854775807L; } - int x2 = wVar2.x(); - int s10 = wVar2.s(); - i7 = x2; + int y2 = xVar2.y(); + int t9 = xVar2.t(); + i7 = y2; z6 = z10; - i5 = wVar2.s(); + i5 = xVar2.t(); list = emptyList; j5 = j7; - i6 = s10; + i6 = t9; z9 = z16; j6 = a; z7 = z19; @@ -195,21 +194,21 @@ public final class a extends g { i6 = 0; i5 = 0; } - entry = new SpliceInsertCommand(t3, z15, z9, z8, z7, j6, e0Var3.b(j6), list, z6, j5, i7, i6, i5); + entry = new SpliceInsertCommand(u3, z15, z9, z8, z7, j6, d0Var3.b(j6), list, z6, j5, i7, i6, i5); } else if (g3 == 6) { - w wVar3 = this.a; - e0 e0Var4 = this.f786c; - long a3 = TimeSignalCommand.a(wVar3, g); - entry = new TimeSignalCommand(a3, e0Var4.b(a3)); + x xVar3 = this.a; + d0 d0Var4 = this.f1057c; + long a3 = TimeSignalCommand.a(xVar3, g); + entry = new TimeSignalCommand(a3, d0Var4.b(a3)); } } else { - w wVar4 = this.a; - long t4 = wVar4.t(); + x xVar4 = this.a; + long u4 = xVar4.u(); 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); + 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 959ba9e4e4..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,13 +13,13 @@ 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); } 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 e284fe4928..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 f1026c = Integer.MIN_VALUE; + public int f1058c = Integer.MIN_VALUE; public int d = Integer.MIN_VALUE; public int e; public int f; @@ -33,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.f1026c = Math.max(this.f1026c, 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 cbca1101dc..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[] f1027c; + 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.f1027c; + 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.r |= flexItem2.w() != 0.0f; - iArr = this.f1027c; + 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.r |= flexItem2.w() != 0.0f; - iArr = this.f1027c; + 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.r |= flexItem2.w() != 0.0f; - iArr = this.f1027c; + 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.f1027c[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.f1027c; + 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.f1027c; + int[] iArr = this.f1059c; if (iArr != null) { i7 = iArr[i3]; } @@ -743,18 +743,18 @@ public class c { } public void i(int i) { - int[] iArr = this.f1027c; + int[] iArr = this.f1059c; if (iArr == null) { if (i < 10) { i = 10; } - this.f1027c = new int[i]; + this.f1059c = new int[i]; } else if (iArr.length < i) { int length = iArr.length * 2; if (length >= i) { i = length; } - this.f1027c = 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 w = ((float) measuredWidth) - (flexItem.w() * f3); + float x2 = ((float) measuredWidth) - (flexItem.x() * f3); i5 = i10; if (i5 == bVar.h - 1) { - w += f4; + x2 += f4; f4 = 0.0f; } - int round = Math.round(w); - 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 = (w - ((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 w2 = ((float) measuredHeight3) - (flexItem.w() * f3); + float x3 = ((float) measuredHeight3) - (flexItem.x() * f3); if (i10 == bVar.h - 1) { - w2 += f4; + x3 += f4; f4 = 0.0f; } - int round2 = Math.round(w2); - 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 = (w2 - ((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 e98e1c8438..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 f1028c = 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.f1028c.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 d554cfdb21..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 f1029c; - 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 f1030c; + 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.f1030c = 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.f1030c; + 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(); - f1029c = hVar; + f1061c = hVar; i iVar = new i(); d = iVar; - c.i.a.f.e.h.a aVar = b.f1031c; + 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 4ce22768aa..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 f1031c; + 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; - f1031c = 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 cb8251e0db..a9a5cbf1ab 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.f2367c; + Object obj = GoogleApiAvailability.f2381c; 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 3c8fb26209..949e89f16e 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 f1032c = 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.f2362s; + String str6 = googleSignInAccount.f2376s; if (str6 != null) { jSONObject.put("givenName", str6); } @@ -157,7 +157,7 @@ public class a { } jSONObject2.put("idTokenRequested", googleSignInOptions.r); jSONObject2.put("forceCodeForRefreshToken", googleSignInOptions.t); - jSONObject2.put("serverAuthRequested", googleSignInOptions.f2363s); + jSONObject2.put("serverAuthRequested", googleSignInOptions.f2377s); 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.f1032c.lock(); + this.f1064c.lock(); try { this.d.edit().putString(str, str2).apply(); } finally { - this.f1032c.unlock(); + this.f1064c.unlock(); } } @Nullable public final String g(String str) { - this.f1032c.lock(); + this.f1064c.lock(); try { return this.d.getString(str, null); } finally { - this.f1032c.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.f1061c.isEmpty()) { - for (Scope scope : cVar.f1061c) { + 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/m.java b/app/src/main/java/c/i/a/f/c/a/f/b/m.java index 813da49710..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.f1032c.lock(); + aVar.f1064c.lock(); try { aVar.d.edit().clear().apply(); } finally { - aVar.f1032c.unlock(); + aVar.f1064c.unlock(); } } } 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/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 e38cd177be..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> f1033c = 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.f1033c) { - TaskCompletionSource remove = this.f1033c.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.f1033c) { - this.f1033c.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 4b744b824a..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 f1034c; + public final ScheduledExecutorService f1066c; public g d = new g(this, null); public int e = 1; @VisibleForTesting public f(Context context, ScheduledExecutorService scheduledExecutorService) { - this.f1034c = 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 bf3d87cfd3..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.f1034c.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.f1034c.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.f1034c.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.f1034c.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 4c63579df2..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.f1034c.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.f1035c; + 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 4aea5ab0bf..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.f1034c.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 f189345009..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 f1035c; + public final int f1067c; public final Bundle d; public q(int i, int i2, Bundle bundle) { this.a = i; - this.f1035c = 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.f1035c; + 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 6292140236..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 f1036c = 0; + public int f1068c = 0; public r(Context context) { this.a = context; } public final synchronized int a() { - int i = this.f1036c; + 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.f1036c = 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.f1036c = 2; + if (f.q0()) { + this.f1068c = 2; } else { - this.f1036c = 1; + this.f1068c = 1; } - return this.f1036c; + return this.f1068c; } - this.f1036c = 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 a9856bbd34..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 f1037c; + public final ScheduledFuture f1069c; public x(b bVar, String str, ScheduledFuture scheduledFuture) { this.a = bVar; this.b = str; - this.f1037c = 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.f1037c; - synchronized (bVar.f1033c) { - bVar.f1033c.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 6c9b72db09..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.f1033c) { - for (int i = 0; i < bVar.f1033c.size(); i++) { - bVar.a(bVar.f1033c.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 e57587574e..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 f1038c; + public final String f1070c; public final Throwable d; public a0(boolean z2, String str, Throwable th) { this.b = z2; - this.f1038c = str; + this.f1070c = str; this.d = th; } @@ -25,6 +25,6 @@ public class a0 { } public String c() { - return this.f1038c; + 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 09b0411e2f..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.f1072c == null) { - c.i.a.f.e.o.c.f1072c = 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.f1072c.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 03ebf419f7..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 f1039c = 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 8b27290715..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 f1040c; + 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.f1074c == null) { - s.f1074c = 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.f1040c)) { + } else if (str.equals(this.f1072c)) { a0Var = a0.a; } else { try { @@ -131,7 +131,7 @@ public class f { } } if (a0Var2.b) { - this.f1040c = 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 ec3cc2bd6c..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 f1041c; + 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.f1041c = 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 84ca939109..e00bdf9edc 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.adjust.sdk.Constants; import com.google.android.gms.auth.api.signin.GoogleSignInAccount; import com.google.android.gms.common.api.GoogleApiActivity; @@ -44,7 +44,7 @@ public class b { public final a b; /* renamed from: c reason: collision with root package name */ - public final O f1042c; + public final O f1074c; public final c.i.a.f.e.h.j.b d; public final Looper e; public final int f; @@ -59,11 +59,11 @@ public class b { public final n b; /* renamed from: c reason: collision with root package name */ - public final Looper f1043c; + public final Looper f1075c; public a(n nVar, Account account, Looper looper) { this.b = nVar; - this.f1043c = looper; + this.f1075c = looper; } } @@ -76,8 +76,8 @@ public class b { this.a = applicationContext; e(activity); this.b = aVar; - this.f1042c = o; - this.e = aVar2.f1043c; + 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); @@ -103,8 +103,8 @@ public class b { this.a = applicationContext; e(context); this.b = aVar; - this.f1042c = o; - this.e = aVar2.f1043c; + 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); @@ -132,7 +132,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 { @@ -140,14 +140,14 @@ public class b { if (!Constants.REFERRER_API_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(); } } } @@ -166,28 +166,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.f1042c; + O o = this.f1074c; Account account = null; - if (!(o instanceof a.d.b) || (K2 = ((a.d.b) o).K()) == null) { - O o2 = this.f1042c; - 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.f1042c; - 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.f1062c = this.a.getPackageName(); + aVar.f1094c = this.a.getPackageName(); return aVar; } 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/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 82b2ad4b0b..bc2fc84457 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.f2367c; + Object obj = GoogleApiAvailability.f2381c; this.o = gVar; jVar.a("ConnectionlessLifecycleHelper", this); } 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 7753f1efb6..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 f1044c; + public final O f1076c; public b(a aVar, @Nullable O o) { this.b = aVar; - this.f1044c = 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.f1044c, bVar.f1044c); + 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 d2ed25a49e..c82da4fc3b 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.f2367c; + Object obj = GoogleApiAvailability.f2381c; 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 60292c47e9..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 f1045c; + public final b f1077c; public c0(s sVar, int i, b bVar) { this.a = sVar; this.b = i; - this.f1045c = 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 56494575b5..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 f1046c; + public final Runnable f1078c; public d0(@NonNull m mVar, @NonNull q qVar, @NonNull Runnable runnable) { this.a = mVar; this.b = qVar; - this.f1046c = 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/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 f54e009af4..4bcf6f85fa 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 @@ -67,7 +67,7 @@ public class g implements Handler.Callback { public final AtomicInteger r; /* renamed from: s reason: collision with root package name */ - public final Map, a> f1047s; + public final Map, a> f1079s; @Nullable public a1 t; public final Set> u; @@ -76,7 +76,7 @@ public class g implements Handler.Callback { public final Handler w; /* renamed from: x reason: collision with root package name */ - public volatile boolean f1048x; + public volatile boolean f1080x; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public class a implements c.a, c.b { @@ -85,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 f1049c; + public final a.b f1081c; public final b d; public final x0 e; public final Set f = new HashSet(); @@ -104,12 +104,12 @@ public class g implements Handler.Callback { 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.f1042c, this, this); + a.f a2 = aVar2.a(bVar.a, looper, a, bVar.f1074c, this, this); this.b = a2; if (!(a2 instanceof z)) { - this.f1049c = a2; + this.f1081c = a2; this.d = bVar.d; this.e = new x0(); this.h = bVar.f; @@ -134,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; } } @@ -191,7 +191,7 @@ public class g implements Handler.Callback { handler2.sendMessageDelayed(obtain2, 120000); g.this.p.a.clear(); for (d0 d0Var : this.g.values()) { - d0Var.f1046c.run(); + d0Var.f1078c.run(); } } @@ -213,7 +213,7 @@ public class g implements Handler.Callback { } else if (exc != null) { d.s(g.this.w); i(null, exc, false); - } else if (!g.this.f1048x) { + } else if (!g.this.f1080x) { Status p = p(connectionResult); d.s(g.this.w); i(p, null, false); @@ -299,7 +299,7 @@ public class g implements Handler.Callback { 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); @@ -352,14 +352,14 @@ public class g implements Handler.Callback { o(sVar); return true; } - String name = this.f1049c.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.f1048x || !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; } @@ -396,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); @@ -414,14 +414,14 @@ 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.f1049c.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.f1041c; + 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 @@ -439,7 +439,7 @@ public class g implements Handler.Callback { int a = gVar.p.a(gVar.n, this.b); if (a != 0) { ConnectionResult connectionResult = new ConnectionResult(a, null); - String name = this.f1049c.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 "); @@ -461,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.f1051c.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.f1051c.post(new f0(g0Var)); + g0Var.f1083c.post(new f0(g0Var)); } else { g0Var.g.p(); } @@ -503,11 +503,11 @@ public class g implements Handler.Callback { } else { try { m mVar = next.a; - a.b bVar = this.f1049c; + 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.f1223c, 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."); @@ -561,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 f1050c = null; + public c.i.a.f.e.k.g f1082c = null; @Nullable public Set d = null; public boolean e = false; @@ -578,13 +578,13 @@ public class g implements Handler.Callback { @WorkerThread public final void b(ConnectionResult connectionResult) { - a aVar = g.this.f1047s.get(this.b); + a aVar = g.this.f1079s.get(this.b); if (aVar != null) { d.s(g.this.w); a.f fVar = aVar.b; - String name = aVar.f1049c.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); } } @@ -603,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; } } @@ -626,22 +626,22 @@ public class g implements Handler.Callback { boolean z2 = true; this.q = new AtomicInteger(1); this.r = new AtomicInteger(0); - this.f1047s = new ConcurrentHashMap(5, 0.75f, 1); + this.f1079s = new ConcurrentHashMap(5, 0.75f, 1); this.t = null; this.u = new ArraySet(); this.v = new ArraySet(); - this.f1048x = 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.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.f1048x = false; + if (d.f.booleanValue()) { + this.f1080x = false; } cVar.sendMessage(cVar.obtainMessage(6)); } @@ -654,7 +654,7 @@ public class g implements Handler.Callback { handlerThread.start(); Looper looper = handlerThread.getLooper(); Context applicationContext = context.getApplicationContext(); - Object obj = GoogleApiAvailability.f2367c; + Object obj = GoogleApiAvailability.f2381c; l = new g(applicationContext, looper, GoogleApiAvailability.d); } gVar = l; @@ -677,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); @@ -699,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.f1047s.get(bVar2); + a aVar = this.f1079s.get(bVar2); if (aVar == null) { aVar = new a<>(bVar); - this.f1047s.put(bVar2, aVar); + this.f1079s.put(bVar2, aVar); } if (aVar.s()) { this.v.add(bVar2); @@ -726,7 +726,7 @@ public class g implements Handler.Callback { } this.m = j2; this.w.removeMessages(12); - for (b bVar : this.f1047s.keySet()) { + for (b bVar : this.f1079s.keySet()) { Handler handler = this.w; handler.sendMessageDelayed(handler.obtainMessage(12, bVar), this.m); } @@ -735,7 +735,7 @@ public class g implements Handler.Callback { Objects.requireNonNull((r0) message.obj); throw null; case 3: - for (a aVar2 : this.f1047s.values()) { + for (a aVar2 : this.f1079s.values()) { aVar2.q(); aVar2.r(); } @@ -744,9 +744,9 @@ public class g implements Handler.Callback { case 8: case 13: c0 c0Var = (c0) message.obj; - a aVar3 = this.f1047s.get(c0Var.f1045c.d); + a aVar3 = this.f1079s.get(c0Var.f1077c.d); if (aVar3 == null) { - aVar3 = d(c0Var.f1045c); + aVar3 = d(c0Var.f1077c); } if (!aVar3.s() || this.r.get() == c0Var.b) { aVar3.j(c0Var.a); @@ -756,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.f1047s.values().iterator(); + Iterator> it = this.f1079s.values().iterator(); while (true) { if (it.hasNext()) { aVar = it.next(); @@ -774,9 +775,9 @@ 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)); + 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; @@ -814,8 +815,8 @@ public class g implements Handler.Callback { d((c.i.a.f.e.h.b) message.obj); break; case 9: - if (this.f1047s.containsKey(message.obj)) { - a aVar4 = this.f1047s.get(message.obj); + if (this.f1079s.containsKey(message.obj)) { + a aVar4 = this.f1079s.get(message.obj); d.s(g.this.w); if (aVar4.j) { aVar4.r(); @@ -825,7 +826,7 @@ public class g implements Handler.Callback { break; case 10: for (b bVar2 : this.v) { - a remove = this.f1047s.remove(bVar2); + a remove = this.f1079s.remove(bVar2); if (remove != null) { remove.b(); } @@ -833,8 +834,8 @@ public class g implements Handler.Callback { this.v.clear(); break; case 11: - if (this.f1047s.containsKey(message.obj)) { - a aVar5 = this.f1047s.get(message.obj); + if (this.f1079s.containsKey(message.obj)) { + a aVar5 = this.f1079s.get(message.obj); d.s(g.this.w); if (aVar5.j) { aVar5.v(); @@ -848,22 +849,22 @@ public class g implements Handler.Callback { } break; case 12: - if (this.f1047s.containsKey(message.obj)) { - this.f1047s.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.f1047s.containsKey(null)) { + if (!this.f1079s.containsKey(null)) { throw null; } - this.f1047s.get(null).k(false); + this.f1079s.get(null).k(false); throw null; case 15: c cVar2 = (c) message.obj; - if (this.f1047s.containsKey(cVar2.a)) { - a aVar6 = this.f1047s.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(); @@ -877,8 +878,8 @@ public class g implements Handler.Callback { break; case 16: c cVar3 = (c) message.obj; - if (this.f1047s.containsKey(cVar3.a)) { - a aVar7 = this.f1047s.get(cVar3.a); + if (this.f1079s.containsKey(cVar3.a)) { + a aVar7 = this.f1079s.get(cVar3.a); if (aVar7.k.remove(cVar3)) { g.this.w.removeMessages(15, cVar3); g.this.w.removeMessages(16, cVar3); @@ -891,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++; } } @@ -913,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 f5bfdd9c3d..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.f1227c; + 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 f1051c; - 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.f1051c = 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 537c67a3bc..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 f1052c; + 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.f1068c; + 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.f1052c = null; + this.f1084c = null; return; } - this.f1052c = 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 139e33d855..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.f1050c = 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 57af90d520..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 f1053c; + 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.f1053c = 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 17e9d5a497..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 f1054c; + 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.f1054c = 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.f1054c.a); + 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 54cb185b6e..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 f1055c; + public final d0 f1087c; public n0(d0 d0Var, TaskCompletionSource taskCompletionSource) { super(3, taskCompletionSource); - this.f1055c = 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.f1055c.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.f1055c.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.f1055c.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.f1223c, taskCompletionSource)); - k.a aVar2 = this.f1055c.a.a.f1053c; + 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.f1055c); + 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 9fa9ced9e1..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 f1056c; + public final k.a f1088c; public p0(k.a aVar, TaskCompletionSource taskCompletionSource) { super(4, taskCompletionSource); - this.f1056c = 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.f1056c); + 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.f1056c); + 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.f1056c); + 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.f1224c, taskCompletionSource)); + xVar.b.a((f) fVar, i.j(xVar.f1256c, taskCompletionSource)); k kVar = remove.a.a; kVar.b = null; - kVar.f1053c = 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 96936b1b23..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 f1057c; + public final TaskCompletionSource f1089c; public final n d; public q0(int i, p pVar, TaskCompletionSource taskCompletionSource, n nVar) { super(i); - this.f1057c = 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.f1057c.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.f1057c); + this.b.c(aVar.b, this.f1089c); } catch (DeadObjectException e) { throw e; } catch (RemoteException e2) { - this.f1057c.a(this.d.a(s.a(e2))); + this.f1089c.a(this.d.a(s.a(e2))); } catch (RuntimeException e3) { - this.f1057c.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.f1057c; + 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.f1057c.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/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 1232b80e7c..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.f1049c.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 82882ff84d..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.f1047s.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.f1050c) != 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 57fe040eb8..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 f1058c; + public j0 f1090c; public final Context d; public final e e; public final c.i.a.f.e.c f; @@ -63,12 +63,12 @@ public abstract class b { @Nullable public final a p; @Nullable - public final AbstractC0108b q; + public final AbstractC0107b q; public final int r; @Nullable /* renamed from: s reason: collision with root package name */ - public final String f1059s; + public final String f1091s; @Nullable public ConnectionResult t = null; public boolean u = false; @@ -86,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); } @@ -102,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); } @@ -367,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); } @@ -383,7 +383,7 @@ 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 r = b.this.r(this.g); @@ -427,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"); @@ -439,7 +439,7 @@ public abstract class b { this.r = i2; this.p = aVar; this.q = bVar; - this.f1059s = str; + this.f1091s = str; } public static void D(b bVar) { @@ -489,13 +489,13 @@ public abstract class b { } public final String B() { - String str = this.f1059s; + 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; @@ -503,18 +503,18 @@ public abstract class b { i iVar = this.n; if (iVar != null) { e eVar = this.e; - String str = this.f1058c.a; + String str = this.f1090c.a; Objects.requireNonNull(str, "null reference"); - Objects.requireNonNull(this.f1058c); + Objects.requireNonNull(this.f1090c); String B = B(); - Objects.requireNonNull(this.f1058c); + 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.f1058c) == 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 "); @@ -523,11 +523,11 @@ public abstract class b { sb.append("com.google.android.gms"); Log.e("GmsClient", sb.toString()); e eVar2 = this.e; - String str3 = this.f1058c.a; + String str3 = this.f1090c.a; Objects.requireNonNull(str3, "null reference"); - Objects.requireNonNull(this.f1058c); + Objects.requireNonNull(this.f1090c); String B2 = B(); - Objects.requireNonNull(this.f1058c); + Objects.requireNonNull(this.f1090c); Objects.requireNonNull(eVar2); eVar2.c(new e.a(str3, "com.google.android.gms", 4225, false), iVar2, B2); this.w.incrementAndGet(); @@ -536,14 +536,14 @@ public abstract class b { this.n = iVar3; String y2 = y(); Object obj = e.a; - this.f1058c = 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.f1058c); + Objects.requireNonNull(this.f1090c); String B3 = B(); - Objects.requireNonNull(this.f1058c); + Objects.requireNonNull(this.f1090c); if (!eVar3.b(new e.a(y2, "com.google.android.gms", 4225, false), iVar3, B3)) { - String str4 = this.f1058c.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); @@ -628,7 +628,7 @@ public abstract class b { @RecentlyNonNull public String f() { j0 j0Var; - if (!j() || (j0Var = this.f1058c) == null) { + if (!j() || (j0Var = this.f1090c) == null) { throw new RuntimeException("Failed to connect when checking package"); } Objects.requireNonNull(j0Var); 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 f1061c; + 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 f1062c; + public String f1094c; public String d; public final c a() { - return new c(this.a, this.b, null, 0, null, this.f1062c, 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.f1061c = 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 69e9520137..e6a93bc63d 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 f1063x; + public final c f1095x; /* renamed from: y reason: collision with root package name */ - public final Set f1064y; + public final Set f1096y; @Nullable /* renamed from: z reason: collision with root package name */ - public final Account f1065z; + 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.f2367c; + Object obj = GoogleApiAvailability.f2381c; GoogleApiAvailability googleApiAvailability = GoogleApiAvailability.d; Objects.requireNonNull(fVar, "null reference"); Objects.requireNonNull(lVar, "null reference"); - this.f1063x = cVar; - this.f1065z = cVar.a; - Set set = cVar.f1061c; + 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.f1064y = set; + this.f1096y = set; } @Override // c.i.a.f.e.h.a.f @NonNull public Set a() { - return o() ? this.f1064y : Collections.emptySet(); + return o() ? this.f1096y : Collections.emptySet(); } @Override // c.i.a.f.e.k.b @Nullable public final Account s() { - return this.f1065z; + return this.f1097z; } @Override // c.i.a.f.e.k.b public final Set v() { - return this.f1064y; + 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 2a34bae43e..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 f1066c; + 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.f1066c = 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.f1066c, aVar.f1066c) && 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.f1066c, 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 f412c6ec72..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 f1067c = 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.f1067c) { - g0 g0Var = this.f1067c.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.f1067c.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.f1067c) { - g0 g0Var = this.f1067c.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 59a529f9be..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.f1067c) { + synchronized (this.i.f1099c) { e.a aVar = (e.a) message.obj; - g0 g0Var = this.i.f1067c.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.f1067c.remove(aVar); + this.i.f1099c.remove(aVar); } } return true; } else if (i != 1) { return false; } else { - synchronized (this.i.f1067c) { + synchronized (this.i.f1099c) { e.a aVar2 = (e.a) message.obj; - g0 g0Var2 = this.i.f1067c.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.f1066c; + 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 9335213d26..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.f1066c); + 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.f1067c) { + 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.f1067c) { + 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/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/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 bb76682d0e..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 f1068c; + 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) { - f1068c = 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 9ac668c4f1..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 f1069c; + 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.f1069c = 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.f1069c.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 69906da749..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 f1070c; + 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.f1070c = i; + this.f1102c = i; } public void a(@RecentlyNonNull String str, @Nullable Object... objArr) { - if (this.f1070c <= 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 a2ea0c52c5..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 f1071c = 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.f1071c.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.f1071c.get(serviceConnection)); + context.unbindService(this.f1103c.get(serviceConnection)); } catch (IllegalArgumentException | IllegalStateException unused2) { } } finally { - this.f1071c.remove(serviceConnection); + this.f1103c.remove(serviceConnection); } } } @@ -76,7 +76,7 @@ public class a { return false; } if (!(serviceConnection instanceof i0)) { - ServiceConnection putIfAbsent = this.f1071c.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.f1071c.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 5a4ac71e79..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,1877 +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 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.z.d.m; -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 f1072c; - @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) { - return ((bArr[i + 3] & 255) << 24) | (bArr[i] & 255) | ((bArr[i + 1] & 255) << 8) | ((bArr[i + 2] & 255) << 16); - } - - 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, s3 s3Var) { - int i2 = i + 1; - byte b2 = bArr[i]; - if (b2 < 0) { - return w0(b2, bArr, i2, s3Var); - } - s3Var.a = b2; - return i2; - } - - 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 int C0(byte[] bArr, int i, b5 b5Var, s3 s3Var) throws IOException { - x4 x4Var = (x4) b5Var; - int B0 = B0(bArr, i, s3Var); - int i2 = s3Var.a + B0; - while (B0 < i2) { - B0 = B0(bArr, B0, s3Var); - x4Var.g(s3Var.a); - } - if (B0 == i2) { - return B0; - } - throw zzij.a(); - } - - 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 z2 D0(z2 z2Var) { - return ((z2Var instanceof c3) || (z2Var instanceof a3)) ? z2Var : z2Var instanceof Serializable ? new a3(z2Var) : new c3(z2Var); - } - - @NonNull - public static Task E(@NonNull Exception exc) { - b0 b0Var = new b0(); - b0Var.s(exc); - return b0Var; - } - - public static FirebaseAppIndexingException E0(@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 F(TResult tresult) { - b0 b0Var = new b0(); - b0Var.t(tresult); - return b0Var; - } - - public static T F0(@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())); - } - - 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 V G0(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 String H(long j) { - return I(j, null); - } - - public static TResult H0(@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 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(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 final int J(c.p.a.b bVar, @DimenRes int i) { - m.checkNotNullParameter(bVar, "$this$getDimenPixelSize"); - return bVar.getResources().getDimensionPixelSize(i); - } - - public static String J0(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(); - } - - @NullableDecl - public static T K(Iterable iterable, @NullableDecl T t) { - y0 y0Var = new y0((h.a) iterable); - return y0Var.hasNext() ? (T) y0Var.next() : t; - } - - public static final String K0(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(); - } - - 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)); - } - - @Nullable - public static String L0(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 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; - } - } - - @WorkerThread - public static Set M0(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 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, byte b5, char[] cArr, int i) throws zzij { - if (!i1(b3)) { - if ((((b3 + 112) + (b2 << 28)) >> 30) == 0 && !i1(b4) && !i1(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 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, byte b4, char[] cArr, int i) throws zzij { - if (i1(b3) || ((b2 == -32 && b3 < -96) || ((b2 == -19 && b3 >= -96) || i1(b4)))) { - throw zzij.e(); - } - cArr[i] = (char) (((b2 & 15) << 12) | ((b3 & 63) << 6) | (b4 & 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(byte b2, byte b3, char[] cArr, int i) throws zzij { - if (b2 < -62 || i1(b3)) { - throw zzij.e(); - } - cArr[i] = (char) (((b2 & 31) << 6) | (b3 & 63)); - } - - public static int Q(long j) { - return (int) (j ^ (j >>> 32)); - } - - public static void Q0(@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 class c implements b { + public static final c a = new c(); @RecentlyNonNull - public static boolean R() { - return Build.VERSION.SDK_INT >= 26; - } - - /* 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 R0(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)) { - V0(sb, i, K0(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())) { - V0(sb, i, K0(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) { - V0(sb, i, K0(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++) { - V0(sb, i, String.valueOf(c7Var.f1097c[i2] >>> 3), c7Var.d[i2]); - } - } - } - - @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; - } - } - - public static void S0(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 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(); - } - } - - @WorkerThread - public static void T0(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 M0 = M0(sQLiteDatabase, str); - String[] split = str3.split(","); - for (String str4 : split) { - if (!((HashSet) M0).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) M0).remove(strArr[i])) { - sQLiteDatabase.execSQL(strArr[i + 1]); - } - } - } - if (!((HashSet) M0).isEmpty()) { - q3Var.i.c("Table has extra columns. table, columns", str, TextUtils.join(", ", M0)); - } - } 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 - @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 void U0(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(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 final void V0(StringBuilder sb, int i, String str, Object obj) { - if (obj instanceof List) { - for (Object obj2 : (List) obj) { - V0(sb, i, str, obj2); - } - } else if (obj instanceof Map) { - for (Map.Entry entry : ((Map) obj).entrySet()) { - V0(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(J0(new z3(((String) obj).getBytes(w4.a)))); - sb.append('\"'); - } else if (obj instanceof t3) { - sb.append(": \""); - sb.append(J0((t3) obj)); - sb.append('\"'); - } else if (obj instanceof u4) { - sb.append(" {"); - R0((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; - V0(sb, i4, "key", entry2.getKey()); - V0(sb, i4, "value", entry2.getValue()); - sb.append("\n"); - while (i2 < i) { - sb.append(' '); - i2++; - } - sb.append("}"); - } else { - sb.append(": "); - sb.append(obj.toString()); - } - } - } - - 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(byte b2) { - return b2 >= 0; - } - - public static final float[] X(float[] fArr) { - m.checkNotNullParameter(fArr, "matrix"); - return (float[]) fArr.clone(); - } - - public static boolean X0(@NullableDecl Object obj, @NullableDecl Object obj2) { - if (obj != obj2) { - return obj != null && obj.equals(obj2); - } - return true; - } - - @NonNull - public static c.o.a.x.c Y(int i) { - return q0(new C0111c(i)); - } - - public static String Y0(String str, Object... objArr) { - int length; - int length2; - int indexOf; - String str2; - int i = 0; - int i2 = 0; - while (true) { - length = objArr.length; - if (i2 >= length) { - break; - } - Object obj = objArr[i2]; - if (obj == null) { - str2 = "null"; - } else { - try { - str2 = obj.toString(); - } catch (Exception e2) { - String name = obj.getClass().getName(); - String hexString = Integer.toHexString(System.identityHashCode(obj)); - StringBuilder sb = new StringBuilder(name.length() + 1 + String.valueOf(hexString).length()); - sb.append(name); - sb.append(MentionUtilsKt.MENTIONS_CHAR); - sb.append(hexString); - String sb2 = sb.toString(); - Logger logger = Logger.getLogger("com.google.common.base.Strings"); - Level level = Level.WARNING; - String valueOf = String.valueOf(sb2); - logger.logp(level, "com.google.common.base.Strings", "lenientToString", valueOf.length() != 0 ? "Exception during lenientFormat for ".concat(valueOf) : new String("Exception during lenientFormat for "), (Throwable) e2); - String name2 = e2.getClass().getName(); - StringBuilder sb3 = new StringBuilder(String.valueOf(sb2).length() + 9 + name2.length()); - c.d.b.a.a.n0(sb3, "<", sb2, " threw ", name2); - sb3.append(">"); - str2 = sb3.toString(); - } - } - objArr[i2] = str2; - i2++; - } - StringBuilder sb4 = new StringBuilder((length * 16) + str.length()); - int i3 = 0; - while (true) { - length2 = objArr.length; - if (i >= length2 || (indexOf = str.indexOf("%s", i3)) == -1) { - break; - } - sb4.append((CharSequence) str, i3, indexOf); - sb4.append(objArr[i]); - i3 = indexOf + 2; - i++; - } - sb4.append((CharSequence) str, i3, str.length()); - if (i < length2) { - sb4.append(" ["); - sb4.append(objArr[i]); - for (int i4 = i + 1; i4 < objArr.length; i4++) { - sb4.append(", "); - sb4.append(objArr[i4]); - } - sb4.append(']'); - } - return sb4.toString(); - } - - @NonNull - public static c.o.a.x.c Z(int i) { - return q0(new a(i)); - } - - public static boolean Z0(Object obj, Object obj2) { - return obj == obj2 || (obj != null && obj.equals(obj2)); - } - - /* 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) { - 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 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 long b1(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 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) H0(task); - } - c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); - U0(task, iVar); - iVar.a.await(); - return (TResult) H0(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 void c1(boolean z2, @NullableDecl Object obj) { - if (!z2) { - throw new IllegalStateException(String.valueOf(obj)); - } - } - - 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) H0(task); - } - c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); - U0(task, iVar); - if (iVar.a.await(j, timeUnit)) { - return (TResult) H0(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 int d1(byte[] bArr, int i, s3 s3Var) throws zzij { - int B0 = B0(bArr, i, s3Var); - int i2 = s3Var.a; - if (i2 < 0) { - throw zzij.b(); - } else if (i2 == 0) { - s3Var.f1136c = ""; - return B0; - } else { - s3Var.f1136c = new String(bArr, B0, i2, w4.a); - return B0 + i2; - } - } - - 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 void e1(int i, int i2, int i3) { - if (i < 0 || i2 < i || i2 > i3) { - throw new IndexOutOfBoundsException((i < 0 || i > i3) ? g1(i, i3, "start index") : (i2 < 0 || i2 > i3) ? g1(i2, i3, "end index") : Y0("end index (%s) must not be less than start index (%s)", Integer.valueOf(i2), Integer.valueOf(i))); - } - } - - 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; - } - - public static int f1(byte[] bArr, int i, s3 s3Var) throws zzij { - int B0 = B0(bArr, i, s3Var); - int i2 = s3Var.a; - if (i2 < 0) { - throw zzij.b(); - } else if (i2 == 0) { - s3Var.f1136c = ""; - return B0; - } else { - s3Var.f1136c = k7.a.c(bArr, B0, i2); - return B0 + i2; - } - } - - @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 String g1(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.f(26, "negative size: ", i2)); - } - - 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 int h1(byte[] bArr, int i, s3 s3Var) throws zzij { - int B0 = B0(bArr, i, s3Var); - int i2 = s3Var.a; - if (i2 < 0) { - throw zzij.b(); - } else if (i2 > bArr.length - B0) { - throw zzij.a(); - } else if (i2 == 0) { - s3Var.f1136c = t3.i; - return B0; - } else { - s3Var.f1136c = t3.h(bArr, B0, i2); - return B0 + i2; - } - } - - 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 boolean i1(byte b2) { - return b2 > -65; - } - - 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()); - } - - public static int j1(String str) { - if (Log.isLoggable("FirebaseAppIndex", 3) ? true : Log.isLoggable("FirebaseAppIndex", 3)) { - return Log.d("FirebaseAppIndex", str); - } - return 0; - } - - @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()) { - U0((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, int i2, @NullableDecl String str) { - String str2; - if (i >= 0 && i < i2) { - return i; - } - if (i < 0) { - str2 = Y0("%s (%s) must not be negative", "index", Integer.valueOf(i)); - } else if (i2 < 0) { - throw new IllegalArgumentException(c.d.b.a.a.f(26, "negative size: ", i2)); - } else { - str2 = Y0("%s (%s) must be less than size (%s)", "index", Integer.valueOf(i), Integer.valueOf(i2)); - } - throw new IndexOutOfBoundsException(str2); - } - - 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, s3 s3Var) throws zzij { - if ((i >>> 3) != 0) { - int i4 = i & 7; - if (i4 == 0) { - return a1(bArr, i2, s3Var); - } - if (i4 == 1) { - return i2 + 8; - } - if (i4 == 2) { - return B0(bArr, i2, s3Var) + s3Var.a; - } - if (i4 == 3) { - int i5 = (i & -8) | 4; - int i6 = 0; - while (i2 < i3) { - i2 = B0(bArr, i2, s3Var); - i6 = s3Var.a; - if (i6 == i5) { - break; - } - i2 = t0(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 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, b5 b5Var, s3 s3Var) { - x4 x4Var = (x4) b5Var; - int B0 = B0(bArr, i2, s3Var); - x4Var.g(s3Var.a); - while (B0 < i3) { - int B02 = B0(bArr, B0, s3Var); - if (i != s3Var.a) { - break; - } - B0 = B0(bArr, B02, s3Var); - x4Var.g(s3Var.a); - } - return B0; - } - - @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, int i3, c7 c7Var, s3 s3Var) throws zzij { - if ((i >>> 3) != 0) { - int i4 = i & 7; - if (i4 == 0) { - int a1 = a1(bArr, i2, s3Var); - c7Var.a(i, Long.valueOf(s3Var.b)); - return a1; - } else if (i4 == 1) { - c7Var.a(i, Long.valueOf(b1(bArr, i2))); - return i2 + 8; - } else if (i4 == 2) { - int B0 = B0(bArr, i2, s3Var); - int i5 = s3Var.a; - if (i5 < 0) { - throw zzij.b(); - } else if (i5 <= bArr.length - B0) { - if (i5 == 0) { - c7Var.a(i, t3.i); - } else { - c7Var.a(i, t3.h(bArr, B0, i5)); - } - return B0 + 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 B02 = B0(bArr, i2, s3Var); - int i8 = s3Var.a; - if (i8 == i6) { - i7 = i8; - i2 = B02; - break; - } - i7 = i8; - i2 = v0(i8, bArr, B02, 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(A0(bArr, i2))); - return i2 + 4; - } else { - throw zzij.c(); - } - } else { - throw zzij.c(); - } - } - - 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(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 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, int i, byte[] bArr, int i2, int i3, b5 b5Var, s3 s3Var) throws IOException { - int z0 = z0(q6Var, bArr, i2, i3, s3Var); - b5Var.add(s3Var.f1136c); - while (z0 < i3) { - int B0 = B0(bArr, z0, s3Var); - if (i != s3Var.a) { - break; - } - z0 = z0(q6Var, bArr, B0, i3, s3Var); - b5Var.add(s3Var.f1136c); - } - return z0; - } - - 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, 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.f1136c = b2; - return m; - } - - 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(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 = w0(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.f1136c = a2; - return i4; + 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..f566063852 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,2916 @@ 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 T A1(@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())); + } + + 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 V B1(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 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 TResult C1(@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 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(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 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; + } } - 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); + 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 String E1(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(); + } + + @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); + } + + public static final String F1(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(); + } + + 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); + } + + @Nullable + public static String G1(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; + } + + /* 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; + } + + @WorkerThread + public static Set H1(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(); + } + } + + 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, byte b5, char[] cArr, int i) throws zzij { + if (!d2(b3)) { + if ((((b3 + 112) + (b2 << 28)) >> 30) == 0 && !d2(b4) && !d2(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 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, byte b4, char[] cArr, int i) throws zzij { + if (d2(b3) || ((b2 == -32 && b3 < -96) || ((b2 == -19 && b3 >= -96) || d2(b4)))) { + throw zzij.e(); + } + cArr[i] = (char) (((b2 & 15) << 12) | ((b3 & 63) << 6) | (b4 & 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(byte b2, byte b3, char[] cArr, int i) throws zzij { + if (b2 < -62 || d2(b3)) { + throw zzij.e(); + } + cArr[i] = (char) (((b2 & 31) << 6) | (b3 & 63)); + } + + 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); + } + } + + public static void L1(@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 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)); + } + + /* 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 M1(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)) { + Q1(sb, i, F1(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())) { + Q1(sb, i, F1(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) { + Q1(sb, i, F1(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++) { + Q1(sb, i, String.valueOf(c7Var.f1129c[i2] >>> 3), c7Var.d[i2]); + } + } + } + + 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; + } + + public static void N1(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 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); + } + + @WorkerThread + public static void O1(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 H1 = H1(sQLiteDatabase, str); + String[] split = str3.split(","); + for (String str4 : split) { + if (!((HashSet) H1).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) H1).remove(strArr[i])) { + sQLiteDatabase.execSQL(strArr[i + 1]); + } + } + } + if (!((HashSet) H1).isEmpty()) { + q3Var.i.c("Table has extra columns. table, columns", str, TextUtils.join(", ", H1)); + } + } 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 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 void P1(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); + } + + @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 final void Q1(StringBuilder sb, int i, String str, Object obj) { + if (obj instanceof List) { + for (Object obj2 : (List) obj) { + Q1(sb, i, str, obj2); + } + } else if (obj instanceof Map) { + for (Map.Entry entry : ((Map) obj).entrySet()) { + Q1(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(E1(new z3(((String) obj).getBytes(w4.a)))); + sb.append('\"'); + } else if (obj instanceof t3) { + sb.append(": \""); + sb.append(E1((t3) obj)); + sb.append('\"'); + } else if (obj instanceof u4) { + sb.append(" {"); + M1((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; + Q1(sb, i4, "key", entry2.getKey()); + Q1(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 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(byte b2) { + return b2 >= 0; + } + + 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 boolean S1(@NullableDecl Object obj, @NullableDecl Object obj2) { + if (obj != obj2) { + return obj != null && obj.equals(obj2); + } + return true; + } + + 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 String T1(String str, Object... objArr) { + int length; + int length2; + int indexOf; + String str2; + int i = 0; + int i2 = 0; + while (true) { + length = objArr.length; + if (i2 >= length) { + break; + } + Object obj = objArr[i2]; + if (obj == null) { + str2 = "null"; + } else { + try { + str2 = obj.toString(); + } catch (Exception e2) { + String name = obj.getClass().getName(); + String hexString = Integer.toHexString(System.identityHashCode(obj)); + StringBuilder sb = new StringBuilder(name.length() + 1 + String.valueOf(hexString).length()); + sb.append(name); + sb.append(MentionUtilsKt.MENTIONS_CHAR); + sb.append(hexString); + String sb2 = sb.toString(); + Logger logger = Logger.getLogger("com.google.common.base.Strings"); + Level level = Level.WARNING; + String valueOf = String.valueOf(sb2); + logger.logp(level, "com.google.common.base.Strings", "lenientToString", valueOf.length() != 0 ? "Exception during lenientFormat for ".concat(valueOf) : new String("Exception during lenientFormat for "), (Throwable) e2); + String name2 = e2.getClass().getName(); + StringBuilder sb3 = new StringBuilder(String.valueOf(sb2).length() + 9 + name2.length()); + c.d.b.a.a.o0(sb3, "<", sb2, " threw ", name2); + sb3.append(">"); + str2 = sb3.toString(); + } + } + objArr[i2] = str2; + i2++; + } + StringBuilder sb4 = new StringBuilder((length * 16) + str.length()); + int i3 = 0; + while (true) { + length2 = objArr.length; + if (i >= length2 || (indexOf = str.indexOf("%s", i3)) == -1) { + break; + } + sb4.append((CharSequence) str, i3, indexOf); + sb4.append(objArr[i]); + i3 = indexOf + 2; + i++; + } + sb4.append((CharSequence) str, i3, str.length()); + if (i < length2) { + sb4.append(" ["); + sb4.append(objArr[i]); + for (int i4 = i + 1; i4 < objArr.length; i4++) { + sb4.append(", "); + sb4.append(objArr[i4]); + } + sb4.append(']'); + } + return sb4.toString(); + } + + 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 boolean U1(Object obj, Object obj2) { + return obj == obj2 || (obj != null && obj.equals(obj2)); + } + + 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) { + 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 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 long W1(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 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 void X1(boolean z2, @NullableDecl Object obj) { + if (!z2) { + throw new IllegalStateException(String.valueOf(obj)); + } + } + + 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 int Y1(byte[] bArr, int i, s3 s3Var) throws zzij { + int w1 = w1(bArr, i, s3Var); + int i2 = s3Var.a; + if (i2 < 0) { + throw zzij.b(); + } else if (i2 == 0) { + s3Var.f1168c = ""; + return w1; + } else { + s3Var.f1168c = new String(bArr, w1, i2, w4.a); + return w1 + i2; + } + } + + 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 void Z1(int i, int i2, int i3) { + if (i < 0 || i2 < i || i2 > i3) { + throw new IndexOutOfBoundsException((i < 0 || i > i3) ? b2(i, i3, "start index") : (i2 < 0 || i2 > i3) ? b2(i2, i3, "end index") : T1("end index (%s) must not be less than start index (%s)", Integer.valueOf(i2), Integer.valueOf(i))); + } + } + + 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 int a2(byte[] bArr, int i, s3 s3Var) throws zzij { + int w1 = w1(bArr, i, s3Var); + int i2 = s3Var.a; + if (i2 < 0) { + throw zzij.b(); + } else if (i2 == 0) { + s3Var.f1168c = ""; + return w1; + } else { + s3Var.f1168c = k7.a.c(bArr, w1, i2); + return w1 + i2; + } + } + + 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 String b2(int i, int i2, @NullableDecl String str) { + if (i < 0) { + return T1("%s (%s) must not be negative", str, Integer.valueOf(i)); + } + if (i2 >= 0) { + return T1("%s (%s) must not be greater than size (%s)", str, Integer.valueOf(i), Integer.valueOf(i2)); + } + throw new IllegalArgumentException(c.d.b.a.a.f(26, "negative size: ", i2)); + } + + public static final void c(f0.e0.f.a aVar, f0.e0.f.c cVar, String str) { + d.b bVar = f0.e0.f.d.f2814c; + 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.f2812c); + 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]}); + } + + public static int c2(byte[] bArr, int i, s3 s3Var) throws zzij { + int w1 = w1(bArr, i, s3Var); + int i2 = s3Var.a; + if (i2 < 0) { + throw zzij.b(); + } else if (i2 > bArr.length - w1) { + throw zzij.a(); + } else if (i2 == 0) { + s3Var.f1168c = t3.i; + return w1; + } else { + s3Var.f1168c = t3.h(bArr, w1, i2); + return w1 + i2; + } + } + + @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 boolean d2(byte b2) { + return b2 > -65; + } + + 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 int e2(String str) { + if (Log.isLoggable("FirebaseAppIndex", 3) ? true : Log.isLoggable("FirebaseAppIndex", 3)) { + return Log.d("FirebaseAppIndex", str); + } + return 0; + } + + 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) C1(task); + } + c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); + P1(task, iVar); + iVar.a.await(); + return (TResult) C1(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) C1(task); + } + c.i.a.f.n.i iVar = new c.i.a.f.n.i(null); + P1(task, iVar); + if (iVar.a.await(j, timeUnit)) { + return (TResult) C1(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()) { + P1((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, int i2, @NullableDecl String str) { + String str2; + if (i >= 0 && i < i2) { + return i; + } + if (i < 0) { + str2 = T1("%s (%s) must not be negative", "index", Integer.valueOf(i)); + } else if (i2 < 0) { + throw new IllegalArgumentException(c.d.b.a.a.f(26, "negative size: ", i2)); + } else { + str2 = T1("%s (%s) must be less than size (%s)", "index", Integer.valueOf(i), Integer.valueOf(i2)); + } + throw new IndexOutOfBoundsException(str2); + } + + 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, s3 s3Var) throws zzij { + if ((i >>> 3) != 0) { + int i4 = i & 7; + if (i4 == 0) { + return V1(bArr, i2, s3Var); + } + if (i4 == 1) { + return i2 + 8; + } + if (i4 == 2) { + return w1(bArr, i2, s3Var) + s3Var.a; + } + if (i4 == 3) { + int i5 = (i & -8) | 4; + int i6 = 0; + while (i2 < i3) { + i2 = w1(bArr, i2, s3Var); + i6 = s3Var.a; + if (i6 == i5) { + break; + } + i2 = o1(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 /* 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, b5 b5Var, s3 s3Var) { + x4 x4Var = (x4) b5Var; + int w1 = w1(bArr, i2, s3Var); + x4Var.g(s3Var.a); + while (w1 < i3) { + int w12 = w1(bArr, w1, s3Var); + if (i != s3Var.a) { + break; + } + w1 = w1(bArr, w12, s3Var); + x4Var.g(s3Var.a); + } + return w1; + } + + 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, int i3, c7 c7Var, s3 s3Var) throws zzij { + if ((i >>> 3) != 0) { + int i4 = i & 7; + if (i4 == 0) { + int V1 = V1(bArr, i2, s3Var); + c7Var.a(i, Long.valueOf(s3Var.b)); + return V1; + } else if (i4 == 1) { + c7Var.a(i, Long.valueOf(W1(bArr, i2))); + return i2 + 8; + } else if (i4 == 2) { + int w1 = w1(bArr, i2, s3Var); + int i5 = s3Var.a; + if (i5 < 0) { + throw zzij.b(); + } else if (i5 <= bArr.length - w1) { + if (i5 == 0) { + c7Var.a(i, t3.i); + } else { + c7Var.a(i, t3.h(bArr, w1, i5)); + } + return w1 + 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 w12 = w1(bArr, i2, s3Var); + int i8 = s3Var.a; + if (i8 == i6) { + i7 = i8; + i2 = w12; + break; + } + i7 = i8; + i2 = q1(i8, bArr, w12, 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(v1(bArr, i2))); + return i2 + 4; + } else { + throw zzij.c(); + } + } else { + throw zzij.c(); + } + } + + 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(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; + } + } + + @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, int i, byte[] bArr, int i2, int i3, b5 b5Var, s3 s3Var) throws IOException { + int u1 = u1(q6Var, bArr, i2, i3, s3Var); + b5Var.add(s3Var.f1168c); + while (u1 < i3) { + int w1 = w1(bArr, u1, s3Var); + if (i != s3Var.a) { + break; + } + u1 = u1(q6Var, bArr, w1, i3, s3Var); + b5Var.add(s3Var.f1168c); + } + return u1; + } + + @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, 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; + } + + 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(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 = r1(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; + } + + @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) { + return ((bArr[i + 3] & 255) << 24) | (bArr[i] & 255) | ((bArr[i + 1] & 255) << 8) | ((bArr[i + 2] & 255) << 16); + } + + 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, s3 s3Var) { + int i2 = i + 1; + byte b2 = bArr[i]; + if (b2 < 0) { + return r1(b2, bArr, i2, s3Var); + } + s3Var.a = b2; + return i2; + } + + @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 int x1(byte[] bArr, int i, b5 b5Var, s3 s3Var) throws IOException { + x4 x4Var = (x4) b5Var; + int w1 = w1(bArr, i, s3Var); + int i2 = s3Var.a + w1; + while (w1 < i2) { + w1 = w1(bArr, w1, s3Var); + x4Var.g(s3Var.a); + } + if (w1 == i2) { + return w1; + } + throw zzij.a(); + } + + 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 z2 y1(z2 z2Var) { + return ((z2Var instanceof c3) || (z2Var instanceof a3)) ? z2Var : z2Var instanceof Serializable ? new a3(z2Var) : new c3(z2Var); + } + + 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 FirebaseAppIndexingException z1(@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); + } } } 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 f8df8c3e5a..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 f1073c; + public static final Method f1105c; @Nullable public static final Method d; @@ -45,7 +45,7 @@ public class i { } catch (Exception unused3) { method3 = null; } - f1073c = 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 99ad7ca57b..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 f1074c; + public static Context f1106c; public static a0 a(String str, t tVar, boolean z2, boolean z3) { o0 o0Var; try { if (a == null) { - Objects.requireNonNull(f1074c, "null reference"); + Objects.requireNonNull(f1106c, "null reference"); synchronized (b) { if (a == null) { - IBinder b2 = DynamiteModule.c(f1074c, 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(f1074c, "null reference"); + Objects.requireNonNull(f1106c, "null reference"); try { - return a.r0(new zzj(str, tVar, z2, z3), new b(f1074c.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 0e7a581e2b..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 f1075c = new WeakReference<>(null); - public WeakReference d = f1075c; + public static final WeakReference f1107c = new WeakReference<>(null); + public WeakReference d = f1107c; public v(byte[] bArr) { super(bArr); 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 12738751bf..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[] f1076c; + public final byte[] f1108c; public w(byte[] bArr) { super(Arrays.copyOfRange(bArr, 0, 25)); - this.f1076c = bArr; + this.f1108c = bArr; } @Override // c.i.a.f.e.t public final byte[] g() { - return this.f1076c; + return this.f1108c; } } 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 c7b07377ca..27e9e40a0b 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.C0191a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { - DynamiteModule.a.C0191a aVar = new DynamiteModule.a.C0191a(); + 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.f2371c = -1; + aVar.f2385c = -1; } else { int a = bVar.a(context, str, true); aVar.b = a; if (a != 0) { - aVar.f2371c = 1; + aVar.f2385c = 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 09bdd70f55..7b8949c332 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.C0191a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { - DynamiteModule.a.C0191a aVar = new DynamiteModule.a.C0191a(); + 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.f2371c = 0; + aVar.f2385c = 0; } else if (i >= aVar.b) { - aVar.f2371c = -1; + aVar.f2385c = -1; } else { - aVar.f2371c = 1; + aVar.f2385c = 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 b442643b57..cef59c55fb 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.C0191a a(Context context, String str, DynamiteModule.a.b bVar) throws DynamiteModule.LoadingException { - DynamiteModule.a.C0191a aVar = new DynamiteModule.a.C0191a(); + 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.f2371c = 0; + aVar.f2385c = 0; } else if (a >= i) { - aVar.f2371c = 1; + aVar.f2385c = 1; } else { - aVar.f2371c = -1; + aVar.f2385c = -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 b0a518b9e9..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 @@ -19,7 +19,7 @@ public final class f extends b implements g { 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; } @@ -51,7 +51,7 @@ public final class f extends b implements g { 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; } @@ -88,7 +88,7 @@ public final class f extends b implements g { 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/h.java b/app/src/main/java/c/i/a/f/g/h.java index bb3913ff0b..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,7 +20,7 @@ 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; } @@ -33,7 +33,7 @@ public final class h extends b implements i { 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/h/b/b.java b/app/src/main/java/c/i/a/f/h/b/b.java index 78f479150a..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 f1077c; + 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); - f1077c = feature3; + f1109c = feature3; d = new Feature[]{feature, feature2, feature3}; } } 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/o.java b/app/src/main/java/c/i/a/f/h/c/o.java index 983105c61c..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.f1030c = 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 3038e2ae15..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 @@ -10,17 +10,17 @@ 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/u.java b/app/src/main/java/c/i/a/f/h/c/u.java index c5b33ff4d3..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 @@ -10,17 +10,17 @@ 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 c79906c3bd..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.f1063x; + 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.f1031c) == 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 dc99d567c0..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.f1051c.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 20739e18b6..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 f1078c = 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.f1078c); + 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.f1078c, 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 81b3a94df3..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.f1086c.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.f1087c; + 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 a35883e9ba..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 f1079c = 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 7f4a03f58c..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 f1080c = 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); @@ -29,20 +29,20 @@ public final class e0 { public static f0 r = f0.a("analytics.max_batch_post_length", 8192, 8192); /* renamed from: s reason: collision with root package name */ - public static f0 f1081s = f0.c("analytics.fallback_responses.k", "404,502", "404,502"); + 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); public static f0 w = f0.d("analytics.test.disable_receiver", false, false); /* renamed from: x reason: collision with root package name */ - public static f0 f1082x = 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 f1083y = 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 f1084z = 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 8a0cf6b20f..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 f1085c; + 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.f1085c); + 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 69431a5be8..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 f1086c; + 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.f1086c = 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 9c2d8741de..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.f1087c = 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 d225cceca9..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 f1087c; + 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 c84b711b92..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 { @@ -66,6 +66,6 @@ public final class j extends e { public final void T() { this.n.a(); - this.m.e(e0.f1082x.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 f5aa7f26d0..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 f1088c; + 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.f1088c = 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.f1088c != 0) { - O.append(", dbId="); - O.append(this.f1088c); + 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/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/m.java b/app/src/main/java/c/i/a/f/h/j/m.java index 02741d4215..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 @@ -24,7 +24,7 @@ public final class m implements Runnable { a s2 = jVar.s(); Objects.requireNonNull(s2); f.b(); - s2.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/n0.java b/app/src/main/java/c/i/a/f/h/j/n0.java index 551836d8af..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 f1089c; + 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.f1089c) { + if (this.f1121c) { this.b.c().C("Unregistering connectivity change receiver"); - this.f1089c = 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 2acb9a06d2..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.f1088c)); + 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,12 +310,12 @@ 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++; @@ -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.f1088c)); + 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.f1088c)); + 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 464d4f57c0..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 r = r(); - if (r.d == null) { - synchronized (r) { - if (r.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 = r.b.getPackageManager(); - String packageName = r.b.getPackageName(); - f1Var.f1085c = 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(r.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; - r.d = f1Var; + q.d = f1Var; } } } - f1 f1Var2 = r.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.f1085c)) { - f1Var3.f1085c = f1Var2.f1085c; + 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 d00ed11f8d..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; @@ -30,7 +31,7 @@ public final class r extends e { public final a0 r; /* renamed from: s reason: collision with root package name */ - public final y0 f1090s; + 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.f1090s = new y0(this.i.d); + this.f1122s = new y0(this.i.d); this.q = new s(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.f1088c); + 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.f1090s.b(e0.f1084z.a.longValue())) { - this.f1090s.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.f1083y.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.f1090s.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()).f1088c == 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.f1088c); + j = Math.max(j, j0Var.f1120c); arrayList2.remove(j0Var); d("Hit sent do device AnalyticsService for delivery", j0Var); try { - this.l.W(j0Var.f1088c); - arrayList.add(Long.valueOf(j0Var.f1088c)); + 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,7 +354,7 @@ 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()) { @@ -364,7 +365,7 @@ public final class r extends e { n0 n0Var = this.n; n0Var.b.c(); n0Var.b.e(); - if (!n0Var.f1089c) { + 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.f1089c = true; + n0Var.f1121c = true; } n0 n0Var2 = this.n; - if (!n0Var2.f1089c) { - 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.f1078c); - if (!a0Var2.b().postDelayed(a0Var2.f1078c, 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.f1079c); + 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.f1080c.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 acdc9adbb9..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 f1091c; + public static Boolean f1123c; public static boolean a(Context context) { Objects.requireNonNull(context, "null reference"); - Boolean bool = f1091c; + Boolean bool = f1123c; if (bool != null) { return bool.booleanValue(); } boolean a2 = z0.a(context, "com.google.android.gms.analytics.AnalyticsReceiver", false); - f1091c = Boolean.valueOf(a2); + f1123c = Boolean.valueOf(a2); return a2; } } 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 01506e8661..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 f1092c; + public final T f1124c; public t0(T t) { - this.f1092c = 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.f1228c.isHeld()) { + if (aVar != null && aVar.f1260c.isHeld()) { aVar.b(); } } } catch (SecurityException unused) { } - m0 c2 = g.b(this.f1092c).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.f1092c).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 42cc76ccfb..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 w = rVar.w(); - Objects.requireNonNull(w); + p0 u = rVar.u(); + Objects.requireNonNull(u); f.b(); - w.N(); - if (w.l == 0) { - long j = w.k.getLong("first_run", 0); + u.N(); + if (u.l == 0) { + long j = u.k.getLong("first_run", 0); if (j != 0) { - w.l = j; + u.l = j; } else { - Objects.requireNonNull((d) w.i.d); + Objects.requireNonNull((c) u.i.d); long currentTimeMillis = System.currentTimeMillis(); - SharedPreferences.Editor edit = w.k.edit(); + SharedPreferences.Editor edit = u.k.edit(); edit.putLong("first_run", currentTimeMillis); if (!edit.commit()) { - w.G("Failed to commit first run time"); + u.D("Failed to commit first run time"); } - w.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 6bb5c1f452..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.f1092c.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 a0b4692d73..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.f1092c.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 77101c16ee..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 f1093c; + 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.f1081s.a; - if (this.d == null || (str = this.f1093c) == 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.f1093c = str2; + this.f1125c = str2; this.d = hashSet; } return this.d; 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 862230c486..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 f1094c; + public static final a f1126c; static { a.g gVar = new a.g<>(); a = gVar; j jVar = new j(); b = jVar; - f1094c = 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 35af85a120..d94038f6be 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.D0(new b3(new c9())); + public final z2 j = f.y1(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/b3.java b/app/src/main/java/c/i/a/f/h/l/b3.java index 80dba2351c..6c3429383c 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.X0(this.zza, ((b3) obj).zza); + return f.S1(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 af167670ce..f36e73075f 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.D0(new b3(new d8())); + public final z2 j = f.y1(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 553dcd0673..aef1f86892 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.D0(new b3(new db())); + public final z2 j = f.y1(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/c0.java b/app/src/main/java/c/i/a/f/h/l/c0.java index 8cd05fda48..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 @@ -13,12 +13,12 @@ public final class c0 extends g.a { public final /* synthetic */ boolean r; /* renamed from: s reason: collision with root package name */ - public final /* synthetic */ g f1095s; + 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.f1095s = gVar; + this.f1127s = gVar; this.m = l; this.n = str; this.o = str2; @@ -30,6 +30,6 @@ public final class c0 extends g.a { @Override // c.i.a.f.h.l.g.a public final void a() throws RemoteException { Long l = this.m; - this.f1095s.j.logEvent(this.n, this.o, this.p, this.q, this.r, 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 863721e067..fe96c82c45 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 f1096c; + public final ContentObserver f1128c; public c2() { this.b = null; - this.f1096c = null; + this.f1128c = null; } public c2(Context context) { this.b = context; f2 f2Var = new f2(); - this.f1096c = 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.G0(new g2(this, str)); + return (String) f.B1(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 f23b53bfcd..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[] f1097c; + 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.f1097c = 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.f1097c; + int[] iArr = this.f1129c; if (i2 == iArr.length) { int i3 = i2 + (i2 < 4 ? 8 : i2 >> 1); - this.f1097c = Arrays.copyOf(iArr, i3); + this.f1129c = Arrays.copyOf(iArr, i3); this.d = Arrays.copyOf(this.d, i3); } - int[] iArr2 = this.f1097c; + 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.f1097c[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.f1097c[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.f1097c; - int[] iArr2 = c7Var.f1097c; + 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.f1097c; + 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 7fb4486d0c..c90045946b 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.D0(new b3(new e8())); + public final z2 j = f.y1(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 eccb001851..7761245f87 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.D0(new b3(new eb())); + public final z2 j = f.y1(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/d5.java b/app/src/main/java/c/i/a/f/h/l/d5.java index eec9ca8306..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 f1098c = 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 c8906eaba7..3bfcd8c82b 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.D0(new b3(new fa())); + public final z2 j = f.y1(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/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 434d14d238..a6e09d56b1 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[] f1100c; + 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.f1100c = 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.f1125c; + 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.f1100c[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.f1100c[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.f1100c.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.f1100c; + 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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[i], (List) unsafe.getObject(t, j), v7Var); + s6.f(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var); break; case 27: - s6.g(this.f1100c[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.f1100c[i], (List) unsafe.getObject(t, j), v7Var); + s6.o(this.f1132c[i], (List) unsafe.getObject(t, j), v7Var); break; case 29: - s6.M(this.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c.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.f1100c; + int[] iArr = this.f1132c; int i2 = iArr[i + 1]; int i3 = iArr[i]; long j = (long) (i2 & 1048575); @@ -1023,11 +1023,11 @@ public final class e6 implements q6 { } public final int I(int i) { - return this.f1100c[i + 1]; + return this.f1132c[i + 1]; } public final int K(int i) { - return this.f1100c[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.f1100c.length; + int length = this.f1132c.length; int i3 = 0; for (int i4 = 0; i4 < length; i4 += 3) { int I = I(i4); - int i5 = this.f1100c[i4]; + int i5 = this.f1132c[i4]; long j = (long) (1048575 & I); int i6 = 37; switch ((I & 267386880) >>> 20) { @@ -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.f1100c[i6]; + int i7 = this.f1132c[i6]; int I = I(i6); - int i8 = this.f1100c[i6 + 2]; + int i8 = this.f1132c[i6 + 2]; int i9 = i8 & 1048575; int i10 = 1 << (i8 >>> 20); if (i9 != i3) { @@ -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.f1100c.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.f1100c[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.f1100c[i11 + 2]; + int i14 = this.f1132c[i11 + 2]; } switch (i12) { case 0: @@ -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.f1100c.length; i18 += 3) { + for (int i18 = 0; i18 < this.f1132c.length; i18 += 3) { int I2 = I(i18); - int[] iArr = this.f1100c; + 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.f1100c.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.f1100c.length; + length = this.f1132c.length; for (i = 0; i < length; i += 3) { int I = I(i); - int i2 = this.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c[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.f1100c.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.w0(b3, bArr3, i25, s3Var7); + i3 = f.r1(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.f1100c; + 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.b1(bArr3, i3))); + j7.d(t7, j, Double.longBitsToDouble(f.W1(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.A0(bArr3, i3))); + j7.e.d(t3, j, Float.intBitsToFloat(f.v1(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.a1(bArr3, i3, s3Var3); + i20 = f.V1(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.B0(bArr3, i3, s3Var3); + i20 = f.w1(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.b1(bArr3, i3)); + unsafe2.putLong(t, j, f.W1(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.A0(bArr3, i3)); + unsafe2.putInt(t5, j, f.v1(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.a1(bArr3, i3, s3Var5); + i20 = f.V1(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.d1(bArr3, i3, s3Var4) : c.f1(bArr3, i3, s3Var4); - unsafe2.putObject(t4, j, s3Var4.f1136c); + i20 = (536870912 & i29) == 0 ? f.Y1(bArr3, i3, s3Var4) : f.a2(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.z0(o, bArr3, i3, i2, s3Var4); + i20 = f.u1(o, bArr3, i3, i2, s3Var4); Object object = unsafe2.getObject(t4, j); if (object == null) { - unsafe2.putObject(t4, j, s3Var4.f1136c); + unsafe2.putObject(t4, j, s3Var4.f1168c); } else { - unsafe2.putObject(t4, j, w4.c(object, s3Var4.f1136c)); + 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.h1(bArr3, i3, s3Var6); - unsafe2.putObject(t6, j, s3Var6.f1136c); + i20 = f.c2(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.B0(bArr3, i3, s3Var6); + i20 = f.w1(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.B0(bArr3, i3, s3Var6); + i20 = f.w1(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 a1 = c.a1(bArr3, i3, s3Var7); + int V1 = f.V1(bArr3, i3, s3Var7); i14 = i4; i5 = i26; unsafe2.putLong(t, j, d4.a(s3Var7.b)); i24 |= i32; - i20 = a1; + i20 = V1; t6 = t7; s3Var6 = s3Var7; e6Var4 = e6Var6; @@ -3666,7 +3666,7 @@ public final class e6 implements q6 { } i10 = i4; t2 = t7; - i20 = c.x0(e6Var2.o(i4), b2, bArr, i3, i2, b5Var, s3Var); + i20 = f.s1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.f1100c.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.f1100c[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.f1100c[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.b1(bArr, i)))); + unsafe.putObject(t, j, Double.valueOf(Double.longBitsToDouble(f.W1(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.A0(bArr, i)))); + unsafe.putObject(t, j, Float.valueOf(Float.intBitsToFloat(f.v1(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.a1(bArr, i, s3Var); + i9 = f.V1(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.B0(bArr, i, s3Var); + i9 = f.w1(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.b1(bArr, i))); + unsafe.putObject(t, j, Long.valueOf(f.W1(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.A0(bArr, i))); + unsafe.putObject(t, j, Integer.valueOf(f.v1(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.a1(bArr, i, s3Var); + i9 = f.V1(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 B0 = c.B0(bArr, i, s3Var); + int w1 = f.w1(bArr, i, s3Var); int i10 = s3Var.a; if (i10 == 0) { unsafe.putObject(t, j, ""); - } else if ((i6 & 536870912) == 0 || k7.b(bArr, B0, B0 + i10)) { - unsafe.putObject(t, j, new String(bArr, B0, i10, w4.a)); - B0 += i10; + } else if ((i6 & 536870912) == 0 || k7.b(bArr, w1, w1 + i10)) { + unsafe.putObject(t, j, new String(bArr, w1, i10, w4.a)); + w1 += i10; } else { throw zzij.e(); } unsafe.putInt(t, j2, i4); - return B0; + return w1; } return i; case 60: if (i5 == 2) { - int z0 = c.z0(o(i8), bArr, i, i2, s3Var); + int u1 = f.u1(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.f1136c); + unsafe.putObject(t, j, s3Var.f1168c); } else { - unsafe.putObject(t, j, w4.c(object, s3Var.f1136c)); + unsafe.putObject(t, j, w4.c(object, s3Var.f1168c)); } unsafe.putInt(t, j2, i4); - return z0; + return u1; } return i; case 61: if (i5 == 2) { - i9 = c.h1(bArr, i, s3Var); - unsafe.putObject(t, j, s3Var.f1136c); + i9 = f.c2(bArr, i, s3Var); + unsafe.putObject(t, j, s3Var.f1168c); unsafe.putInt(t, j2, i4); return i9; } return i; case 63: if (i5 == 0) { - int B02 = c.B0(bArr, i, s3Var); + int w12 = f.w1(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 = B02; + i9 = w12; unsafe.putInt(t, j2, i4); return i9; } M(t).a(i3, Long.valueOf((long) i11)); - return B02; + return w12; } return i; case 66: if (i5 == 0) { - i9 = c.B0(bArr, i, s3Var); + i9 = f.w1(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.a1(bArr, i, s3Var); + i9 = f.V1(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.y0(o(i8), bArr, i, i2, (i3 & -8) | 4, s3Var); + i9 = f.t1(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.f1136c); + unsafe.putObject(t, j, s3Var.f1168c); } else { - unsafe.putObject(t, j, w4.c(object2, s3Var.f1136c)); + 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 B0 = c.B0(bArr, i, s3Var); + int w1 = f.w1(bArr, i, s3Var); int i4 = s3Var.a; - if (i4 < 0 || i4 > i2 - B0) { + if (i4 < 0 || i4 > i2 - w1) { throw zzij.a(); } Objects.requireNonNull(g); @@ -4236,7 +4236,7 @@ public final class e6 implements q6 { int i17; byte b5; byte b6; - int a1; + int V1; 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.w0(b11, bArr3, i26, s3Var3); + i26 = f.r1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.f1100c; + 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.b1(bArr2, i26))); + j7.d(t5, j, Double.longBitsToDouble(f.W1(bArr2, i26))); i20 = i26 + 8; i7 |= i32; i24 = i17; @@ -4388,7 +4388,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.A0(bArr2, i26))); + j7.e.d(t5, j, Float.intBitsToFloat(f.v1(bArr2, i26))); i20 = i26 + 4; i7 |= i32; i24 = i17; @@ -4428,7 +4428,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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) { - a1 = c.a1(bArr2, i26, s3Var3); + V1 = f.V1(bArr2, i26, s3Var3); b7 = b6; unsafe2.putLong(t, j, s3Var3.b); i7 |= i32; - i20 = a1; + i20 = V1; b5 = b7; i24 = i17; bArr3 = bArr2; @@ -4473,7 +4473,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.B0(bArr2, i26, s3Var3); + i20 = f.w1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.b1(bArr2, i26)); + unsafe2.putLong(t, j, f.W1(bArr2, i26)); b5 = b8; i20 = i26 + 8; i7 |= i32; @@ -4559,7 +4559,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.A0(bArr2, i26)); + unsafe2.putInt(t5, j, f.v1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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 a12 = c.a1(bArr2, i26, s3Var3); + int V12 = f.V1(bArr2, i26, s3Var3); j7.e.g(t5, j, s3Var3.b != 0); - i20 = a12; + i20 = V12; i18 = i7 | i32; i19 = i2; b10 = b8; @@ -4648,7 +4648,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.d1(bArr2, i26, s3Var3) : c.f1(bArr2, i26, s3Var3); - unsafe2.putObject(t5, j, s3Var3.f1136c); + i20 = (536870912 & i29) == 0 ? f.Y1(bArr2, i26, s3Var3) : f.a2(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.z0(e6Var2.o(i13), bArr2, i26, i2, s3Var3); + i20 = f.u1(e6Var2.o(i13), bArr2, i26, i2, s3Var3); if ((i7 & i32) == 0) { - unsafe2.putObject(t5, j, s3Var3.f1136c); + unsafe2.putObject(t5, j, s3Var3.f1168c); } else { - unsafe2.putObject(t5, j, w4.c(unsafe2.getObject(t5, j), s3Var3.f1136c)); + 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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.h1(bArr2, i26, s3Var3); - unsafe2.putObject(t5, j, s3Var3.f1136c); + i20 = f.c2(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.B0(bArr2, i26, s3Var3); + i20 = f.w1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.B0(bArr2, i26, s3Var3); + i20 = f.w1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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) { - a1 = c.a1(bArr2, i26, s3Var3); + V1 = f.V1(bArr2, i26, s3Var3); b7 = b9; i12 = i27; i13 = i4; unsafe2.putLong(t, j, d4.a(s3Var3.b)); i7 |= i32; - i20 = a1; + i20 = V1; b5 = b7; i24 = i17; bArr3 = bArr2; @@ -4924,7 +4924,7 @@ public final class e6 implements q6 { } if (this.h) { } - i20 = c.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.y0(e6Var2.o(i4), bArr, i26, i2, (i27 << 3) | 4, s3Var); + i20 = f.t1(e6Var2.o(i4), bArr, i26, i2, (i27 << 3) | 4, s3Var); if ((i7 & i32) == 0) { - unsafe2.putObject(t5, j, s3Var3.f1136c); + unsafe2.putObject(t5, j, s3Var3.f1168c); } else { - unsafe2.putObject(t5, j, w4.c(unsafe2.getObject(t5, j), s3Var3.f1136c)); + 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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(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.x0(e6Var2.o(i13), b3, bArr, i26, i2, b5Var, s3Var); + i20 = f.s1(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.v0(b2, bArr, i9, i2, M(t), s3Var); + i20 = f.q1(b2, bArr, i9, i2, M(t), s3Var); bArr3 = bArr; bArr2 = bArr3; i21 = i11; @@ -5176,7 +5176,7 @@ 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.f1100c; + int[] iArr2 = e6Var.f1132c; int i37 = iArr2[i36]; Object r = j7.r(t2, (long) (iArr2[i36 + 1] & 1048575)); if (r != null) { @@ -5241,7 +5241,7 @@ public final class e6 implements q6 { } public final void u(T t, T t2, int i) { - long j = (long) (this.f1100c[i + 1] & 1048575); + long j = (long) (this.f1132c[i + 1] & 1048575); if (v(t2, i)) { Object r = j7.r(t, j); Object r2 = j7.r(t2, j); @@ -5256,7 +5256,7 @@ public final class e6 implements q6 { } public final boolean v(T t, int i) { - int[] iArr = this.f1100c; + int[] iArr = this.f1132c; int i2 = iArr[i + 2]; long j = (long) (i2 & 1048575); if (j == 1048575) { @@ -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.f1100c[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.f1100c.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.f1100c[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 83ed3755ab..42930a9bad 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.D0(new b3(new ga())); + public final z2 j = f.y1(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 97064be54e..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.f1098c; + 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 387ab3282d..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.f1097c[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.f1097c, i); - System.arraycopy(c7Var4.f1097c, 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.f1097c[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 8f82c280ca..14635eef99 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.D0(new b3(new h9())); + public final z2 j = f.y1(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 b50a5bc866..45effe5eb3 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 f1101c; + 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; } @@ -151,11 +152,11 @@ public class g { boolean z3; boolean z4; if (str == null || !e(str2, str3)) { - this.f1101c = "FA"; + this.f1133c = "FA"; } else { - this.f1101c = 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.I0(context, "google_app_id") != null) { + if (f.D1(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.f1101c, "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.f1101c, "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.f1101c, "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.f1101c, "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.f1101c, "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.f1101c, "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 6918d26973..aa0f163df3 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.f2372c = this; + zzhi.f2386c = 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.f2372c); + q6Var.g((c6) obj, zzhi.f2386c); 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 fda4e5b0d6..8f423b9136 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 f1102c; + public final boolean f1134c; public final j4 d; public g6(d7 d7Var, j4 j4Var, c6 c6Var) { this.b = d7Var; - this.f1102c = 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.f1102c ? (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.f1102c) { + 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.f1102c) { + 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 B0 = c.B0(bArr, i, s3Var); + int w1 = f.w1(bArr, i, s3Var); int i3 = s3Var.a; if (i3 == 11) { int i4 = 0; t3 t3Var = null; - while (B0 < i2) { - B0 = c.B0(bArr, B0, s3Var); + while (w1 < i2) { + w1 = f.w1(bArr, w1, 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) { - B0 = c.h1(bArr, B0, s3Var); - t3Var = (t3) s3Var.f1136c; + w1 = f.c2(bArr, w1, s3Var); + t3Var = (t3) s3Var.f1168c; } } } else if (i7 == 0) { - B0 = c.B0(bArr, B0, s3Var); + w1 = f.w1(bArr, w1, s3Var); i4 = s3Var.a; fVar = (u4.f) this.d.c(s3Var.d, this.a, i4); } if (i5 == 12) { break; } - B0 = c.t0(i5, bArr, B0, i2, s3Var); + w1 = f.o1(i5, bArr, w1, i2, s3Var); } if (t3Var != null) { c7Var.a((i4 << 3) | 2, t3Var); } - i = B0; + i = w1; } else if ((i3 & 7) == 2) { fVar = (u4.f) this.d.c(s3Var.d, this.a, i3 >>> 3); if (fVar == null) { - i = c.v0(i3, bArr, B0, i2, c7Var, s3Var); + i = f.q1(i3, bArr, w1, i2, c7Var, s3Var); } else { n6 n6Var2 = n6.a; throw new NoSuchMethodError(); } } else { - i = c.t0(i3, bArr, B0, i2, s3Var); + i = f.o1(i3, bArr, w1, 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.f1102c) { + 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 575efd0d3e..27f321367b 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.D0(new b3(new i9())); + public final z2 j = f.y1(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 397dbb7756..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 f1103c; + 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); - f1103c = 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 f1103c.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 57f213cc64..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 f1104c = 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 = f1104c; + 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 cb630873e9..8c340b8c33 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.D0(new b3(new j8())); + public final z2 j = f.y1(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 d989a2d290..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 f1105c; + 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); - f1105c = 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 f1105c.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 f7741f5088..8a71bfcff1 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.D0(new b3(new jb())); + public final z2 j = f.y1(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 4dad8f1be8..9d16dab1fe 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.D0(new b3(new k8())); + public final z2 j = f.y1(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 d19e346a04..80c46cea7c 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.D0(new b3(new kb())); + public final z2 j = f.y1(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 ff58b05c07..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.f1101c; + 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.f1101c, "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 629af452a8..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 f1106c; + 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 s2; c cVar; + boolean z5; Object th; - String str3; Object th2; Unsafe k = k(); a = k; Class cls = Long.TYPE; boolean p = p(cls); - f1106c = 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); - s2 = s(); - if (!(s2 == null || (cVar = e) == null)) { - cVar.a.objectFieldOffset(s2); - } - 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); - s2 = s(); - cVar.a.objectFieldOffset(s2); - 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); @@ -424,43 +386,34 @@ public final class j7 { } 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); - s2 = s(); - cVar.a.objectFieldOffset(s2); - 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; @@ -477,24 +430,21 @@ public final class j7 { h(Object[].class); j(Object[].class); s2 = s(); - cVar.a.objectFieldOffset(s2); + 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; @@ -521,6 +471,7 @@ public final class j7 { i = z3; } } + str = "getByte"; z2 = false; f = z2; unsafe = a; 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 7d5c7b0958..58131e623b 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.D0(new b3(new la())); + public final z2 j = f.y1(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 f64c4d7367..976bc3702a 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.D0(new b3(new ma())); + public final z2 j = f.y1(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 ccd8f99590..40d3196a6f 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 f1107c = 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 = f1107c; + u2 u2Var = f1139c; String str = this.f; Objects.requireNonNull(u2Var); Objects.requireNonNull(str, "flagName must not be null"); - c.c1(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.X1(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.c1(t2Var != null, "Must call PhenotypeFlag.init() first"); + f.X1(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.f1138c.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 c2471e3a29..ee2971c8ab 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.W0(b)) { + if (!f.R1(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.W0(b2)) { + if (f.R1(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.W0(b3)) { + if (!f.R1(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.O0(b2, bArr[i6], bArr[i8], cArr, i5); + f.J1(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.N0(b2, b4, bArr[i9], bArr[i10], cArr, i5); + f.I1(b2, b4, bArr[i9], bArr[i10], cArr, i5); i5 = i5 + 1 + 1; i = i10 + 1; } else { throw zzij.e(); } } else if (i6 < i3) { - c.P0(b2, bArr[i6], cArr, i5); + f.K1(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 2c83617adf..60b612ecf9 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.D0(new b3(new n9())); + public final z2 j = f.y1(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 be288f2f7f..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 f1108c; + 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); - f1108c = 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 f1108c.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 68e1abfd1e..2d437b3922 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.D0(new b3(new o9())); + public final z2 j = f.y1(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 b6b842afd9..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 f1109c; + 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.f1098c; + int i = d5.f1130c; throw new NoSuchMethodError(); } @@ -291,9 +291,9 @@ public final class n4> { } public final void h() { - if (!this.f1109c) { + if (!this.f1141c) { this.b.c(); - this.f1109c = 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.f1098c; + 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 8e8059843d..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> f1110c = 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.f1110c.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.f1137c, null, x5.a); + q6Var = e6.n(b, k6.a, m5.a, s6.f1169c, null, x5.a); } } } - q6 q6Var3 = (q6) this.f1110c.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 d52f1b7455..5c29a3f13a 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.W0(a)) { + if (!f.R1(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.W0(a2)) { + if (f.R1(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.W0(a3)) { + if (!f.R1(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.O0(a2, j7.a(bArr, (long) i6), j7.a(bArr, (long) i8), cArr, i5); + f.J1(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.N0(a2, j7.a(bArr, (long) i6), j7.a(bArr, (long) i9), j7.a(bArr, (long) i10), cArr, i5); + f.I1(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.P0(a2, j7.a(bArr, (long) i6), cArr, i5); + f.K1(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 41dcb2316e..877a051c6e 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.D0(new b3(new p8())); + public final z2 j = f.y1(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 68cd9db133..d84bd2b3c3 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.D0(new b3(new pb())); + public final z2 j = f.y1(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 9923a984ba..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[] f1118h0 = 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]; - f1118h0[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 de719d0aee..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 f1124c = 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 (f1124c.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 (!f1124c.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 8aa533aa87..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[] f1125c; + public final Object[] f1157c; public final int d; public o6(c6 c6Var, String str, Object[] objArr) { this.a = c6Var; this.b = str; - this.f1125c = 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 b080c55792..b5e0638fd4 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.D0(new b3(new q8())); + public final z2 j = f.y1(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 bf0197b767..1dc3c301f1 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.D0(new b3(new qb())); + public final z2 j = f.y1(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 126b63a220..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.f1138c.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 2f5d77072a..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 f1130c; + public static final l2 f1162c; public static final l2 d; public static final l2 e; public static final l2 f; @@ -34,27 +34,27 @@ public final class p8 implements m8 { public static final l2 r; /* renamed from: s reason: collision with root package name */ - public static final l2 f1131s; + public static final l2 f1163s; public static final l2 t; public static final l2 u; public static final l2 v; public static final l2 w; /* renamed from: x reason: collision with root package name */ - public static final l2 f1132x; + public static final l2 f1164x; /* renamed from: y reason: collision with root package name */ - public static final l2 f1133y; + public static final l2 f1165y; /* renamed from: z reason: collision with root package name */ - public static final l2 f1134z; + 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"); - f1130c = 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); @@ -72,14 +72,14 @@ public final class p8 implements m8 { p = q2Var.a("measurement.upload.stale_data_deletion_interval", 86400000); q = q2Var.a("measurement.upload.backoff_period", 43200000); r = q2Var.a("measurement.upload.initial_upload_delay_time", 15000); - f1131s = q2Var.a("measurement.upload.interval", 3600000); + 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); w = q2Var.a("measurement.upload.max_error_events_per_day", 1000); - f1132x = q2Var.a("measurement.upload.max_events_per_bundle", 1000); - f1133y = q2Var.a("measurement.upload.max_events_per_day", 100000); - f1134z = q2Var.a("measurement.upload.max_public_events_per_day", 50000); + 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); @@ -116,7 +116,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long F() { - return f1131s.d().longValue(); + return f1163s.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -141,7 +141,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final String c() { - return f1130c.d(); + return f1162c.d(); } @Override // c.i.a.f.h.l.m8 @@ -181,7 +181,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long l() { - return f1133y.d().longValue(); + return f1165y.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -196,7 +196,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long o() { - return f1134z.d().longValue(); + return f1166z.d().longValue(); } @Override // c.i.a.f.h.l.m8 @@ -241,7 +241,7 @@ public final class p8 implements m8 { @Override // c.i.a.f.h.l.m8 public final long x() { - return f1132x.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 bc091fe873..75cffaa5a7 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.D0(new b3(new ra())); + public final z2 j = f.y1(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 f9baa79ec5..e87ad68a8e 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.D0(new b3(new sa())); + public final z2 j = f.y1(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 8bb51b03e7..23ac502ef7 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.D0(new b3(new t9())); + public final z2 j = f.y1(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 deb6e5c80e..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 f1135c; + 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.f1135c); + 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 cdf4e80c77..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 f1136c; + 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 d2ea967e84..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 f1137c = 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 8f1f8f82c3..9e2435e930 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.D0(new b3(new u9())); + public final z2 j = f.y1(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 cc21e92993..e25e0536a4 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.J0(this) : String.valueOf(c.J0(g(0, 47))).concat("..."); + objArr[2] = d() <= 50 ? f.E1(this) : String.valueOf(f.E1(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 1f071c7822..90091d83e0 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.D0(new b3(new v8())); + public final z2 j = f.y1(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 8b11a35dde..81cedb5698 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.D0(new b3(new vb())); + public final z2 j = f.y1(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 ca2315ff89..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 f1138c = 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 6922490487..52ae0a9305 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.f1109c) { + 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.f2372c; + g4 g4Var = zzhi.f2386c; 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.R0(this, sb, 0); + c.i.a.f.e.o.f.M1(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 da0425705f..4bea001d82 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.D0(new b3(new w8())); + public final z2 j = f.y1(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 f344977f39..aa1a338781 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.D0(new b3(new wb())); + public final z2 j = f.y1(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 e02c9071f3..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 f1139c; + 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); - f1139c = 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 f1139c.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 d749b24a0e..ea08bc159b 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.D0(new b3(new xa())); + public final z2 j = f.y1(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 972f902205..5ddfe2301d 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.D0(new b3(new ya())); + public final z2 j = f.y1(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 8b6c5298cc..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.f1140c.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 7ee359ca26..33a44b2cda 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.D0(new b3(new y7())); + public final z2 j = f.y1(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 b7589019ca..aee8751366 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.D0(new b3(new z9())); + public final z2 j = f.y1(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 e89846c39a..6de24879c7 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 f1140c; + 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.f1140c = 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.f1140c.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.G0(new x1(this)); + map = (Map) f.B1(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 41b97f42e8..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 f1141c; + 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); - f1141c = 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 f1141c.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 182f651c9c..3d27c912bb 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.D0(new b3(new aa())); + public final z2 j = f.y1(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 66d44bd3d3..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 f1142c; + 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)); - f1142c = 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 f1142c.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 51922b4fc2..181e24bc89 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.D0(new b3(new b9())); + public final z2 j = f.y1(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 07dde92d39..66df5e8dfe 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.D0(new b3(new ac())); + public final z2 j = f.y1(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 535770905b..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 f1143c; + 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.f1143c = 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.f1143c); + 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 ad1bf22aaf..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 f1144c = 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/i.java b/app/src/main/java/c/i/a/f/h/n/i.java index 539d198e41..8892373131 100644 --- a/app/src/main/java/c/i/a/f/h/n/i.java +++ b/app/src/main/java/c/i/a/f/h/n/i.java @@ -1,6 +1,6 @@ package c.i.a.f.h.n; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.NoSuchElementException; /* compiled from: com.android.billingclient:billing@@4.0.0 */ public final class i { @@ -11,7 +11,7 @@ public final class i { public i(k kVar, int i) { int size = kVar.size(); if (i < 0 || i > size) { - throw new IndexOutOfBoundsException(c.g1(i, size, "index")); + throw new IndexOutOfBoundsException(f.b2(i, size, "index")); } this.i = size; this.j = i; diff --git a/app/src/main/java/c/i/a/f/h/n/j.java b/app/src/main/java/c/i/a/f/h/n/j.java index aa89eafc24..f16c5b12c8 100644 --- a/app/src/main/java/c/i/a/f/h/n/j.java +++ b/app/src/main/java/c/i/a/f/h/n/j.java @@ -1,6 +1,6 @@ package c.i.a.f.h.n; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.android.billingclient:billing@@4.0.0 */ public final class j extends k { public final transient int k; @@ -30,14 +30,14 @@ public final class j extends k { @Override // java.util.List public final Object get(int i) { - c.s0(i, this.l, "index"); + f.n1(i, this.l, "index"); return this.zzc.get(i + this.k); } @Override // c.i.a.f.h.n.k /* renamed from: h */ public final k subList(int i, int i2) { - c.e1(i, i2, this.l); + f.Z1(i, i2, this.l); k kVar = this.zzc; int i3 = this.k; return kVar.subList(i + i3, i2 + i3); diff --git a/app/src/main/java/c/i/a/f/h/n/k.java b/app/src/main/java/c/i/a/f/h/n/k.java index 00e6e58276..0050eac33e 100644 --- a/app/src/main/java/c/i/a/f/h/n/k.java +++ b/app/src/main/java/c/i/a/f/h/n/k.java @@ -1,6 +1,6 @@ package c.i.a.f.h.n; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; import java.util.Collection; import java.util.Iterator; import java.util.List; @@ -48,7 +48,7 @@ public abstract class k extends h implements List, RandomAccess { if (size == list.size()) { if (list instanceof RandomAccess) { for (int i = 0; i < size; i++) { - if (c.Z0(get(i), list.get(i))) { + if (f.U1(get(i), list.get(i))) { } } return true; @@ -58,7 +58,7 @@ public abstract class k extends h implements List, RandomAccess { while (true) { if (it.hasNext()) { if (it2.hasNext()) { - if (!c.Z0(it.next(), it2.next())) { + if (!f.U1(it.next(), it2.next())) { break; } } else { @@ -75,7 +75,7 @@ public abstract class k extends h implements List, RandomAccess { /* renamed from: h */ public k subList(int i, int i2) { - c.e1(i, i2, size()); + f.Z1(i, i2, size()); int i3 = i2 - i; return i3 == size() ? this : i3 == 0 ? (k) l.k : new j(this, i, i3); } @@ -96,7 +96,7 @@ public abstract class k extends h implements List, RandomAccess { if (i >= 0 && i <= size) { return isEmpty() ? (m) j : new i(this, i); } - throw new IndexOutOfBoundsException(c.g1(i, size, "index")); + throw new IndexOutOfBoundsException(f.b2(i, size, "index")); } @Override // java.util.List diff --git a/app/src/main/java/c/i/a/f/h/n/l.java b/app/src/main/java/c/i/a/f/h/n/l.java index 1776dfb9b3..4f2ac88406 100644 --- a/app/src/main/java/c/i/a/f/h/n/l.java +++ b/app/src/main/java/c/i/a/f/h/n/l.java @@ -1,6 +1,6 @@ package c.i.a.f.h.n; -import c.i.a.f.e.o.c; +import c.i.a.f.e.o.f; /* compiled from: com.android.billingclient:billing@@4.0.0 */ public final class l extends k { public static final k k = new l(new Object[0]); @@ -33,7 +33,7 @@ public final class l extends k { @Override // java.util.List public final E get(int i) { - c.s0(i, 0, "index"); + f.n1(i, 0, "index"); return (E) this.l[i]; } 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 99160716b1..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.f1226c, cVar); + super(a.f1258c, cVar); } } 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/i/a/a.java b/app/src/main/java/c/i/a/f/i/a/a.java index 30fb4f6aeb..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.f1101c, "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.f1101c, "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 7fc8d27653..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 f1145c = new ArrayMap(); + public final Map f1177c = new ArrayMap(); public long d; public a(u4 u4Var) { 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 0fb925a2c1..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 f1146c; + public String f1178c; public String d; public String e; public String f; @@ -38,20 +38,20 @@ public final class a4 { public boolean r; /* renamed from: s reason: collision with root package name */ - public String f1147s; + public String f1179s; public Boolean t; public long u; public List v; public String w; /* renamed from: x reason: collision with root package name */ - public long f1148x; + public long f1180x; /* renamed from: y reason: collision with root package name */ - public long f1149y; + public long f1181y; /* renamed from: z reason: collision with root package name */ - public long f1150z; + public long f1182z; @WorkerThread public a4(u4 u4Var, String str) { @@ -78,7 +78,7 @@ public final class a4 { @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) { @@ -245,8 +245,8 @@ public final class a4 { @WorkerThread public final void c(String str) { this.a.f().b(); - this.E |= !t9.q0(this.f1146c, str); - this.f1146c = str; + this.E |= !t9.q0(this.f1178c, str); + this.f1178c = str; } @WorkerThread @@ -348,8 +348,8 @@ public final class a4 { if (TextUtils.isEmpty(str)) { str = null; } - this.E |= !t9.q0(this.f1147s, str); - this.f1147s = str; + this.E |= !t9.q0(this.f1179s, str); + this.f1179s = str; } @WorkerThread @@ -362,7 +362,7 @@ public final class a4 { @WorkerThread public final String s() { this.a.f().b(); - return this.f1146c; + return this.f1178c; } @WorkerThread @@ -405,7 +405,7 @@ public final class a4 { @WorkerThread public final String y() { this.a.f().b(); - return this.f1147s; + return this.f1179s; } @WorkerThread 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 5b704a3945..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().f1158x.a(true); + x8Var.b.l().f1190x.a(true); } Bundle bundle = new Bundle(); if (!x8Var.b.a.h.z().booleanValue()) { - x8Var.b.e.f1161c.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 3f547f7f2b..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 f1151c; + 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.f1151c = 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.f1151c != u) { - this.f1151c = 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 2a2199e7ba..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.f1190c0); - boolean z5 = f9.b() && this.a.h.u(this.d, p.f1188b0); + 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.f1182c + 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.f1182c; + 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 44036d40da..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 f1152c = b.a; + public e f1184c = b.a; public Boolean d; public c(u4 u4Var) { @@ -32,7 +32,7 @@ public final class c extends s5 { } public final boolean A(String str) { - return "1".equals(this.f1152c.i(str, "measurement.event_sampling_enabled")); + return "1".equals(this.f1184c.i(str, "measurement.event_sampling_enabled")); } @WorkerThread @@ -93,7 +93,7 @@ public final class c extends s5 { if (str == null) { return j3Var.a(null).longValue(); } - String i = this.f1152c.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.f1152c.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.f1152c.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.f1152c.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(); } 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 3349f303b3..4e7a6131b3 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 f1153c; + 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.f1155c == 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.f1155c; + Boolean bool2 = dVar.f1187c; if (bool2 == null) { - bool2 = dVar3.f1155c; + 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.f1192e0) && "_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) { @@ -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().f1158x.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) { @@ -438,7 +439,7 @@ public final class c6 extends a5 { } if (q().w(false) != null && "_ae".equals(str2)) { w8 s2 = s(); - Objects.requireNonNull((c.i.a.f.e.o.d) this.a.o); + Objects.requireNonNull((c) this.a.o); s2.w(true, true, SystemClock.elapsedRealtime()); } } @@ -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.f1167c != null) { + if (q.h && q.f1199c != null) { q.h = false; - boolean q0 = t9.q0(q.f1167c.b, str3); - boolean q02 = t9.q0(q.f1167c.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.f1167c == null ? q.d : q.f1167c; + i7 i7Var = q.f1199c == null ? q.d : q.f1199c; i7 i7Var2 = new i7(string, str3, q.e().t0(), true, j); - q.f1167c = 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()); } @@ -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.f1153c); + ((Application) this.a.b.getApplicationContext()).unregisterActivityLifecycleCallbacks(this.f1185c); } } @@ -632,7 +633,7 @@ public final class c6 extends a5 { b(); t(); if (this.a.m()) { - if (this.a.h.o(p.f1191d0)) { + 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."); @@ -670,12 +671,12 @@ public final class c6 extends a5 { @Nullable public final String O() { u4 u4Var = this.a; - String str = u4Var.f1208c; + String str = u4Var.f1240c; if (str != null) { return str; } try { - return c.I0(u4Var.b, "google_app_id"); + return f.D1(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.f1210x.a.o().l.a() <= 0) { + if (this.a.f1242x.a.o().l.a() <= 0) { z2 = false; } if (!z2) { - m4 m4Var = this.a.f1210x; + 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(); @@ -781,7 +782,7 @@ public final class c6 extends a5 { w8 s2 = s(); s2.b(); d9 d9Var = s2.e; - d9Var.f1161c.c(); + 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.F0(bundle2, "app_id", String.class, null); - c.F0(bundle2, "origin", String.class, null); - c.F0(bundle2, ModelAuditLogEntry.CHANGE_KEY_NAME, String.class, null); - c.F0(bundle2, "value", Object.class, null); - c.F0(bundle2, "trigger_event_name", String.class, null); - c.F0(bundle2, "trigger_timeout", Long.class, 0L); - c.F0(bundle2, "timed_out_event_name", String.class, null); - c.F0(bundle2, "timed_out_event_params", Bundle.class, null); - c.F0(bundle2, "triggered_event_name", String.class, null); - c.F0(bundle2, "triggered_event_params", Bundle.class, null); - c.F0(bundle2, "time_to_live", Long.class, 0L); - c.F0(bundle2, "expired_event_name", String.class, null); - c.F0(bundle2, "expired_event_params", Bundle.class, null); + f.A1(bundle2, "app_id", String.class, null); + f.A1(bundle2, "origin", String.class, null); + f.A1(bundle2, ModelAuditLogEntry.CHANGE_KEY_NAME, String.class, null); + f.A1(bundle2, "value", Object.class, null); + f.A1(bundle2, "trigger_event_name", String.class, null); + f.A1(bundle2, "trigger_timeout", Long.class, 0L); + f.A1(bundle2, "timed_out_event_name", String.class, null); + f.A1(bundle2, "timed_out_event_params", Bundle.class, null); + f.A1(bundle2, "triggered_event_name", String.class, null); + f.A1(bundle2, "triggered_event_params", Bundle.class, null); + f.A1(bundle2, "time_to_live", Long.class, 0L); + f.A1(bundle2, "expired_event_name", String.class, null); + f.A1(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.Q0(bundle2, n0); + f.L1(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 dd3407d4c3..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.f1192e0) || y6Var.i.a.h.o(p.f1194g0) || y6Var.i.a.h.o(p.f1193f0)) { + 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.f1192e0) && !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.f1194g0) && !y6Var.i.a.h.o(p.f1193f0) && 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.f1193f0)) { + 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 4973f96ef9..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 f1154c; + 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.f1154c = ((Long) pair.second).longValue(); + this.f1186c = ((Long) pair.second).longValue(); this.d.m(); this.b = (Long) q9.R(this.a, "_eid"); } - long j = this.f1154c - 1; - this.f1154c = 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.f1154c, 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.f1154c = 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.f1154c, 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 3b15003382..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 f1155c; + public final Boolean f1187c; public d(Boolean bool, Boolean bool2) { this.b = bool; - this.f1155c = 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.f1155c; + 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.f1155c) == a(dVar.f1155c); + 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.f1155c == bool2 && dVar.f1155c != 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.f1155c, dVar.f1155c)); + return new d(c(this.b, dVar.b), c(this.f1187c, dVar.f1187c)); } public final int hashCode() { - return a(this.f1155c) + ((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.f1155c; + 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.f1155c; + 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 84867e9490..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 f1156c = 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); @@ -30,20 +30,20 @@ public final class d4 extends r5 { public final h4 r = new h4(this, "session_timeout", StoreGuildScheduledEvents.FETCH_GUILD_EVENTS_THRESHOLD); /* renamed from: s reason: collision with root package name */ - public final f4 f1157s = new f4(this, "start_new_session", true); + 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); public boolean w; /* renamed from: x reason: collision with root package name */ - public f4 f1158x = 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 f1159y = 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 f1160z = 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); @@ -61,7 +61,7 @@ public final class d4 extends r5 { edit.putBoolean("has_been_opened", true); edit.apply(); } - this.e = new k4(this, "health_monitor", Math.max(0L, p.f1189c.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 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 cc6ce77578..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.f1185c; + 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 6a932d80ca..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 f1161c; + public final i f1193c; public final /* synthetic */ w8 d; public d9(w8 w8Var) { this.d = w8Var; - this.f1161c = 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.f1161c.c(); - this.f1161c.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 28e9220fb9..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 f1162c; + 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.f1162c = 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.f1162c; + 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.f1163c; + 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.f1190c0) && 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.f1190c0)) { + 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 88503989ad..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().f1159y.b()) { + if (c6Var.l().f1191y.b()) { c6Var.g().m.a("Deferred Deep Link already retrieved. Not fetching again."); return; } - long a = c6Var.l().f1160z.a(); - c6Var.l().f1160z.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().f1159y.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.f1185c; + 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().f1160z.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 f1371e6441..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().f1159y.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 c7b6f789c0..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 f1163c; + 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 c691ab39a6..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 f1164c; + 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 d2995c4258..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 f1165c; + 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.f1165c) { - this.f1165c = 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/f9.java b/app/src/main/java/c/i/a/f/i/b/f9.java index 265de85f4f..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().f1157s.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().f1157s.a(true); + this.a.l().f1189s.a(true); } this.a.l().v.b(j); - if (this.a.l().f1157s.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().f1157s.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 0681c95fc5..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.f1190c0); + 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,27 +92,27 @@ 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); } @@ -145,7 +145,7 @@ public final class fa extends ea { return false; } Boolean bool4 = Boolean.TRUE; - this.f1163c = 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 a6035bb8eb..4fd3d6a970 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.f1182c)); + 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.f1148x)); + contentValues.put("day", Long.valueOf(a4Var.f1180x)); a4Var.a.f().b(); - contentValues.put("daily_public_events_count", Long.valueOf(a4Var.f1149y)); + contentValues.put("daily_public_events_count", Long.valueOf(a4Var.f1181y)); a4Var.a.f().b(); - contentValues.put("daily_events_count", Long.valueOf(a4Var.f1150z)); + 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.f1197j0)) { + 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.f1214c) == null) { - if (t9.X(u9Var.f1214c)) { + 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.f1214c) && 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.f1214c); + 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)); @@ -695,7 +696,7 @@ public final class g extends i9 { contentValues.put("triggered_timestamp", Long.valueOf(zzz.k.k)); contentValues.put("time_to_live", Long.valueOf(zzz.r)); e(); - contentValues.put("expired_event", t9.g0(zzz.f2378s)); + contentValues.put("expired_event", t9.g0(zzz.f2392s)); 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)); @@ -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.f1148x != j2; - a4Var.f1148x = j2; + a4Var.E |= a4Var.f1180x != j2; + a4Var.f1180x = j2; long j3 = cursor.getLong(12); a4Var.a.f().b(); - a4Var.E |= a4Var.f1149y != j3; - a4Var.f1149y = j3; + a4Var.E |= a4Var.f1181y != j3; + a4Var.f1181y = j3; long j4 = cursor.getLong(13); a4Var.a.f().b(); - a4Var.E |= a4Var.f1150z != j4; - a4Var.f1150z = 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.f1197j0)) { + 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; @@ -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.f1200y.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.f1164c = 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.f1164c += 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.f1164c)); + 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 a4bc7b89d2..9e4f0bbdb0 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.S0(this.i.g(), sQLiteDatabase); + f.N1(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.T0(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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.O1(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 7eaab0dc36..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 f1166c; + 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.f1166c) { - this.f1166c = 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/h7.java b/app/src/main/java/c/i/a/f/i/b/h7.java index 165a8e8113..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 f1167c; + 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.f1170c); + 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.f1170c != i7Var.f1170c || !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.f1170c); + 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.f1167c == null ? this.d : this.f1167c; + 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.f1170c, 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.f1167c; - this.f1167c = 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/ha.java b/app/src/main/java/c/i/a/f/i/b/ha.java index e086d36f3e..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.f1187a0); + 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.f1163c = 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 0b4981367a..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 f1168c; + public final Runnable f1200c; public volatile long d; public i(t5 t5Var) { Objects.requireNonNull(t5Var, "null reference"); this.b = t5Var; - this.f1168c = 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.f1168c, 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.f1168c); + d().removeCallbacks(this.f1200c); } public final Handler d() { 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 15ab4a53c1..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 f1169c; + 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.f1169c) { - this.f1169c = 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 bd87b88d46..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 f1170c; + 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.f1170c = 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/i9.java b/app/src/main/java/c/i/a/f/i/b/i9.java index 298b7ab266..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 f1171c; + 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.f1171c) { + if (!this.f1203c) { throw new IllegalStateException("Not initialized"); } } public final void o() { - if (!this.f1171c) { + if (!this.f1203c) { p(); this.b.q++; - this.f1171c = 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 8e1551f894..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 f1172c; + 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.f1172c = 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.f1172c; + 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 7040480225..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 f1173c; + 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.f1173c = 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.f1173c; + 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.f1173c; + 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 bd115831ef..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 f1174c; + 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.f1174c = this.d.w().getString(this.a, null); + this.f1206c = this.d.w().getString(this.a, null); } - return this.f1174c; + 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.f1174c = 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 c252304531..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.f1152c = 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/k4.java b/app/src/main/java/c/i/a/f/i/b/k4.java index 93287e528d..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 f1175c; + 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.f1175c = 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.f1175c); + 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 eda2f5f66b..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.f1203c); + 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 0d0e6e9e1d..a4e7c6e902 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 f1176c; + public x3 f1208c; public g d; public b4 e; public h9 f; @@ -99,20 +100,20 @@ public class k9 implements t5 { public boolean r; /* renamed from: s reason: collision with root package name */ - public boolean f1177s; + public boolean f1209s; public boolean t; public FileLock u; public FileChannel v; public List w; /* renamed from: x reason: collision with root package name */ - public List f1178x; + public List f1210x; /* renamed from: y reason: collision with root package name */ - public long f1179y; + public long f1211y; /* renamed from: z reason: collision with root package name */ - public final Map f1180z; + public final Map f1212z; /* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */ public class a { @@ -120,7 +121,7 @@ public class k9 implements t5 { public List b; /* renamed from: c reason: collision with root package name */ - public List f1181c; + public List f1213c; public long d; public a(k9 k9Var, j9 j9Var) { @@ -131,13 +132,13 @@ public class k9 implements t5 { } public final boolean b(long j, a1 a1Var) { - if (this.f1181c == null) { - this.f1181c = new ArrayList(); + if (this.f1213c == null) { + this.f1213c = new ArrayList(); } if (this.b == null) { this.b = new ArrayList(); } - if (this.f1181c.size() > 0 && ((this.f1181c.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()); @@ -145,38 +146,35 @@ public class k9 implements t5 { return false; } this.d = g; - this.f1181c.add(a1Var); + this.f1213c.add(a1Var); this.b.add(Long.valueOf(j)); - return this.f1181c.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.f1179y = -1; + this.f1211y = -1; q9 q9Var = new q9(this); q9Var.o(); this.h = q9Var; x3 x3Var = new x3(this); x3Var.o(); - this.f1176c = x3Var; + this.f1208c = x3Var; p4 p4Var = new p4(this); p4Var.o(); this.b = p4Var; - this.f1180z = 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.f1171c) { + } 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)); } } @@ -231,7 +229,7 @@ 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 w = q9.w((a1) ((u4) aVar.p()), "_et"); if (w.I() && w.J() > 0) { @@ -256,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.f1192e0) && "_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); @@ -285,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); } } @@ -336,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(); @@ -357,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.f2377z, T.y())) { + if (t9.d0(zzn.j, T.v(), zzn.f2391z, 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(); @@ -388,7 +386,7 @@ public class k9 implements t5 { if (i == 0) { o(new zzku("_fot", j4, Long.valueOf(j5), "auto"), zzn); U(); - this.k.f1210x.a(zzn.i); + this.k.f1242x.a(zzn.i); U(); P(); Bundle bundle2 = new Bundle(); @@ -406,7 +404,7 @@ public class k9 implements t5 { str2 = "_et"; j2 = 1; } - if (zzn.f2376y) { + if (zzn.f2390y) { bundle2.putLong("_dac", j2); } g K2 = K(); @@ -484,7 +482,7 @@ public class k9 implements t5 { } else { j = 1; } - if (zzn.f2376y) { + if (zzn.f2390y) { bundle3.putLong("_dac", j); } B(new zzaq("_v", new zzap(bundle3), "auto", j4), zzn); @@ -561,16 +559,16 @@ public class k9 implements t5 { if (Z.m) { K().V(zzz.i, zzz.k.j); } - zzaq zzaq = zzz.f2378s; + zzaq zzaq = zzz.f2392s; 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.f2378s; + zzaq zzaq2 = zzz.f2392s; I(t.B(str, zzaq2.i, bundle, Z.j, zzaq2.l, true, x7.b() && this.k.h.o(p.M0)), zzn); } } else { @@ -636,16 +634,16 @@ public class k9 implements t5 { T.m(zzn.j); z2 = true; } - if (!TextUtils.equals(zzn.f2377z, T.y())) { - T.q(zzn.f2377z); + if (!TextUtils.equals(zzn.f2391z, T.y())) { + T.q(zzn.f2391z); z2 = true; } - if (da.b() && this.k.h.u(T.o(), p.f1197j0) && !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.f2374s) && !zzn.f2374s.equals(T.H())) { - T.A(zzn.f2374s); + if (!TextUtils.isEmpty(zzn.f2388s) && !zzn.f2388s.equals(T.H())) { + T.A(zzn.f2388s); z2 = true; } long j2 = zzn.m; @@ -690,8 +688,8 @@ public class k9 implements t5 { T.n(zzn.w); z2 = true; } - if (zzn.f2375x != T.i()) { - T.r(zzn.f2375x); + if (zzn.f2389x != T.i()) { + T.r(zzn.f2389x); z2 = true; } if (zzn.A != T.j()) { @@ -714,11 +712,11 @@ public class k9 implements t5 { z2 = true; if (!TextUtils.equals(zzn.j, T.v())) { } - if (!TextUtils.equals(zzn.f2377z, T.y())) { + if (!TextUtils.equals(zzn.f2391z, T.y())) { } T.u(zzn.D); z2 = true; - T.A(zzn.f2374s); + T.A(zzn.f2388s); z2 = true; long j2 = zzn.m; T.t(zzn.m); @@ -740,7 +738,7 @@ public class k9 implements t5 { z2 = true; if (zzn.w != T.h()) { } - if (zzn.f2375x != T.i()) { + if (zzn.f2389x != T.i()) { } if (zzn.A != T.j()) { } @@ -776,12 +774,12 @@ public class k9 implements t5 { T.c(c(h)); } T.m(zzn.j); - T.q(zzn.f2377z); - if (da.b() && this.k.h.u(T.o(), p.f1197j0)) { + T.q(zzn.f2391z); + if (da.b() && this.k.h.u(T.o(), p.f1229j0)) { T.u(zzn.D); } - if (!TextUtils.isEmpty(zzn.f2374s)) { - T.A(zzn.f2374s); + if (!TextUtils.isEmpty(zzn.f2388s)) { + T.A(zzn.f2388s); } long j3 = zzn.m; if (j3 != 0) { @@ -804,7 +802,7 @@ public class k9 implements t5 { T.R(zzn.t); } T.n(zzn.w); - T.r(zzn.f2375x); + T.r(zzn.f2389x); T.b(zzn.A); T.z(zzn.B); T.a.f().b(); @@ -865,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.f1201z.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; @@ -885,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)); @@ -907,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); @@ -919,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.f1214c), 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; @@ -941,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; @@ -997,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); @@ -1029,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"); @@ -1053,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.f1197j0)) { + 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.f2377z)) { - u0.r0(zzn.f2377z); + if (TextUtils.isEmpty(u0.s0()) && TextUtils.isEmpty(u0.x0()) && !TextUtils.isEmpty(zzn.f2391z)) { + u0.r0(zzn.f2391z); } - } else if (TextUtils.isEmpty(u0.s0()) && !TextUtils.isEmpty(zzn.f2377z)) { - u0.r0(zzn.f2377z); + } else if (TextUtils.isEmpty(u0.s0()) && !TextUtils.isEmpty(zzn.f2391z)) { + u0.r0(zzn.f2391z); } long j4 = zzn.n; if (j4 != 0) { @@ -1083,7 +1081,7 @@ public class k9 implements t5 { u0.y(((Boolean) obj2).booleanValue()); } } - } else if (!this.k.y().s(this.k.j()) && zzn.f2375x && (!hb.b() || !this.k.a().v(zzn.i, p.G0))) { + } else if (!this.k.y().s(this.k.j()) && zzn.f2389x && (!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())); @@ -1122,7 +1120,7 @@ public class k9 implements t5 { } else { T2.c(c(h)); } - T2.A(zzn.f2374s); + T2.A(zzn.f2388s); T2.m(zzn.j); if (!t8.b() || !this.k.a().o(p.J0) || h.j()) { T2.x(this.j.t(zzn.i)); @@ -1151,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).f1214c); + L.r(C.get(i2).f1246c); L.q(C.get(i2).d); N().G(L, C.get(i2).e); u0.u(L); @@ -1192,8 +1190,8 @@ public class k9 implements t5 { } public final x3 J() { - C(this.f1176c); - return this.f1176c; + C(this.f1208c); + return this.f1208c; } public final g K() { @@ -1202,7 +1200,7 @@ public class k9 implements t5 { } public final boolean L(zzn zzn) { - return (!da.b() || !this.k.h.u(zzn.i, p.f1197j0)) ? !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.f2377z) : !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.D) || !TextUtils.isEmpty(zzn.f2377z); + return (!da.b() || !this.k.h.u(zzn.i, p.f1229j0)) ? !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.f2391z) : !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.D) || !TextUtils.isEmpty(zzn.f2391z); } public final ba M() { @@ -1257,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(); @@ -1269,8 +1267,8 @@ public class k9 implements t5 { } String u = K().u(); if (!TextUtils.isEmpty(u)) { - if (this.f1179y == -1) { - this.f1179y = 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()) { @@ -1305,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.f1152c.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; @@ -1373,7 +1371,7 @@ public class k9 implements t5 { String a3 = p.q.a(null); try { URL url = new URL(a3); - d.m(!arrayList.isEmpty()); + d.l(!arrayList.isEmpty()); if (this.w != null) { this.k.g().f.a("Set uploading progress before finishing the previous upload"); } else { @@ -1385,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.f1177s = true; + this.f1209s = true; x3 J = J(); m9 m9Var = new m9(this, u); J.b(); @@ -1396,7 +1394,7 @@ public class k9 implements t5 { } } } else { - this.f1179y = -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); @@ -1430,7 +1428,7 @@ public class k9 implements t5 { boolean z3 = true; this.m = true; U(); - if (!this.k.h.o(p.f1196i0) || (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; @@ -1548,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(); @@ -1578,7 +1576,7 @@ public class k9 implements t5 { } U(); P(); - d dVar2 = this.f1180z.get(str); + d dVar2 = this.f1212z.get(str); if (dVar2 != null) { return dVar2; } @@ -1641,16 +1639,16 @@ 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()); @@ -1709,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; @@ -1732,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); @@ -1753,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.f2378s; + zzaq zzaq4 = zzz2.f2392s; if (zzaq4 != null) { arrayList.add(zzaq4); } @@ -1785,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.f1214c), 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.f1214c), 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) { @@ -1850,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.f1197j0)) { + 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())); } @@ -1867,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.f1197j0)) { + 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; @@ -1881,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.f1197j0)) { + if (da.b() && cVar.a.h.u(a4Var.o(), p.f1229j0)) { v = a4Var.B(); } v = a4Var.y(); @@ -1932,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; @@ -1959,20 +1957,20 @@ public class k9 implements t5 { } l z2 = K().z(zzn.i, "_s"); if (z2 != null) { - j2 = z2.f1182c; + 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.f1214c), 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.f1214c), 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,7 +1984,7 @@ public class k9 implements t5 { public final void p(zzn zzn) { if (this.w != null) { ArrayList arrayList = new ArrayList(); - this.f1178x = arrayList; + this.f1210x = arrayList; arrayList.addAll(this.w); } g K = K(); @@ -2042,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.f1214c), 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.f1214c), 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 { @@ -2101,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); @@ -2109,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) { @@ -2118,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(); @@ -2129,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) { @@ -2147,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) { @@ -2171,7 +2169,7 @@ public class k9 implements t5 { if (t8.b() && this.k.h.o(p.J0)) { U(); P(); - this.f1180z.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"); @@ -2392,7 +2390,7 @@ public class k9 implements t5 { try { a aVar9 = new a(k9Var3, null); g K = K(); - long j3 = k9Var3.f1179y; + long j3 = k9Var3.f1211y; d.A(aVar9); K.b(); K.n(); @@ -2415,7 +2413,7 @@ public class k9 implements t5 { str = "_sc"; str5 = str14; str3 = "_npa"; - list = aVar9.f1181c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { e1.a t2 = aVar9.a.t(); t2.F(); @@ -2430,10 +2428,10 @@ public class k9 implements t5 { long j4 = 0; while (true) { z2 = z11; - if (i13 >= aVar9.f1181c.size()) { + if (i13 >= aVar9.f1213c.size()) { break; } - a1.a t3 = aVar9.f1181c.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())); @@ -2528,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).f1164c > ((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; @@ -2771,7 +2769,7 @@ public class k9 implements t5 { } } i4 = i13; - aVar9.f1181c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2808,7 +2806,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1181c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2829,7 +2827,7 @@ 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 w = q9.w((a1) ((u4) aVar15.p()), str7); @@ -2860,7 +2858,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1181c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2877,7 +2875,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1181c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2894,7 +2892,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1181c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2911,7 +2909,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1181c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2922,7 +2920,7 @@ public class k9 implements t5 { if (t3.w() == 0) { } i4 = i13; - aVar9.f1181c.set(i4, (a1) ((u4) t3.p())); + aVar9.f1213c.set(i4, (a1) ((u4) t3.p())); i12++; aVar4.t(t3); aVar10 = aVar5; @@ -2941,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--; @@ -2952,7 +2950,7 @@ public class k9 implements t5 { } } N(); - c1 w4 = q9.w(C, "_et"); + c1 w4 = q9.w(B, "_et"); if (w4 != null) { Long valueOf = w4.I() ? Long.valueOf(w4.J()) : null; if (valueOf != null && valueOf.longValue() > 0) { @@ -3016,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)) { @@ -3035,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"); @@ -3058,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) { @@ -3138,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(); @@ -3215,7 +3213,7 @@ public class k9 implements t5 { L2 = K2; } if (L2 != 0) { - t2.L(L2); + t2.K(L2); } else { t2.b0(); } @@ -3304,7 +3302,7 @@ public class k9 implements t5 { str = "_sc"; str5 = str14; str3 = "_npa"; - list = aVar9.f1181c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } else { @@ -3324,7 +3322,7 @@ public class k9 implements t5 { str = "_sc"; str5 = str14; str3 = "_npa"; - list = aVar9.f1181c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } else { @@ -3383,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.f1181c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } @@ -3400,7 +3398,7 @@ public class k9 implements t5 { if (cursor2 != null) { cursor2.close(); } - list = aVar9.f1181c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } catch (Throwable th5) { @@ -3429,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.f1181c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } catch (Throwable th7) { @@ -3446,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.f1181c; + list = aVar9.f1213c; if (!(list != null || list.isEmpty())) { } } catch (SQLiteException e9) { @@ -3462,7 +3460,7 @@ 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 w = q9.w((a1) ((u4) aVar.p()), "_sc"); String str = null; @@ -3502,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)); @@ -3518,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)) { @@ -3570,8 +3568,8 @@ 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.f1151c = S.a.J().u(); - S.a.g().n.b("Registering connectivity change receiver. Network connected", Boolean.valueOf(S.f1151c)); + 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(); @@ -3583,12 +3581,12 @@ public class k9 implements t5 { 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.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)); @@ -3603,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.f1199x.a(null).longValue())) { + if (currentTimeMillis2 < Math.max(0L, p.f1231x.a(null).longValue())) { if (!(T.e.d != 0)) { T.e.b(currentTimeMillis2); } @@ -3651,7 +3649,7 @@ public class k9 implements t5 { jobScheduler.schedule(build); return; } - T.d.setInexactRepeating(2, elapsedRealtime, Math.max(p.f1198s.a(null).longValue(), currentTimeMillis2), T.u()); + T.d.setInexactRepeating(2, elapsedRealtime, Math.max(p.f1230s.a(null).longValue(), currentTimeMillis2), T.u()); return; } } @@ -3676,8 +3674,8 @@ public class k9 implements t5 { @WorkerThread public final void x() { U(); - if (this.r || this.f1177s || this.t) { - this.k.g().n.d("Not stopping services. fetch, network, upload", Boolean.valueOf(this.r), Boolean.valueOf(this.f1177s), 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)"); @@ -3699,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.f1197j0)) ? 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 948b999798..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 f1182c; + 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.f1182c = 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.f1182c, 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.f1182c, 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.f1182c, 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 7fa9c497aa..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 @@ -79,7 +79,7 @@ public abstract class l3 extends s0 implements i3 { 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.f1214c)) { + if (z2 || !t9.r0(u9Var.f1246c)) { arrayList.add(new zzku(u9Var)); } } 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 27f7baa25f..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 f1183c; + 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.f1183c = 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.f1183c = 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.f1183c, 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 a450fd90ad..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 f1184c = 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.f1184c.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 2b7553405b..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.f1185c; + String str = o.f1217c; Objects.requireNonNull(cVar); j3 j3Var = p.L; - atomicReference.set(str == null ? j3Var.a(null) : j3Var.a(cVar.f1152c.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 4d115ae540..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,7 +26,7 @@ public final class m9 implements z3 { try { bArr = new byte[0]; } catch (Throwable th2) { - k9Var.f1177s = false; + k9Var.f1209s = false; k9Var.x(); throw th2; } @@ -37,7 +37,7 @@ public final class m9 implements z3 { 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.f1178x; + 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.f1178x = null; + k9Var.f1210x = null; if (!k9Var.J().u() || !k9Var.v()) { - k9Var.f1179y = -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.f1177s = 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 d867982389..c4fec488b3 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 f1185c; + 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 I0; + String D1; 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.f1185c = 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.f1208c) && "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.f1208c; + this.l = this.a.f1240c; } list = null; - I0 = (((lb) ib.i.a()).a() || !this.a.h.o(p.C0)) ? h.a("getGoogleAppId").f1052c : c.I0(this.a.b, "google_app_id"); - this.k = !TextUtils.isEmpty(I0) ? "" : I0; - if (!da.b() && this.a.h.o(p.f1197j0)) { + D1 = (((lb) ib.i.a()).a() || !this.a.h.o(p.C0)) ? h.a("getGoogleAppId").f1084c : f.D1(this.a.b, "google_app_id"); + this.k = !TextUtils.isEmpty(D1) ? "" : D1; + 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(I0) || !TextUtils.isEmpty(string)) { + if (!TextUtils.isEmpty(D1) || !TextUtils.isEmpty(string)) { int identifier2 = resources.getIdentifier("admob_app_id", "string", resourcePackageName); this.l = identifier2 == 0 ? null : resources.getString(identifier2); } - } else if (!TextUtils.isEmpty(I0)) { + } else if (!TextUtils.isEmpty(D1)) { 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.f1185c, 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(I0) ? "" : I0; + this.k = !TextUtils.isEmpty(D1) ? "" : D1; if (!da.b()) { } - if (!TextUtils.isEmpty(I0)) { + if (!TextUtils.isEmpty(D1)) { } 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 d5111e74cf..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 f1186c = 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.f1215c, v5.a, f1186c); + 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 s2 = obj instanceof Bundle ? s((Bundle) obj) : String.valueOf(obj); if (s2 != null) { - if (O.length() != 1) { - O.append(", "); + if (R.length() != 1) { + R.append(", "); } - O.append(s2); + 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 4fef117658..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,45 +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 f1187a0; + 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 f1188b0; + public static j3 f1220b0; /* renamed from: c reason: collision with root package name */ - public static j3 f1189c = 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 f1190c0; + 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 f1191d0; + 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 f1192e0; + 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 f1193f0; + 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 f1194g0; + 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 f1195h0; + 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 f1196i0; + public static j3 f1228i0; public static j3 j = a("measurement.upload.max_events_per_bundle", 1000, 1000, v2.a); /* renamed from: j0 reason: collision with root package name */ - public static j3 f1197j0; + 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); @@ -110,7 +110,7 @@ public final class p { public static j3 r0; /* renamed from: s reason: collision with root package name */ - public static j3 f1198s = a("measurement.upload.window_interval", 3600000L, 3600000L, a0.a); + 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; @@ -122,15 +122,15 @@ public final class p { public static j3 w0; /* renamed from: x reason: collision with root package name */ - public static j3 f1199x = 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 f1200y = 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 f1201z = 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); - f1187a0 = a("measurement.audience.use_bundle_end_timestamp_for_non_sequence_property_filters", bool, bool, k1.a); - f1188b0 = a("measurement.audience.refresh_event_count_filters_timestamp", bool, bool, j1.a); - f1190c0 = a("measurement.audience.use_bundle_timestamp_for_event_count_filters", bool, bool, m1.a); - f1191d0 = a("measurement.sdk.collection.retrieve_deeplink_from_bow_2", bool2, bool2, o1.a); - f1192e0 = a("measurement.sdk.collection.last_deep_link_referrer2", bool2, bool2, n1.a); - f1193f0 = a("measurement.sdk.collection.last_deep_link_referrer_campaign2", bool, bool, q1.a); - f1194g0 = a("measurement.sdk.collection.last_gclid_from_referrer2", bool, bool, p1.a); - f1195h0 = a("measurement.sdk.collection.enable_extend_user_property_size", bool2, bool2, s1.a); - f1196i0 = a("measurement.upload.file_lock_state_check", bool, bool, r1.a); - f1197j0 = 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 d23b7e4482..becbe406a0 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.S0(this.i.g(), sQLiteDatabase); + f.N1(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.T0(this.i.g(), sQLiteDatabase, "messages", "create table if not exists messages ( type INTEGER NOT NULL, entry BLOB NOT NULL)", "type,entry", null); + f.O1(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 db9c846a59..83c9d35996 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; @@ -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 L0 = c.L0(t.q(), v5.a, v5.f1215c); - if (!TextUtils.isEmpty(L0)) { + String G1 = f.G1(t.q(), v5.a, v5.f1247c); + if (!TextUtils.isEmpty(G1)) { if (t.k) { t.n(); t.k = false; } - t0.v((t0) t.j, L0); + t0.v((t0) t.j, G1); 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 L0 = c.L0(((l0) t3.j).z(), v5.a, v5.f1215c); - if (L0 != null) { + String G1 = f.G1(((l0) t3.j).z(), v5.a, v5.f1247c); + if (G1 != null) { if (aVar.k) { aVar.n(); aVar.k = false; } - l0.w((l0) aVar.j, L0); + l0.w((l0) aVar.j, G1); 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 L02 = c.L0(u.C(), u5.a, u5.b); - if (L02 != null) { + String G12 = f.G1(u.C(), u5.a, u5.b); + if (G12 != null) { m0.a t4 = u.t(); if (t4.k) { t4.n(); t4.k = false; } - m0.u((m0) t4.j, L02); + m0.u((m0) t4.j, G12); 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 L03 = c.L0(u2.x(), x5.a, x5.b); - if (L03 != null) { + String G13 = f.G1(u2.x(), x5.a, x5.b); + if (G13 != 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, L03); + o0.u((o0) t5.j, G13); if (t2.k) { t2.n(); t2.k = z3; 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 90522c1070..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 f1202c = 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.f1175c, 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.f1156c : new Pair<>(string, Long.valueOf(j4)); - if (pair != null || pair == d4.f1156c) { + 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 81fcd3fa96..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 f1203c; + 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.f1203c = 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.f1203c; + 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.f1203c; + 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.f1203c, 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.f1203c; + 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.f1203c); + 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.f1185c; + 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; @@ -437,7 +437,7 @@ public final class q7 extends a5 { if (!da.b()) { list = list2; j2 = j7; - if (o.a.h.o(p.f1197j0)) { + 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()); 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 76589c7eb5..0ed4e8b6fc 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.f2377z); + return !TextUtils.isEmpty(zzn.j) || !TextUtils.isEmpty(zzn.f2391z); } public static boolean P(String str) { @@ -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 8afecef9cd..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 f1204c = 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 0c6444429d..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 f1205c; + 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.f1205c = z3; + this.f1237c = z3; } public final void a(String str) { - this.d.w(this.a, this.b, this.f1205c, 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.f1205c, 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.f1205c, 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.f1205c, 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 534edca38b..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.f1204c.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.f1204c.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 2541c5b707..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.f1185c, 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/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 2a15d89f64..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.f1202c == 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.f1202c = 'C'; + this.n.f1234c = 'C'; } else { - this.n.f1202c = '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.f1202c; + 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.f1175c, 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.f1175c, 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 7c03fa028a..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.f1185c, 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/t9.java b/app/src/main/java/c/i/a/f/i/b/t9.java index 06ceaf014e..237820778d 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[] f1206c = {"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.Q0(bundle, zzz.k.v0()); + f.L1(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.r); - zzaq zzaq3 = zzz.f2378s; + zzaq zzaq3 = zzz.f2392s; if (zzaq3 != null) { bundle.putString("expired_event_name", zzaq3.i); - zzap zzap3 = zzz.f2378s.j; + zzap zzap3 = zzz.f2392s.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.f1197j0) && !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 = f1206c; + 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.f1213c)) { + 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; @@ -1110,6 +1111,6 @@ public final class t9 extends r5 { if ("_id".equals(str)) { return 256; } - return (!this.a.h.o(p.f1195h0) || !"_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 e04d5d40fa..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 f1207c; + 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.f1207c = 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.f1207c); + 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 5aff06557e..cd46b68453 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 f1208c; + public final String f1240c; public final String d; public final String e; public final boolean f; @@ -53,20 +54,20 @@ public class u4 implements t5 { public final a r; /* renamed from: s reason: collision with root package name */ - public final d7 f1209s; + public final d7 f1241s; public m3 t; public q7 u; public j v; public n3 w; /* renamed from: x reason: collision with root package name */ - public m4 f1210x; + public m4 f1242x; /* renamed from: y reason: collision with root package name */ - public boolean f1211y = false; + public boolean f1243y = false; /* renamed from: z reason: collision with root package name */ - public Boolean f1212z; + public Boolean f1244z; public u4(y5 y5Var) { Context context; @@ -75,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.f1208c = y5Var.b; - this.d = y5Var.f1217c; + this.f1240c = y5Var.b; + this.d = y5Var.f1249c; this.e = y5Var.d; this.f = y5Var.h; this.B = y5Var.e; @@ -103,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.f1096c == null)) { - context.getContentResolver().unregisterContentObserver(c2.a.f1096c); + 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.D0(new k2(applicationContext))); + l2.b = new v1(applicationContext, f.y1(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); @@ -140,7 +141,7 @@ public class u4 implements t5 { this.l = w8Var; d7 d7Var = new d7(this); d7Var.p(); - this.f1209s = d7Var; + this.f1241s = d7Var; r4 r4Var = new r4(this); r4Var.p(); this.k = r4Var; @@ -153,12 +154,12 @@ public class u4 implements t5 { c6 s2 = s(); if (s2.a.b.getApplicationContext() instanceof Application) { Application application = (Application) s2.a.b.getApplicationContext(); - if (s2.f1153c == null) { - s2.f1153c = new y6(s2, null); + if (s2.f1185c == null) { + s2.f1185c = new y6(s2, null); } if (z3) { - application.unregisterActivityLifecycleCallbacks(s2.f1153c); - application.registerActivityLifecycleCallbacks(s2.f1153c); + application.unregisterActivityLifecycleCallbacks(s2.f1185c); + application.registerActivityLifecycleCallbacks(s2.f1185c); s2.g().n.a("Registered activity lifecycle callback"); } } @@ -198,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)); } } @@ -210,10 +208,7 @@ 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)); } } @@ -315,20 +310,20 @@ public class u4 implements t5 { */ @WorkerThread public final boolean m() { - if (this.f1211y) { + if (this.f1243y) { f().b(); - Boolean bool = this.f1212z; + 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.f1212z.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.f1212z = valueOf; + this.f1244z = valueOf; if (valueOf.booleanValue()) { t9 t = t(); n3 z3 = z(); @@ -344,16 +339,16 @@ public class u4 implements t5 { z6.t(); } z2 = true; - this.f1212z = Boolean.valueOf(z2); + this.f1244z = Boolean.valueOf(z2); } - return this.f1212z.booleanValue(); + return this.f1244z.booleanValue(); } throw new IllegalStateException("AppMeasurement is not initialized"); } public final d7 n() { - q(this.f1209s); - return this.f1209s; + q(this.f1241s); + return this.f1241s; } public final d4 o() { @@ -382,7 +377,7 @@ public class u4 implements t5 { } public final boolean v() { - return TextUtils.isEmpty(this.f1208c); + return TextUtils.isEmpty(this.f1240c); } public final h7 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 af29eb6774..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[] f1213c = {"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/u9.java b/app/src/main/java/c/i/a/f/i/b/u9.java index af165f2652..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 f1214c; + 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.f1214c = 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 d44cb9ea26..7a0dc1844d 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[] f1215c = {"_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.L0(str, f1215c, a); + return f.G1(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 74079396ca..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.f1185c, 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/v8.java b/app/src/main/java/c/i/a/f/i/b/v8.java index 421556c4e3..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().f1158x.b()) { + if (w8Var.a.h.z().booleanValue() || w8Var.l().f1190x.b()) { d9 d9Var = w8Var.e; d9Var.d.b(); - d9Var.f1161c.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.f1161c.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().f1158x.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 64712eef3e..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; @@ -52,7 +52,7 @@ public final class w4 implements Runnable { u4Var.u = q7Var; u4Var.m.q(); u4Var.i.q(); - u4Var.f1210x = new m4(u4Var); + u4Var.f1242x = new m4(u4Var); n3 n3Var2 = u4Var.w; if (!n3Var2.b) { n3Var2.w(); @@ -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.f1185c; - if (TextUtils.isEmpty(u4Var.f1208c)) { + 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.f1211y = true; + u4Var.f1243y = true; u4 u4Var2 = this.j; zzae zzae = this.i.g; u4Var2.f().b(); @@ -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 00df24f413..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 @@ -24,7 +24,7 @@ public final class w7 implements Runnable { if (i7Var == null) { i3Var.H(0, null, null, q7Var.a.b.getPackageName()); } else { - i3Var.H(i7Var.f1170c, 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 6b349e62e8..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 f1216c; + 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.f1216c == null) { - this.f1216c = 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 c4b3178da8..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,12 +20,12 @@ public final class x implements Runnable { long j = this.j; aVar.b(); d.w(str); - Integer num = aVar.f1145c.get(str); + Integer num = aVar.f1177c.get(str); if (num != null) { i7 w = aVar.q().w(false); int intValue = num.intValue() - 1; if (intValue == 0) { - aVar.f1145c.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"); @@ -33,7 +33,7 @@ public final class x implements Runnable { aVar.b.remove(str); aVar.w(str, j - l.longValue(), w); } - if (aVar.f1145c.isEmpty()) { + if (aVar.f1177c.isEmpty()) { long j2 = aVar.d; if (j2 == 0) { aVar.g().f.a("First ad exposure time was never set"); @@ -45,7 +45,7 @@ public final class x implements Runnable { } return; } - aVar.f1145c.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/x8.java b/app/src/main/java/c/i/a/f/i/b/x8.java index 5d38475576..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.f1216c.removeCallbacks(b9Var); + this.b.f1248c.removeCallbacks(b9Var); } if (this.b.a.h.o(p.v0)) { - this.b.l().f1158x.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 e235694ad3..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.f1145c.isEmpty()) { + if (aVar.f1177c.isEmpty()) { aVar.d = j; } - Integer num = aVar.f1145c.get(str); + Integer num = aVar.f1177c.get(str); if (num != null) { - aVar.f1145c.put(str, Integer.valueOf(num.intValue() + 1)); - } else if (aVar.f1145c.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.f1145c.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 4aadca29e8..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 f1217c; + 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.f1217c = 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 43cd349e8f..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,19 +67,19 @@ 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.f1167c; - q.f1167c = null; + q.d = q.f1199c; + q.f1199c = null; q.f().v(new o7(q, E, elapsedRealtime)); } else { - q.f1167c = null; + q.f1199c = null; q.f().v(new l7(q, elapsedRealtime)); } w8 s2 = this.i.s(); - Objects.requireNonNull((d) s2.a.o); + Objects.requireNonNull((c) s2.a.o); s2.f().v(new y8(s2, SystemClock.elapsedRealtime())); } @@ -87,7 +87,7 @@ public final class y6 implements Application.ActivityLifecycleCallbacks { @MainThread public final void onActivityResumed(Activity activity) { w8 s2 = this.i.s(); - Objects.requireNonNull((d) s2.a.o); + 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)) { @@ -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.f1167c = 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.f1170c); + 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 6afba668bc..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.f1216c.postDelayed(b9Var, 2000); + x8Var.b.f1248c.postDelayed(b9Var, 2000); if (w8Var.a.h.z().booleanValue()) { - w8Var.e.f1161c.c(); + w8Var.e.f1193c.c(); } f9 f9Var = w8Var.d; if (!f9Var.a.a.h.o(p.v0)) { - f9Var.a.l().f1158x.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 33745edb7b..84372b90c0 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 f1218c = null; + public String f1250c = null; public z4(k9 k9Var) { Objects.requireNonNull(k9Var, "null reference"); @@ -97,7 +97,7 @@ public final class z4 extends l3 { 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.f1214c)) { + if (z2 || !t9.r0(u9Var.f1246c)) { arrayList.add(new zzku(u9Var)); } } @@ -145,7 +145,7 @@ public final class z4 extends l3 { Objects.requireNonNull(zzaq, "null reference"); 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); @@ -162,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) { @@ -219,7 +219,7 @@ public final class z4 extends l3 { 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.f1214c)) { + if (z2 || !t9.r0(u9Var.f1246c)) { arrayList.add(new zzku(u9Var)); } } @@ -248,8 +248,8 @@ public final class z4 extends l3 { if (z2) { try { if (this.b == null) { - if (!"com.google.android.gms".equals(this.f1218c) && !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); } @@ -265,15 +265,15 @@ public final class z4 extends l3 { throw e; } } - if (this.f1218c == 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.f1218c = str; + if (f.i1(context, callingUid, str)) { + this.f1250c = str; } } - if (!str.equals(this.f1218c)) { + if (!str.equals(this.f1250c)) { throw new SecurityException(String.format("Unknown calling package name '%s'.", str)); } return; @@ -286,6 +286,6 @@ public final class z4 extends l3 { public final void y0(zzn zzn) { Objects.requireNonNull(zzn, "null reference"); x0(zzn.i, false); - this.a.k.t().c0(zzn.j, zzn.f2377z, zzn.D); + this.a.k.t().c0(zzn.j, zzn.f2391z, 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 a9f7ee150c..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.f1144c.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 4c858bda97..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.f1222c.f1053c); + 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 478c8052d9..e8dc3d91c4 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.r == 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.f2379c), m), subscribeOptions), new m(m)); + return k(m, new l(this, m, new s(this, m(subscribeOptions.f2393c), m), subscribeOptions), new m(m)); } @Override // com.google.android.gms.nearby.messages.MessagesClient @@ -83,11 +83,11 @@ 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.f1053c; + k.a aVar = kVar.f1085c; x xVar = new x(this, aVar, a0Var2); - d.z(kVar.f1053c, "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.f1053c, 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); 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 3f6cf9a2db..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 f1219c; + 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.f1219c = 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.f1219c; + 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/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 cbf9668f3d..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 f1220c; + 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.f1220c = 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.f1220c; + d0 d0Var = this.f1252c; SubscribeOptions subscribeOptions = this.d; int i = iVar.m; - if (!fVar.A.a(kVar2.f1053c)) { + if (!fVar.A.a(kVar2.f1085c)) { o oVar = fVar.A; - oVar.a.put(kVar2.f1053c, new WeakReference<>(new h(kVar2))); + oVar.a.put(kVar2.f1085c, new WeakReference<>(new h(kVar2))); } - fVar.w().D(new SubscribeRequest(3, fVar.A.b(kVar2.f1053c), 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 2b49366fbd..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.f1053c)) { + if (!fVar.A.a(kVar2.f1085c)) { jVar.g(new Status(0, null)); return; } - fVar.w().m0(new zzcg(1, fVar.A.b(kVar2.f1053c), 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.f1053c); + 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 db6a9ac186..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,11 +17,11 @@ 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.f1053c)) { + if (!fVar.A.a(kVar2.f1085c)) { o oVar = fVar.A; - oVar.a.put(kVar2.f1053c, 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.f1053c), false, null, null); + zzcb zzcb = new zzcb(1, new j(kVar), fVar.A.b(kVar2.f1085c), false, null, null); zzcb.l = true; 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 d2589a0438..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.f1053c)) { + if (!fVar.A.a(kVar2.f1085c)) { jVar.g(new Status(0, null)); return; } - zzcb zzcb = new zzcb(1, jVar, fVar.A.b(kVar2.f1053c), false, null, null); + zzcb zzcb = new zzcb(1, jVar, fVar.A.b(kVar2.f1085c), false, null, null); zzcb.l = false; fVar.w().s(zzcb); c.i.a.f.h.m.o oVar = fVar.A; - oVar.a.remove(kVar2.f1053c); + 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 3f818cf55b..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 f1221c; + 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.f1221c = 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 b4a35c2fea..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 f1222c; + 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.f1222c = kVar2; + this.f1254c = kVar2; } } 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 ceeed547ca..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 f1223c; + 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.f1223c = iVar; + this.f1255c = iVar; this.b = a0Var; } } 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 3faa45adc5..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 f1224c; + 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.f1224c = 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 3864e100d8..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.f1221c.f1053c); + 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 f686373d54..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 f1225c; + public final /* synthetic */ a0 f1257c; public final /* synthetic */ i d; public y(i iVar, a0 a0Var) { this.d = iVar; - this.f1225c = 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.f1225c.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 6bf1e746c7..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 f1226c; + 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; - f1226c = 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 d975f987cc..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 @@ -56,7 +56,7 @@ public class a extends d implements f { Log.w("SignInClientImpl", "Remote service probably died when signIn is called"); try { g0 g0Var = (g0) cVar; - g0Var.f1051c.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/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 ef61ec061d..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 f1227c; - 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(); - f1227c = 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 d2cc8d4f4b..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 f1228c; + 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.f1228c = ((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.f1228c.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.f1228c, 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.f1228c.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.f1228c.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.f1228c, 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.f1073c) == 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.f1228c.isHeld()) { + if (this.f1260c.isHeld()) { try { - this.f1228c.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.f1228c.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 d6c143192e..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 f1229c; + 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.f1229c, "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.f1229c, "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.f1229c; + 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.f1229c && !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.f1229c = 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.f1229c = 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.f1229c) { + if (this.f1261c) { return false; } - this.f1229c = 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.f1229c) { + 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.f1229c) { + 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 e367f0f643..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 f1230c; + 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.f1230c = 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.f1230c; + 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.f1230c.u(); + this.f1262c.u(); } else { - this.f1230c.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 02137a7f0c..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 f1231c; + public final b0 f1263c; public k(@NonNull Executor executor, @NonNull a aVar, @NonNull b0 b0Var) { this.a = executor; this.b = aVar; - this.f1231c = 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 6da6752505..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 f1232c; + public final b0 f1264c; public l(@NonNull Executor executor, @NonNull a> aVar, @NonNull b0 b0Var) { this.a = executor; this.b = aVar; - this.f1232c = 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 f1233c; + public b f1265c; public p(@NonNull Executor executor, @NonNull b bVar) { this.a = executor; - this.f1233c = 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.f1233c != 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 62fd60a165..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 f1234c; + public c f1266c; public q(@NonNull Executor executor, @NonNull c cVar) { this.a = executor; - this.f1234c = cVar; + this.f1266c = cVar; } @Override // c.i.a.f.n.z public final void a(@NonNull Task task) { synchronized (this.b) { - if (this.f1234c != 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 767c160dee..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.f1234c; + 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 8487d7cb10..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.f1235c; + 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 c3f167b9a5..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 f1235c; + public d f1267c; public t(@NonNull Executor executor, @NonNull d dVar) { this.a = executor; - this.f1235c = 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.f1235c != 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 f386630ac7..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 f1236c; + public e f1268c; public u(@NonNull Executor executor, @NonNull e eVar) { this.a = executor; - this.f1236c = 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.f1236c != 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 d019d1f854..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.f1236c; + 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 eaed8894ca..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.f1237c.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.f1237c.s((Exception) e.getCause()); + this.j.f1269c.s((Exception) e.getCause()); return; } - this.j.f1237c.s(e); + this.j.f1269c.s(e); } catch (CancellationException unused) { - this.j.f1237c.u(); + this.j.f1269c.u(); } catch (Exception e2) { - this.j.f1237c.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 e469f58ffa..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 f1237c; + public final b0 f1269c; public x(@NonNull Executor executor, @NonNull f fVar, @NonNull b0 b0Var) { this.a = executor; this.b = fVar; - this.f1237c = 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 f1238c; + public boolean f1270c; public final void a(@NonNull Task task) { z poll; synchronized (this.a) { if (this.b != null) { - if (!this.f1238c) { - this.f1238c = 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.f1238c = 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 b3f3c906b2..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.f1239c = 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 506b3a0416..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 f1239c; + 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.f1239c)); + 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 afbe66cd86..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 f1240c; + public int f1272c; public int d; public int e; public int f; @@ -50,7 +50,7 @@ public class a { public LayerDrawable r; /* renamed from: s reason: collision with root package name */ - public int f1241s; + public int f1273s; public a(MaterialButton materialButton, @NonNull ShapeAppearanceModel shapeAppearanceModel) { this.a = materialButton; @@ -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.f1240c, this.e, this.d, this.f), this.m); + 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.f1241s); + 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 d4e8a4311b..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 f1242c; + public final MaterialCardView f1274c; @NonNull public final Rect d = new Rect(); @NonNull @@ -65,14 +65,14 @@ public class a { @Nullable /* renamed from: s reason: collision with root package name */ - public MaterialShapeDrawable f1243s; + 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.f1242c = 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.f1242c.getMaxCardElevation() + (j() ? a() : 0.0f); + return this.f1274c.getMaxCardElevation() + (j() ? a() : 0.0f); } public final float d() { - return (this.f1242c.getMaxCardElevation() * 1.5f) + (j() ? a() : 0.0f); + return (this.f1274c.getMaxCardElevation() * 1.5f) + (j() ? a() : 0.0f); } @NonNull @@ -136,8 +136,8 @@ public class a { RippleDrawable rippleDrawable; if (this.p == null) { if (RippleUtils.USE_FRAMEWORK_RIPPLE) { - this.f1243s = new MaterialShapeDrawable(this.n); - rippleDrawable = new RippleDrawable(this.l, null, this.f1243s); + 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); @@ -165,7 +165,7 @@ public class a { public final Drawable f(Drawable drawable) { int i; int i2; - if (this.f1242c.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,7 +202,7 @@ public class a { if (materialShapeDrawable2 != null) { materialShapeDrawable2.setShapeAppearanceModel(shapeAppearanceModel); } - MaterialShapeDrawable materialShapeDrawable3 = this.f1243s; + MaterialShapeDrawable materialShapeDrawable3 = this.f1275s; if (materialShapeDrawable3 != null) { materialShapeDrawable3.setShapeAppearanceModel(shapeAppearanceModel); } @@ -213,30 +213,30 @@ public class a { } public final boolean i() { - return this.f1242c.getPreventCornerOverlap() && !this.e.isRoundRect(); + return this.f1274c.getPreventCornerOverlap() && !this.e.isRoundRect(); } public final boolean j() { - return this.f1242c.getPreventCornerOverlap() && this.e.isRoundRect() && this.f1242c.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.f1242c.getPreventCornerOverlap() && this.f1242c.getUseCompatPadding()) { - f = (float) ((1.0d - b) * ((double) this.f1242c.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.f1242c; + 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.f1242c.setBackgroundInternal(f(this.e)); + this.f1274c.setBackgroundInternal(f(this.e)); } - this.f1242c.setForeground(f(this.j)); + this.f1274c.setForeground(f(this.j)); } public final void m() { 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 f858bd95d2..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 f1244c; + 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.f1244c = 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.f1244c); + 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 064271a3e1..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 f1245c; + 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.f1245c = 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 76c6bd7506..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.f1245c : 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 93938adc9c..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 f1246c = 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 472b312bf5..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.f1246c; + 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 4ed58b5efb..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 f1247c = 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 d9b079cba7..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 f1248c = 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.f1248c); - if (this.f1248c.isConvex()) { - outline.setConvexPath(this.f1248c); + 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 d3b48351fd..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 f1249c; + 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.f1249c = 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.f1249c; + 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 c0bf73a3e3..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 f1250c; + public final /* synthetic */ f f1282c; - public e(f fVar, boolean z2, f.AbstractC0118f fVar2) { - this.f1250c = 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.f1250c; + 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.f1250c.F.internalSetVisibility(0, this.a); - f fVar = this.f1250c; + 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 709ba72ad4..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[] f1251c = {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}; @@ -76,7 +76,7 @@ public class f { @NonNull /* renamed from: s reason: collision with root package name */ - public final StateListAnimator f1252s; + public final StateListAnimator f1284s; @Nullable public MotionSpec t; @Nullable @@ -88,13 +88,13 @@ public class f { @Nullable /* renamed from: x reason: collision with root package name */ - public MotionSpec f1253x; + public MotionSpec f1285x; /* renamed from: y reason: collision with root package name */ - public float f1254y; + public float f1286y; /* renamed from: z reason: collision with root package name */ - public float f1255z = 1.0f; + public float f1287z = 1.0f; /* compiled from: FloatingActionButtonImpl */ public class a extends MatrixEvaluator { @@ -103,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.f1255z = f; + f.this.f1287z = f; return super.evaluate(f, matrix, matrix2); } @@ -111,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.f1255z = f; + f.this.f1287z = f; return super.evaluate(f, matrix, matrix2); } } @@ -163,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 */ @@ -184,7 +184,7 @@ public class f { public float b; /* renamed from: c reason: collision with root package name */ - public float f1256c; + public float f1288c; public h(d dVar) { } @@ -193,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.f1256c)); + f.this.w((float) ((int) this.f1288c)); this.a = false; } @@ -202,12 +202,12 @@ public class f { if (!this.a) { MaterialShapeDrawable materialShapeDrawable = f.this.i; this.b = materialShapeDrawable == null ? 0.0f : materialShapeDrawable.getElevation(); - this.f1256c = a(); + this.f1288c = a(); this.a = true; } f fVar = f.this; float f = this.b; - fVar.w((float) ((int) ((valueAnimator.getAnimatedFraction() * (this.f1256c - f)) + f))); + fVar.w((float) ((int) ((valueAnimator.getAnimatedFraction() * (this.f1288c - f)) + f))); } } @@ -215,14 +215,14 @@ public class f { this.F = floatingActionButton; this.G = shadowViewDelegate; StateListAnimator stateListAnimator = new StateListAnimator(); - this.f1252s = stateListAnimator; + this.f1284s = stateListAnimator; stateListAnimator.addState(b, c(new d())); - stateListAnimator.addState(f1251c, 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.f1254y = floatingActionButton.getRotation(); + this.f1286y = floatingActionButton.getRotation(); } public final void a(float f2, @NonNull Matrix matrix) { @@ -340,7 +340,7 @@ public class f { } public final void o(float f2) { - this.f1255z = f2; + this.f1287z = f2; Matrix matrix = this.K; a(f2, matrix); this.F.setImageMatrix(matrix); 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 e022a33c62..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.f1254y == rotation) { + if (fVar.f1286y == rotation) { return true; } - fVar.f1254y = 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 1c5dcfa6bd..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 @@ -141,7 +141,7 @@ public class i extends f { } else { StateListAnimator stateListAnimator = new StateListAnimator(); stateListAnimator.addState(f.b, x(f, f3)); - stateListAnimator.addState(f.f1251c, 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 c61f0ae19f..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 f1257c; + 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 { - f1257c = 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(f1257c), 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 742a02a834..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 f1258c = 1; + public int f1290c = 1; public float d; public float e; public float f; @@ -30,7 +30,7 @@ public final class a extends f { float f3 = -f2; canvas.clipRect(f3, f3, f2, f2); S s3 = this.a; - this.f1258c = ((CircularProgressIndicatorSpec) s3).indicatorDirection == 0 ? 1 : -1; + 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; @@ -49,7 +49,7 @@ public final class a extends f { paint.setAntiAlias(true); paint.setColor(i); paint.setStrokeWidth(this.d); - float f3 = (float) this.f1258c; + 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.f1258c) * f6), (this.f + f5) - f2, Math.max(0.0f, f6 * ((float) this.f1258c)), 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.f1258c), 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.f1258c), 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 c295bb6640..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.f1259c[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.f1259c[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/g.java b/app/src/main/java/c/i/a/g/g/g.java index a1ddf22ea1..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[] f1259c; + public final int[] f1291c; public g(int i) { this.b = new float[(i * 2)]; - this.f1259c = 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 30bcf72f45..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 f1260c = 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.f1260c = (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,7 +54,7 @@ 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.f1260c; + float f3 = this.f1292c; canvas.clipRect((-f3) / 2.0f, (-f2) / 2.0f, f3 / 2.0f, f2 / 2.0f); S s2 = this.a; this.d = ((float) ((LinearProgressIndicatorSpec) s2).trackThickness) * f; @@ -64,7 +64,7 @@ public final class h extends 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.f1260c; + 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.f1260c) / 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 4764782a1e..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.f1259c; + 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.f1259c, 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 da9cdc7385..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.f1259c, 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.f1259c; + 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 e9b74a5e11..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 f1261c = 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 f1262c; + 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.f1261c.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.f1262c) { - cVar.f1262c = true; - this.f1261c.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.f1262c) { - cVar.f1262c = 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.f1261c.removeCallbacksAndMessages(cVar); - Handler handler = this.f1261c; + 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 bfed308b84..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.f1263c.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 4ec47e31e8..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.f1263c.setScaleX(floatValue); - this.a.f1263c.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 88dd840037..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.f1263c.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.f1263c, 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 08be8bd210..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.f1263c.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 4a874bf4d9..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.f1263c.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 2d6a7d2d70..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 f1263c; + public CheckableImageButton f1295c; public m(@NonNull TextInputLayout textInputLayout) { this.a = textInputLayout; this.b = textInputLayout.getContext(); - this.f1263c = 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 7729820c13..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 f1264c; + public LinearLayout f1296c; public int d; public FrameLayout e; @Nullable @@ -56,7 +56,7 @@ public final class n { public TextView r; /* renamed from: s reason: collision with root package name */ - public int f1265s; + 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 f1266c; + 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.f1266c = 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.f1266c == 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.f1264c == null && this.e == null) { + if (this.f1296c == null && this.e == null) { LinearLayout linearLayout = new LinearLayout(this.a); - this.f1264c = linearLayout; + this.f1296c = linearLayout; linearLayout.setOrientation(0); - this.b.addView(this.f1264c, -1, -2); + this.b.addView(this.f1296c, -1, -2); this.e = new FrameLayout(this.a); - this.f1264c.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.f1264c.addView(textView, new LinearLayout.LayoutParams(-2, -2)); + this.f1296c.addView(textView, new LinearLayout.LayoutParams(-2, -2)); } - this.f1264c.setVisibility(0); + this.f1296c.setVisibility(0); this.d++; } public void b() { - if ((this.f1264c == 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.f1264c; + 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); } @@ -212,7 +212,7 @@ public final class n { public void j(TextView textView, int i) { FrameLayout frameLayout; - LinearLayout linearLayout = this.f1264c; + 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.f1264c; + LinearLayout linearLayout2 = this.f1296c; if (i2 == 0) { linearLayout2.setVisibility(8); } 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 cf300b7993..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.f1263c.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.f1263c.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 baed92be44..baed48657c 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.f2410s; + int height = ((this.i.getHeight() / 2) - clockFaceView.l.q) - clockFaceView.f2424s; if (height != clockFaceView.j) { clockFaceView.j = height; clockFaceView.a(); ClockHandView clockHandView = clockFaceView.l; - clockHandView.f2414z = clockFaceView.j; + clockHandView.f2428z = 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 e1b219065b..4c37cba380 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.f2412x = this; + timePickerView2.k.f2426x = this; g(i, "%d"); g(j, "%d"); g(k, "%02d"); 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 3b73f6d272..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 f1267c = 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 28f6e51b60..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 f1268c; + public final boolean f1300c; public c(int i, int i2, boolean z2) { this.a = i; this.b = i2; - this.f1268c = 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 e6c0931135..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.f1269c > 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.f1269c) / 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 8a6786eb47..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 f1269c; + 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.f1269c = 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 125ed6b0ab..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 f1270c = 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 a33abf5605..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 f1271c = 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 68077fc4a5..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 f1272c; + public final boolean f1304c; public c(int i, int i2, boolean z2) { this.a = i; this.b = i2; - this.f1272c = 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 f450977f0c..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.f1273c > 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.f1273c) / 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 9368702c30..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 f1273c; + 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.f1273c = 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 afd8b8300a..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 f1274c = 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 cd5a917e1a..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 f1275c = 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 c580ca6831..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 f1276c; + 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 f1277c; + 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.f1276c = 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.f1276c.f1277c = aVar; - this.f1276c = 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.f1277c; + 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.f1277c; + 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 986b9d1017..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 f1278c = 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.f1278c; + 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 e86078316a..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 f1279c = -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.f1279c; - 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.f1279c; - 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.f1276c.f1277c = aVar; - gVar.f1276c = 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.f1276c.f1277c = aVar2; - gVar.f1276c = aVar2; - aVar2.b = m02; - aVar2.a = "valueStrength"; - } - if (this.f != null) { - g.a aVar3 = new g.a(null); - gVar.f1276c.f1277c = aVar3; - gVar.f1276c = 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 c4b1db7718..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 f1280c; - - public c(K k, int i, @NullableDecl E e) { - this.a = k; - this.b = i; - this.f1280c = e; - } - - @Override // c.i.b.b.e0.i - public E a() { - return this.f1280c; - } - - @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 s2, E e, @NullableDecl E e2); - - p b(); - - p c(); - - void d(S s2, E e, V v); - - S e(e0 e0Var, int i, int i2); - - E f(S s2, 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.f1279c; - 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.f1279c = 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 f1281c = 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.f1281c = wVar.f1281c; - 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).f1281c = 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.f1281c; - } - } - - /* 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> f1282c = ((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.f1282c = yVar.f1282c.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.f1282c; - yVar.f1282c = 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.f1282c; - } - - @Override // c.i.b.b.e0.i - public V getValue() { - return this.f1282c.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.f1279c; - 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 7425f4921d..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 - public transient Set r; - @MonotonicNonNullDecl - - /* renamed from: s reason: collision with root package name */ - public transient Set> f1283s; - @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 j02 = c.i.a.f.e.o.c.j0(obj); - int i2 = this.j[c() & j02]; - while (i2 != -1) { - long j = this.k[i2]; - if (b(j) == j02 && 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.f1283s; - if (set != null) { - return set; - } - a aVar = new a(); - this.f1283s = 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.r; - if (set != null) { - return set; - } - c cVar = new c(); - this.r = 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 j02 = c.i.a.f.e.o.c.j0(k); - int c2 = c() & j02; - 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) != j02 || !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) j02) << 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 463abd5883..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 f1284c = 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.f1284c : 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 29b663c15a..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 f1285c; + @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 d01a0c57d2..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 j02 = c.j0(obj); - while (true) { - int i = j02 & this.o; - Object obj2 = objArr[i]; - if (obj2 == null) { - return false; - } - if (obj2.equals(obj)) { - return true; - } - j02 = 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 b738febe19..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.f1285c = false; - } else if (this.f1285c) { - this.a = (Object[]) objArr.clone(); - this.f1285c = 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.f1285c = 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 f4775c55bf..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 f1286c = 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.f1286c = 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.f1286c = 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 b950e33726..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 f1287c = 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.f1287c.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.f1287c.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 = f1287c.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 (f1287c.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 = f1287c; + 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().f1295c; + 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 41df48be40..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 f1288c; + 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.f1288c = 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.f1288c, iVar.f1288c) && 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.f1288c, 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.f1288c); + 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 f041cd2ebd..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 f1289c = 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.f1289c.containsKey(str) && this.f1289c.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.f1289c.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 b7b9eba0f7..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 f1290c; + 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.f1290c = 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 957e594454..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 f1291c = 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 !f1291c.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 fd1ceb5806..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 f1292c; + 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.f1292c = 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 037163a396..346263eb2d 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 L0 = c.L0(str2, v5.f1215c, v5.a); - if (L0 != null) { - str2 = L0; + String G1 = f.G1(str2, v5.f1247c, v5.a); + if (G1 != null) { + str2 = G1; } 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 cd27e4a929..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; @@ -78,7 +78,7 @@ public final class b implements b7 { 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; 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 0437bb8ce3..e9144d9412 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 f1293c; + 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.j1(sb.toString()); + f.e2(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.j1(sb2.toString()); + f.e2(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.j1("Input Array of elements is too big, cutting off."); + f.e2("Input Array of elements is too big, cutting off."); objArr = Arrays.copyOf(objArr, 100); } bundle.putStringArray(str, (String[]) objArr); } } else { - c.j1("String array is empty and is ignored by put method."); + f.e2("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 4abd00396d..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.f1094c, (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 9ba8d81631..157f27459f 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,34 +12,34 @@ 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 f1294c; + 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.f1294c; - taskCompletionSource.a.s(c.E0(status, status.p)); + d.o(!status.w0(), "Failed result must not be success."); + TaskCompletionSource taskCompletionSource = this.f1325c; + taskCompletionSource.a.s(f.z1(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.f1294c.a.t(null); + if (status2.w0()) { + this.f1325c.a.t(null); return; } - TaskCompletionSource taskCompletionSource = this.f1294c; - taskCompletionSource.a.s(c.E0(status2, "User Action indexing error, please try again.")); + TaskCompletionSource taskCompletionSource = this.f1325c; + taskCompletionSource.a.s(f.z1(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.f1294c = taskCompletionSource; + this.f1325c = taskCompletionSource; d dVar = (d) this; 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 7f038195dd..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 f1295c; + 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 f1296c; + 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.f1296c = 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.f1296c, 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.f1296c == 0) { - this.f1296c = 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.f1295c = 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.f1295c + ", 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 6da430d2f3..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> f1297c = 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.f1299c == 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.f1298c.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.f1298c.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.f1297c.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.f1297c.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.f1297c.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 c7125484d9..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 f1298c = new HashSet(); + public final Set f1329c = new HashSet(); public m(d dVar) { this.a = dVar; } public boolean a() { - return this.f1298c.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 a2fa8224a4..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 f1299c; + 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.f1299c = 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.f1299c == oVar.f1299c; + 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.f1299c; + 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.f1299c != 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 5f25037f93..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 f1300c; + public final Executor f1331c; public q(Executor executor) { - this.f1300c = executor; + this.f1331c = executor; } @Override // c.i.c.q.d public void a(Class cls, b bVar) { - b(cls, this.f1300c, 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 94443b5a27..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 f1301c; + public volatile a f1332c; public r(a aVar) { - this.f1301c = 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.f1301c.get(); + t = this.f1332c.get(); this.b = t; - this.f1301c = 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 267f16b61a..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> f1302c; + 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.f1299c == 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.f1302c = 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.f1302c.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 e80882ee52..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.f1313c, 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 a4e83e2aa6..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 f1303c; + 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.f1303c = 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.f1303c, 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 2cb21001a7..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 f1304c; + 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.f1304c = 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.f1304c), 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.f1304c; + 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 81d549fb33..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 f1305c; + 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.f1305c = 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.f1305c.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.f1305c = null; + this.f1336c = null; } } @Override // c.i.c.m.d.i.b public void b(@NonNull String str, @NonNull Bundle bundle) { - CountDownLatch countDownLatch = this.f1305c; + 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 623a70a54e..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 f1306c; + 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.f1306c = 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.f1306c; + 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 7aae1efaf4..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.f1326z.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 d84ed2552e..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 f1307c; + 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.f1307c = 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 fc5cd302b2..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,7 +29,7 @@ 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; @@ -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 7b16fac772..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 f1308c; + 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.f1308c = 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.f1314c.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.f1314c); + 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.f1364c, 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.f1314c); + 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.f1314c); + boolean m = h.m(n0Var.f1345c); long p = h.p(); - Context context = n0Var.f1314c; + 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.f1350c = 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.f1354c); + 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.f1354c.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.f1308c; + 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 afe1769ac9..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 f1309c; + 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.f1309c = executor; + this.f1340c = executor; } /* Return type fixed from 'com.google.android.gms.tasks.Task' to match base method */ @@ -33,9 +33,9 @@ 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()); } @@ -54,8 +54,8 @@ public class f0 implements f { thread.start(); } } - x.this.A.b(this.f1309c, 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 3403ab5599..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 f1310c = new a(); + public static final Comparator f1341c = new a(); /* compiled from: CommonUtils */ public class a implements Comparator { @@ -69,7 +69,7 @@ public class h { /* renamed from: s reason: collision with root package name */ - public static final Map f1311s; + public static final Map f1342s; static { b bVar = X86_32; @@ -77,7 +77,7 @@ public class h { b bVar3 = ARMV7; b bVar4 = ARM64; HashMap hashMap = new HashMap(4); - f1311s = hashMap; + f1342s = hashMap; hashMap.put("armeabi-v7a", bVar3); hashMap.put("armeabi", bVar2); hashMap.put("arm64-v8a", bVar4); 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 e8ba7160e5..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.f1361c; + 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 3c89a54dea..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 f1312c = 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.f1312c) { + 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.f1312c) { + 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 d9a480df20..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 f1313c; + 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.f1313c = 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.f1313c; + 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.f1316c) { + 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/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 60018153c5..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 f1314c; + 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.f1314c = 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.f1364c; + 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.f1348c = 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 3915bcceef..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 f1315c; + 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.f1315c = 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.f1315c.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.f1315c.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 e17bdf3387..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 f1316c; + 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.f1316c = 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.f1316c) { + 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 a485476b6e..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 f1317id; + private final int f1348id; public r0(int i) { - this.f1317id = i; + this.f1348id = i; } public static r0 f(String str) { @@ -19,11 +19,11 @@ public enum r0 { } public int g() { - return this.f1317id; + return this.f1348id; } @Override // java.lang.Enum, java.lang.Object public String toString() { - return Integer.toString(this.f1317id); + return Integer.toString(this.f1348id); } } 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 b15ea0d526..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 f1318c; + public final /* synthetic */ long f1349c; public u(x xVar, String str, String str2, long j) { this.a = str; this.b = str2; - this.f1318c = 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.f1318c; + 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 9630e7192e..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 f1319c; + public final String f1350c; public u0(@NonNull String str, @NonNull String str2, @NonNull File file) { this.b = str; - this.f1319c = str2; + this.f1350c = str2; this.a = file; } @Override // c.i.c.m.d.k.a1 @NonNull public String a() { - return this.f1319c; + 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 b827955e56..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 f1320c; + 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.f1320c = 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.f1320c; + String str3 = this.f1351c; String str4 = this.d; int i = this.e; - String str5 = this.f.f1325y; + 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 090f2e456d..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 f1321c; + 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.f1321c = 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.f1321c; + 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 89c6094517..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 f1322c = 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,23 +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.AbstractC0145b r; + public final b.AbstractC0144b r; /* renamed from: s reason: collision with root package name */ - public final j f1323s; + 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; 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 f1324x; + public final c.i.c.m.d.t.d f1355x; /* renamed from: y reason: collision with root package name */ - public final String f1325y; + public final String f1356y; /* renamed from: z reason: collision with root package name */ - public final c.i.c.m.d.i.a f1326z; + public final c.i.c.m.d.i.a f1357z; /* compiled from: CrashlyticsController */ public class a extends h { @@ -191,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) { @@ -259,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,24 +270,24 @@ public class x { this.q = bVar2; this.r = new h0(this); this.w = aVar2; - this.f1325y = bVar2.g.a(); - this.f1326z = aVar3; + this.f1356y = bVar2.g.a(); + this.f1357z = aVar3; f1 f1Var = new f1(); this.l = f1Var; j jVar = new j(hVar); - this.f1323s = 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.f1324x = 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.f1358c)); + 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); @@ -297,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; @@ -330,7 +330,7 @@ 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); + 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"); @@ -342,9 +342,9 @@ public class x { String str5 = bVar2.e; String str6 = bVar2.f; String b2 = v0Var.b(); - int g2 = r0.f(xVar.q.f1307c).g(); + int g2 = r0.f(xVar.q.f1338c).g(); xVar.z(str3, "SessionApp", new v(xVar, str4, str5, str6, b2, g2)); - xVar.w.f(str3, str4, str5, str6, b2, g2, xVar.f1325y); + 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); @@ -357,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.f1311s.get(str9.toLowerCase(locale)); + h.b bVar4 = h.b.f1342s.get(str9.toLowerCase(locale)); if (bVar4 != null) { bVar3 = bVar4; } @@ -379,7 +379,7 @@ public class x { 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"); @@ -393,10 +393,10 @@ public class x { String str15 = n0Var.e.f; Objects.requireNonNull(str15, "Null displayVersion"); bVar5.f = str15; - bVar5.f1333c = 4; + bVar5.f1364c = 4; f.b bVar6 = new f.b(); bVar6.b(false); - bVar6.f1335c = Long.valueOf(j2); + bVar6.f1366c = Long.valueOf(j2); Objects.requireNonNull(t2, "Null identifier"); bVar6.b = t2; String str16 = n0.a; @@ -420,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.f1314c)); + 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); @@ -435,13 +435,13 @@ public class x { int availableProcessors2 = Runtime.getRuntime().availableProcessors(); long p2 = h.p(); long blockCount2 = ((long) statFs2.getBlockCount()) * ((long) statFs2.getBlockSize()); - boolean r2 = h.r(n0Var.f1314c); - int k3 = h.k(n0Var.f1314c); + 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.f1338c = Integer.valueOf(availableProcessors2); + bVar7.f1369c = Integer.valueOf(availableProcessors2); bVar7.d = Long.valueOf(p2); bVar7.e = Long.valueOf(blockCount2); bVar7.f = Boolean.valueOf(r2); @@ -465,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.f1354c.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)); } } @@ -491,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 { @@ -520,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; } @@ -599,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.f1310c); + 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())); @@ -666,7 +666,7 @@ public class x { for (int i5 = 0; i5 < min; i5++) { hashSet.add(o(s2[i5])); } - File[] listFiles = ((j) this.t.f1329c).a().listFiles(); + File[] listFiles = ((j) this.t.f1360c).a().listFiles(); if (listFiles != null) { for (File file2 : listFiles) { String name = file2.getName(); @@ -796,14 +796,14 @@ public class x { String str5 = "user"; 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.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.f1323s, 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"); @@ -831,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; @@ -866,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.f1354c; - 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(); @@ -880,7 +880,7 @@ public class x { } } if (!this.w.a(o)) { - c.d.b.a.a.j0("Could not finalize native session: ", o, c.i.c.m.d.b.a); + 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."); @@ -891,18 +891,18 @@ public class x { 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[] r2 = r(l(), new h(c.d.b.a.a.u(o2, "SessionCrash"))); + 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[] r3 = r(l(), new h(c.d.b.a.a.u(o2, "SessionEvent"))); + 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 (r3.length > i4) { bVar5.b(String.format(locale, "Trimming down to %d logged exceptions.", Integer.valueOf(i2))); v(o2, i4); - r3 = 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 ? r2[0] : null; boolean z6 = file8 != null; @@ -1013,7 +1013,7 @@ 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); @@ -1041,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(); @@ -1062,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.f1354c; + 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) { @@ -1091,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()) { @@ -1101,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.f1354c; + 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(); @@ -1135,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.f1354c; + 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) { @@ -1241,7 +1241,7 @@ public class x { public final File[] s() { File[] r = r(l(), a); - Arrays.sort(r, f1322c); + Arrays.sort(r, f1353c); return r; } @@ -1261,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.f1316c) { + synchronized (q0Var.f1347c) { b0Var = q0Var.d.a; } Task q2 = b0Var.q(new e0(this)); @@ -1291,13 +1291,13 @@ 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[] r = r(l(), new h(c.d.b.a.a.v(str, str2, ".cls"))); + 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 { @@ -1328,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.f1324x); + 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; @@ -1342,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.f1364c; + StackTraceElement[] stackTraceElementArr = eVar.f1395c; String str3 = this.q.b; String str4 = this.o.e; if (z2) { @@ -1351,7 +1351,7 @@ public class x { int i5 = 0; for (Map.Entry entry : allStackTraces.entrySet()) { threadArr2[i5] = entry.getKey(); - linkedList.add(this.f1324x.a(entry.getValue())); + linkedList.add(this.f1355x.a(entry.getValue())); i5++; threadArr2 = threadArr2; } @@ -1392,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++) { @@ -1407,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); @@ -1423,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) { @@ -1440,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(); @@ -1480,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) { @@ -1494,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); @@ -1512,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 03fce9f680..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 f1328c; + 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.f1328c = 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.f1328c; + 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 b9020d101c..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 f1329c; + 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.f1329c = 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.f1329c = 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.f1329c).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 e3cf805d77..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 f1330c; + public final int f1361c; public b(int i, int i2) { this.b = i; - this.f1330c = 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.f1330c, "]"); + 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.f1330c; + 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 r = r(this.o, 0); - this.k = r; - if (((long) r) <= randomAccessFile2.length()) { - this.l = r(this.o, 4); - int r2 = r(this.o, 8); - int r3 = r(this.o, 12); - this.m = p(r2); - this.n = p(r3); + 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.f1330c); + 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.f1330c); - 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.f1330c); + 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.f1330c); - i2 = z(p.b + 4 + p.f1330c); + 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.f1330c); - t(z2, this.o, 0, 4); - int r = 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, r); + 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.f1330c + 16 : (((i2 + 4) + bVar.f1330c) + 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 0b319f684c..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 f1331c; + 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.f1331c = 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.f1331c / 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.f1331c) { + 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 632907aea3..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.f1370c.remove(v.class); + eVar.f1401c.remove(v.class); eVar.b.put(b.class, bVar2); - eVar.f1370c.remove(b.class); + eVar.f1401c.remove(b.class); h hVar = h.a; eVar.b.put(v.d.class, hVar); - eVar.f1370c.remove(v.d.class); + eVar.f1401c.remove(v.d.class); eVar.b.put(f.class, hVar); - eVar.f1370c.remove(f.class); + eVar.f1401c.remove(f.class); e eVar2 = e.a; eVar.b.put(v.d.a.class, eVar2); - eVar.f1370c.remove(v.d.a.class); + eVar.f1401c.remove(v.d.a.class); eVar.b.put(g.class, eVar2); - eVar.f1370c.remove(g.class); + eVar.f1401c.remove(g.class); f fVar = f.a; - eVar.b.put(v.d.a.AbstractC0137a.class, fVar); - eVar.f1370c.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.f1370c.remove(h.class); + eVar.f1401c.remove(h.class); t tVar = t.a; eVar.b.put(v.d.f.class, tVar); - eVar.f1370c.remove(v.d.f.class); + eVar.f1401c.remove(v.d.f.class); eVar.b.put(u.class, tVar); - eVar.f1370c.remove(u.class); + eVar.f1401c.remove(u.class); s sVar = s.a; eVar.b.put(v.d.e.class, sVar); - eVar.f1370c.remove(v.d.e.class); + eVar.f1401c.remove(v.d.e.class); eVar.b.put(t.class, sVar); - eVar.f1370c.remove(t.class); + eVar.f1401c.remove(t.class); g gVar = g.a; eVar.b.put(v.d.c.class, gVar); - eVar.f1370c.remove(v.d.c.class); + eVar.f1401c.remove(v.d.c.class); eVar.b.put(i.class, gVar); - eVar.f1370c.remove(i.class); + eVar.f1401c.remove(i.class); q qVar = q.a; - eVar.b.put(v.d.AbstractC0138d.class, qVar); - eVar.f1370c.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.f1370c.remove(j.class); + eVar.f1401c.remove(j.class); i iVar = i.a; - eVar.b.put(v.d.AbstractC0138d.a.class, iVar); - eVar.f1370c.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.f1370c.remove(k.class); + eVar.f1401c.remove(k.class); k kVar = k.a; - eVar.b.put(v.d.AbstractC0138d.a.b.class, kVar); - eVar.f1370c.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.f1370c.remove(l.class); + eVar.f1401c.remove(l.class); n nVar = n.a; - eVar.b.put(v.d.AbstractC0138d.a.b.AbstractC0142d.class, nVar); - eVar.f1370c.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.f1370c.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.f1370c.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.f1370c.remove(q.class); + eVar.f1401c.remove(q.class); l lVar = l.a; - eVar.b.put(v.d.AbstractC0138d.a.b.AbstractC0141b.class, lVar); - eVar.f1370c.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.f1370c.remove(n.class); + eVar.f1401c.remove(n.class); m mVar = m.a; - eVar.b.put(v.d.AbstractC0138d.a.b.c.class, mVar); - eVar.f1370c.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.f1370c.remove(o.class); + eVar.f1401c.remove(o.class); j jVar = j.a; - eVar.b.put(v.d.AbstractC0138d.a.b.AbstractC0140a.class, jVar); - eVar.f1370c.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.f1370c.remove(m.class); - C0135a aVar = C0135a.a; + eVar.f1401c.remove(m.class); + C0134a aVar = C0134a.a; eVar.b.put(v.b.class, aVar); - eVar.f1370c.remove(v.b.class); + eVar.f1401c.remove(v.b.class); eVar.b.put(c.class, aVar); - eVar.f1370c.remove(c.class); + eVar.f1401c.remove(c.class); p pVar = p.a; - eVar.b.put(v.d.AbstractC0138d.b.class, pVar); - eVar.f1370c.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.f1370c.remove(r.class); + eVar.f1401c.remove(r.class); r rVar = r.a; - eVar.b.put(v.d.AbstractC0138d.c.class, rVar); - eVar.f1370c.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.f1370c.remove(s.class); + eVar.f1401c.remove(s.class); c cVar = c.a; eVar.b.put(v.c.class, cVar); - eVar.f1370c.remove(v.c.class); + eVar.f1401c.remove(v.c.class); eVar.b.put(d.class, cVar); - eVar.f1370c.remove(d.class); + eVar.f1401c.remove(d.class); d dVar = d.a; eVar.b.put(v.c.a.class, dVar); - eVar.f1370c.remove(v.c.a.class); + eVar.f1401c.remove(v.c.a.class); eVar.b.put(e.class, dVar); - eVar.f1370c.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 61228fd217..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 f1332c; + 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 f1333c; + 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.f1332c; - this.f1333c = 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.f1333c == 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.f1333c.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.f1332c = 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.f1332c; + 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.f1332c.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.f1332c.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.f1332c); - 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 7e30793f67..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 f1334c; + 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 f1335c; + 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.f1335c = Long.valueOf(fVar.f1334c); + 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.f1335c == 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.f1335c.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.f1334c = 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.f1334c == 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.f1334c; + 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.f1334c; + 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.f1334c); - 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 dd36dcb10c..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 f1336c; - 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.f1336c = 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.f1336c; + 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.f1336c) != 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.f1336c; + 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.f1336c); - 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 01e171cd04..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 f1337c; + 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 f1338c; + 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.f1338c == 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.f1338c.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.f1337c = 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.f1337c; + 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.f1337c == 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.f1337c) * 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.f1337c); - 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 2b412c5615..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 f1339c; - 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.f1339c = 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.f1339c; + 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.f1339c.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.f1339c.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.f1339c); - 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 8abdcc652a..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 f1340c; + 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 f1341c; + 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.f1341c = kVar.f1340c; + 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.f1341c, 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.f1340c = 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.f1340c; + 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.f1340c) != 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.f1340c; + 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.f1340c); - 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 f6656b909a..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 f1342c; - 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.f1342c = 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.f1342c; + 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.f1342c.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.f1342c.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.f1342c); - 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 2a6b5f50cb..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 f1343c; + 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.f1343c = 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.f1343c; + 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.f1343c.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.f1343c.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.f1343c); - 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 331a4331c6..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 f1344c; - 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.f1344c = 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.f1344c; + 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.f1344c.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.f1344c.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.f1344c); - 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 8f1c23cf21..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 f1345c; + public final long f1376c; public o(String str, String str2, long j, a aVar) { this.a = str; this.b = str2; - this.f1345c = 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.f1345c; + 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.f1345c == 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.f1345c; + 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.f1345c, "}"); + 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 f316e23a93..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 f1346c; + public final w f1377c; public p(String str, int i, w wVar, a aVar) { this.a = str; this.b = i; - this.f1346c = 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.f1346c; + 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.f1346c.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.f1346c.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.f1346c); - 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 e5b4cc0e77..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 f1347c; + 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 f1348c; + 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.f1348c, 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.f1347c = 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.f1347c; + 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.f1347c) != 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.f1347c; + 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.f1347c); - 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 9fc5b48e8d..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 f1349c; + 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 f1350c; + 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.f1350c == 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.f1350c.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.f1349c = 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.f1349c == 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.f1349c; + 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.f1349c ? 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.f1349c); - 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 9c9a24f514..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 f1351c; + 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.f1351c = str2; + this.f1382c = str2; this.d = z2; } @Override // c.i.c.m.d.m.v.d.e @NonNull public String a() { - return this.f1351c; + 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.f1351c.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.f1351c.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.f1351c); - 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 2428a2844e..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.f1350c = 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.f1348c = 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.f1333c = 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.f1335c = 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.f1338c = 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 c3986581f5..8ed3f046a3 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 @@ -26,7 +26,7 @@ public class a { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f1352c; + public final String f1383c; public final Map d; public final Map e; public MultipartBody.a f = null; @@ -42,7 +42,7 @@ public class a { /* 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.f1352c = 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.f1352c; + 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.f2947c; + MediaType.a aVar = MediaType.f2961c; 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 014bb2b376..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 f1353c; + public Headers f1384c; public c(int i, String str, Headers headers) { this.a = i; this.b = str; - this.f1353c = 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 114cbbad72..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 f1354c = 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 3ffe7f7813..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.f1364c) { + 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.f1364c) { + 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 297a1a2f04..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 f1355c; + 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.f1355c = 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.f1355c, 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 2f0d5d730d..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 f1356c; + public final c f1387c; public a(@Nullable String str, String str2, c cVar) { this.a = str; this.b = str2; - this.f1356c = 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 67e0377558..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 f1357c; + public final Map f1388c; public d(File file, Map map) { this.a = file; this.b = new File[]{file}; - this.f1357c = 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.f1357c); + 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 0c74bf9e7a..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.f1356c.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 fa461950b6..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.f1356c.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.f1356c; + 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.f1353c.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 5e3e8c94a8..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.f1356c; + 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 b9bc44da80..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 f1358c = 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 129a0a518e..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 f1359c; + 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.f1353c.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.f1359c.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.f1359c = 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.f1359c.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 93d175dc69..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 f1360c; + 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.f1360c = 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 4c32ec2ebe..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 f1361c; + 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.f1361c = 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.f1361c = 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 a79e4c3d9f..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 f1362c; + 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.f1362c = cVar; + this.f1393c = cVar; } @Override // c.i.c.m.d.s.h.e public c a() { - return this.f1362c; + 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 693dbe8b92..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 f1363c; + 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.f1363c = 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 31b8950f44..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.f1360c); + 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.f1353c.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 352cadf67e..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.f1363c); + 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 19edc815cf..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[] f1364c; + public final StackTraceElement[] f1395c; public final e d; public e(Throwable th, d dVar) { this.a = th.getLocalizedMessage(); this.b = th.getClass().getName(); - this.f1364c = 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 c4fd6d1879..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 f1365c; + 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.f1365c = str; + this.f1396c = str; this.b = true; } - String str2 = this.f1365c; + 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 82aff70b2d..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 f1366c; + public final d f1397c; public final f d; public a(Context context, d dVar, f fVar) { this.b = context; - this.f1366c = 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.f1368c = 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 c111b6c48f..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.f1366c).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 eaf21f094c..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 f1367c; + 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 f1368c; + 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.f1367c = bVar.f1368c; + 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 d13db23a0d..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.f1367c; + 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 7fbf85aef7..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 f1369c; + public final String f1400c; @Nullable public final a d; public i(a aVar, String str) { - this.f1369c = 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().b0(new g(this.d, taskCompletionSource), this.f1369c); + 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/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 983305af97..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.f1370c, 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 08c299a031..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> f1370c; + 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.f1370c = 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 734a763e53..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> f1371c; + 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.f1371c = 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.f1371c.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 bd163d8459..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 f1372c; + public final Context f1403c; public final Executor d; public f(Context context) { - this.f1372c = context; + this.f1403c = context; this.d = a.i; } public f(Context context, ExecutorService executorService) { - this.f1372c = 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.f1372c; - 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 ea21454856..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 f1373c; + public final String f1404c; public i(FirebaseInstanceId firebaseInstanceId, String str, String str2) { this.a = firebaseInstanceId; this.b = str; - this.f1373c = str2; + this.f1404c = str2; } @Override // c.i.a.f.n.a public final Object a(Task task) { - return this.a.m(this.b, this.f1373c); + 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 ce9354e3b9..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 f1374c; + 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.f1374c = 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.f1374c; + 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 6b03fd52c7..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 f1375c; + 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.f1375c = 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.f1376c == null) { + if (qVar2.f1407c == null) { qVar2.e(); } - str4 = qVar2.f1376c; + 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.f1375c; + 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 d1d9cbab33..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 f1376c; + 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.f1376c = 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 354fb8b474..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 f1377c = 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.f1377c.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.f1377c == null) { - this.f1377c = 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.f1377c.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.f1377c.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 15af684dae..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 f1378c = 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 f1379c; + public final String f1410c; public final String d; public final long e; public a(String str, String str2, long j) { - this.f1379c = 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.f1378c.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 3ea3caa75e..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.f1379c)) { + 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 b43b1c1f88..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 f1380c; + public static a f1411c; public static ComponentName a(@NonNull Context context, @NonNull Intent intent) { synchronized (b) { - if (f1380c == null) { + if (f1411c == null) { a aVar = new a(context, 1, "wake:com.google.firebase.iid.WakeLockHolder"); - f1380c = aVar; - aVar.f1228c.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) { - f1380c.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 d70da78826..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 f1381c; + 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.f1381c = 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.f1381c; + 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.f1381c == 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.f1381c; + 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.f1381c, "}"); + 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 576cb7916a..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.f1382c; + 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.f1382c; + 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 311af68ef2..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 f1382c; + 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.f1382c = 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.f1382c; + 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.f1385c = 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.f1389c = 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.f1389c = 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.f1388c.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.f1385c = 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.f1382c; + c.i.c.c cVar = this.f1413c; cVar.a(); return cVar.f.a; } @VisibleForTesting public String e() { - c.i.c.c cVar = this.f1382c; + c.i.c.c cVar = this.f1413c; cVar.a(); return cVar.f.b; } @Nullable public String g() { - c.i.c.c cVar = this.f1382c; + 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.f1382c; + c.i.c.c cVar = this.f1413c; cVar.a(); - if (cVar.e.equals("CHIME_ANDROID_SDK") || this.f1382c.h()) { - if (((c.i.c.u.o.a) dVar).f1384c == 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.f1386c; + 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.f1387c; + 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.f1385c = 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 4bb41cdb56..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 f1383c; + 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 (f1383c == null) { - f1383c = new n(aVar); + if (f1414c == null) { + f1414c = new n(aVar); } - return f1383c; + 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 b2dc6b086e..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 f1384c; + 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 f1385c; + 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.f1384c; - this.f1385c = 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.f1385c, 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.f1384c = 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.f1384c.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.f1384c; + 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.f1384c.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.f1384c); - 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 44189462c7..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 f1386c; + 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.f1386c = 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 5ccc38d327..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.f1385c = 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 937b451554..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).f1384c; + 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 075372114e..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 f1387c; + 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.f1387c = 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.f1387c; + 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.f1387c; + 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.f1387c; + 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.f1387c); - 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 cb1e5b75d3..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 f1388c; + 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 f1389c; + 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.f1389c, 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.f1388c = bVar; + this.f1419c = bVar; } @Override // c.i.c.u.p.f @Nullable public f.b b() { - return this.f1388c; + 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.f1388c; + 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.f1388c; + 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.f1388c); - 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 fac5e5aa80..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 f1390c; + 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.f1390c = 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.f1390c.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.f1390c; + 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.f1390c.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.f1390c.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.f1389c = 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 2911053b9c..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 f1391c = 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.f1391c.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.f1391c); + Objects.requireNonNull(this.f1422c); j = (long) Math.min(pow + ((double) ((long) (Math.random() * 1000.0d))), (double) b); } - this.d = this.f1391c.a() + j; + this.d = this.f1422c.a() + j; } - this.d = this.f1391c.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 d52d0998ee..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 f1392c; + 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.f1392c = 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 cee84e4365..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 f1393c; + public final r f1424c; public c(Context context, r rVar, Executor executor) { this.a = executor; this.b = context; - this.f1393c = 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.f1393c.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.f1393c.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.f1393c; + 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.f1393c; + 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 5833d81ecb..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.f1370c.remove(m.b.class); + eVar.f1401c.remove(m.b.class); eVar.b.put(m.class, new m.a()); - eVar.f1370c.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 b0da5f1882..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.f1394c); + 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 014c188a19..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 f1394c; + 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.f1394c = 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.f1394c)) { - String[] split = string.split(uVar.f1394c, -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 d47e1672b4..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 f1395c; + 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.f1395c = 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.f1395c.equals(vVar.f1395c); + return this.b.equals(vVar.b) && this.f1426c.equals(vVar.f1426c); } public final int hashCode() { - return Arrays.hashCode(new Object[]{this.f1395c, 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 2d16652389..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 f1396c; + 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.f1396c; + 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 9c41e5f8b7..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.f1396c = 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 e90255e308..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 f1397c; + 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.f1397c = 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.f1397c.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.f1397c.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.f1395c; + 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.f1396c; + 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 e351e05d51..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 f1398c = 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.f1398c, 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 1ca8f71a09..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 f1399c; + public final /* synthetic */ Type f1430c; public f(g gVar, Class cls, Type type) { w wVar; this.b = cls; - this.f1399c = 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.f1399c); - 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 c4bf9d4f55..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 f1400y = new C0152a(); + public static final Reader f1431y = new C0151a(); /* renamed from: z reason: collision with root package name */ - public static final Object f1401z = 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(f1400y); + 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 == f1401z) { + 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[]{f1401z}; + 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 7b3a14329e..7b97649312 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 @@ -18,7 +18,7 @@ public final class b extends JsonWriter { public String w; /* renamed from: x reason: collision with root package name */ - public JsonElement f1402x = j.a; + public JsonElement f1433x = j.a; /* compiled from: JsonTreeWriter */ public class a extends Writer { @@ -43,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) { @@ -70,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.f1402x; + 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() { @@ -104,14 +104,14 @@ public final class b extends JsonWriter { return list.get(list.size() - 1); } - public final void Q(JsonElement jsonElement) { + public final void O(JsonElement jsonElement) { if (this.w != null) { - if (!(jsonElement instanceof j) || this.f2454s) { + if (!(jsonElement instanceof j) || this.f2468s) { ((JsonObject) N()).a.put(this.w, jsonElement); } this.w = null; } else if (this.v.isEmpty()) { - this.f1402x = jsonElement; + this.f1433x = jsonElement; } else { JsonElement N = N(); if (N instanceof g) { @@ -125,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; } @@ -133,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; } @@ -178,7 +178,7 @@ public final class b extends JsonWriter { } @Override // com.google.gson.stream.JsonWriter - public JsonWriter p(String str) throws IOException { + public JsonWriter n(String str) throws IOException { if (this.v.isEmpty() || this.w != null) { throw new IllegalStateException(); } else if (N() instanceof JsonObject) { @@ -191,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 cfede14d5c..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 f1403c; + 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.f1403c = 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.f1403c == null || this.d == null)) { + if (!(this.f1434c == null || this.d == null)) { try { - b.getMethod("putBoolean", Object.class, Long.TYPE, Boolean.TYPE).invoke(this.f1403c, accessibleObject, Long.valueOf(((Long) b.getMethod("objectFieldOffset", Field.class).invoke(this.f1403c, 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 a48435ca0d..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.f1421c); + 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.f1421c); + 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 169a5b23cf..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 f1409c; + public final f f1440c; public e(f fVar) { super(fVar.a, fVar.b); - this.f1409c = fVar; + this.f1440c = fVar; } @Override // c.i.e.f public byte[] a() { - byte[] a = this.f1409c.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.f1409c.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.f1409c.c(); + return this.f1440c.c(); } @Override // c.i.e.f public f d() { - return new e(this.f1409c.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 964bf84a1f..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[] f1410c; + 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.f1410c = 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.f1410c; + 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.f1410c, i5, bArr, 0, i4); + System.arraycopy(this.f1441c, i5, bArr, 0, i4); return bArr; } for (int i6 = 0; i6 < i2; i6++) { - System.arraycopy(this.f1410c, 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.f1410c, ((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 a92bafdc80..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 f1412c; + 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.f1412c = 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 a0cc8e0a19..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.f1420c, 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.f1420c, 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.f1420c, 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.f1420c, 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.f1420c, 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 b1262f2d12..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[] f1413c = {"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.f1412c; + 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.f1424c; + 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 = f1413c[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 b017d3c62b..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 f1414c; + 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.f1414c = 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.f1414c) { + 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.f1414c) { + 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.f1414c) { + 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.f1414c, 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.f1414c) { + 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 7896203fd3..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 f1415c; + public int f1446c; public c(byte[] bArr) { this.a = bArr; } public int a() { - return ((this.a.length - this.b) * 8) - this.f1415c; + 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.f1415c; + 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.f1415c = i9; + this.f1446c = i9; if (i9 == 8) { - this.f1415c = 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.f1415c += 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 8ddeca2733..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 f1420c; + 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.f1420c = 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 f9a6e068e7..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.f1422c; + 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 23d25138c0..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[] f1421c = 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.f1421c.length < i) { - this.f1421c = 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 a8825e43a3..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 f1422c; + 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.f1422c = 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.f1422c; + 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.f1422c; + 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 a1e2cfe1de..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 f1423c; + 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.f1423c = 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.f1423c) { + 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.f1423c) { + 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.f1423c) / 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 ccb7761a8d..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 f1424c; + 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); - f1424c = 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 5ba6a47c71..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).f1428c; - int i2 = aVar.e(kVar9, kVar).f1428c; + 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).f1428c) + Math.abs(i3 - aVar.e(kVar11, kVar12).f1428c) <= Math.abs(i4 - aVar.e(kVar9, kVar13).f1428c) + Math.abs(i3 - aVar.e(kVar11, kVar13).f1428c)) { + } 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).f1428c; - int i6 = aVar.e(kVar9, kVar).f1428c; + 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).f1428c - aVar.e(kVar9, kVar14).f1428c) <= Math.abs(aVar.e(kVar11, kVar15).f1428c - aVar.e(kVar9, kVar15).f1428c)) { + } 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).f1428c, aVar.e(kVar9, kVar).f1428c) + 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.f1420c, 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 cd47bde33d..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 f1425c; + 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.f1427c; + int i4 = eVar.f1458c; if (i4 == i2 && (i = eVar.d) == i3) { - this.f1425c = 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 c0efd14237..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[] f1426c = {'*', '*', '*', ' ', '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 7e64673135..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.f1425c; + 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.f1425c.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.f1426c; + 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.f1415c; + 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 f383bc6011..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 f1427c; + 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.f1427c = 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 03188eaac6..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 f1428c; + 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.f1428c = i; + this.f1459c = i; } public String toString() { - return this.a + AutocompleteViewModel.COMMAND_DISCOVER_TOKEN + this.b + MentionUtilsKt.SLASH_CHAR + this.f1428c; + 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.f1428c - bVar2.f1428c; + 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 fd59a591f3..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[] f1429c = {'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(f1429c, 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(f1429c, 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 = f1429c; + 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 672c08946e..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 f1430c = 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.f1430c; + 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.f1430c.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 ad06480221..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 f1431c; + 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; - f1431c = 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) == f1431c) { + } 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 7748293ab2..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.f1435c) + 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 639275f19c..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.f1435c) + 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.f1435c) + 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 cafd51814f..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[][] f1432c = {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, f1432c[0]); + iArr = h(aVar, f2, f1463c[0]); } catch (NotFoundException unused) { - iArr = h(aVar, f2, f1432c[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 a0b5098b13..c9b279cc4b 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.f2455c, aVar2); + Result result = new Result(k.a.substring(1), k.b, k.f2469c, 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 3008213bae..dc207d27ed 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.f2455c; + c.i.e.k[] kVarArr = c2.f2469c; 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.f2455c; + c.i.e.k[] kVarArr = b.f2469c; 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 c2c9f8d597..0b35884de1 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.f2455c, a.UPC_A); + Result result2 = new Result(str.substring(1), null, result.f2469c, 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 6219a55a6e..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 f1433c = 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.f1433c; + 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 3c6dd6d1f4..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 f1434c = 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.f1434c.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 ac670ab5d2..a0463554e6 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[][] f1435c; + 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}}; - f1435c = 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 = f1435c[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.f2455c; - k[] kVarArr2 = result.f2455c; + k[] kVarArr = a2.f2469c; + k[] kVarArr2 = result.f2469c; if (kVarArr2 == null) { - result.f2455c = kVarArr; + result.f2469c = 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.f2455c = kVarArr3; + result.f2469c = 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 9865724686..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[] f1436c; + 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.f1436c = 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 34fa65d241..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[] f1437c; + 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.f1437c = 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 e9b3e5dc52..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 f1438c; + public final c f1469c; public int d; public d(int i, int i2, c cVar) { super(i, i2); - this.f1438c = 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 281dfb0b4f..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.f1438c.a * 9) + dVar2.f1438c.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.f1438c.f1437c; - k[] kVarArr2 = dVar2.f1438c.f1437c; + 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.f1436c; + 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.f1436c); + a.h(this.e, this.f1467c); } else { throw NotFoundException.k; } } if (z3) { - a.g(this.e, this.f1436c); + a.g(this.e, this.f1467c); } if (z5) { if (!z6) { - a.h(this.f, this.f1436c); + 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 651a4cbf97..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 f1439c; + public final c f1470c; public a(b bVar, b bVar2, c cVar, boolean z2) { this.a = bVar; this.b = bVar2; - this.f1439c = 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.f1439c, aVar.f1439c); + 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.f1439c); + 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.f1439c; + 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 f9c573c3aa..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 f1440c; + public final boolean f1471c; public b(List list, int i, boolean z2) { this.a = new ArrayList(list); this.b = i; - this.f1440c = 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.f1440c == bVar.f1440c; + return this.a.equals(bVar.a) && this.f1471c == bVar.f1471c; } public int hashCode() { - return this.a.hashCode() ^ Boolean.valueOf(this.f1440c).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 4dcde223e5..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).f1439c.f1437c; - c.i.e.k[] kVarArr2 = list.get(list.size() - 1).f1439c.f1437c; + 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).f1439c.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.f1436c; + 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.f1436c); + a.h(this.e, this.f1467c); } else { throw NotFoundException.k; } } if (z4) { - a.g(this.e, this.f1436c); + a.g(this.e, this.f1467c); } if (z7) { if (!z6) { - a.h(this.f, this.f1436c); + 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).f1439c.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 f635c26abd..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 f1441c; + public final String f1472c; public final String d; public e(a aVar, String str, String str2) { super(aVar); - this.f1441c = 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.f1441c); + 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 dc3698abe0..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 f1442c; + public final int f1473c; public final boolean d; public o(int i, String str) { super(i); this.b = str; this.d = false; - this.f1442c = 0; + this.f1473c = 0; } public o(int i, String str, int i2) { super(i); this.d = true; - this.f1442c = 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 7536c85040..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 f1443c; + 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.f1443c = 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 8cec3d80b2..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[][] f1444c; + 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}}; - f1444c = 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 = f1444c; + 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 b6b3e5893a..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 f1445c = 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.f1442c) : 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.f1445c.setLength(0); + this.f1476c.setLength(0); if (str != null) { - this.f1445c.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.f1445c.toString()), true); + lVar = new l(new o(i10, this.f1476c.toString()), true); } else { - this.f1445c.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.f1445c.toString()), true); + lVar = new l(new o(i18, this.f1476c.toString()), true); } else { - this.f1445c.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.f1443c == 10 ? new o(i28, this.f1445c.toString()) : new o(i28, this.f1445c.toString(), pVar.f1443c), true); + lVar = new l(pVar.f1474c == 10 ? new o(i28, this.f1476c.toString()) : new o(i28, this.f1476c.toString(), pVar.f1474c), true); } else { - this.f1445c.append(i29); - int i30 = pVar.f1443c; + this.f1476c.append(i29); + int i30 = pVar.f1474c; if (i30 == 10) { - lVar = new l(new o(this.b.a, this.f1445c.toString()), true); + lVar = new l(new o(this.b.a, this.f1476c.toString()), true); } else { - this.f1445c.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.f1445c.toString()) : new o(i2, this.f1445c.toString(), oVar.f1442c); + 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 29539f8ba3..64e8331b46 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[] f1446c = {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, WidgetEditUserOrGuildMemberProfile.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, WidgetEditUserOrGuildMemberProfile.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 (f1446c[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 90562621fb..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.f1420c, 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.f1448c, 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.f1451c) == 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.f1451c = 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.f1451c.f : fVar.f1451c.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.f1449c == dVar6.f1449c) { + 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 1e0fe1f5a5..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 f1447c; + 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.f1447c = 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 f7c4f7c831..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 f1448c; + 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.f1448c = 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.f1448c = cVar.f1448c; + 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 a9682ab04b..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 f1449c; + 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.f1449c = i3; + this.f1480c = i3; this.d = i4; } public boolean a() { int i = this.e; - return i != -1 && this.f1449c == (i % 3) * 3; + return i != -1 && this.f1480c == (i % 3) * 3; } public void b() { - this.e = (this.f1449c / 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 5da759367f..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[] f1450c; + public static final BigInteger[] f1481c; static { BigInteger[] bigIntegerArr = new BigInteger[16]; - f1450c = bigIntegerArr; + f1481c = bigIntegerArr; bigIntegerArr[0] = BigInteger.ONE; BigInteger valueOf = BigInteger.valueOf(900); bigIntegerArr[1] = valueOf; int i = 2; while (true) { - BigInteger[] bigIntegerArr2 = f1450c; + 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(f1450c[(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 949afe1d0b..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 f1451c; + public c f1482c; public final int d; public f(a aVar, c cVar) { this.a = aVar; int i = aVar.a; this.d = i; - this.f1451c = 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.f1449c == (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.f1452c; + boolean z2 = hVar.f1483c; k kVar = z2 ? cVar.b : cVar.d; - k kVar2 = z2 ? cVar.f1448c : 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 b389aaa655..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 f1452c; + public final boolean f1483c; public h(c cVar, boolean z2) { super(cVar); - this.f1452c = 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.f1452c) { + 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.f1452c) { + 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.f1447c) { + } 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.f1452c + '\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 c138d54b2f..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.f1452c; + boolean z2 = hVar.f1483c; k kVar5 = z2 ? cVar.b : cVar.d; - k kVar6 = z2 ? cVar.f1448c : 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.f1452c; + boolean z3 = hVar.f1483c; k kVar7 = cVar2.b; - k kVar8 = cVar2.f1448c; + 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.f1453c[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 214ea8ccbe..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[] f1453c; + public final int[] f1484c; public final c d; public final c e; public b(int i, int i2) { this.b = new int[i]; - this.f1453c = 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.f1453c[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.f1453c[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.f1453c; + 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 a4e3e4759e..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[] f1454c = {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, f1454c); + 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 f4c42c5fe0..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.f1462c) { + 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.f1462c = 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.f1462c) { + 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.f1461c; + 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).f1461c - 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.f1461c; + 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.f1463c; + 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.f1420c, 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 93cead1a38..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 f1455c; + 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.f1455c; + 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.f1455c = a2; + this.f1486c = a2; if (a2 != null) { return a2; } @@ -113,8 +113,8 @@ public final class a { } public void e() { - if (this.f1455c != null) { - c cVar = c.values()[this.f1455c.f1456c]; + 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 aff45be391..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.f1455c = 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.f1455c = 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.f1456c]; + 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.f1458c > 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 7d814a0e21..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 f1456c; + 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.f1456c = (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.f1456c == gVar.f1456c; + return this.b == gVar.b && this.f1487c == gVar.f1487c; } public int hashCode() { - return (this.b.ordinal() << 3) | this.f1456c; + 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 ec9b82d18f..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.f1458c; + 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 aa09eaa2b4..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 f1458c; + 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.f1458c = 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.f1458c * 4) + 17; + return (this.f1489c * 4) + 17; } public String toString() { - return String.valueOf(this.f1458c); + 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 896673516f..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 f1459c; + public final float f1490c; public a(float f, float f2, float f3) { super(f, f2); - this.f1459c = 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 71545de4b7..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 f1460c; + 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.f1460c = 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.f1459c); - if (abs <= 1.0f || abs <= aVar.f1459c) { + 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.f1459c + 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 d851e4512d..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.f1460c; + 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 8ed3cadf0b..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 f1461c; + public final float f1492c; public final int d; public d(float f, float f2, float f3) { super(f, f2); - this.f1461c = f3; + this.f1492c = f3; this.d = 1; } public d(float f, float f2, float f3, int i) { super(f, f2); - this.f1461c = 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 9d65f229cd..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 f1462c; + 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.f1461c - this.average), Math.abs(dVar4.f1461c - 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.f1461c - this.average), Math.abs(dVar.f1461c - 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.f1461c); - if (abs <= 1.0f || abs <= dVar.f1461c) { + 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.f1461c) + 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.f1461c; + 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.f1461c - 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 a8912c5670..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 f1463c; + public final d f1494c; public f(d[] dVarArr) { this.a = dVarArr[0]; this.b = dVarArr[1]; - this.f1463c = 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 477b18da85..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.f538c = -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 f138452c87..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> f1464c = 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.f1464c.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 eaef3a0e33..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 f1465c = 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.f1465c.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.f1465c : 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 336e4da0d8..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 f1466c; + 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.f1466c = (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.f1466c.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.f1466c.setColorFilter((ColorFilter) null); + bVar.f1497c.setColorFilter((ColorFilter) null); } else { - bVar.f1466c.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.f1466c.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.f1466c.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 94b82b2ee3..4b311e7414 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.f2458s; + bVar = this.a.f2472s; int[] iArr = bVar.j; if (i3 >= iArr.length) { break; } int i4 = iArr[i3]; - this.a.f2458s.j[i3] = Color.argb(i2, Color.red(i4), Color.green(i4), Color.blue(i4)); + this.a.f2472s.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 a7c5ea2ef7..5f3cc8184c 100644 --- a/app/src/main/java/c/l/a/a.java +++ b/app/src/main/java/c/l/a/a.java @@ -37,29 +37,29 @@ public final class a extends Drawable implements Animatable2Compat { public int r; /* renamed from: s reason: collision with root package name */ - public int f1467s; + public int f1498s; public boolean t; public long u; public Long v; - public C0157a w; + 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 f1468c; + 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); } @@ -72,17 +72,17 @@ public final class a extends Drawable implements Animatable2Compat { } /* 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.f1468c, 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.f1468c = i2; + this.f1499c = i2; this.d = i3; this.e = function0; } @@ -94,12 +94,12 @@ 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.w = aVar; this.i = aVar.a.getDuration(); @@ -112,17 +112,17 @@ public final class a extends Drawable implements Animatable2Compat { this.o = new ArrayList(); this.p = new ArrayList(); this.q = new int[frameCount]; - C0157a aVar2 = this.w; + C0156a aVar2 = this.w; this.r = aVar2.b; - this.f1467s = aVar2.f1468c; + this.f1498s = aVar2.f1499c; for (int i = 1; i < frameCount; i++) { int[] iArr = this.q; int i2 = i - 1; iArr[i] = iArr[i2] + this.w.a.getFrameDurations()[i2]; } Rect bounds = getBounds(); - C0157a aVar3 = this.w; - bounds.set(0, 0, aVar3.b, aVar3.f1468c); + C0156a aVar3 = this.w; + bounds.set(0, 0, aVar3.b, aVar3.f1499c); } @WorkerThread @@ -137,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()); } @@ -230,7 +230,7 @@ public final class a extends Drawable implements Animatable2Compat { @Override // android.graphics.drawable.Drawable public int getIntrinsicHeight() { - return this.f1467s; + return this.f1498s; } @Override // android.graphics.drawable.Drawable @@ -250,7 +250,7 @@ public final class a extends Drawable implements Animatable2Compat { @Override // android.graphics.drawable.Drawable public Drawable mutate() { - this.w = new C0157a(this.w); + 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 aa0cb3d8fe..74a60c0466 100644 --- a/app/src/main/java/c/m/a/a.java +++ b/app/src/main/java/c/m/a/a.java @@ -33,7 +33,7 @@ public final class a { } if ((i & 16) != 0) { c cVar3 = c.e; - j5 = c.f1469c; + 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 4b7c37fec4..f7b382dace 100644 --- a/app/src/main/java/c/m/a/c.java +++ b/app/src/main/java/c/m/a/c.java @@ -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 f1469c; + 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); - f1469c = 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 826abfe0d1..f5eea42ae1 100644 --- a/app/src/main/java/c/m/a/d.java +++ b/app/src/main/java/c/m/a/d.java @@ -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/d/e.java b/app/src/main/java/c/m/a/g/d/e.java index dbf27d91d4..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 f1470c; + 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 f1471c; + 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.f1471c = j3; + this.f1502c = j3; this.d = bVar; } public long a() { - return this.a + this.f1471c + (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.f1470c = 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.f1470c.c(); + datagramSocket = this.f1501c.c(); datagramSocket.setSoTimeout(l.intValue()); byte[] bArr = new byte[48]; - DatagramPacket b2 = this.f1470c.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.f1470c.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 43b30baade..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 @@ -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.f1471c); + 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 78191b49dd..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 @@ -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 f1472c = 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.f1471c; + 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.f1472c.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 e5a973da12..e261ad2d2c 100644 --- a/app/src/main/java/c/n/a/a/a.java +++ b/app/src/main/java/c/n/a/a/a.java @@ -18,8 +18,8 @@ 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 e2337f95a4..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,10 +15,10 @@ 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; } diff --git a/app/src/main/java/c/o/a/b.java b/app/src/main/java/c/o/a/b.java index a058f6b947..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 f1473c; + 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(); - f1473c = 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 7e73b12154..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 f1474c = 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.f1474c); + 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 189ffd6869..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 f1475c; + 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 ced07d2391..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 f1476c0 = 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 f1477d0; + public Camera f1508d0; @VisibleForTesting /* renamed from: e0 reason: collision with root package name */ - public int f1478e0; + 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.f1477d0.cancelAutoFocus(); - Camera.Parameters parameters = b.this.f1477d0.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.f1477d0.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.f1477d0.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.f1477d0.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.f1477d0.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.f1477d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.e1(parameters, this.i)) { - b.this.f1477d0.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.f1477d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); b.this.g1(parameters); - b.this.f1477d0.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.f1477d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.j1(parameters, this.i)) { - b.this.f1477d0.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.f1477d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.f1(parameters, this.i)) { - b.this.f1477d0.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.f1477d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.k1(parameters, this.i)) { - b.this.f1477d0.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.f1477d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.d1(parameters, this.i)) { - b.this.f1477d0.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.f1477d0.getParameters(); + Camera.Parameters parameters = b.this.f1508d0.getParameters(); if (b.this.i1(parameters, this.i)) { - b.this.f1477d0.setParameters(parameters); + b.this.f1508d0.setParameters(parameters); } } } @@ -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.f1477d0.setPreviewDisplay((SurfaceHolder) this.n.i()); + this.f1508d0.setPreviewDisplay((SurfaceHolder) this.n.i()); } else if (this.n.j() == SurfaceTexture.class) { - this.f1477d0.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.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.f1478e0); - this.f1477d0 = 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.f1477d0.getParameters(); - int i2 = this.f1478e0; + 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.f1477d0.setParameters(parameters); + this.f1508d0.setParameters(parameters); try { - this.f1477d0.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,7 +387,7 @@ 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.f1477d0.getParameters(); + Camera.Parameters parameters = this.f1508d0.getParameters(); parameters.setPreviewFormat(17); c.o.a.x.b bVar2 = this.r; parameters.setPreviewSize(bVar2.i, bVar2.j); @@ -401,15 +401,15 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback parameters.setPictureSize(Q0.i, Q0.j); } try { - this.f1477d0.setParameters(parameters); - this.f1477d0.setPreviewCallbackWithBuffer(null); - this.f1477d0.setPreviewCallbackWithBuffer(this); + 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.f1477d0.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); @@ -434,16 +434,16 @@ public class b extends g implements Camera.PreviewCallback, Camera.ErrorCallback this.q = null; try { if (this.n.j() == SurfaceHolder.class) { - this.f1477d0.setPreviewDisplay(null); + this.f1508d0.setPreviewDisplay(null); } else if (this.n.j() == SurfaceTexture.class) { - this.f1477d0.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.f1477d0 != null) { + if (this.f1508d0 != null) { try { bVar.a(1, "onStopEngine:", "Clean up.", "Releasing camera."); - this.f1477d0.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.f1477d0 = null; + this.f1508d0 = null; this.o = null; } this.o = null; - this.f1477d0 = 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.f1477d0.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.f1477d0.setPreviewCallbackWithBuffer(null); + this.f1508d0.setPreviewCallbackWithBuffer(null); try { bVar.a(1, "onStopPreview:", "Stopping preview."); - this.f1477d0.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.f1475c = 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.f1477d0); + 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.f1475c = 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.f1488b0); + 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.f1475c = this.K.c(c.o.a.n.t.b.SENSOR, bVar2, 2); - this.p = new c.o.a.v.e(aVar, this, this.f1477d0, 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.f1476c0); + 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.f1478e0 = 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.f1476c0; + 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.f1492z)) { - c.o.a.n.q.a aVar = this.f1476c0; - c.o.a.m.h hVar2 = this.f1492z; + 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.f1492z = 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.f1478e0, cameraInfo); + Camera.getCameraInfo(this.f1509e0, cameraInfo); if (cameraInfo.canDisableShutterSound) { try { - return this.f1477d0.enableShutterSound(this.E); + return this.f1508d0.enableShutterSound(this.E); } catch (RuntimeException unused) { return false; } @@ -730,10 +730,10 @@ 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.w)) { - c.o.a.n.q.a aVar = this.f1476c0; + c.o.a.n.q.a aVar = this.f1507c0; m mVar2 = this.w; Objects.requireNonNull(aVar); - parameters.setWhiteBalance(c.o.a.n.q.a.f1494c.get(mVar2)); + parameters.setWhiteBalance(c.o.a.n.q.a.f1525c.get(mVar2)); parameters.remove("auto-whitebalance-lock"); return true; } @@ -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.f1477d0.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.f1492z; - this.f1492z = 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.f1477d0.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 0b3cecd63c..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,28 +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 f1479c0; + public final CameraManager f1510c0; /* renamed from: d0 reason: collision with root package name */ - public String f1480d0; + public String f1511d0; /* renamed from: e0 reason: collision with root package name */ - public CameraDevice f1481e0; + public CameraDevice f1512e0; /* renamed from: f0 reason: collision with root package name */ - public CameraCharacteristics f1482f0; + public CameraCharacteristics f1513f0; /* renamed from: g0 reason: collision with root package name */ - public CameraCaptureSession f1483g0; + public CameraCaptureSession f1514g0; /* renamed from: h0 reason: collision with root package name */ - public CaptureRequest.Builder f1484h0; + public CaptureRequest.Builder f1515h0; /* renamed from: i0 reason: collision with root package name */ - public TotalCaptureResult f1485i0; + public TotalCaptureResult f1516i0; /* renamed from: j0 reason: collision with root package name */ - public final c.o.a.n.q.b f1486j0; + public final c.o.a.n.q.b f1517j0; public ImageReader k0; public Surface l0; public Surface m0; @@ -92,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.f1484h0, 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.f1484h0, this.i); + dVar2.h1(dVar2.f1515h0, this.i); try { d dVar3 = d.this; - dVar3.f1483g0.capture(dVar3.f1484h0.build(), null, null); + dVar3.f1514g0.capture(dVar3.f1515h0.build(), null, null); d dVar4 = d.this; dVar4.v = this.j; - dVar4.h1(dVar4.f1484h0, this.i); + dVar4.h1(dVar4.f1515h0, this.i); d.this.k1(); } catch (CameraAccessException e) { throw d.this.o1(e); @@ -124,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.f1484h0; + CaptureRequest.Builder builder = dVar.f1515h0; Location location = dVar.B; if (location != null) { builder.set(CaptureRequest.JPEG_GPS_LOCATION, location); @@ -144,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.f1484h0, this.i)) { + if (dVar.m1(dVar.f1515h0, this.i)) { d.this.k1(); } } @@ -152,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.f1484h0, this.i)) { + if (dVar.i1(dVar.f1515h0, this.i)) { d.this.k1(); } } @@ -185,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.f1484h0, 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); @@ -213,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.f1484h0, 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); @@ -233,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.f1484h0, this.i)) { + if (dVar.j1(dVar.f1515h0, this.i)) { d.this.k1(); } } @@ -258,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.f1485i0 = totalCaptureResult; + dVar.f1516i0 = totalCaptureResult; for (c.o.a.n.o.a aVar : dVar.o0) { aVar.b(d.this, captureRequest, totalCaptureResult); } @@ -345,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 @@ -384,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())); } } } @@ -446,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.f1481e0 = cameraDevice; + d.this.f1512e0 = cameraDevice; try { i.i.a(1, "onStartEngine:", "Opened camera device."); d dVar = d.this; - dVar.f1482f0 = dVar.f1479c0.getCameraCharacteristics(dVar.f1480d0); + 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) { @@ -461,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.f1479c0, dVar2.f1480d0, 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); @@ -504,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.f1483g0 = cameraCaptureSession; + d.this.f1514g0 = cameraCaptureSession; i.i.a(1, "onStartBind:", "Completed"); this.a.b(null); } @@ -581,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.f1486j0 = 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.f1479c0 = (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); } @@ -632,7 +632,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. 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); @@ -653,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); @@ -691,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.f1489s = bVar8; - ImageReader newInstance2 = ImageReader.newInstance(bVar8.i, bVar8.j, this.t, this.f1487a0 + 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); @@ -713,11 +713,11 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } else { handler = null; this.k0 = null; - this.f1489s = null; + this.f1520s = null; this.l0 = null; } try { - this.f1481e0.createCaptureSession(arrayList, new o(taskCompletionSource), handler); + this.f1512e0.createCaptureSession(arrayList, new o(taskCompletionSource), handler); return taskCompletionSource.a; } catch (CameraAccessException e3) { throw o1(e3); @@ -730,7 +730,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. public Task Q() { TaskCompletionSource taskCompletionSource = new TaskCompletionSource(); try { - this.f1479c0.openCamera(this.f1480d0, new m(taskCompletionSource), (Handler) null); + this.f1510c0.openCamera(this.f1511d0, new m(taskCompletionSource), (Handler) null); return taskCompletionSource.a; } catch (CameraAccessException e2) { throw o1(e2); @@ -749,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.f1489s, this.K); + S0().e(this.t, this.f1520s, this.K); } bVar.a(1, "onStartPreview:", "Starting preview."); c1(new Surface[0]); @@ -771,7 +771,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. this.m0 = null; this.r = null; this.q = null; - this.f1489s = null; + this.f1520s = null; ImageReader imageReader = this.k0; if (imageReader != null) { imageReader.close(); @@ -782,10 +782,10 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. imageReader2.close(); this.n0 = null; } - this.f1483g0.close(); - this.f1483g0 = 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 @@ -794,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.f1481e0.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.f1481e0 = 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.f1482f0 = null; + this.f1513f0 = null; this.o = null; - this.f1484h0 = 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.f1479c0.getCameraCharacteristics(this.f1480d0).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); @@ -842,14 +842,14 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (this.u) { S0().d(); } - this.f1484h0.removeTarget(this.m0); + this.f1515h0.removeTarget(this.m0); Surface surface = this.l0; if (surface != null) { - this.f1484h0.removeTarget(surface); + this.f1515h0.removeTarget(surface); } - this.f1485i0 = 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 @@ -877,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.f1475c = aVar2.c(bVar, bVar2, 2); + aVar.f1506c = aVar2.c(bVar, bVar2, 2); aVar.d = w(bVar2); try { - CaptureRequest.Builder createCaptureRequest = this.f1481e0.createCaptureRequest(2); - d1(createCaptureRequest, this.f1484h0); + 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(); @@ -903,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.f1475c = 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(); @@ -924,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.f1486j0); + Objects.requireNonNull(this.f1517j0); int intValue = c.o.a.n.q.b.b.get(eVar).intValue(); try { - String[] cameraIdList = this.f1479c0.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.f1479c0.getCameraCharacteristics(str); + CameraCharacteristics cameraCharacteristics = this.f1510c0.getCameraCharacteristics(str); if (intValue == ((Integer) u1(cameraCharacteristics, CameraCharacteristics.LENS_FACING, -99)).intValue()) { - this.f1480d0 = str; + this.f1511d0 = str; this.K.f(eVar, ((Integer) u1(cameraCharacteristics, CameraCharacteristics.SENSOR_ORIENTATION, 0)).intValue()); return true; } @@ -947,14 +947,14 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. } public final void c1(@NonNull Surface... surfaceArr) { - this.f1484h0.addTarget(this.m0); + this.f1515h0.addTarget(this.m0); Surface surface = this.l0; if (surface != null) { - this.f1484h0.addTarget(surface); + this.f1515h0.addTarget(surface); } for (Surface surface2 : surfaceArr) { if (surface2 != null) { - this.f1484h0.addTarget(surface2); + this.f1515h0.addTarget(surface2); } else { throw new IllegalArgumentException("Should not add a null surface."); } @@ -998,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.f1483g0.capture(builder.build(), this.q0, null); + this.f1514g0.capture(builder.build(), this.q0, null); } } @@ -1033,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) { @@ -1052,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.f1486j0; + c.o.a.n.q.b bVar = this.f1517j0; c.o.a.m.f fVar2 = this.v; Objects.requireNonNull(bVar); ArrayList arrayList2 = new ArrayList(); @@ -1087,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.f1492z)) { - c.o.a.n.q.b bVar = this.f1486j0; - c.o.a.m.h hVar2 = this.f1492z; + 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.f1492z = hVar; + this.f1523z = hVar; return false; } @@ -1143,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.f1492z; - this.f1492z = 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.f1483g0.setRepeatingRequest(this.f1484h0.build(), this.q0, null); + this.f1514g0.setRepeatingRequest(this.f1515h0.build(), this.q0, null); } catch (CameraAccessException e2) { throw new CameraException(e2, i2); } catch (IllegalStateException e3) { @@ -1174,10 +1174,10 @@ 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.w)) { - c.o.a.n.q.b bVar = this.f1486j0; + 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.f1495c.get(mVar2).intValue())); + builder.set(CaptureRequest.CONTROL_AWB_MODE, Integer.valueOf(c.o.a.n.q.b.f1526c.get(mVar2).intValue())); return true; } this.w = mVar; @@ -1257,7 +1257,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. if (gVar != null) { gVar.a(this); } - CaptureRequest.Builder builder = this.f1484h0; + CaptureRequest.Builder builder = this.f1515h0; boolean z2 = false; int[] iArr = (int[]) t1(CameraCharacteristics.CONTROL_AF_AVAILABLE_MODES, new int[0]); ArrayList arrayList = new ArrayList(); @@ -1281,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.f1484h0; - CaptureRequest.Builder createCaptureRequest = this.f1481e0.createCaptureRequest(i2); - this.f1484h0 = createCaptureRequest; + CaptureRequest.Builder builder = this.f1515h0; + CaptureRequest.Builder createCaptureRequest = this.f1512e0.createCaptureRequest(i2); + this.f1515h0 = createCaptureRequest; createCaptureRequest.setTag(Integer.valueOf(i2)); - d1(this.f1484h0, builder); - return this.f1484h0; + d1(this.f1515h0, builder); + return this.f1515h0; } @NonNull @@ -1317,7 +1317,7 @@ public class d extends g implements ImageReader.OnImageAvailableListener, c.o.a. @NonNull public List s1() { try { - StreamConfigurationMap streamConfigurationMap = (StreamConfigurationMap) this.f1479c0.getCameraCharacteristics(this.f1480d0).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); @@ -1338,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.f1482f0.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 8e07584d19..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.f1493c = cVar; - this.e.f1(((d) cVar).f1484h0); + this.f1524c = cVar; + this.e.f1(((d) cVar).f1515h0); d dVar = (d) cVar; - CaptureRequest.Builder builder = dVar.f1484h0; + CaptureRequest.Builder builder = dVar.f1515h0; CaptureRequest.Key key = CaptureRequest.CONTROL_AE_LOCK; Boolean bool = Boolean.FALSE; builder.set(key, bool); - dVar.f1484h0.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 5655456521..82b4478480 100644 --- a/app/src/main/java/c/o/a/n/g.java +++ b/app/src/main/java/c/o/a/n/g.java @@ -51,10 +51,10 @@ public abstract class g extends i { public int Z; /* renamed from: a0 reason: collision with root package name */ - public int f1487a0; + public int f1518a0; /* renamed from: b0 reason: collision with root package name */ - public c.o.a.u.a f1488b0; + 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; @@ -62,20 +62,20 @@ public abstract class g extends i { public c.o.a.x.b r; /* renamed from: s reason: collision with root package name */ - public c.o.a.x.b f1489s; + public c.o.a.x.b f1520s; public int t; public boolean u; public f v; public m w; /* renamed from: x reason: collision with root package name */ - public l f1490x; + public l f1521x; /* renamed from: y reason: collision with root package name */ - public c.o.a.m.b f1491y; + public c.o.a.m.b f1522y; /* renamed from: z reason: collision with root package name */ - public h f1492z; + public h f1523z; /* compiled from: CameraBaseEngine */ public class a implements Runnable { @@ -164,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 @@ -191,7 +191,7 @@ public abstract class g extends i { @Override // c.o.a.n.i public final void B0(@NonNull c.o.a.m.l lVar) { - this.f1490x = lVar; + this.f1521x = lVar; } @Override // c.o.a.n.i @@ -263,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.f1490x; + return this.f1521x; } @Override // c.o.a.n.i @@ -329,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; @@ -360,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(); @@ -383,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.f1487a0); + this.J = V0(this.f1518a0); } return this.J; } @@ -426,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.f2483s.post(new c.o.a.i(bVar, aVar)); + CameraView.this.f2497s.post(new c.o.a.i(bVar, aVar)); return; } i.i.a(3, "onPictureResult", "result is null: something went wrong.", exc); @@ -445,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.f1491y = bVar; + this.f1522y = bVar; } @Override // c.o.a.n.i @@ -483,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.f1491y; + return this.f1522y; } @Override // c.o.a.n.i @@ -509,7 +509,7 @@ public abstract class g extends i { @Override // c.o.a.n.i public final void j0(int i) { - this.f1487a0 = i; + this.f1518a0 = i; } @Override // c.o.a.n.i @@ -550,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.f1488b0 = aVar; + this.f1519b0 = aVar; } @Override // c.o.a.n.i @@ -560,7 +560,7 @@ public abstract class g extends i { @Override // c.o.a.n.i public final int q() { - return this.f1487a0; + return this.f1518a0; } @Override // c.o.a.n.i @@ -571,7 +571,7 @@ public abstract class g extends i { @Override // c.o.a.n.i @NonNull public final h r() { - return this.f1492z; + return this.f1523z; } @Override // c.o.a.n.i 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 098500f994..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.f1499c.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.f1499c.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 fefbae77ab..31ba29d879 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.f2483s.post(new c.o.a.f(bVar, cVar2)); - return c.i.a.f.e.o.c.F(null); + CameraView.this.f2497s.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 1200a00695..60ba59a258 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.f2483s.post(new g(bVar)); + CameraView.this.f2497s.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 25b81fc2a8..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.f1493c = 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 a625503106..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 f1493c; + 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.f1493c = cVar; + this.f1524c = cVar; d dVar = (d) cVar; if (!dVar.o0.contains(this)) { dVar.o0.add(this); } - if (((d) cVar).f1485i0 != 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.f1493c = cVar; + this.f1524c = cVar; } @NonNull public T k(@NonNull CameraCharacteristics.Key key, @NonNull T t) { - T t2 = (T) ((d) this.f1493c).f1482f0.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.f1493c).o0.remove(this); - i(this.f1493c); + ((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 f54c209f93..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.f1493c = 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.f1493c); + 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 97bc39e07e..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.f1493c = 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 13b5526842..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.f1493c = 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 f5eaf9814a..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).f1484h0.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).f1485i0; + 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).f1484h0.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.f1484h0.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 20a2986989..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).f1485i0; + 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).f1484h0.set(CaptureRequest.CONTROL_AF_MODE, 1); + ((d) cVar).f1515h0.set(CaptureRequest.CONTROL_AF_MODE, 1); d dVar = (d) cVar; - dVar.f1484h0.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 e454ca63b4..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).f1484h0.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).f1485i0; + 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).f1484h0.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 0fbcd43b64..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 f1494c; + 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(); - f1494c = 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 1fdf6f171e..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 f1495c; + public static final Map f1526c; public static final Map d; static { HashMap hashMap = new HashMap(); b = hashMap; HashMap hashMap2 = new HashMap(); - f1495c = 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 6e3f3b9e06..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.f1493c = 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 6ae16c4d47..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.f1493c = 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 53b174ad75..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).f1484h0.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).f1484h0.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).f1485i0; + 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).f1484h0.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).f1484h0.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 4bd635f83d..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).f1484h0.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).f1484h0.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).f1485i0; + 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).f1484h0.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.f1484h0.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 8eb2076d10..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).f1484h0.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).f1484h0.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).f1485i0; + 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).f1484h0.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).f1484h0.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 08315f7625..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).f1484h0.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).f1485i0; + 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).f1484h0.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 efa806753b..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.f1482f0, dVar.f1484h0); + 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 759c92a973..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).f1484h0.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).f1485i0; + 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).f1484h0.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 936b9a62f6..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).f1484h0.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 97dff0e9cf..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 f1496c; + 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.f1496c = 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.f1496c; + 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 090d081de0..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 f1497c; + 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.f1497c = 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.f1497c; + 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 3aa0e1bcef..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 f1498c = 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.f1498c) + 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.f1498c), "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.f1498c = i; + this.f1529c = i; if (eVar == e.FRONT) { - this.f1498c = ((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 f79af4025c..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.f1494c, str); + m mVar = (m) a.b(c.o.a.n.q.a.f1525c, str); if (mVar != null) { this.a.add(mVar); } } } - this.f1474c.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.f1474c.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 3ee91037bd..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.f1495c, 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.f1474c.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.f1474c.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 11cdebba69..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> f1499c = 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> f1500c; + 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.f1500c = 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.f1499c.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.f1499c.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.f1499c.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.f1499c.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 0baca4807a..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.f1499c.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 897f8badfb..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.f1500c.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 f41c2d1c47..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,9 +4,9 @@ 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 d0.p; import d0.z.d.m; @@ -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 f1501c = 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.f1501c; + 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.f1501c; + 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.f1501c; + c.o.b.b.b bVar6 = this.f1532c; Objects.requireNonNull(dVar4); m.checkNotNullParameter(bVar6, "drawable"); m.checkNotNullParameter(bVar6, "drawable"); @@ -176,10 +176,10 @@ public abstract class a implements b { public void f() { d dVar = this.b; if (!dVar.a) { - if (dVar.f1517c) { + if (dVar.f1548c) { GLES20.glDeleteProgram(p.m80constructorimpl(dVar.b)); } - for (c.o.b.d.c cVar : dVar.d) { + 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.f1501c = 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.f1501c = 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 4276421f31..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.f1503c) { + 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.f1503c; + 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 7cf25a19c8..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 f1502c = 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.f1502c != 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.f1502c != null) { + if (this.f1533c != null) { a.a(0, "Frame with time", Long.valueOf(this.d), "is being released."); - Object obj = this.f1502c; - this.f1502c = 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 48338b3f98..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 f1503c = -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.f1502c = 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.f1503c = -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.f1503c = (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 fbf0116f0c..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[] f1504c; + public PointF[] f1535c; /* compiled from: GestureFinder */ public interface a { } public c(@NonNull a aVar, int i) { - this.f1504c = new PointF[i]; + this.f1535c = new PointF[i]; for (int i2 = 0; i2 < i; i2++) { - this.f1504c[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 0378ea06b4..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.f1504c[0].x = motionEvent.getX(0); - this.f1504c[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.f1504c[1].x = motionEvent.getX(1); - this.f1504c[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 e802370f89..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.f1504c[0].x) { + if (motionEvent.getX() == f.this.f1535c[0].x) { float y2 = motionEvent.getY(); f fVar = f.this; - if (y2 == fVar.f1504c[0].y) { + if (y2 == fVar.f1535c[0].y) { if (fVar.b == aVar) { z2 = true; } - f.this.f1504c[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.f1504c[0].set(motionEvent.getX(), motionEvent.getY()); + fVar4.f1535c[0].set(motionEvent.getX(), motionEvent.getY()); z2 = z3; - f.this.f1504c[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 bf9ec55fb4..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.f1504c[0].x = motionEvent.getX(); - this.f1504c[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 565ca65276..02c59b782a 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 a76ec70de0..a9daec6390 100644 --- a/app/src/main/java/c/o/a/r/c.java +++ b/app/src/main/java/c/o/a/r/c.java @@ -15,7 +15,7 @@ public class c { @NonNull /* renamed from: c reason: collision with root package name */ - public c.o.a.o.b f1505c = 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,12 +26,12 @@ public class c { public void a(long j) { if (this.d != null) { b(); - this.f1505c = this.d; + this.f1536c = this.d; this.d = null; } if (this.e == -1) { - String c2 = this.f1505c.c(); - String h = this.f1505c.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)}; @@ -50,12 +50,12 @@ public class c { int i3 = f.a; if (i2 == 1) { this.e = r0; - this.f1505c.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.f1505c.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.f1505c.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 7ef40a651c..1c9f223bce 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 f1506c; + 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.f1506c; + CameraView.b bVar = (CameraView.b) fVar.f1537c; bVar.b.a(1, "onDeviceOrientationChanged", Integer.valueOf(i2)); CameraView cameraView = CameraView.this; int i3 = cameraView.w.g; if (!cameraView.l) { int i4 = (360 - i3) % 360; - c.o.a.n.t.a e = cameraView.f2484x.e(); + c.o.a.n.t.a e = cameraView.f2498x.e(); e.e(i4); e.e = i4; e.d(); } else { - c.o.a.n.t.a e2 = cameraView.f2484x.e(); + c.o.a.n.t.a e2 = cameraView.f2498x.e(); e2.e(i2); e2.e = i2; e2.d(); } - CameraView.this.f2483s.post(new j(bVar, (i2 + i3) % 360)); + CameraView.this.f2497s.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.f1506c; + 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.f1506c = 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 2e4c5f2117..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 f1507c; + 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"); - f1507c = 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 b754098058..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 f1508c; + 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.f1508c = surfaceTexture; + this.f1539c = surfaceTexture; surfaceTexture.setDefaultBufferSize(bVar.i, bVar.j); - this.d = new Surface(this.f1508c); + 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 650f5bed54..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 f1509c = 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.f1509c = 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.f1509c) || (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.f1509c, "]"); + 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 67fa5dc629..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.f1475c = 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.f1475c); + 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 7c56f99767..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).f1482f0, totalCaptureResult); + bVar.q = new DngCreator(((d) cVar).f1513f0, totalCaptureResult); b bVar2 = b.this; DngCreator dngCreator = bVar2.q; - int i2 = bVar2.i.f1475c; + 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.f1493c = 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.f1475c)); + 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.f1507c = 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.f1475c = 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.f1475c = 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 a46e57d834..29c426e886 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.f2486z == null) { - cameraView.f2486z = new MediaActionSound(); + if (cameraView.f2500z == null) { + cameraView.f2500z = new MediaActionSound(); } - cameraView.f2486z.play(0); + cameraView.f2500z.play(0); } - CameraView.this.f2483s.post(new h(bVar)); + CameraView.this.f2497s.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 d997ee60d8..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.f1475c = 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.f1475c; + 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 149043f7e3..4497fdeca2 100644 --- a/app/src/main/java/c/o/a/v/f.java +++ b/app/src/main/java/c/o/a/v/f.java @@ -17,7 +17,7 @@ import java.util.Arrays; public class f extends g { /* renamed from: s reason: collision with root package name */ - public final c.o.a.n.o.a f1510s; + 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; @@ -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.f1493c = cVar; + this.f1524c = cVar; i.l.a(1, "FlashAction:", "Parameters locked, opening torch."); - ((d) cVar).f1484h0.set(CaptureRequest.FLASH_MODE, 2); + ((d) cVar).f1515h0.set(CaptureRequest.FLASH_MODE, 2); d dVar = (d) cVar; - dVar.f1484h0.set(CaptureRequest.CONTROL_AE_MODE, 1); + dVar.f1515h0.set(CaptureRequest.CONTROL_AE_MODE, 1); dVar.k1(); } } @@ -72,10 +72,10 @@ public class f extends g { @Override // c.o.a.n.o.e public void j(@NonNull c.o.a.n.o.c cVar) { - this.f1493c = cVar; + this.f1524c = cVar; try { i.l.a(1, "ResetFlashAction:", "Reverting the flash changes."); - CaptureRequest.Builder builder = ((d) cVar).f1484h0; + CaptureRequest.Builder builder = ((d) cVar).f1515h0; builder.set(CaptureRequest.CONTROL_AE_MODE, 1); builder.set(CaptureRequest.FLASH_MODE, 0); ((d) cVar).e1(this, builder); @@ -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.f1488b0); + 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.f1510s = hVar; + this.f1541s = hVar; hVar.f(new a()); - TotalCaptureResult totalCaptureResult = dVar.f1485i0; + 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.f1484h0.get(CaptureRequest.CONTROL_AE_MODE); - this.w = (Integer) dVar.f1484h0.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.f1510s.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 5c05c4e5c8..845231b801 100644 --- a/app/src/main/java/c/o/a/v/g.java +++ b/app/src/main/java/c/o/a/v/g.java @@ -41,8 +41,8 @@ public class g extends i { g gVar = g.this; Objects.requireNonNull(gVar); gVar.r = 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()); + 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); } @@ -61,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 74cf28e472..a0b2b39a61 100644 --- a/app/src/main/java/c/o/a/v/h.java +++ b/app/src/main/java/c/o/a/v/h.java @@ -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.f1519c; + a aVar2 = bVar2.f1550c; e eVar = bVar2.d; Objects.requireNonNull(aVar2); m.checkNotNullParameter(eVar, "eglSurface"); @@ -82,12 +82,12 @@ public class h implements Runnable { 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.f1475c), 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,15 +99,15 @@ public class h implements Runnable { } synchronized (bVar4.g) { GLES20.glBindTexture(36197, bVar4.f.a); - bVar4.f1508c.updateTexImage(); + bVar4.f1539c.updateTexImage(); } - bVar4.f1508c.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.f1475c, 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.f1475c = 0; + gVar.i.f1506c = 0; long timestamp = surfaceTexture.getTimestamp() / 1000; i.l.a(1, "takeFrame:", "timestampUs:", Long.valueOf(timestamp)); gVar.r.a(timestamp); @@ -131,12 +131,12 @@ public class h implements Runnable { m.checkNotNullExpressionValue(byteArray, "it.toByteArray()"); d0.y.b.closeFinally(byteArrayOutputStream, null); aVar4.f = byteArray; - c.o.b.a.a aVar5 = bVar2.f1519c; + 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.f1514c; + bVar2.d = d.f1545c; bVar2.b = -1; bVar2.a = -1; gVar.r.b(); @@ -150,10 +150,10 @@ public class h implements Runnable { } else { r3 = 0; } - SurfaceTexture surfaceTexture3 = bVar6.f1508c; + SurfaceTexture surfaceTexture3 = bVar6.f1539c; if (surfaceTexture3 != null) { surfaceTexture3.release(); - bVar6.f1508c = 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 8442ca8122..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 f1511c; + 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.f1511c = 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 271b11a43a..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.f1511c).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.f1511c).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.f1511c).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.f1511c).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.f1511c).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.f1511c).onPause(); + ((GLSurfaceView) this.f1542c).onPause(); } @Override // c.o.a.w.a public void q() { - ((GLSurfaceView) this.f1511c).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 57983aee9c..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.f1511c).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 ce43973dfe..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.f1511c).setScaleX(f4); - ((TextureView) j.this.f1511c).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.f1511c).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.f1511c).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.f1511c).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.f1511c).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 900d8dc05b..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.f1514c; + 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.f1512c = 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 e0bdb1ab09..d2c181b89f 100644 --- a/app/src/main/java/c/o/b/a/b.java +++ b/app/src/main/java/c/o/b/a/b.java @@ -28,7 +28,7 @@ public class b { iArr[7] = 8; iArr[8] = d.p; iArr[9] = d.q | d.r; - iArr[10] = d.f1515s; + 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 1e39c08d95..991b440d10 100644 --- a/app/src/main/java/c/o/b/a/c.java +++ b/app/src/main/java/c/o/b/a/c.java @@ -13,7 +13,7 @@ public class c { public b b = d.a; /* renamed from: c reason: collision with root package name */ - public a f1512c; + 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.f1512c = 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.f1512c = 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 31f572f86b..caa9f9b9e3 100644 --- a/app/src/main/java/c/o/b/a/d.java +++ b/app/src/main/java/c/o/b/a/d.java @@ -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); } @@ -40,15 +40,15 @@ public final class d { 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 4d8f1af5df..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[] f1513c = {-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 = f1513c; - 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 5721f17584..f5db096a08 100644 --- a/app/src/main/java/c/o/b/c/a.java +++ b/app/src/main/java/c/o/b/c/a.java @@ -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 b44c9159f1..bcb0116154 100644 --- a/app/src/main/java/c/o/b/c/b.java +++ b/app/src/main/java/c/o/b/c/b.java @@ -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 03da6b309d..60cc7f3d42 100644 --- a/app/src/main/java/c/o/b/c/c.java +++ b/app/src/main/java/c/o/b/c/c.java @@ -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 de172531b7..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 f1514c = 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; @@ -25,5 +25,5 @@ public final class d { public static final int r = 1; /* renamed from: s reason: collision with root package name */ - public static final int f1515s = 12352; + 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 6c212fc537..05ee794b07 100644 --- a/app/src/main/java/c/o/b/c/e.java +++ b/app/src/main/java/c/o/b/c/e.java @@ -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 c3462d4974..e1d574a927 100644 --- a/app/src/main/java/c/o/b/c/f.java +++ b/app/src/main/java/c/o/b/c/f.java @@ -8,7 +8,7 @@ public final class f { public static final int b = p.m80constructorimpl(5); /* renamed from: c reason: collision with root package name */ - public static final int f1516c = p.m80constructorimpl(33984); + 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); 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 c819888811..e905bca08b 100644 --- a/app/src/main/java/c/o/b/d/a.java +++ b/app/src/main/java/c/o/b/d/a.java @@ -7,13 +7,13 @@ public class a { public final int b; /* renamed from: c reason: collision with root package name */ - public final boolean f1517c; + public final boolean f1548c; public final c[] d; public a(int i, boolean z2, c... cVarArr) { m.checkNotNullParameter(cVarArr, "shaders"); this.b = i; - this.f1517c = 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 eb4c0379ce..bac3a9c4f6 100644 --- a/app/src/main/java/c/o/b/d/b.java +++ b/app/src/main/java/c/o/b/d/b.java @@ -13,11 +13,11 @@ public final class b { public final int b; /* renamed from: c reason: collision with root package name */ - public final String f1518c; + public final String f1549c; public b(int i, int i2, String str, DefaultConstructorMarker defaultConstructorMarker) { int i3; - this.f1518c = str; + this.f1549c = str; int h = c.c.a.y.b.h(i2); if (h == 0) { i3 = GLES20.glGetAttribLocation(p.m80constructorimpl(i), str); 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 cfda83f126..500300331b 100644 --- a/app/src/main/java/c/o/b/d/c.java +++ b/app/src/main/java/c/o/b/d/c.java @@ -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 97ae653477..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 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 97b9800406..22f613d841 100644 --- a/app/src/main/java/c/o/b/e/a.java +++ b/app/src/main/java/c/o/b/e/a.java @@ -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 f1519c; + 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.f1519c = 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.f1519c; + 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.f1519c.a(this.d, d.f); + i = this.f1550c.a(this.d, d.f); } int i2 = this.b; if (i2 < 0) { - i2 = this.f1519c.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 5b9a60f503..2f5a897f45 100644 --- a/app/src/main/java/c/o/b/e/b.java +++ b/app/src/main/java/c/o/b/e/b.java @@ -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.f1512c; + 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.f1514c) { + 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 0597f249e0..012f9d83d6 100644 --- a/app/src/main/java/c/o/b/f/a.java +++ b/app/src/main/java/c/o/b/f/a.java @@ -25,15 +25,15 @@ public final class a extends o implements Function0 { 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.m80constructorimpl(bVar.f1520c), 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.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.m80constructorimpl(this.this$0.f1520c), f.e, f.j); - GLES20.glTexParameterf(p.m80constructorimpl(this.this$0.f1520c), f.f, f.k); - int r0 = p.m80constructorimpl(this.this$0.f1520c); + 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.m80constructorimpl(this.this$0.f1520c), 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 d6566a33ab..630bf571a0 100644 --- a/app/src/main/java/c/o/b/f/b.java +++ b/app/src/main/java/c/o/b/f/b.java @@ -12,7 +12,7 @@ public final class b { public final int b; /* renamed from: c reason: collision with root package name */ - public final int f1520c; + 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.f1520c = i2; + this.f1551c = i2; this.d = null; this.e = null; this.f = null; @@ -55,19 +55,19 @@ public final class 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.f1516c : 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.m80constructorimpl(this.b)); - GLES20.glBindTexture(p.m80constructorimpl(this.f1520c), p.m80constructorimpl(this.a)); + GLES20.glBindTexture(p.m80constructorimpl(this.f1551c), p.m80constructorimpl(this.a)); d.b("bind"); } public void b() { - GLES20.glBindTexture(p.m80constructorimpl(this.f1520c), p.m80constructorimpl(0)); - GLES20.glActiveTexture(f.f1516c); + 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/b.java b/app/src/main/java/c/p/a/b.java index e7ce4c4659..475e3a2761 100644 --- a/app/src/main/java/c/p/a/b.java +++ b/app/src/main/java/c/p/a/b.java @@ -43,7 +43,7 @@ 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 com.tapadoo.alerter.R; import d0.g; @@ -71,20 +71,20 @@ public final class b extends FrameLayout implements View.OnClickListener, Animat public boolean r; /* renamed from: s reason: collision with root package name */ - public boolean f1521s; + public boolean f1552s; public Runnable t; public boolean u; public ArrayList