From 6b1e6f07c5efeb5fa0d82778a7113d52a914b901 Mon Sep 17 00:00:00 2001 From: Artur Skubei <41114720+gdlbo@users.noreply.github.com> Date: Sat, 2 Mar 2024 21:47:34 +0300 Subject: [PATCH] Internal VK Proxy Support (#1579) thanks @awers24 for tests --- .../vtosters/hooks/FirebaseGzipSupport.java | 38 + .../vtosters/hooks/OnlineFormatterHook.java | 47 +- .../java/ru/vtosters/hooks/PhotoViewer.java | 7 +- .../java/ru/vtosters/hooks/ProxyHook.java | 65 +- .../music/injectors/CatalogJsonInjector.java | 7 +- .../lite/di/singleton/VtOkHttpClient.java | 2 +- .../ru/vtosters/lite/dialogs/Requests.java | 43 +- .../lite/downloaders/StoryDownloader.java | 77 +- .../lite/downloaders/VideoDownloader.java | 206 +-- .../messages/MessagesDownloader.java | 6 +- .../java/ru/vtosters/lite/foaf/FoafBase.java | 7 +- .../vtosters/lite/music/LastFMScrobbler.java | 1 - .../converter/playlist/PlaylistConverter.java | 4 +- .../lite/music/downloader/AudioGet.java | 4 +- .../ru/vtosters/lite/proxy/GithubList.java | 38 - .../ru/vtosters/lite/proxy/ProxyUtils.java | 17 +- .../ru/vtosters/lite/proxy/RandomProxy.java | 66 - .../ru/vtosters/lite/proxy/http/Jetkai.java | 48 - .../vtosters/lite/proxy/http/TheSpeedX.java | 47 - .../ru/vtosters/lite/proxy/https/Jetkai.java | 47 - .../vtosters/lite/proxy/https/Roosterkid.java | 48 - .../ru/vtosters/lite/proxy/socks/Hookzof.java | 47 - .../ru/vtosters/lite/proxy/socks/Jetkai.java | 47 - .../vtosters/lite/proxy/socks/Roosterkid.java | 47 - .../vtosters/lite/proxy/socks/TheSpeedX.java | 47 - .../vtosters/lite/proxy/socks/Zaborona.java | 2 +- .../java/ru/vtosters/lite/ssfs/Utils.java | 2 +- .../lite/ui/dialogs/VKIDProtection.java | 1 + .../lite/ui/fragments/MediaFragment.java | 5 +- .../ui/fragments/ProxySettingsFragment.java | 113 +- .../lite/ui/fragments/VTSettings.java | 7 +- .../lite/utils/ExternalLinkParser.java | 36 +- .../ru/vtosters/lite/utils/ImageUtils.java | 37 +- smali/AndroidManifest.xml | 7 + smali/res/values/strings.xml | 4 +- smali/res/xml/preferences_account.xml | 66 +- .../res/xml/preferences_account_milkshake.xml | 70 +- smali/res/xml/preferences_general.xml | 169 +-- .../res/xml/preferences_general_milkshake.xml | 167 +-- smali/res/xml/preferences_proxy.xml | 9 +- .../dynamite/ModuleDescriptor.smali | 25 - .../firebase/perf/ModuleDescriptor.smali | 25 - .../android/gms/internal/safetynet/zza.smali | 88 -- .../android/gms/internal/safetynet/zzb.smali | 90 -- .../android/gms/internal/safetynet/zzc.smali | 102 -- .../android/gms/internal/safetynet/zzd.smali | 2 - .../android/gms/internal/safetynet/zze.smali | 109 -- .../android/gms/internal/safetynet/zzf.smali | 28 - .../android/gms/internal/safetynet/zzg.smali | 79 -- .../android/gms/internal/safetynet/zzh.smali | 230 ---- .../android/gms/internal/safetynet/zzi.smali | 71 -- .../android/gms/internal/safetynet/zzj.smali | 199 --- .../gms/internal/safetynet/zzk$zza.smali | 65 - .../gms/internal/safetynet/zzk$zzb.smali | 55 - .../gms/internal/safetynet/zzk$zzc.smali | 55 - .../gms/internal/safetynet/zzk$zzd.smali | 55 - .../gms/internal/safetynet/zzk$zze.smali | 55 - .../gms/internal/safetynet/zzk$zzf.smali | 55 - .../gms/internal/safetynet/zzk$zzg.smali | 111 -- .../gms/internal/safetynet/zzk$zzh.smali | 65 - .../gms/internal/safetynet/zzk$zzi.smali | 204 --- .../gms/internal/safetynet/zzk$zzj.smali | 77 -- .../android/gms/internal/safetynet/zzk.smali | 444 ------- .../android/gms/internal/safetynet/zzl.smali | 64 - .../android/gms/internal/safetynet/zzm.smali | 57 - .../android/gms/internal/safetynet/zzn.smali | 83 -- .../android/gms/internal/safetynet/zzo.smali | 37 - .../android/gms/internal/safetynet/zzp.smali | 37 - .../android/gms/internal/safetynet/zzq.smali | 37 - .../android/gms/internal/safetynet/zzr.smali | 45 - .../android/gms/internal/safetynet/zzs.smali | 34 - .../android/gms/internal/safetynet/zzt.smali | 34 - .../android/gms/internal/safetynet/zzu.smali | 34 - .../android/gms/internal/safetynet/zzv.smali | 34 - .../android/gms/internal/safetynet/zzw.smali | 34 - .../android/gms/internal/safetynet/zzx.smali | 238 ---- .../android/gms/internal/safetynet/zzy.smali | 12 - .../gms/safetynet/HarmfulAppsData.smali | 84 -- .../gms/safetynet/SafeBrowsingData.smali | 362 ------ .../com/google/android/gms/safetynet/a.smali | 12 - .../com/google/android/gms/safetynet/b.smali | 99 -- .../google/android/gms/safetynet/c$a.smali | 49 - .../google/android/gms/safetynet/c$b.smali | 19 - .../google/android/gms/safetynet/c$c.smali | 19 - .../google/android/gms/safetynet/c$d.smali | 24 - .../google/android/gms/safetynet/c$e.smali | 19 - .../google/android/gms/safetynet/c$f.smali | 24 - .../com/google/android/gms/safetynet/c.smali | 33 - .../com/google/android/gms/safetynet/d.smali | 76 -- .../com/google/android/gms/safetynet/e.smali | 85 -- .../com/google/android/gms/safetynet/f.smali | 113 -- .../com/google/android/gms/safetynet/g.smali | 138 --- .../com/google/android/gms/safetynet/h.smali | 85 -- .../com/google/android/gms/safetynet/i.smali | 98 -- .../com/google/android/gms/safetynet/j.smali | 209 ---- .../com/google/android/gms/safetynet/k.smali | 47 - .../google/android/gms/safetynet/zza.smali | 72 -- .../google/android/gms/safetynet/zzd.smali | 103 -- .../google/android/gms/safetynet/zzf.smali | 72 -- .../google/android/gms/safetynet/zzh.smali | 72 -- .../google/firebase/abt/AbtException.smali | 23 + smali/smali/com/google/firebase/abt/a.smali | 384 ++++++ smali/smali/com/google/firebase/abt/b.smali | 719 +++++++++++ .../firebase/abt/component/AbtRegistrar.smali | 130 ++ .../com/google/firebase/abt/component/a.smali | 118 ++ .../com/google/firebase/abt/component/b.smali | 52 + .../com/google/firebase/analytics/a/a$a.smali | 55 + .../com/google/firebase/analytics/a/a.smali | 119 ++ .../com/google/firebase/analytics/a/c.smali | 40 + .../com/google/firebase/analytics/a/d.smali | 42 + .../com/google/firebase/messaging/b.smali | 119 ++ .../FirebaseRemoteConfigClientException.smali | 35 + .../FirebaseRemoteConfigException.smali | 35 + .../FirebaseRemoteConfigFetchException.smali | 23 + ...eRemoteConfigFetchThrottledException.smali | 32 + .../FirebaseRemoteConfigServerException.smali | 56 + .../remoteconfig/RemoteConfigRegistrar.smali | 204 +++ .../com/google/firebase/remoteconfig/a.smali | 50 + .../com/google/firebase/remoteconfig/b.smali | 48 + .../com/google/firebase/remoteconfig/c.smali | 46 + .../com/google/firebase/remoteconfig/d.smali | 58 + .../com/google/firebase/remoteconfig/e.smali | 54 + .../com/google/firebase/remoteconfig/f.smali | 54 + .../com/google/firebase/remoteconfig/g.smali | 851 +++++++++++++ .../com/google/firebase/remoteconfig/h.smali | 13 + .../google/firebase/remoteconfig/i$a.smali | 14 + .../google/firebase/remoteconfig/i$b.smali | 200 +++ .../com/google/firebase/remoteconfig/i.smali | 91 ++ .../internal/ConfigFetchHttpClient.smali | 1015 +++++++++++++++ .../firebase/remoteconfig/internal/a.smali | 52 + .../firebase/remoteconfig/internal/b.smali | 60 + .../firebase/remoteconfig/internal/c.smali | 46 + .../firebase/remoteconfig/internal/d.smali | 50 + .../firebase/remoteconfig/internal/e$a.smali | 14 + .../firebase/remoteconfig/internal/e$b.smali | 127 ++ .../firebase/remoteconfig/internal/e.smali | 606 +++++++++ .../firebase/remoteconfig/internal/f$a.smali | 14 + .../firebase/remoteconfig/internal/f$b.smali | 163 +++ .../firebase/remoteconfig/internal/f.smali | 265 ++++ .../firebase/remoteconfig/internal/g.smali | 52 + .../firebase/remoteconfig/internal/h.smali | 50 + .../firebase/remoteconfig/internal/i.smali | 48 + .../firebase/remoteconfig/internal/j$a.smali | 128 ++ .../firebase/remoteconfig/internal/j.smali | 1102 +++++++++++++++++ .../firebase/remoteconfig/internal/k.smali | 328 +++++ .../firebase/remoteconfig/internal/l$a.smali | 57 + .../firebase/remoteconfig/internal/l.smali | 654 ++++++++++ .../firebase/remoteconfig/internal/m.smali | 356 ++++++ .../firebase/remoteconfig/internal/n$a.smali | 14 + .../firebase/remoteconfig/internal/n$b.smali | 92 ++ .../firebase/remoteconfig/internal/n.smali | 79 ++ .../firebase/remoteconfig/internal/o.smali | 308 +++++ .../firebase/remoteconfig/internal/p$a.smali | 61 + .../firebase/remoteconfig/internal/p$b.smali | 156 +++ .../firebase/remoteconfig/internal/p.smali | 958 ++++++++++++++ .../com/google/firebase/remoteconfig/j.smali | 37 + .../com/google/firebase/remoteconfig/k.smali | 46 + .../com/google/firebase/remoteconfig/l.smali | 50 + .../com/google/firebase/remoteconfig/m.smali | 677 ++++++++++ .../com/google/firebase/remoteconfig/n.smali | 52 + .../google/firebase/remoteconfig/o/a.smali | 154 +++ .../google/firebase/remoteconfig/o/b$a.smali | 51 + .../google/firebase/remoteconfig/o/b.smali | 826 ++++++++++++ .../google/firebase/remoteconfig/o/c.smali | 6 + .../google/firebase/remoteconfig/o/d$a.smali | 51 + .../google/firebase/remoteconfig/o/d.smali | 615 +++++++++ .../google/firebase/remoteconfig/o/e.smali | 6 + .../google/firebase/remoteconfig/o/f$a.smali | 51 + .../google/firebase/remoteconfig/o/f.smali | 700 +++++++++++ .../google/firebase/remoteconfig/o/g.smali | 6 + .../google/firebase/remoteconfig/o/h$a.smali | 51 + .../google/firebase/remoteconfig/o/h.smali | 660 ++++++++++ .../google/firebase/remoteconfig/o/i.smali | 6 + .../google/firebase/remoteconfig/o/j$a.smali | 51 + .../google/firebase/remoteconfig/o/j.smali | 1073 ++++++++++++++++ .../google/firebase/remoteconfig/o/k.smali | 6 + .../google/firebase/remoteconfig/o/l$a.smali | 51 + .../google/firebase/remoteconfig/o/l.smali | 709 +++++++++++ .../google/firebase/remoteconfig/o/m.smali | 6 + .../vk/core/network/proxy/NetworkProxy.smali | 11 +- .../vk/core/network/proxy/ProxyHost$a.smali | 13 + .../com/vk/core/network/proxy/ProxyHost.smali | 22 +- smali/smali_classes3/b/h/q/d/Firebase$a.smali | 141 +++ smali/smali_classes3/b/h/q/d/Firebase.smali | 595 +++++++++ .../b/h/q/d/FirebaseHelper.smali | 103 ++ .../exo/ExoAdaptiveVideoSelection.smali | 6 +- .../com/vtosters/lite/VKApplication.smali | 7 + .../SettingsAccountInnerFragment.smali | 24 +- .../fragments/SettingsGeneralFragment.smali | 30 + .../ru/mail/libverify/api/d$1.smali | 286 ----- .../ru/mail/libverify/api/d.smali | 22 +- .../UpdateSettingsApiResponse$1.smali | 4 + .../ru/mail/libverify/storage/m$1.smali | 2 + 193 files changed, 18200 insertions(+), 6218 deletions(-) create mode 100644 app/src/main/java/ru/vtosters/hooks/FirebaseGzipSupport.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/GithubList.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/RandomProxy.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/http/Jetkai.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/http/TheSpeedX.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/https/Jetkai.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/https/Roosterkid.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/socks/Hookzof.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/socks/Jetkai.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/socks/Roosterkid.java delete mode 100644 app/src/main/java/ru/vtosters/lite/proxy/socks/TheSpeedX.java delete mode 100644 smali/smali/com/google/android/gms/dynamite/descriptors/com/google/android/gms/measurement/dynamite/ModuleDescriptor.smali delete mode 100644 smali/smali/com/google/android/gms/dynamite/descriptors/com/google/firebase/perf/ModuleDescriptor.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zza.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzb.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzc.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzd.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zze.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzf.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzg.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzh.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzi.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzj.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zza.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzb.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzc.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzd.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zze.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzf.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzg.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzh.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzi.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk$zzj.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzk.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzl.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzm.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzn.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzo.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzp.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzq.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzr.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzs.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzt.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzu.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzv.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzw.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzx.smali delete mode 100644 smali/smali/com/google/android/gms/internal/safetynet/zzy.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/HarmfulAppsData.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/SafeBrowsingData.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/a.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/b.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/c$a.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/c$b.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/c$c.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/c$d.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/c$e.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/c$f.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/c.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/d.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/e.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/f.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/g.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/h.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/i.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/j.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/k.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/zza.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/zzd.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/zzf.smali delete mode 100644 smali/smali/com/google/android/gms/safetynet/zzh.smali create mode 100644 smali/smali/com/google/firebase/abt/AbtException.smali create mode 100644 smali/smali/com/google/firebase/abt/a.smali create mode 100644 smali/smali/com/google/firebase/abt/b.smali create mode 100644 smali/smali/com/google/firebase/abt/component/AbtRegistrar.smali create mode 100644 smali/smali/com/google/firebase/abt/component/a.smali create mode 100644 smali/smali/com/google/firebase/abt/component/b.smali create mode 100644 smali/smali/com/google/firebase/analytics/a/a$a.smali create mode 100644 smali/smali/com/google/firebase/analytics/a/a.smali create mode 100644 smali/smali/com/google/firebase/analytics/a/c.smali create mode 100644 smali/smali/com/google/firebase/analytics/a/d.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigClientException.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigException.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchException.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigServerException.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/RemoteConfigRegistrar.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/c.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/d.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/e.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/f.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/g.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/h.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/i$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/i$b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/i.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/ConfigFetchHttpClient.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/c.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/d.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/e$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/e$b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/e.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/f$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/f$b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/f.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/g.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/h.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/i.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/j$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/j.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/k.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/l$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/l.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/m.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/n$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/n$b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/n.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/o.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/p$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/p$b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/internal/p.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/j.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/k.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/l.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/m.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/n.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/b$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/b.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/c.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/d$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/d.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/e.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/f$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/f.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/g.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/h$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/h.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/i.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/j$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/j.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/k.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/l$a.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/l.smali create mode 100644 smali/smali/com/google/firebase/remoteconfig/o/m.smali create mode 100644 smali/smali_classes3/b/h/q/d/Firebase$a.smali create mode 100644 smali/smali_classes3/b/h/q/d/Firebase.smali create mode 100644 smali/smali_classes3/b/h/q/d/FirebaseHelper.smali delete mode 100644 smali/smali_classes5/ru/mail/libverify/api/d$1.smali diff --git a/app/src/main/java/ru/vtosters/hooks/FirebaseGzipSupport.java b/app/src/main/java/ru/vtosters/hooks/FirebaseGzipSupport.java new file mode 100644 index 000000000..8dd00970f --- /dev/null +++ b/app/src/main/java/ru/vtosters/hooks/FirebaseGzipSupport.java @@ -0,0 +1,38 @@ +package ru.vtosters.hooks; + +import org.json.JSONException; +import org.json.JSONObject; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.net.URLConnection; +import java.nio.charset.StandardCharsets; +import java.util.zip.GZIPInputStream; + +public class FirebaseGzipSupport { + public static JSONObject getJsonObjectFromConnection(URLConnection connection) throws IOException, JSONException { + InputStream inputStream = getDecompressedInputStream(connection); + String jsonString = readInputStream(inputStream); + return new JSONObject(jsonString); + } + + private static InputStream getDecompressedInputStream(URLConnection connection) throws IOException { + String contentEncoding = connection.getHeaderField("Content-Encoding"); + if (contentEncoding != null && contentEncoding.equalsIgnoreCase("gzip")) { + return new GZIPInputStream(connection.getInputStream()); + } + return connection.getInputStream(); + } + + private static String readInputStream(InputStream inputStream) throws IOException { + BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8)); + StringBuilder sb = new StringBuilder(); + int read; + while ((read = bufferedReader.read()) != -1) { + sb.append((char) read); + } + return sb.toString(); + } +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/hooks/OnlineFormatterHook.java b/app/src/main/java/ru/vtosters/hooks/OnlineFormatterHook.java index f747f8a55..082bd8ca8 100644 --- a/app/src/main/java/ru/vtosters/hooks/OnlineFormatterHook.java +++ b/app/src/main/java/ru/vtosters/hooks/OnlineFormatterHook.java @@ -1,13 +1,22 @@ package ru.vtosters.hooks; import android.util.Log; +import com.vk.core.network.Network; import com.vtosters.lite.R; +import okhttp3.Call; +import okhttp3.Callback; +import okhttp3.Response; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import ru.vtosters.hooks.other.Preferences; +import ru.vtosters.lite.proxy.ProxyUtils; +import ru.vtosters.lite.utils.AccountManagerUtils; import ru.vtosters.lite.utils.AndroidUtils; +import java.io.IOException; + +import static com.vk.core.network.Network.ClientType.CLIENT_API; import static ru.vtosters.hooks.other.Preferences.*; import static ru.vtosters.lite.net.Request.makeRequest; import static ru.vtosters.lite.proxy.ProxyUtils.getApi; @@ -85,22 +94,34 @@ public class OnlineFormatterHook { if (appname != null) return appname; - makeRequest("https://" + getApi() + "/method/apps.get?app_id=" + appid + "&v=5.99&access_token=" + getUserToken(), - response -> { - try { - JSONObject mainJson = new JSONObject(response); - JSONObject responseJson = mainJson.getJSONObject("response"); - JSONArray itemsJson = responseJson.getJSONArray("items"); + okhttp3.Request req = new okhttp3.Request.a() + .b("https://" + getApi() + "/method/apps.get?app_id=" + appid + "&v=5.99&access_token=" + getUserToken()) + .a(); - AppName = itemsJson.getJSONObject(0).optString("title", ""); + Network.b(CLIENT_API).a(req).a(new Callback() { + @Override + public void a(Call call, IOException e) { + e.fillInStackTrace(); + } - prefs.edit().putString(String.valueOf(appid), AppName).apply(); + @Override + public void a(Call call, Response response) throws IOException { + try { + JSONObject mainJson = new JSONObject(response.a().g()); + JSONObject responseJson = mainJson.getJSONObject("response"); + JSONArray itemsJson = responseJson.getJSONArray("items"); + + AppName = itemsJson.getJSONObject(0).optString("title", ""); + + prefs.edit().putString(String.valueOf(appid), AppName).apply(); + + if (dev()) sendToast("AppName: " + AppName + " for appid: " + appid); + } catch (JSONException e) { + e.fillInStackTrace(); + } + } + }); - if (dev()) sendToast("AppName: " + AppName + " for appid: " + appid); - } catch (JSONException e) { - e.printStackTrace(); - } - }); return AppName; } diff --git a/app/src/main/java/ru/vtosters/hooks/PhotoViewer.java b/app/src/main/java/ru/vtosters/hooks/PhotoViewer.java index d9d4997fb..cf2b2ee71 100644 --- a/app/src/main/java/ru/vtosters/hooks/PhotoViewer.java +++ b/app/src/main/java/ru/vtosters/hooks/PhotoViewer.java @@ -15,6 +15,7 @@ import android.widget.Toast; import androidx.core.content.FileProvider; import com.vk.core.dialogs.actionspopup.ActionsPopup; import com.vk.core.dialogs.alert.VkAlertDialog; +import com.vk.core.network.Network; import com.vk.core.util.ToastUtils; import com.vk.dto.common.AttachmentWithMedia; import com.vk.dto.common.ImageSize; @@ -90,7 +91,7 @@ public class PhotoViewer { var req = new Request.a() .b(getImageUrlFromAttachment(attachment)) .a(); - client.a(req).a(new Callback() { + Network.b(Network.ClientType.CLIENT_API).a(req).a(new Callback() { @Override public void a(Call call, IOException e) { e.printStackTrace(); @@ -100,7 +101,7 @@ public class PhotoViewer { public void a(Call call, Response response) throws IOException { var tmpImage = new File(AndroidUtils.getGlobalContext().getExternalCacheDir(), attachment.getId() + ".jpg"); - try (var resp = client.a(req).execute(); + try (var resp = Network.b(Network.ClientType.CLIENT_IMAGE_LOADER).a(req).execute(); var sink = Okio.a(Okio.b(tmpImage))) { sink.a(resp.a().f()); var manager = (ClipboardManager) AndroidUtils.getGlobalContext().getSystemService(Context.CLIPBOARD_SERVICE); @@ -175,4 +176,4 @@ public class PhotoViewer { } return max.url; } -} +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/hooks/ProxyHook.java b/app/src/main/java/ru/vtosters/hooks/ProxyHook.java index 1924cbef7..70538a642 100644 --- a/app/src/main/java/ru/vtosters/hooks/ProxyHook.java +++ b/app/src/main/java/ru/vtosters/hooks/ProxyHook.java @@ -26,26 +26,15 @@ import static ru.vtosters.lite.utils.LifecycleUtils.restartApplication; public class ProxyHook { public static String linkReplacer(String link) { - var vkapi = "api.vk.com"; - var oauth = "oauth.vk.com"; - var vkstatic = "static.vk.com"; + String vkapi = "api.vk.com"; + String oauth = "oauth.vk.com"; + String vkstatic = "static.vk.com"; - var proxyapi = getString("proxyapi"); - var proxyoauth = getString("proxyoauth"); - var proxystatic = getString("proxystatic"); + String proxyapi = getProxyHost("proxyapi"); + String proxyoauth = getProxyHost("proxyoauth"); + String proxystatic = getProxyHost("proxystatic"); - if (isVikaProxyEnabled()) { - proxyapi = VikaMobile.getApiHost(); - proxyoauth = VikaMobile.getOauthHost(); - proxystatic = VikaMobile.getStaticHost(); - } - - if (!isAnyProxyEnabled() || link.isEmpty()) { - return link; - } - - if (proxyapi.isEmpty() || proxyoauth.isEmpty() || proxystatic.isEmpty()) { - Log.d("VTLite", "Proxy is not set" + " " + proxyapi + " " + proxyoauth + " " + proxystatic); + if (!isAnyProxyEnabled() || link.isEmpty() || areProxyHostsEmpty(proxyapi, proxyoauth, proxystatic)) { return link; } @@ -64,6 +53,29 @@ public class ProxyHook { return link; } + private static String getProxyHost(String hostType) { + if (isVikaProxyEnabled()) { + return switch (hostType) { + case "proxyapi" -> VikaMobile.getApiHost(); + case "proxyoauth" -> VikaMobile.getOauthHost(); + case "proxystatic" -> VikaMobile.getStaticHost(); + default -> ""; + }; + } else { + return ""; + } + } + + private static boolean areProxyHostsEmpty(String... hosts) { + for (String host : hosts) { + if (host.isEmpty()) { + Log.d("VTLite", "Proxy is not set: " + host); + return true; + } + } + return false; + } + public static String staticFix(String str) { var string = getString("proxystatic"); @@ -108,22 +120,18 @@ public class ProxyHook { RadioButton rgDefault = new RadioButton(new ContextThemeWrapper(ctx, com.vtosters.lite.R.style.Widget_AppCompat_CompoundButton_RadioButton)); RadioButton rgZaborona = new RadioButton(new ContextThemeWrapper(ctx, com.vtosters.lite.R.style.Widget_AppCompat_CompoundButton_RadioButton)); -// RadioButton rgRandomProxy = new RadioButton(new ContextThemeWrapper(ctx, com.vtosters.lite.R.style.Widget_AppCompat_CompoundButton_RadioButton)); RadioButton rgVika = new RadioButton(new ContextThemeWrapper(ctx, com.vtosters.lite.R.style.Widget_AppCompat_CompoundButton_RadioButton)); SwitchHook.setCompoundButton(rgDefault); SwitchHook.setCompoundButton(rgZaborona); -// SwitchHook.setCompoundButton(rgRandomProxy); SwitchHook.setCompoundButton(rgVika); rg.addView(rgDefault); rg.addView(rgVika); rg.addView(rgZaborona); -// rg.addView(rgRandomProxy); rgDefault.setTextSize(TypedValue.COMPLEX_UNIT_PX, dp2px(14f)); rgZaborona.setTextSize(TypedValue.COMPLEX_UNIT_PX, dp2px(14f)); -// rgRandomProxy.setTextSize(TypedValue.COMPLEX_UNIT_PX, dp2px(14f)); rgVika.setTextSize(TypedValue.COMPLEX_UNIT_PX, dp2px(14f)); rg.setPadding(dp2px(18f), dp2px(12f), dp2px(18f), 0); @@ -134,28 +142,21 @@ public class ProxyHook { rgZaborona.setText(ctx.getString(R.string.proxy_enable) + " (Zaborona)"); rgZaborona.setTextColor(getTextAttr()); -// rgRandomProxy.setText(ctx.getString(R.string.proxy_enable) + " (Random Socks Proxy)"); -// rgRandomProxy.setTextColor(getTextAttr()); - rgVika.setText(ctx.getString(R.string.proxy_enable) + " (Vika Mobile)"); rgVika.setTextColor(getTextAttr()); rgZaborona.setChecked(isZaboronaEnabled()); - rgDefault.setChecked(!isZaboronaEnabled() && !isRandomProxyEnabled() && !isVikaProxyEnabled()); -// rgRandomProxy.setChecked(isRandomProxyEnabled()); + rgDefault.setChecked(!isZaboronaEnabled() && !isVikaProxyEnabled()); rgVika.setChecked(isVikaProxyEnabled()); new VkAlertDialog.Builder(ctx) .setTitle(ctx.getString(R.string.vtlproxy)) - .setMessage(ctx.getString(R.string.proxy_warning)) + .setMessage(ctx.getString(R.string.proxy_warning) + "\n\nТак же можно включить встроенный прокси от ВКонтакте перейдя в настройки прокси") .setView(rg) .setPositiveButton(ctx.getString(R.string.vtl_confirm), ((dialog, which) -> { // Применить if (rgZaborona.isChecked()) { Preferences.getPreferences().edit().putString("proxy", "zaborona").commit(); restartApplication(); -// } else if (rgRandomProxy.isChecked()) { -// Preferences.getPreferences().edit().putString("proxy", "randomproxy").commit(); -// restartApplication(); } else if (rgVika.isChecked()) { Preferences.getPreferences().edit().putString("proxy", "vika").commit(); restartApplication(); @@ -169,4 +170,4 @@ public class ProxyHook { }) .show(); } -} +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/hooks/music/injectors/CatalogJsonInjector.java b/app/src/main/java/ru/vtosters/hooks/music/injectors/CatalogJsonInjector.java index 1a47d3e68..699156ece 100644 --- a/app/src/main/java/ru/vtosters/hooks/music/injectors/CatalogJsonInjector.java +++ b/app/src/main/java/ru/vtosters/hooks/music/injectors/CatalogJsonInjector.java @@ -5,19 +5,18 @@ import bruhcollective.itaysonlab.libvkx.client.LibVKXClient; import com.vk.core.network.Network; import com.vk.core.util.DeviceIdProvider; import okhttp3.Headers; -import okhttp3.OkHttpClient; import okhttp3.Request; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.di.singleton.VtOkHttpClient; import ru.vtosters.lite.music.cache.MusicCacheImpl; import ru.vtosters.lite.utils.AccountManagerUtils; import ru.vtosters.lite.utils.AndroidUtils; import java.io.IOException; +import static com.vk.core.network.Network.ClientType.CLIENT_API; import static ru.vtosters.hooks.DateHook.getLocale; import static ru.vtosters.hooks.GroupsCatalogInjector.injectIntoCatalog; import static ru.vtosters.hooks.other.Preferences.getBoolValue; @@ -26,8 +25,6 @@ import static ru.vtosters.lite.proxy.ProxyUtils.getApi; import static ru.vtosters.lite.utils.AccountManagerUtils.getUserId; public class CatalogJsonInjector { - private static final OkHttpClient mClient = VtOkHttpClient.getInstance(); - public static JSONObject music(JSONObject json) throws JSONException { var catalog = json.optJSONObject("catalog"); var oldItems = catalog != null ? catalog.optJSONArray("sections") : null; @@ -265,7 +262,7 @@ public class CatalogJsonInjector { + AccountManagerUtils.getUserToken()) .a(Headers.a("User-Agent", Network.l.c().a(), "Content-Type", "application/x-www-form-urlencoded; charset=utf-8")).a(); try { - var json = new JSONObject(mClient.a(request).execute().a().g()).getJSONObject("response"); + var json = new JSONObject(Network.b(CLIENT_API).a(request).execute().a().g()).getJSONObject("response"); var catalogarr = json.optJSONObject("catalog").optJSONArray("sections").optJSONObject(0); var title = catalogarr.optString("title"); diff --git a/app/src/main/java/ru/vtosters/lite/di/singleton/VtOkHttpClient.java b/app/src/main/java/ru/vtosters/lite/di/singleton/VtOkHttpClient.java index a7fe261aa..df6e3c4b4 100644 --- a/app/src/main/java/ru/vtosters/lite/di/singleton/VtOkHttpClient.java +++ b/app/src/main/java/ru/vtosters/lite/di/singleton/VtOkHttpClient.java @@ -10,4 +10,4 @@ public class VtOkHttpClient extends OkHttpClient { private static class LazyHolder { private static final VtOkHttpClient instance = new VtOkHttpClient(); } -} +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/dialogs/Requests.java b/app/src/main/java/ru/vtosters/lite/dialogs/Requests.java index 2f1e26c1d..c4f52f949 100644 --- a/app/src/main/java/ru/vtosters/lite/dialogs/Requests.java +++ b/app/src/main/java/ru/vtosters/lite/dialogs/Requests.java @@ -6,7 +6,6 @@ import com.vk.im.engine.models.dialogs.Dialog; import com.vk.im.engine.models.messages.Msg; import com.vk.im.engine.utils.ImDialogsUtils; import okhttp3.Headers; -import okhttp3.OkHttpClient; import ru.vtosters.hooks.other.ThemesUtils; import ru.vtosters.lite.concurrent.VTExecutors; import ru.vtosters.lite.net.Request; @@ -15,21 +14,49 @@ import ru.vtosters.lite.utils.AccountManagerUtils; import ru.vtosters.lite.utils.AndroidUtils; import ru.vtosters.lite.utils.LifecycleUtils; +import java.io.IOException; + +import static com.vk.core.network.Network.ClientType.CLIENT_API; +import static ru.vtosters.lite.proxy.ProxyUtils.getApi; +import static ru.vtosters.lite.utils.AccountManagerUtils.getUserToken; + public class Requests { public static void hookRead(Dialog dialog) { - Request.makeRequest("https://" + ProxyUtils.getApi() + "/method/messages.markAsRead?start_message_id=" + dialog.F1() + "&peer_id=" + dialog.getId() + "&v=5.119&access_token=" + AccountManagerUtils.getUserToken(), response -> { - }); + okhttp3.Request req = new okhttp3.Request.a() + .b("https://" + ProxyUtils.getApi() + "/method/messages.markAsRead?start_message_id=" + dialog.F1() + "&peer_id=" + dialog.getId() + "&v=5.119&access_token=" + AccountManagerUtils.getUserToken()) + .a(); + + try { + Network.b(CLIENT_API).a(req).execute().close();; + } catch (IOException e) { + throw new RuntimeException(e); + } } public static void hookReadStartMsgTo(Msg dialog) { - Request.makeRequest("https://" + ProxyUtils.getApi() + "/method/messages.markAsRead?start_message_id=" + dialog.C1() + "&peer_id=" + dialog.v1() + "&v=5.119&access_token=" + AccountManagerUtils.getUserToken(), response -> { - }); + okhttp3.Request req = new okhttp3.Request.a() + .b("https://" + ProxyUtils.getApi() + "/method/messages.markAsRead?start_message_id=" + dialog.C1() + "&peer_id=" + dialog.v1() + "&v=5.119&access_token=" + AccountManagerUtils.getUserToken()) + .a(); + + try { + Network.b(CLIENT_API).a(req).execute().close(); + } catch (IOException e) { + throw new RuntimeException(e); + } } public static void hookKick(Msg dialog) { if (dialog.getFrom().t1() == AccountManagerUtils.getUserId()) return; - Request.makeRequest("https://" + ProxyUtils.getApi() + "/method/messages.removeChatUser?member_id=" + dialog.getFrom().t1() + "&chat_id=" + ImDialogsUtils.c(dialog.v1()) + "&v=5.119&access_token=" + AccountManagerUtils.getUserToken(), response -> { - }); + + okhttp3.Request req = new okhttp3.Request.a() + .b("https://" + ProxyUtils.getApi() + "/method/messages.removeChatUser?member_id=" + dialog.getFrom().t1() + "&chat_id=" + ImDialogsUtils.c(dialog.v1()) + "&v=5.119&access_token=" + AccountManagerUtils.getUserToken()) + .a(); + + try { + Network.b(CLIENT_API).a(req).execute().close();; + } catch (IOException e) { + throw new RuntimeException(e); + } } public static void hookDialogInfo(Dialog dialog) { @@ -51,7 +78,7 @@ public class Requests { .a(Headers.a("User-Agent", Network.l.c().a(), "Content-Type", "application/x-www-form-urlencoded; charset=utf-8")) .a(); - new OkHttpClient().a(request).execute().a().g(); + Network.b(CLIENT_API).a(request).execute().a().g(); } catch (Exception e) { e.printStackTrace(); } diff --git a/app/src/main/java/ru/vtosters/lite/downloaders/StoryDownloader.java b/app/src/main/java/ru/vtosters/lite/downloaders/StoryDownloader.java index a02d6ef4b..65a7cc891 100644 --- a/app/src/main/java/ru/vtosters/lite/downloaders/StoryDownloader.java +++ b/app/src/main/java/ru/vtosters/lite/downloaders/StoryDownloader.java @@ -1,29 +1,29 @@ package ru.vtosters.lite.downloaders; -import android.app.DownloadManager; -import android.content.Context; -import android.net.Uri; +import android.media.MediaScannerConnection; import android.os.Environment; +import com.vk.core.network.Network; import com.vk.dto.common.ImageSize; import com.vk.dto.stories.model.StoryEntry; +import okhttp3.OkHttpClient; +import okhttp3.Request; +import okhttp3.Response; +import okhttp3.ResponseBody; +import ru.vtosters.lite.utils.AndroidUtils; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; import java.util.List; import static ru.vtosters.lite.downloaders.VideoDownloader.downloadVideo; -import static ru.vtosters.lite.utils.AndroidUtils.getGlobalContext; public class StoryDownloader { public static void downloadStory(StoryEntry story) { if (story.T1()) { - List imageSizes = story.E.Q.t1(); - String url = imageSizes.get(imageSizes.size() - 1).url; - DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url)); - request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED); - request.setTitle("photo" + story.E.a + ".jpg"); - request.setDestinationInExternalPublicDir(Environment.DIRECTORY_PICTURES, "photo" + story.E.a + ".jpg"); - request.allowScanningByMediaScanner(); - ((DownloadManager) getGlobalContext().getSystemService(Context.DOWNLOAD_SERVICE)).enqueue(request); + downloadImage(story); return; } // if story is a video @@ -31,4 +31,55 @@ public class StoryDownloader { downloadVideo(story.F, null); } } -} + + public static void downloadImage(StoryEntry story) { + List imageSizes = story.E.Q.t1(); + String url = imageSizes.get(imageSizes.size() - 1).url; + + OkHttpClient client = Network.b(Network.ClientType.CLIENT_IMAGE_LOADER); + Request request = new Request.a() + .b(url) + .a(); + + try (Response response = client.a(request).execute()) { + if (!response.h()) { + throw new IOException("Unexpected code " + response); + } + + ResponseBody responseBody = response.a(); + + if (responseBody == null) { + throw new IOException("No response body"); + } + + String fileName = "photo" + story.E.a + ".jpg"; + File outputDir = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), "/Stories/"); + + if (!outputDir.exists()) { + outputDir.mkdirs(); + } + + File outputFile = new File(outputDir, fileName); + + try (InputStream inputStream = responseBody.a(); + FileOutputStream outputStream = new FileOutputStream(outputFile)) { + + byte[] buffer = new byte[4096]; + int bytesRead; + + while ((bytesRead = inputStream.read(buffer)) != -1) { + outputStream.write(buffer, 0, bytesRead); + } + outputStream.flush(); + + MediaScannerConnection.scanFile(AndroidUtils.getGlobalContext(), new String[]{outputFile.toString()}, null, null); + + AndroidUtils.sendToast("Файл скачан в Pictures/Stories"); + } catch (IOException e) { + e.fillInStackTrace(); + } + } catch (IOException e) { + e.fillInStackTrace(); + } + } +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/downloaders/VideoDownloader.java b/app/src/main/java/ru/vtosters/lite/downloaders/VideoDownloader.java index f11c8b039..a12996929 100644 --- a/app/src/main/java/ru/vtosters/lite/downloaders/VideoDownloader.java +++ b/app/src/main/java/ru/vtosters/lite/downloaders/VideoDownloader.java @@ -1,9 +1,8 @@ package ru.vtosters.lite.downloaders; -import android.app.DownloadManager; import android.app.ProgressDialog; import android.content.Context; -import android.net.Uri; +import android.media.MediaScannerConnection; import android.os.Environment; import android.text.TextUtils; import android.view.View; @@ -13,35 +12,112 @@ import android.widget.TextView; import android.widget.Toast; import com.vk.core.dialogs.alert.VkAlertDialog; import com.vk.core.dialogs.bottomsheet.MenuBottomSheetAction; +import com.vk.core.network.Network; import com.vk.core.util.ToastUtils; import com.vk.dto.common.VideoFile; import com.vk.dto.stories.model.StoryEntry; import com.vtosters.lite.R; +import okhttp3.*; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; +import ru.vtosters.lite.utils.AndroidUtils; import ru.vtosters.lite.utils.LifecycleUtils; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; import java.util.ArrayList; import java.util.List; +import static com.vk.core.network.Network.ClientType.CLIENT_API; import static ru.vtosters.hooks.other.ThemesUtils.getTextAttr; -import static ru.vtosters.lite.net.Request.makeRequest; import static ru.vtosters.lite.proxy.ProxyUtils.getApi; import static ru.vtosters.lite.utils.AccountManagerUtils.getUserToken; public class VideoDownloader { - public static final int DOWNLOAD_ID = 0; - public static final int OPEN_EXTERNAL_LINK_ID = 1; + public static int DOWNLOAD_ID = 0; + public static int OPEN_EXTERNAL_LINK_ID = 1; public static void addAction(List actions, int... ints) { actions.add(new MenuBottomSheetAction(ints[0], ints[1], ints[2], ints[3])); } public static void downloadVideo(VideoFile videoFile, Context context) { - final List qualities = new ArrayList<>(); - final List urls = new ArrayList<>(); + List qualities = new ArrayList<>(); + List urls = new ArrayList<>(); + addVideos(videoFile, qualities, urls); + + Context finalContext = context != null ? context : LifecycleUtils.getCurrentActivity(); + + if (qualities.isEmpty()) { + ToastUtils.a(finalContext.getString(R.string.videodownloaderr)); + return; + } + + var adapter = new ArrayAdapter( + finalContext, + android.R.layout.simple_list_item_1, + qualities.toArray(new String[0])) { + @Override + public View getView(int position, View convertView, ViewGroup parent) { + TextView textView = (TextView) super.getView(position, convertView, parent); + textView.setTextColor(getTextAttr()); + return textView; + } + }; + + new VkAlertDialog.Builder(finalContext) + .setAdapter(adapter, (dialog, which) -> { + String url = urls.get(which); + + OkHttpClient client = Network.b(Network.ClientType.CLIENT_IMAGE_LOADER);; + Request request = new Request.a() + .b(url) + .a(); + + try (Response response = client.a(request).execute()) { + if (!response.h()) { + throw new IOException("Unexpected code " + response); + } + + ResponseBody responseBody = response.a(); + + File outputDir = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES), "/VKVideo/"); + + if (!outputDir.exists()) { + outputDir.mkdirs(); + } + + File outputFile = new File(outputDir, videoFile + ".mp4"); + + try (InputStream inputStream = responseBody.a(); + FileOutputStream outputStream = new FileOutputStream(outputFile)) { + + byte[] buffer = new byte[4096]; + int bytesRead; + + while ((bytesRead = inputStream.read(buffer)) != -1) { + outputStream.write(buffer, 0, bytesRead); + } + outputStream.flush(); + + MediaScannerConnection.scanFile(finalContext, new String[]{outputFile.toString()}, null, null); + + AndroidUtils.sendToast("Файл скачан в Movies/VKVideo"); + } catch (IOException e) { + e.fillInStackTrace(); + } + } catch (IOException e) { + throw new RuntimeException(e); + } + }) + .show(); + } + + public static void addVideos(VideoFile videoFile, List qualities, List urls) { if (!TextUtils.isEmpty(videoFile.D)) { qualities.add("2160p"); urls.add(videoFile.D); @@ -75,40 +151,6 @@ public class VideoDownloader { qualities.add("240p"); urls.add(videoFile.e); } - - Context finalContext = context != null ? context : LifecycleUtils.getCurrentActivity(); - - if (qualities.isEmpty()) { - ToastUtils.a(finalContext.getString(R.string.videodownloaderr)); - return; - } - - var adapter = new ArrayAdapter( - finalContext, - android.R.layout.simple_list_item_1, - qualities.toArray(new String[0])) { - @Override - public View getView(int position, View convertView, ViewGroup parent) { - TextView textView = (TextView) super.getView(position, convertView, parent); - textView.setTextColor(getTextAttr()); - return textView; - } - }; - - new VkAlertDialog.Builder(finalContext) - .setAdapter(adapter, (dialog, which) -> { - try { - var url = urls.get(which); - var request = new DownloadManager.Request(Uri.parse(url)) - .setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED) - .setTitle(videoFile.toString()) - .setDestinationInExternalPublicDir(Environment.DIRECTORY_MOVIES, videoFile + ".mp4"); - request.allowScanningByMediaScanner(); - ((DownloadManager) finalContext.getSystemService(Context.DOWNLOAD_SERVICE)).enqueue(request); - } catch (Throwable ignored) { - } - }) - .show(); } public static void parseVideoLink(String url, Context ctx) { @@ -124,20 +166,34 @@ public class VideoDownloader { progressDialog.setMessage(ctx.getString(R.string.video_dl_progress)); progressDialog.show(); - makeRequest("https://" + getApi() + "/method/stories.getById?stories=" + storyId + "&v=5.99&access_token=" + getUserToken(), - response -> { - progressDialog.cancel(); + var req = new Request.a() + .b("https://" + getApi() + "/method/stories.getById?stories=" + storyId + "&v=5.99&access_token=" + getUserToken()) + .a(); + + Network.b(CLIENT_API).a(req).a(new Callback() { - try { - JSONObject mainJson = new JSONObject(response); - JSONObject responseJson = mainJson.getJSONObject("response").optJSONArray("items").optJSONObject(0); - StoryEntry story = new StoryEntry(responseJson); - StoryDownloader.downloadStory(story); - } catch (JSONException e) { - e.printStackTrace(); - Toast.makeText(ctx, ctx.getString(R.string.video_dl_error), Toast.LENGTH_SHORT).show(); - } - }); + @Override + public void a(Call call, IOException e) { + e.fillInStackTrace(); + Toast.makeText(ctx, ctx.getString(R.string.video_dl_error), Toast.LENGTH_SHORT).show(); + } + + @Override + public void a(Call call, Response response) throws IOException { + progressDialog.cancel(); + + try { + JSONObject mainJson = new JSONObject(response.a().g()); + JSONObject responseJson = mainJson.getJSONObject("response").optJSONArray("items").optJSONObject(0); + StoryEntry story = new StoryEntry(responseJson); + StoryDownloader.downloadStory(story); + } catch (JSONException e) { + e.fillInStackTrace(); + Toast.makeText(ctx, ctx.getString(R.string.video_dl_error), Toast.LENGTH_SHORT).show(); + } + } + }); + return; } @@ -149,25 +205,37 @@ public class VideoDownloader { String videoId = url.split("video")[1]; String ownerId = videoId.split("_")[0]; - final ProgressDialog progressDialog = new ProgressDialog(ctx); + ProgressDialog progressDialog = new ProgressDialog(ctx); progressDialog.setMessage(ctx.getString(R.string.video_dl_progress)); progressDialog.show(); - makeRequest("https://" + getApi() + "/method/video.get?owner_id=" + ownerId + "&videos=" + videoId + "&v=5.99&access_token=" + getUserToken(), - response -> { - progressDialog.cancel(); + var req = new Request.a() + .b("https://" + getApi() + "/method/video.get?owner_id=" + ownerId + "&videos=" + videoId + "&v=5.99&access_token=" + getUserToken()) + .a(); - try { - JSONObject mainJson = new JSONObject(response); - JSONObject responseJson = mainJson.getJSONObject("response"); - JSONArray itemsJson = responseJson.getJSONArray("items"); + Network.b(CLIENT_API).a(req).a(new Callback() { + @Override + public void a(Call call, IOException e) { + e.fillInStackTrace(); + Toast.makeText(ctx, ctx.getString(R.string.video_dl_error), Toast.LENGTH_SHORT).show(); + } - VideoFile videoFile = new VideoFile(itemsJson.getJSONObject(0)); - downloadVideo(videoFile, ctx); - } catch (JSONException e) { - e.printStackTrace(); - Toast.makeText(ctx, ctx.getString(R.string.video_dl_error), Toast.LENGTH_SHORT).show(); - } - }); + @Override + public void a(Call call, Response response) throws IOException { + progressDialog.cancel(); + + try { + JSONObject mainJson = new JSONObject(response.a().g()); + JSONObject responseJson = mainJson.getJSONObject("response"); + JSONArray itemsJson = responseJson.getJSONArray("items"); + + VideoFile videoFile = new VideoFile(itemsJson.getJSONObject(0)); + downloadVideo(videoFile, ctx); + } catch (JSONException e) { + e.fillInStackTrace(); + Toast.makeText(ctx, ctx.getString(R.string.video_dl_error), Toast.LENGTH_SHORT).show(); + } + } + }); } } diff --git a/app/src/main/java/ru/vtosters/lite/downloaders/messages/MessagesDownloader.java b/app/src/main/java/ru/vtosters/lite/downloaders/messages/MessagesDownloader.java index fb516db25..918e57900 100644 --- a/app/src/main/java/ru/vtosters/lite/downloaders/messages/MessagesDownloader.java +++ b/app/src/main/java/ru/vtosters/lite/downloaders/messages/MessagesDownloader.java @@ -3,6 +3,7 @@ package ru.vtosters.lite.downloaders.messages; import android.util.Log; import android.util.SparseArray; import androidx.annotation.Nullable; +import com.vk.core.network.Network; import com.vk.core.util.ToastUtils; import com.vtosters.lite.R; import okhttp3.Call; @@ -12,7 +13,6 @@ import okhttp3.Response; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; -import ru.vtosters.lite.di.singleton.VtOkHttpClient; import ru.vtosters.lite.downloaders.messages.items.MiniMsg; import ru.vtosters.lite.downloaders.messages.items.MiniUser; import ru.vtosters.lite.proxy.ProxyUtils; @@ -28,6 +28,8 @@ import java.util.ArrayList; import java.util.Date; import java.util.List; +import static com.vk.core.network.Network.ClientType.CLIENT_API; + public class MessagesDownloader { private static final int[] VIDEO_QUALITIES = {144, 240, 360, 480, 720, 1080, 1440, 2160}; @@ -105,7 +107,7 @@ public class MessagesDownloader { var req = new Request.a() .b(url) .a(); - VtOkHttpClient.getInstance().a(req).a(new Callback() { + Network.b(CLIENT_API).a(req).a(new Callback() { @Override public void a(Call call, IOException e) { Log.d("MessagesDownloader", e.getMessage()); diff --git a/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java b/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java index 6b1c7d0c5..1f2255a22 100644 --- a/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java +++ b/app/src/main/java/ru/vtosters/lite/foaf/FoafBase.java @@ -11,6 +11,8 @@ import okhttp3.Response; import org.json.JSONException; import org.json.JSONObject; import ru.vtosters.lite.di.singleton.VtOkHttpClient; +import ru.vtosters.lite.proxy.ProxyUtils; +import ru.vtosters.lite.proxy.api.VikaMobile; import ru.vtosters.lite.utils.AndroidUtils; import ru.vtosters.lite.utils.LifecycleUtils; @@ -24,9 +26,6 @@ import java.util.Optional; import java.util.regex.Matcher; import java.util.regex.Pattern; -import static ru.vtosters.lite.proxy.ProxyUtils.getApi; -import static ru.vtosters.lite.proxy.ProxyUtils.isAnyProxyEnabled; - public class FoafBase { private static final Pattern FOAF_REGEX = Pattern.compile("(Arrays.asList(response.split("\n"))); - } catch (Exception e) { - Log.d(proxyname, "Failed to fetch data, link: " + link); - - return null; - } - - } -} diff --git a/app/src/main/java/ru/vtosters/lite/proxy/ProxyUtils.java b/app/src/main/java/ru/vtosters/lite/proxy/ProxyUtils.java index 46e1d3e26..2be40d189 100644 --- a/app/src/main/java/ru/vtosters/lite/proxy/ProxyUtils.java +++ b/app/src/main/java/ru/vtosters/lite/proxy/ProxyUtils.java @@ -5,6 +5,7 @@ import android.content.Context; import android.content.Intent; import android.util.ArrayMap; import android.util.Log; +import com.vk.core.network.Network; import ru.vtosters.hooks.other.Preferences; import ru.vtosters.lite.proxy.http.CustomHttp; import ru.vtosters.lite.proxy.https.CustomHttps; @@ -62,16 +63,15 @@ public class ProxyUtils { } public static Boolean isAnyProxyEnabled() { - return isApiProxyEnabled() || isVikaProxyEnabled(); + return (isApiProxyEnabled() || isVikaProxyEnabled()) && !isVKProxyEnabled(); } public static Boolean isZaboronaEnabled() { return Preferences.getString("proxy").equals("zaborona"); } - public static Boolean isRandomProxyEnabled() { -// return Preferences.getString("proxy").equals("randomproxy"); - return false; + public static Boolean isVKProxyEnabled() { + return Network.l.b().d(); } public static Boolean isApiProxyEnabled() { @@ -125,15 +125,10 @@ public class ProxyUtils { } } - public static boolean hasProxy(String list) { - return list.contains(":"); // proxy format: ip:port - } - public static void setProxy() { - if (!isAnyProxyEnabled()) return; + if (!isAnyProxyEnabled() || Preferences.getString("proxy").equals("vika") || Preferences.getString("proxy").equals("apiproxy")) return; switch (Preferences.getString("proxy")) { case "zaborona" -> Zaborona.loadProxy(); -// case "randomproxy" -> RandomProxy.loadProxy(); case "socks" -> CustomSocks.loadProxy(); case "http" -> CustomHttp.loadProxy(); case "https" -> CustomHttps.loadProxy(); @@ -154,4 +149,4 @@ public class ProxyUtils { clearProperty("socksPortHost"); forceProxyApplying(); } // Reset all proxies -} +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/proxy/RandomProxy.java b/app/src/main/java/ru/vtosters/lite/proxy/RandomProxy.java deleted file mode 100644 index 592f38d72..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/RandomProxy.java +++ /dev/null @@ -1,66 +0,0 @@ -package ru.vtosters.lite.proxy; - -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.socks.Hookzof; -import ru.vtosters.lite.proxy.socks.Jetkai; -import ru.vtosters.lite.proxy.socks.Roosterkid; -import ru.vtosters.lite.proxy.socks.TheSpeedX; - -import java.io.IOException; - -import static ru.vtosters.lite.proxy.ProxyUtils.resetProxy; - -public class RandomProxy { - public static String type = Preferences.getPreferences().getString("random_type", "none"); - public static String host = Preferences.getPreferences().getString("random_host", ""); - public static boolean showProxyResult = false; - - public static void loadProxy() throws IOException { - if (host.isEmpty()) { - if (getProxy()) loadProxy(); - return; - } - - switch (type) { - case "socks" -> { - System.setProperty("socksProxyHost", host.split(":")[0]); - System.setProperty("socksProxyPort", host.split(":")[1]); - } - case "http" -> { - System.setProperty("http.proxyHost", host.split(":")[0]); - System.setProperty("http.proxyPort", host.split(":")[1]); - } - case "https" -> { - System.setProperty("https.proxyHost", host.split(":")[0]); - System.setProperty("https.proxyPort", host.split(":")[1]); - } - } - } - - public static void setupNewProxy() throws IOException { - Preferences.getPreferences().edit().putString("random_type", "none").putString("random_host", "").commit(); - - resetProxy(); - - showProxyResult = true; - getProxy(); - Preferences.getPreferences().edit().putString("proxy", "randomproxy").commit(); - } - - public static boolean getProxy() throws IOException { - var random = new java.util.Random(); - var randomInt = random.nextInt(8); - switch (randomInt) { - case 0 -> Hookzof.loadProxy(); - case 1 -> TheSpeedX.loadProxy(); - case 2 -> Jetkai.loadProxy(); - case 3 -> Roosterkid.loadProxy(); - case 4 -> ru.vtosters.lite.proxy.http.Jetkai.loadProxy(); - case 5 -> ru.vtosters.lite.proxy.http.TheSpeedX.loadProxy(); - case 6 -> ru.vtosters.lite.proxy.https.Jetkai.loadProxy(); - case 7 -> ru.vtosters.lite.proxy.https.Roosterkid.loadProxy(); - } - - return true; - } -} diff --git a/app/src/main/java/ru/vtosters/lite/proxy/http/Jetkai.java b/app/src/main/java/ru/vtosters/lite/proxy/http/Jetkai.java deleted file mode 100644 index 48b779b77..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/http/Jetkai.java +++ /dev/null @@ -1,48 +0,0 @@ -package ru.vtosters.lite.proxy.http; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class Jetkai { - private static final String TAG = "Jetkai_Http"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/jetkai/proxy-list/main/online-proxies/txt/proxies-http.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "http").putString("random_host", proxy).commit(); - - System.setProperty("http.proxyHost", proxy.split(":")[0]); - System.setProperty("http.proxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} diff --git a/app/src/main/java/ru/vtosters/lite/proxy/http/TheSpeedX.java b/app/src/main/java/ru/vtosters/lite/proxy/http/TheSpeedX.java deleted file mode 100644 index 64df5457c..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/http/TheSpeedX.java +++ /dev/null @@ -1,47 +0,0 @@ -package ru.vtosters.lite.proxy.http; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class TheSpeedX { - private static final String TAG = "TheSpeedX_Http"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "http").putString("random_host", proxy).commit(); - - System.setProperty("http.proxyHost", proxy.split(":")[0]); - System.setProperty("http.proxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} diff --git a/app/src/main/java/ru/vtosters/lite/proxy/https/Jetkai.java b/app/src/main/java/ru/vtosters/lite/proxy/https/Jetkai.java deleted file mode 100644 index 5bf0c9bff..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/https/Jetkai.java +++ /dev/null @@ -1,47 +0,0 @@ -package ru.vtosters.lite.proxy.https; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class Jetkai { - private static final String TAG = "Jetkai_Https"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/jetkai/proxy-list/main/online-proxies/txt/proxies-https.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "https").putString("random_host", proxy).commit(); - - System.setProperty("https.proxyHost", proxy.split(":")[0]); - System.setProperty("https.proxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/proxy/https/Roosterkid.java b/app/src/main/java/ru/vtosters/lite/proxy/https/Roosterkid.java deleted file mode 100644 index 5920ddc83..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/https/Roosterkid.java +++ /dev/null @@ -1,48 +0,0 @@ -package ru.vtosters.lite.proxy.https; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class Roosterkid { - private static final String TAG = "Roosterkid_Https"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/roosterkid/openproxylist/main/HTTPS_RAW.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "https").putString("random_host", proxy).commit(); - - System.setProperty("https.proxyHost", proxy.split(":")[0]); - System.setProperty("https.proxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} - diff --git a/app/src/main/java/ru/vtosters/lite/proxy/socks/Hookzof.java b/app/src/main/java/ru/vtosters/lite/proxy/socks/Hookzof.java deleted file mode 100644 index cc3fc5c7d..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/socks/Hookzof.java +++ /dev/null @@ -1,47 +0,0 @@ -package ru.vtosters.lite.proxy.socks; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class Hookzof { - private static final String TAG = "Hookzof_Socks"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/hookzof/socks5_list/master/proxy.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "socks").putString("random_host", proxy).commit(); - - System.setProperty("socksProxyHost", proxy.split(":")[0]); - System.setProperty("socksProxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} diff --git a/app/src/main/java/ru/vtosters/lite/proxy/socks/Jetkai.java b/app/src/main/java/ru/vtosters/lite/proxy/socks/Jetkai.java deleted file mode 100644 index 84b2b25b1..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/socks/Jetkai.java +++ /dev/null @@ -1,47 +0,0 @@ -package ru.vtosters.lite.proxy.socks; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class Jetkai { - private static final String TAG = "Jetkai_Socks"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/jetkai/proxy-list/main/online-proxies/txt/proxies-socks5.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "socks").putString("random_host", proxy).commit(); - - System.setProperty("socksProxyHost", proxy.split(":")[0]); - System.setProperty("socksProxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/proxy/socks/Roosterkid.java b/app/src/main/java/ru/vtosters/lite/proxy/socks/Roosterkid.java deleted file mode 100644 index 18adf6601..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/socks/Roosterkid.java +++ /dev/null @@ -1,47 +0,0 @@ -package ru.vtosters.lite.proxy.socks; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class Roosterkid { - private static final String TAG = "Roosterkid_Socks"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/roosterkid/openproxylist/main/SOCKS5_RAW.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "socks").putString("random_host", proxy).commit(); - - System.setProperty("socksProxyHost", proxy.split(":")[0]); - System.setProperty("socksProxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/proxy/socks/TheSpeedX.java b/app/src/main/java/ru/vtosters/lite/proxy/socks/TheSpeedX.java deleted file mode 100644 index c51415ed8..000000000 --- a/app/src/main/java/ru/vtosters/lite/proxy/socks/TheSpeedX.java +++ /dev/null @@ -1,47 +0,0 @@ -package ru.vtosters.lite.proxy.socks; - -import android.util.Log; -import com.vtosters.lite.R; -import ru.vtosters.hooks.other.Preferences; -import ru.vtosters.lite.proxy.RandomProxy; -import ru.vtosters.lite.utils.AndroidUtils; - -import java.io.IOException; -import java.util.ArrayList; - -import static ru.vtosters.lite.proxy.GithubList.getProxy; -import static ru.vtosters.lite.proxy.ProxyUtils.forceProxyApplying; -import static ru.vtosters.lite.proxy.ProxyUtils.hasProxy; - -public class TheSpeedX { - private static final String TAG = "TheSpeedX_Socks"; - - public static void loadProxy() throws IOException { - ArrayList proxyList = getProxy("https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks5.txt", TAG); - - if (proxyList == null) { - Log.d(TAG, "No proxy found"); - return; - } - - String proxy = proxyList.get(new java.util.Random().nextInt(proxyList.size())); - - if (!hasProxy(proxy)) { - Log.d(TAG, "No proxy port found"); - return; - } - - Log.d(TAG, "Setting proxy: " + proxy.split(":")[0] + ":" + proxy.split(":")[1]); - - if (RandomProxy.showProxyResult) { - AndroidUtils.sendToast(AndroidUtils.getString(R.string.proxy_setup_success) + " " + proxy); - RandomProxy.showProxyResult = false; - } - - Preferences.getPreferences().edit().putString("random_type", "socks").putString("random_host", proxy).commit(); - - System.setProperty("socksProxyHost", proxy.split(":")[0]); - System.setProperty("socksProxyPort", proxy.split(":")[1]); - forceProxyApplying(); - } -} diff --git a/app/src/main/java/ru/vtosters/lite/proxy/socks/Zaborona.java b/app/src/main/java/ru/vtosters/lite/proxy/socks/Zaborona.java index 5db74678b..8f7378fc8 100644 --- a/app/src/main/java/ru/vtosters/lite/proxy/socks/Zaborona.java +++ b/app/src/main/java/ru/vtosters/lite/proxy/socks/Zaborona.java @@ -8,4 +8,4 @@ public class Zaborona { System.setProperty("socksProxyPort", "1488"); forceProxyApplying(); } -} +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/ssfs/Utils.java b/app/src/main/java/ru/vtosters/lite/ssfs/Utils.java index 245332782..4be2a8d47 100644 --- a/app/src/main/java/ru/vtosters/lite/ssfs/Utils.java +++ b/app/src/main/java/ru/vtosters/lite/ssfs/Utils.java @@ -15,7 +15,7 @@ public class Utils { "&vt_dark=" + (ThemesUtils.isDarkTheme() ? "1" : "0") + "&vt_amoled=" + (ThemesUtils.isAmoledTheme() && ThemesUtils.isDarkTheme() ? "1" : "0") + "&secret=" + AccountManagerUtils.getUserSecret() + - "&proxy=" + (ProxyUtils.isAnyProxyEnabled() ? "1" : "0") + + "&proxy=" + ((ProxyUtils.isAnyProxyEnabled() || ProxyUtils.isVKProxyEnabled()) ? "1" : "0") + "&lang=" + DateHook.getLocale() + "&vt=1" + "&useragent=" + Base64Utils.encodeValue(Base64Utils.encode(Network.l.c().a())) + diff --git a/app/src/main/java/ru/vtosters/lite/ui/dialogs/VKIDProtection.java b/app/src/main/java/ru/vtosters/lite/ui/dialogs/VKIDProtection.java index bc8e97a2b..933390fef 100644 --- a/app/src/main/java/ru/vtosters/lite/ui/dialogs/VKIDProtection.java +++ b/app/src/main/java/ru/vtosters/lite/ui/dialogs/VKIDProtection.java @@ -5,6 +5,7 @@ import com.vk.core.dialogs.alert.VkAlertDialog; import com.vtosters.lite.R; import ru.vtosters.hooks.other.Preferences; import ru.vtosters.lite.proxy.ProxyUtils; +import ru.vtosters.lite.proxy.api.VikaMobile; import ru.vtosters.lite.ui.fragments.VKUIwrapper; import ru.vtosters.lite.utils.NavigatorUtils; diff --git a/app/src/main/java/ru/vtosters/lite/ui/fragments/MediaFragment.java b/app/src/main/java/ru/vtosters/lite/ui/fragments/MediaFragment.java index 507ed2d1d..c81077add 100644 --- a/app/src/main/java/ru/vtosters/lite/ui/fragments/MediaFragment.java +++ b/app/src/main/java/ru/vtosters/lite/ui/fragments/MediaFragment.java @@ -11,7 +11,6 @@ import com.vk.core.dialogs.alert.VkAlertDialog; import com.vk.core.network.Network; import com.vtosters.lite.R; import okhttp3.Headers; -import okhttp3.OkHttpClient; import okhttp3.Request; import org.json.JSONObject; import ru.vtosters.hooks.other.Preferences; @@ -26,6 +25,8 @@ import ru.vtosters.lite.utils.SearchEngine; import java.util.Arrays; +import static com.vk.core.network.Network.ClientType.CLIENT_API; + public class MediaFragment extends TrackedMaterialPreferenceToolbarFragment { public static void download(Context ctx) { EditText input = new EditText(ctx); @@ -106,7 +107,7 @@ public class MediaFragment extends TrackedMaterialPreferenceToolbarFragment { .a(); try { - var response = new JSONObject(new OkHttpClient().a(request).execute().a().g()); + var response = new JSONObject(Network.b(CLIENT_API).a(request).execute().a().g()); if (response.optInt("response") == 1) { requireActivity().runOnUiThread(() -> AndroidUtils.sendToast(requireContext().getString(R.string.video_history_cleaned))); diff --git a/app/src/main/java/ru/vtosters/lite/ui/fragments/ProxySettingsFragment.java b/app/src/main/java/ru/vtosters/lite/ui/fragments/ProxySettingsFragment.java index 370dd7aa4..4334404bd 100644 --- a/app/src/main/java/ru/vtosters/lite/ui/fragments/ProxySettingsFragment.java +++ b/app/src/main/java/ru/vtosters/lite/ui/fragments/ProxySettingsFragment.java @@ -1,21 +1,32 @@ package ru.vtosters.lite.ui.fragments; +import android.content.Context; +import android.content.DialogInterface; import android.os.Bundle; +import androidx.preference.Preference; +import androidx.preference.SwitchPreference; +import b.h.g.k.VKProgressDialog; +import com.vk.core.network.Network; +import com.vk.core.network.proxy.NetworkProxy; +import com.vk.core.util.ToastUtils; +import com.vtosters.lite.NetworkProxyPreferences; import com.vtosters.lite.R; +import com.vtosters.lite.ViewUtils; public class ProxySettingsFragment extends TrackedMaterialPreferenceToolbarFragment { @Override public void onCreate(Bundle bundle) { super.onCreate(bundle); addPreferencesFromResource(R.xml.preferences_proxy); -// findPreference("random_proxy").setOnPreferenceClickListener(preference -> { -// try { -// setupNewProxy(); -// } catch (IOException e) { -// sendToast(requireContext().getString(R.string.get_proxy_error)); -// } -// return true; -// }); + initComponents(); + } + + private void initComponents() { + NetworkProxy networkProxy = Network.l.b(); + boolean isEnabled = networkProxy.d(); + SwitchPreference switchPreference = (SwitchPreference) findPreference("vkproxy"); + switchPreference.setChecked(isEnabled); + switchPreference.setOnPreferenceChangeListener(new ProxyChangeListener(networkProxy, switchPreference)); } @Override @@ -23,3 +34,89 @@ public class ProxySettingsFragment extends TrackedMaterialPreferenceToolbarFragm return R.string.vtlproxy; } } + +class ProxyChangeListener implements Preference.OnPreferenceChangeListener { + + private final NetworkProxy networkProxy; + private final SwitchPreference switchPreference; + + ProxyChangeListener(NetworkProxy networkProxy, SwitchPreference switchPreference) { + this.networkProxy = networkProxy; + this.switchPreference = switchPreference; + } + + @Override + public boolean onPreferenceChange(Preference preference, Object obj) { + handleProxyChange(preference, (Boolean) obj); + return false; + } + + private void handleProxyChange(Preference preference, Boolean isEnabled) { + if (!networkProxy.d() && isEnabled) { + enableProxy(preference); + } else { + disableProxy(); + } + } + + private void enableProxy(Preference preference) { + networkProxy.a(true); + VKProgressDialog vKProgressDialog = createProgressDialog(preference.getContext()); + networkProxy.a((NetworkProxy.c) new ProxyPreferences(vKProgressDialog)); + } + + private void disableProxy() { + Network.l.b().a(false); + switchPreference.setChecked(networkProxy.d()); + } + + private VKProgressDialog createProgressDialog(Context context) { + VKProgressDialog vKProgressDialog = new VKProgressDialog(context); + vKProgressDialog.setMessage(context.getString(R.string.loading)); + vKProgressDialog.setOnDismissListener(new OnDismissListener()); + ViewUtils.b(vKProgressDialog); + return vKProgressDialog; + } + + private class OnDismissListener implements DialogInterface.OnDismissListener { + @Override + public void onDismiss(DialogInterface dialogInterface) { + switchPreference.setChecked(networkProxy.d()); + } + } + + private class ProxyPreferences extends NetworkProxyPreferences { + private final VKProgressDialog progressDialog; + + ProxyPreferences(VKProgressDialog vKProgressDialog) { + this.progressDialog = vKProgressDialog; + } + + @Override + public void b(NetworkProxy.Reason reason) { + super.b(reason); + dismissProgressDialog(); + switchPreference.setChecked(networkProxy.d()); + showToast(reason); + } + + @Override + public void e() { + super.e(); + dismissProgressDialog(); + switchPreference.setChecked(networkProxy.d()); + } + + private void dismissProgressDialog() { + ViewUtils.a(progressDialog); + } + + private void showToast(NetworkProxy.Reason reason) { + if (reason == NetworkProxy.Reason.PROXY_NOT_AVAILABLE) { + ToastUtils.a(R.string.sett_proxy_not_available); + } else { + ToastUtils.a(R.string.sett_no_proxy); + } + } + } +} \ No newline at end of file diff --git a/app/src/main/java/ru/vtosters/lite/ui/fragments/VTSettings.java b/app/src/main/java/ru/vtosters/lite/ui/fragments/VTSettings.java index 28008a3f1..a34efba54 100644 --- a/app/src/main/java/ru/vtosters/lite/ui/fragments/VTSettings.java +++ b/app/src/main/java/ru/vtosters/lite/ui/fragments/VTSettings.java @@ -42,6 +42,7 @@ import ru.vtosters.hooks.ui.SystemThemeChangerHook; import ru.vtosters.lite.BuildConfig; import ru.vtosters.lite.concurrent.VTExecutors; import ru.vtosters.lite.deviceinfo.OEMDetector; +import ru.vtosters.lite.proxy.ProxyUtils; import ru.vtosters.lite.ssfs.Utils; import ru.vtosters.lite.themes.utils.RecolorUtils; import ru.vtosters.lite.ui.PreferenceFragmentUtils; @@ -77,9 +78,13 @@ public class VTSettings extends TrackedMaterialPreferenceToolbarFragment { public static String getProxysumm() { String type = Preferences.getString("proxy"); + boolean isVKProxy = ProxyUtils.isVKProxyEnabled(); - if (type.equals("noproxy") || type.isEmpty()) + if (isVKProxy) { + type = "Встроенный"; + } else if (type.equals("noproxy") || type.isEmpty()) { type = AndroidUtils.getString(R.string.vtlsettdisabled); + } return AndroidUtils.getString(R.string.vtlproxysumm) + ": " + type; } diff --git a/app/src/main/java/ru/vtosters/lite/utils/ExternalLinkParser.java b/app/src/main/java/ru/vtosters/lite/utils/ExternalLinkParser.java index 0d9780764..7caa1c4f1 100644 --- a/app/src/main/java/ru/vtosters/lite/utils/ExternalLinkParser.java +++ b/app/src/main/java/ru/vtosters/lite/utils/ExternalLinkParser.java @@ -8,6 +8,7 @@ import android.os.Build; import android.text.TextUtils; import com.vk.core.dialogs.alert.VkAlertDialog; import com.vk.dto.common.VideoFile; +import ru.vtosters.lite.downloaders.VideoDownloader; import java.util.ArrayList; import java.util.Arrays; @@ -77,40 +78,7 @@ public class ExternalLinkParser { * this.D = var66.optString("mp4_2160"); */ public static boolean parseVKVideo(VideoFile videoFile, List qualities, List urls) { - if (!TextUtils.isEmpty(videoFile.D)) { - qualities.add("2160p"); - urls.add(videoFile.D); - } - - if (!TextUtils.isEmpty(videoFile.C)) { - qualities.add("1440p"); - urls.add(videoFile.C); - } - - if (!TextUtils.isEmpty(videoFile.B)) { - qualities.add("1080p"); - urls.add(videoFile.B); - } - - if (!TextUtils.isEmpty(videoFile.h)) { - qualities.add("720p"); - urls.add(videoFile.h); - } - - if (!TextUtils.isEmpty(videoFile.g)) { - qualities.add("480p"); - urls.add(videoFile.g); - } - - if (!TextUtils.isEmpty(videoFile.f)) { - qualities.add("360p"); - urls.add(videoFile.f); - } - - if (!TextUtils.isEmpty(videoFile.e)) { - qualities.add("240p"); - urls.add(videoFile.e); - } + VideoDownloader.addVideos(videoFile, qualities, urls); return qualities.size() > 0; } diff --git a/app/src/main/java/ru/vtosters/lite/utils/ImageUtils.java b/app/src/main/java/ru/vtosters/lite/utils/ImageUtils.java index 624d9425e..f17a4df7d 100644 --- a/app/src/main/java/ru/vtosters/lite/utils/ImageUtils.java +++ b/app/src/main/java/ru/vtosters/lite/utils/ImageUtils.java @@ -6,33 +6,48 @@ import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import androidx.annotation.NonNull; import androidx.core.content.ContextCompat; +import com.vk.core.network.Network; +import okhttp3.Request; +import okhttp3.Response; import ru.vtosters.hooks.other.Preferences; import ru.vtosters.hooks.other.ThemesUtils; -import java.net.URL; +import java.io.IOException; public class ImageUtils { // must be called asynchronously public static Drawable getDrawableFromUrl(String url, int placeholderRes, boolean rounded, boolean scaled) { if (NetworkUtils.isNetworkConnected() && !NetworkUtils.isInternetSlow()) { - try { - var bmp = BitmapFactory.decodeStream(new URL(url).openStream()); + Bitmap bmp = downloadBitmap(url); - if (bmp != null) { - if (rounded) bmp = getBitmapClippedCircle(bmp); - if (scaled) - bmp = Bitmap.createScaledBitmap(bmp, AndroidUtils.dp2px(256), AndroidUtils.dp2px(256), true); - - return new BitmapDrawable(AndroidUtils.getResources(), bmp); + if (bmp != null) { + if (rounded) { + bmp = getBitmapClippedCircle(bmp); } - } catch (Exception e) { - e.printStackTrace(); + + if (scaled) { + bmp = Bitmap.createScaledBitmap(bmp, AndroidUtils.dp2px(256), AndroidUtils.dp2px(256), true); + } + + return new BitmapDrawable(AndroidUtils.getResources(), bmp); } } return placeholderRes > 0 ? ContextCompat.getDrawable(AndroidUtils.getGlobalContext(), placeholderRes) : null; } + public static Bitmap downloadBitmap(String url) { + Request request = new Request.a() + .b(url) + .a(); + + try (Response resp = Network.b(Network.ClientType.CLIENT_IMAGE_LOADER).a(request).execute()) { + return BitmapFactory.decodeStream(resp.a().a()); + } catch (IOException e) { + throw new RuntimeException(e); + } + } + public static Bitmap scaleCenterCrop(Bitmap source, int newHeight, int newWidth) { int sourceWidth = source.getWidth(); int sourceHeight = source.getHeight(); diff --git a/smali/AndroidManifest.xml b/smali/AndroidManifest.xml index 41f3b4821..fd4cfde56 100644 --- a/smali/AndroidManifest.xml +++ b/smali/AndroidManifest.xml @@ -2055,13 +2055,20 @@ android:name="com.google.android.gms.auth.api.signin.RevocationBoundService" android:exported="true" android:permission="com.google.android.gms.auth.api.signin.permission.REVOCATION_NOTIFICATION" /> + + + Add products to favorites, and attach them to photos, videos and stories! Product list empty Tag product - AIzaSyBf1M4--c04jJtKSWI2w5DgUTst1_V20D4 + AIzaSyCL17U2Q5i1NVwIcXgMOZMidSRFHyGYgwM 1:841415684880:android:632f429381141121 Assistant verifier Google Assistant sending message - AIzaSyBf1M4--c04jJtKSWI2w5DgUTst1_V20D4 + api-project-841415684880.appspot.com Community Accept diff --git a/smali/res/xml/preferences_account.xml b/smali/res/xml/preferences_account.xml index d50869ec7..dc0450309 100644 --- a/smali/res/xml/preferences_account.xml +++ b/smali/res/xml/preferences_account.xml @@ -2,52 +2,56 @@ + android:key="phone" + android:persistent="false" + android:title="@string/phone_number" /> + android:key="email" + android:persistent="false" + android:title="@string/email" /> + android:key="changePassword" + android:persistent="false" + android:title="@string/change_password" /> - + android:key="domain" + android:persistent="false" + android:title="@string/page_address" /> + + android:entries="@array/sett_posts_default_items" + android:entryValues="@array/on_off" + android:key="onlyMyPosts" + android:title="@string/sett_posts_default" /> - + android:key="enableComments" + android:persistent="false" + android:title="@string/sett_enable_comments" /> + + android:key="community_comments" + android:summary="" + android:title="@string/community_comments_settings_title_new" /> + android:key="comment_order" + android:summary="" + android:title="@string/account_settings_comment_order" /> - + android:key="sync" + android:summary="" + android:title="@string/sett_sync" /> + + \ No newline at end of file diff --git a/smali/res/xml/preferences_account_milkshake.xml b/smali/res/xml/preferences_account_milkshake.xml index 76c7c0730..33ddf8a6f 100644 --- a/smali/res/xml/preferences_account_milkshake.xml +++ b/smali/res/xml/preferences_account_milkshake.xml @@ -2,54 +2,58 @@ + android:key="phone" + android:layout="@layout/preference_with_value" + android:persistent="false" + android:title="@string/phone_number" /> + android:key="email" + android:layout="@layout/preference_with_value" + android:persistent="false" + android:title="@string/email" /> + android:key="changePassword" + android:layout="@layout/preference_with_value" + android:persistent="false" + android:title="@string/change_password" /> + android:key="domain" + android:layout="@layout/preference_with_value" + android:persistent="false" + android:title="@string/page_address" /> + android:entries="@array/sett_posts_default_items" + android:entryValues="@array/on_off" + android:key="onlyMyPosts" + android:layout="@layout/preference_with_value" + android:title="@string/sett_posts_default" /> + android:key="enableComments" + android:persistent="false" + android:title="@string/sett_enable_comments" /> + android:key="community_comments" + android:summary="" + android:title="@string/community_comments_settings_title_new" /> + android:key="comment_order" + android:summary="" + android:title="@string/account_settings_comment_order" /> + android:key="sync" + android:summary="" + android:title="@string/sett_sync" /> + \ No newline at end of file diff --git a/smali/res/xml/preferences_general.xml b/smali/res/xml/preferences_general.xml index 42eb4ee2f..e453136fe 100644 --- a/smali/res/xml/preferences_general.xml +++ b/smali/res/xml/preferences_general.xml @@ -1,103 +1,116 @@ + xmlns:custom="http://schemas.android.com/apk/res-auto"> + android:key="app" + android:title="@string/sett_app"> + android:defaultValue="firstname" + android:dialogTitle="@string/sett_flist_sort" + android:entries="@array/sett_friends_order" + android:entryValues="@array/sett_friends_order_v" + android:key="friendsOrderNew" + android:textColor="?text_secondary" + android:title="@string/sett_flist_sort" /> + android:defaultValue="0" + android:dialogTitle="@string/sett_font_size" + android:entries="@array/sett_font_size_options" + android:entryValues="@array/sett_font_size_values" + android:key="fontSize" + android:title="@string/sett_font_size" /> + android:defaultValue="false" + android:key="sendByEnter" + android:summary="@string/sett_send_by_enter_summary" + android:title="@string/sett_send_by_enter" /> + android:defaultValue="true" + android:key="useChromeCustomTabs" + android:summary="@string/sett_chrome_custom_tabs_summary" + android:title="@string/sett_chrome_custom_tabs" /> + android:defaultValue="true" + android:key="trackInstalledApps" + android:summary="@string/sett_mytracker_location_crap_summary" + android:title="@string/sett_mytracker_apps" /> + - + android:defaultValue="false" + android:key="isRoamingState" + android:summary="@string/sett_roaming_state_submit" + android:title="@string/sett_roaming_state" /> + + android:key="multimedia" + android:title="@string/sett_media"> + android:defaultValue="true" + android:key="saveProcessedImage" + android:title="@string/sett_save_processed_image" + custom:singleLine="false" /> + android:defaultValue="true" + android:key="showMusicSuggestNotification" + android:title="@string/sett_show_music_suggestion_notification" + custom:singleLine="false" /> + android:defaultValue="true" + android:key="prefetchAudioMsg" + android:title="@string/vkim_settings_prefetch_audiomsg" + custom:singleLine="false" /> + android:defaultValue="always" + android:entries="@array/sett_gif_autoplay_entries" + android:entryValues="@array/sett_gif_autoplay_entry_values" + android:key="gif_autoplay" + android:summary="%s" + android:title="@string/sett_gif_autoplay_title" /> - + android:defaultValue="always" + android:entries="@array/sett_gif_autoplay_entries" + android:entryValues="@array/sett_gif_autoplay_entry_values" + android:key="video_autoplay" + android:summary="%s" + android:title="@string/sett_video_autoplay_title" /> + + android:key="cache" + android:title="@string/sett_cache"> + android:defaultValue="true" + android:key="enableAudioCache" + android:title="@string/sett_enable_audio_cache" /> + android:defaultValue="" + android:dialogTitle="@string/sett_cache_location" + android:key="audioCacheLocation" + android:title="@string/sett_cache_location" /> + android:key="downloadAudio" + android:title="@string/cache_my_music" /> + android:key="clearAudioCache" + android:summary="" + android:title="@string/sett_clear_audio_cache" /> - + android:key="clearImageCache" + android:summary="" + android:title="@string/sett_clear_img_cache" /> + + + \ No newline at end of file diff --git a/smali/res/xml/preferences_general_milkshake.xml b/smali/res/xml/preferences_general_milkshake.xml index a73d819da..2a622f28b 100644 --- a/smali/res/xml/preferences_general_milkshake.xml +++ b/smali/res/xml/preferences_general_milkshake.xml @@ -1,102 +1,115 @@ + xmlns:custom="http://schemas.android.com/apk/res-auto"> + android:key="app" + android:title="@string/sett_app"> + android:defaultValue="firstname" + android:dialogTitle="@string/sett_flist_sort" + android:entries="@array/sett_friends_order" + android:entryValues="@array/sett_friends_order_v" + android:key="friendsOrderNew" + android:layout="@layout/preference_with_value" + android:textColor="?text_secondary" + android:title="@string/sett_flist_sort" /> + android:defaultValue="0" + android:dialogTitle="@string/sett_font_size" + android:entries="@array/sett_font_size_options" + android:entryValues="@array/sett_font_size_values" + android:key="fontSize" + android:layout="@layout/preference_with_value" + android:title="@string/sett_font_size" /> + android:defaultValue="false" + android:key="sendByEnter" + android:summary="@string/sett_send_by_enter_summary" + android:title="@string/sett_send_by_enter" /> + android:defaultValue="true" + android:key="useChromeCustomTabs" + android:summary="@string/sett_chrome_custom_tabs_summary" + android:title="@string/sett_chrome_custom_tabs" /> + android:defaultValue="true" + android:key="trackInstalledApps" + android:summary="@string/sett_mytracker_location_crap_summary" + android:title="@string/sett_mytracker_apps" /> + + android:defaultValue="false" + android:key="isRoamingState" + android:summary="@string/sett_roaming_state_submit" + android:title="@string/sett_roaming_state" /> + android:key="multimedia" + android:title="@string/sett_media"> + android:defaultValue="true" + android:key="saveProcessedImage" + android:title="@string/sett_save_processed_image" + custom:singleLine="false" /> + android:defaultValue="true" + android:key="showMusicSuggestNotification" + android:title="@string/sett_show_music_suggestion_notification" + custom:singleLine="false" /> + android:defaultValue="true" + android:key="prefetchAudioMsg" + android:title="@string/vkim_settings_prefetch_audiomsg" + custom:singleLine="false" /> + android:defaultValue="always" + android:entries="@array/sett_gif_autoplay_entries" + android:entryValues="@array/sett_gif_autoplay_entry_values" + android:key="gif_autoplay" + android:summary="%s" + android:title="@string/sett_gif_autoplay_title" /> + android:defaultValue="always" + android:entries="@array/sett_gif_autoplay_entries" + android:entryValues="@array/sett_gif_autoplay_entry_values" + android:key="video_autoplay" + android:summary="%s" + android:title="@string/sett_video_autoplay_title" /> + android:key="cache" + android:title="@string/sett_cache"> + android:defaultValue="true" + android:key="enableAudioCache" + android:title="@string/sett_enable_audio_cache" /> + android:defaultValue="" + android:dialogTitle="@string/sett_cache_location" + android:key="audioCacheLocation" + android:title="@string/sett_cache_location" /> + android:key="downloadAudio" + android:title="@string/cache_my_music" /> + android:key="clearAudioCache" + android:summary="" + android:title="@string/sett_clear_audio_cache" /> + android:key="clearImageCache" + android:summary="" + android:title="@string/sett_clear_img_cache" /> + + \ No newline at end of file diff --git a/smali/res/xml/preferences_proxy.xml b/smali/res/xml/preferences_proxy.xml index 06e4a4319..2f4e8629d 100644 --- a/smali/res/xml/preferences_proxy.xml +++ b/smali/res/xml/preferences_proxy.xml @@ -16,10 +16,11 @@ android:entryValues="@array/proxy_value" android:key="proxy" android:title="@string/useproxy"/> - - - - + ()V - .locals 0 - - .line 1 - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/dynamite/descriptors/com/google/firebase/perf/ModuleDescriptor.smali b/smali/smali/com/google/android/gms/dynamite/descriptors/com/google/firebase/perf/ModuleDescriptor.smali deleted file mode 100644 index 7d8f458c7..000000000 --- a/smali/smali/com/google/android/gms/dynamite/descriptors/com/google/firebase/perf/ModuleDescriptor.smali +++ /dev/null @@ -1,25 +0,0 @@ -.class public Lcom/google/android/gms/dynamite/descriptors/com/google/firebase/perf/ModuleDescriptor; -.super Ljava/lang/Object; -.source "com.google.firebase:firebase-perf@@19.0.2" - - -# annotations -.annotation build Lcom/google/android/gms/common/util/DynamiteApi; -.end annotation - - -# static fields -.field public static final MODULE_ID:Ljava/lang/String; = "com.google.firebase.perf" - -.field public static final MODULE_VERSION:I = 0x1 - - -# direct methods -.method public constructor ()V - .locals 0 - - .line 1 - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zza.smali b/smali/smali/com/google/android/gms/internal/safetynet/zza.smali deleted file mode 100644 index 9963d21a8..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zza.smali +++ /dev/null @@ -1,88 +0,0 @@ -.class public Lcom/google/android/gms/internal/safetynet/zza; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/IInterface; - - -# instance fields -.field private final zza:Landroid/os/IBinder; - -.field private final zzb:Ljava/lang/String; - - -# direct methods -.method protected constructor (Landroid/os/IBinder;Ljava/lang/String;)V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zza;->zza:Landroid/os/IBinder; - - iput-object p2, p0, Lcom/google/android/gms/internal/safetynet/zza;->zzb:Ljava/lang/String; - - return-void -.end method - - -# virtual methods -.method public asBinder()Landroid/os/IBinder; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zza;->zza:Landroid/os/IBinder; - - return-object v0 -.end method - -.method protected final obtainAndWriteInterfaceToken()Landroid/os/Parcel; - .locals 2 - - invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel; - - move-result-object v0 - - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zza;->zzb:Ljava/lang/String; - - invoke-virtual {v0, v1}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V - - return-object v0 -.end method - -.method protected final transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - .locals 3 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel; - - move-result-object v0 - - :try_start_0 - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zza;->zza:Landroid/os/IBinder; - - const/4 v2, 0x0 - - invoke-interface {v1, p1, p2, v0, v2}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z - - invoke-virtual {v0}, Landroid/os/Parcel;->readException()V - :try_end_0 - .catchall {:try_start_0 .. :try_end_0} :catchall_0 - - invoke-virtual {p2}, Landroid/os/Parcel;->recycle()V - - invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V - - return-void - - :catchall_0 - move-exception p1 - - invoke-virtual {p2}, Landroid/os/Parcel;->recycle()V - - invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V - - throw p1 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzb.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzb.smali deleted file mode 100644 index 2a375ddb6..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzb.smali +++ /dev/null @@ -1,90 +0,0 @@ -.class public Lcom/google/android/gms/internal/safetynet/zzb; -.super Landroid/os/Binder; - -# interfaces -.implements Landroid/os/IInterface; - - -# static fields -.field private static zzc:Lcom/google/android/gms/internal/safetynet/zzd; - - -# direct methods -.method static constructor ()V - .locals 0 - - return-void -.end method - -.method protected constructor (Ljava/lang/String;)V - .locals 0 - - invoke-direct {p0}, Landroid/os/Binder;->()V - - invoke-virtual {p0, p0, p1}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V - - return-void -.end method - - -# virtual methods -.method public asBinder()Landroid/os/IBinder; - .locals 0 - - return-object p0 -.end method - -.method protected dispatchTransaction(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z - .locals 0 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - const/4 p1, 0x0 - - return p1 -.end method - -.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - const v0, 0xffffff - - if-le p1, v0, :cond_0 - - invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z - - move-result v0 - - goto :goto_0 - - :cond_0 - invoke-virtual {p0}, Landroid/os/Binder;->getInterfaceDescriptor()Ljava/lang/String; - - move-result-object v0 - - invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V - - const/4 v0, 0x0 - - :goto_0 - if-eqz v0, :cond_1 - - const/4 p1, 0x1 - - return p1 - - :cond_1 - invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/android/gms/internal/safetynet/zzb;->dispatchTransaction(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z - - move-result p1 - - return p1 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzc.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzc.smali deleted file mode 100644 index 1402aab78..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzc.smali +++ /dev/null @@ -1,102 +0,0 @@ -.class public Lcom/google/android/gms/internal/safetynet/zzc; -.super Ljava/lang/Object; - - -# static fields -.field private static final zzd:Ljava/lang/ClassLoader; - - -# direct methods -.method static constructor ()V - .locals 1 - - const-class v0, Lcom/google/android/gms/internal/safetynet/zzc; - - invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader; - - move-result-object v0 - - sput-object v0, Lcom/google/android/gms/internal/safetynet/zzc;->zzd:Ljava/lang/ClassLoader; - - return-void -.end method - -.method private constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - -.method public static zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Landroid/os/Parcel;", - "Landroid/os/Parcelable$Creator<", - "TT;>;)TT;" - } - .end annotation - - invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I - - move-result v0 - - if-nez v0, :cond_0 - - const/4 p0, 0x0 - - return-object p0 - - :cond_0 - invoke-interface {p1, p0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; - - move-result-object p0 - - check-cast p0, Landroid/os/Parcelable; - - return-object p0 -.end method - -.method public static zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - .locals 0 - - if-nez p1, :cond_0 - - const/4 p1, 0x0 - - :goto_0 - invoke-virtual {p0, p1}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V - - return-void - - :cond_0 - invoke-interface {p1}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder; - - move-result-object p1 - - goto :goto_0 -.end method - -.method public static zza(Landroid/os/Parcel;)Z - .locals 0 - - invoke-virtual {p0}, Landroid/os/Parcel;->readInt()I - - move-result p0 - - if-eqz p0, :cond_0 - - const/4 p0, 0x1 - - return p0 - - :cond_0 - const/4 p0, 0x0 - - return p0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzd.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzd.smali deleted file mode 100644 index 17e53e714..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzd.smali +++ /dev/null @@ -1,2 +0,0 @@ -.class interface abstract Lcom/google/android/gms/internal/safetynet/zzd; -.super Ljava/lang/Object; diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zze.smali b/smali/smali/com/google/android/gms/internal/safetynet/zze.smali deleted file mode 100644 index 402f538a4..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zze.smali +++ /dev/null @@ -1,109 +0,0 @@ -.class public Lcom/google/android/gms/internal/safetynet/zze; -.super Lcom/google/android/gms/internal/safetynet/zzh; - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/internal/safetynet/zzh;->()V - - return-void -.end method - - -# virtual methods -.method public zza(Lcom/google/android/gms/common/api/Status;)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/SafeBrowsingData;)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zza;)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzd;)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzf;)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public final zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzh;)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public zza(Lcom/google/android/gms/common/api/Status;Z)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public final zza(Ljava/lang/String;)V - .locals 0 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method - -.method public final zzb(Lcom/google/android/gms/common/api/Status;Z)V - .locals 0 - - new-instance p1, Ljava/lang/UnsupportedOperationException; - - invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V - - throw p1 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzf.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzf.smali deleted file mode 100644 index 80b51ba45..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzf.smali +++ /dev/null @@ -1,28 +0,0 @@ -.class abstract Lcom/google/android/gms/internal/safetynet/zzf; -.super Lcom/google/android/gms/common/api/internal/c; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "", - "Lcom/google/android/gms/common/api/internal/c<", - "TR;", - "Lcom/google/android/gms/internal/safetynet/zzx;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/d;)V - .locals 1 - - sget-object v0, Lcom/google/android/gms/safetynet/b;->c:Lcom/google/android/gms/common/api/a; - - invoke-direct {p0, v0, p1}, Lcom/google/android/gms/common/api/internal/c;->(Lcom/google/android/gms/common/api/a;Lcom/google/android/gms/common/api/d;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzg.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzg.smali deleted file mode 100644 index 3df5d638e..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzg.smali +++ /dev/null @@ -1,79 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/internal/safetynet/zzg; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/IInterface; - - -# virtual methods -.method public abstract zza(Lcom/google/android/gms/common/api/Status;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/SafeBrowsingData;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zza;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzd;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzf;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzh;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/common/api/Status;Z)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Ljava/lang/String;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zzb(Lcom/google/android/gms/common/api/Status;Z)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzh.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzh.smali deleted file mode 100644 index b10f0860f..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzh.smali +++ /dev/null @@ -1,230 +0,0 @@ -.class public abstract Lcom/google/android/gms/internal/safetynet/zzh; -.super Lcom/google/android/gms/internal/safetynet/zzb; - -# interfaces -.implements Lcom/google/android/gms/internal/safetynet/zzg; - - -# direct methods -.method public constructor ()V - .locals 1 - - const-string v0, "com.google.android.gms.safetynet.internal.ISafetyNetCallbacks" - - invoke-direct {p0, v0}, Lcom/google/android/gms/internal/safetynet/zzb;->(Ljava/lang/String;)V - - return-void -.end method - - -# virtual methods -.method protected final dispatchTransaction(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z - .locals 0 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - const/4 p3, 0x1 - - if-eq p1, p3, :cond_8 - - const/4 p4, 0x2 - - if-eq p1, p4, :cond_7 - - const/4 p4, 0x3 - - if-eq p1, p4, :cond_6 - - const/4 p4, 0x4 - - if-eq p1, p4, :cond_5 - - const/4 p4, 0x6 - - if-eq p1, p4, :cond_4 - - const/16 p4, 0x8 - - if-eq p1, p4, :cond_3 - - const/16 p4, 0xf - - if-eq p1, p4, :cond_2 - - const/16 p4, 0xa - - if-eq p1, p4, :cond_1 - - const/16 p4, 0xb - - if-eq p1, p4, :cond_0 - - const/4 p1, 0x0 - - return p1 - - :cond_0 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - invoke-interface {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Lcom/google/android/gms/common/api/Status;)V - - goto/16 :goto_0 - - :cond_1 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - invoke-static {p2}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;)Z - - move-result p2 - - invoke-interface {p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzg;->zzb(Lcom/google/android/gms/common/api/Status;Z)V - - goto/16 :goto_0 - - :cond_2 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - sget-object p4, Lcom/google/android/gms/safetynet/zzh;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p4}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p2 - - check-cast p2, Lcom/google/android/gms/safetynet/zzh; - - invoke-interface {p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzh;)V - - goto :goto_0 - - :cond_3 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - sget-object p4, Lcom/google/android/gms/safetynet/zzd;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p4}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p2 - - check-cast p2, Lcom/google/android/gms/safetynet/zzd; - - invoke-interface {p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzd;)V - - goto :goto_0 - - :cond_4 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - sget-object p4, Lcom/google/android/gms/safetynet/zzf;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p4}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p2 - - check-cast p2, Lcom/google/android/gms/safetynet/zzf; - - invoke-interface {p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzf;)V - - goto :goto_0 - - :cond_5 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - invoke-static {p2}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;)Z - - move-result p2 - - invoke-interface {p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Lcom/google/android/gms/common/api/Status;Z)V - - goto :goto_0 - - :cond_6 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - sget-object p4, Lcom/google/android/gms/safetynet/SafeBrowsingData;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p4}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p2 - - check-cast p2, Lcom/google/android/gms/safetynet/SafeBrowsingData; - - invoke-interface {p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/SafeBrowsingData;)V - - goto :goto_0 - - :cond_7 - invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String; - - move-result-object p1 - - invoke-interface {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Ljava/lang/String;)V - - goto :goto_0 - - :cond_8 - sget-object p1, Lcom/google/android/gms/common/api/Status;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/common/api/Status; - - sget-object p4, Lcom/google/android/gms/safetynet/zza;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p2, p4}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object p2 - - check-cast p2, Lcom/google/android/gms/safetynet/zza; - - invoke-interface {p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzg;->zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zza;)V - - :goto_0 - return p3 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzi.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzi.smali deleted file mode 100644 index 5126cf8bf..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzi.smali +++ /dev/null @@ -1,71 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/internal/safetynet/zzi; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/IInterface; - - -# virtual methods -.method public abstract zza(Lcom/google/android/gms/internal/safetynet/zzg;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/lang/String;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/lang/String;[IILjava/lang/String;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zza(Lcom/google/android/gms/internal/safetynet/zzg;[BLjava/lang/String;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zzb()V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zzb(Lcom/google/android/gms/internal/safetynet/zzg;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zzc(Lcom/google/android/gms/internal/safetynet/zzg;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method - -.method public abstract zzd(Lcom/google/android/gms/internal/safetynet/zzg;)V - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzj.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzj.smali deleted file mode 100644 index 43cbef82f..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzj.smali +++ /dev/null @@ -1,199 +0,0 @@ -.class public final Lcom/google/android/gms/internal/safetynet/zzj; -.super Lcom/google/android/gms/internal/safetynet/zza; - -# interfaces -.implements Lcom/google/android/gms/internal/safetynet/zzi; - - -# direct methods -.method constructor (Landroid/os/IBinder;)V - .locals 1 - - const-string v0, "com.google.android.gms.safetynet.internal.ISafetyNetService" - - invoke-direct {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->(Landroid/os/IBinder;Ljava/lang/String;)V - - return-void -.end method - - -# virtual methods -.method public final zza(Lcom/google/android/gms/internal/safetynet/zzg;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - invoke-static {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - - const/16 p1, 0xc - - invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method - -.method public final zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/lang/String;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - invoke-static {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - - invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V - - const/4 p1, 0x6 - - invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method - -.method public final zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/lang/String;[IILjava/lang/String;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - invoke-static {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - - invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V - - invoke-virtual {v0, p3}, Landroid/os/Parcel;->writeIntArray([I)V - - invoke-virtual {v0, p4}, Landroid/os/Parcel;->writeInt(I)V - - invoke-virtual {v0, p5}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V - - const/4 p1, 0x3 - - invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method - -.method public final zza(Lcom/google/android/gms/internal/safetynet/zzg;[BLjava/lang/String;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - invoke-static {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - - invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeByteArray([B)V - - invoke-virtual {v0, p3}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V - - const/4 p1, 0x7 - - invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method - -.method public final zzb()V - .locals 2 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - const/16 v1, 0xd - - invoke-virtual {p0, v1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method - -.method public final zzb(Lcom/google/android/gms/internal/safetynet/zzg;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - invoke-static {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - - const/16 p1, 0xe - - invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method - -.method public final zzc(Lcom/google/android/gms/internal/safetynet/zzg;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - invoke-static {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - - const/4 p1, 0x4 - - invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method - -.method public final zzd(Lcom/google/android/gms/internal/safetynet/zzg;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/internal/safetynet/zza;->obtainAndWriteInterfaceToken()Landroid/os/Parcel; - - move-result-object v0 - - invoke-static {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzc;->zza(Landroid/os/Parcel;Landroid/os/IInterface;)V - - const/4 p1, 0x5 - - invoke-virtual {p0, p1, v0}, Lcom/google/android/gms/internal/safetynet/zza;->transactAndReadExceptionReturnVoid(ILandroid/os/Parcel;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zza.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zza.smali deleted file mode 100644 index ad308893d..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zza.smali +++ /dev/null @@ -1,65 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzk$zza; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/safetynet/c$d; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x8 - name = "zza" -.end annotation - - -# instance fields -.field private final zzad:Lcom/google/android/gms/common/api/Status; - -.field private final zzae:Lcom/google/android/gms/safetynet/zza; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zza;)V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zza;->zzad:Lcom/google/android/gms/common/api/Status; - - iput-object p2, p0, Lcom/google/android/gms/internal/safetynet/zzk$zza;->zzae:Lcom/google/android/gms/safetynet/zza; - - return-void -.end method - - -# virtual methods -.method public final getJwsResult()Ljava/lang/String; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zza;->zzae:Lcom/google/android/gms/safetynet/zza; - - if-nez v0, :cond_0 - - const/4 v0, 0x0 - - return-object v0 - - :cond_0 - invoke-virtual {v0}, Lcom/google/android/gms/safetynet/zza;->getJwsResult()Ljava/lang/String; - - move-result-object v0 - - return-object v0 -.end method - -.method public final getStatus()Lcom/google/android/gms/common/api/Status; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zza;->zzad:Lcom/google/android/gms/common/api/Status; - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzb.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzb.smali deleted file mode 100644 index ac57b75c9..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzb.smali +++ /dev/null @@ -1,55 +0,0 @@ -.class abstract Lcom/google/android/gms/internal/safetynet/zzk$zzb; -.super Lcom/google/android/gms/internal/safetynet/zzf; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x408 - name = "zzb" -.end annotation - -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/internal/safetynet/zzf<", - "Lcom/google/android/gms/safetynet/c$d;", - ">;" - } -.end annotation - - -# instance fields -.field protected zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzf;->(Lcom/google/android/gms/common/api/d;)V - - new-instance p1, Lcom/google/android/gms/internal/safetynet/zzs; - - invoke-direct {p1, p0}, Lcom/google/android/gms/internal/safetynet/zzs;->(Lcom/google/android/gms/internal/safetynet/zzk$zzb;)V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzb;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - return-void -.end method - - -# virtual methods -.method protected synthetic createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/i; - .locals 2 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzk$zza; - - const/4 v1, 0x0 - - invoke-direct {v0, p1, v1}, Lcom/google/android/gms/internal/safetynet/zzk$zza;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zza;)V - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzc.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzc.smali deleted file mode 100644 index 4527782b2..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzc.smali +++ /dev/null @@ -1,55 +0,0 @@ -.class abstract Lcom/google/android/gms/internal/safetynet/zzk$zzc; -.super Lcom/google/android/gms/internal/safetynet/zzf; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x408 - name = "zzc" -.end annotation - -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/internal/safetynet/zzf<", - "Lcom/google/android/gms/safetynet/c$f;", - ">;" - } -.end annotation - - -# instance fields -.field protected zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzf;->(Lcom/google/android/gms/common/api/d;)V - - new-instance p1, Lcom/google/android/gms/internal/safetynet/zzt; - - invoke-direct {p1, p0}, Lcom/google/android/gms/internal/safetynet/zzt;->(Lcom/google/android/gms/internal/safetynet/zzk$zzc;)V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzc;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - return-void -.end method - - -# virtual methods -.method protected synthetic createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/i; - .locals 2 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzk$zzj; - - const/4 v1, 0x0 - - invoke-direct {v0, p1, v1}, Lcom/google/android/gms/internal/safetynet/zzk$zzj;->(Lcom/google/android/gms/common/api/Status;Z)V - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzd.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzd.smali deleted file mode 100644 index 6ea10fb30..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzd.smali +++ /dev/null @@ -1,55 +0,0 @@ -.class abstract Lcom/google/android/gms/internal/safetynet/zzk$zzd; -.super Lcom/google/android/gms/internal/safetynet/zzf; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x408 - name = "zzd" -.end annotation - -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/internal/safetynet/zzf<", - "Lcom/google/android/gms/safetynet/c$e;", - ">;" - } -.end annotation - - -# instance fields -.field protected final zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzf;->(Lcom/google/android/gms/common/api/d;)V - - new-instance p1, Lcom/google/android/gms/internal/safetynet/zzu; - - invoke-direct {p1, p0}, Lcom/google/android/gms/internal/safetynet/zzu;->(Lcom/google/android/gms/internal/safetynet/zzk$zzd;)V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzd;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - return-void -.end method - - -# virtual methods -.method protected synthetic createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/i; - .locals 2 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzk$zzg; - - const/4 v1, 0x0 - - invoke-direct {v0, p1, v1}, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzd;)V - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zze.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zze.smali deleted file mode 100644 index 1342c77c1..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zze.smali +++ /dev/null @@ -1,55 +0,0 @@ -.class abstract Lcom/google/android/gms/internal/safetynet/zzk$zze; -.super Lcom/google/android/gms/internal/safetynet/zzf; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x408 - name = "zze" -.end annotation - -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/internal/safetynet/zzf<", - "Lcom/google/android/gms/safetynet/c$b;", - ">;" - } -.end annotation - - -# instance fields -.field protected zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzf;->(Lcom/google/android/gms/common/api/d;)V - - new-instance p1, Lcom/google/android/gms/internal/safetynet/zzv; - - invoke-direct {p1, p0}, Lcom/google/android/gms/internal/safetynet/zzv;->(Lcom/google/android/gms/internal/safetynet/zzk$zze;)V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zze;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - return-void -.end method - - -# virtual methods -.method protected synthetic createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/i; - .locals 2 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzk$zzh; - - const/4 v1, 0x0 - - invoke-direct {v0, p1, v1}, Lcom/google/android/gms/internal/safetynet/zzk$zzh;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzf;)V - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzf.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzf.smali deleted file mode 100644 index 39e1db155..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzf.smali +++ /dev/null @@ -1,55 +0,0 @@ -.class abstract Lcom/google/android/gms/internal/safetynet/zzk$zzf; -.super Lcom/google/android/gms/internal/safetynet/zzf; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x408 - name = "zzf" -.end annotation - -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/internal/safetynet/zzf<", - "Lcom/google/android/gms/safetynet/c$c;", - ">;" - } -.end annotation - - -# instance fields -.field protected zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzf;->(Lcom/google/android/gms/common/api/d;)V - - new-instance p1, Lcom/google/android/gms/internal/safetynet/zzw; - - invoke-direct {p1, p0}, Lcom/google/android/gms/internal/safetynet/zzw;->(Lcom/google/android/gms/internal/safetynet/zzk$zzf;)V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzf;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - return-void -.end method - - -# virtual methods -.method protected synthetic createFailedResult(Lcom/google/android/gms/common/api/Status;)Lcom/google/android/gms/common/api/i; - .locals 2 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzk$zzi; - - const/4 v1, 0x0 - - invoke-direct {v0, p1, v1}, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/SafeBrowsingData;)V - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzg.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzg.smali deleted file mode 100644 index 7ae5862c6..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzg.smali +++ /dev/null @@ -1,111 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzk$zzg; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/safetynet/c$e; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x8 - name = "zzg" -.end annotation - - -# instance fields -.field private final zzad:Lcom/google/android/gms/common/api/Status; - -.field private final zzal:Lcom/google/android/gms/safetynet/zzd; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzd;)V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->zzad:Lcom/google/android/gms/common/api/Status; - - iput-object p2, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->zzal:Lcom/google/android/gms/safetynet/zzd; - - return-void -.end method - - -# virtual methods -.method public final getHarmfulAppsList()Ljava/util/List; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "()", - "Ljava/util/List<", - "Lcom/google/android/gms/safetynet/HarmfulAppsData;", - ">;" - } - .end annotation - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->zzal:Lcom/google/android/gms/safetynet/zzd; - - if-nez v0, :cond_0 - - invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List; - - move-result-object v0 - - return-object v0 - - :cond_0 - iget-object v0, v0, Lcom/google/android/gms/safetynet/zzd;->b:[Lcom/google/android/gms/safetynet/HarmfulAppsData; - - invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List; - - move-result-object v0 - - return-object v0 -.end method - -.method public final getHoursSinceLastScanWithHarmfulApp()I - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->zzal:Lcom/google/android/gms/safetynet/zzd; - - if-nez v0, :cond_0 - - const/4 v0, -0x1 - - return v0 - - :cond_0 - iget v0, v0, Lcom/google/android/gms/safetynet/zzd;->c:I - - return v0 -.end method - -.method public final getLastScanTimeMs()J - .locals 2 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->zzal:Lcom/google/android/gms/safetynet/zzd; - - if-nez v0, :cond_0 - - const-wide/16 v0, 0x0 - - return-wide v0 - - :cond_0 - iget-wide v0, v0, Lcom/google/android/gms/safetynet/zzd;->a:J - - return-wide v0 -.end method - -.method public final getStatus()Lcom/google/android/gms/common/api/Status; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->zzad:Lcom/google/android/gms/common/api/Status; - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzh.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzh.smali deleted file mode 100644 index c99dc3280..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzh.smali +++ /dev/null @@ -1,65 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzk$zzh; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/safetynet/c$b; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x8 - name = "zzh" -.end annotation - - -# instance fields -.field private final zzad:Lcom/google/android/gms/common/api/Status; - -.field private final zzam:Lcom/google/android/gms/safetynet/zzf; - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzf;)V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzh;->zzad:Lcom/google/android/gms/common/api/Status; - - iput-object p2, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzh;->zzam:Lcom/google/android/gms/safetynet/zzf; - - return-void -.end method - - -# virtual methods -.method public final getStatus()Lcom/google/android/gms/common/api/Status; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzh;->zzad:Lcom/google/android/gms/common/api/Status; - - return-object v0 -.end method - -.method public final getTokenResult()Ljava/lang/String; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzh;->zzam:Lcom/google/android/gms/safetynet/zzf; - - if-nez v0, :cond_0 - - const/4 v0, 0x0 - - return-object v0 - - :cond_0 - invoke-virtual {v0}, Lcom/google/android/gms/safetynet/zzf;->a()Ljava/lang/String; - - move-result-object v0 - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzi.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzi.smali deleted file mode 100644 index d8e7cdef9..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzi.smali +++ /dev/null @@ -1,204 +0,0 @@ -.class public final Lcom/google/android/gms/internal/safetynet/zzk$zzi; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/safetynet/c$c; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x9 - name = "zzi" -.end annotation - - -# instance fields -.field private zzad:Lcom/google/android/gms/common/api/Status; - -.field private final zzan:Lcom/google/android/gms/safetynet/SafeBrowsingData; - -.field private zzm:Ljava/lang/String; - -.field private zzp:J - -.field private zzq:[B - - -# direct methods -.method public constructor (Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/SafeBrowsingData;)V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzad:Lcom/google/android/gms/common/api/Status; - - iput-object p2, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzan:Lcom/google/android/gms/safetynet/SafeBrowsingData; - - const/4 p1, 0x0 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzm:Ljava/lang/String; - - iget-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzan:Lcom/google/android/gms/safetynet/SafeBrowsingData; - - if-eqz p1, :cond_0 - - invoke-virtual {p1}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->d()Ljava/lang/String; - - move-result-object p1 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzm:Ljava/lang/String; - - iget-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzan:Lcom/google/android/gms/safetynet/SafeBrowsingData; - - invoke-virtual {p1}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->c()J - - move-result-wide p1 - - iput-wide p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzp:J - - iget-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzan:Lcom/google/android/gms/safetynet/SafeBrowsingData; - - invoke-virtual {p1}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->e()[B - - move-result-object p1 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzq:[B - - return-void - - :cond_0 - iget-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzad:Lcom/google/android/gms/common/api/Status; - - invoke-virtual {p1}, Lcom/google/android/gms/common/api/Status;->f()Z - - move-result p1 - - if-eqz p1, :cond_1 - - new-instance p1, Lcom/google/android/gms/common/api/Status; - - const/16 p2, 0x8 - - invoke-direct {p1, p2}, Lcom/google/android/gms/common/api/Status;->(I)V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzad:Lcom/google/android/gms/common/api/Status; - - :cond_1 - return-void -.end method - - -# virtual methods -.method public final getDetectedThreats()Ljava/util/List; - .locals 5 - .annotation system Ldalvik/annotation/Signature; - value = { - "()", - "Ljava/util/List<", - "Lcom/google/android/gms/safetynet/a;", - ">;" - } - .end annotation - - new-instance v0, Ljava/util/ArrayList; - - invoke-direct {v0}, Ljava/util/ArrayList;->()V - - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzm:Ljava/lang/String; - - if-nez v1, :cond_0 - - return-object v0 - - :cond_0 - :try_start_0 - new-instance v2, Lorg/json/JSONObject; - - invoke-direct {v2, v1}, Lorg/json/JSONObject;->(Ljava/lang/String;)V - - const-string v1, "matches" - - invoke-virtual {v2, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; - - move-result-object v1 - :try_end_0 - .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1 - - const/4 v2, 0x0 - - :goto_0 - invoke-virtual {v1}, Lorg/json/JSONArray;->length()I - - move-result v3 - - if-ge v2, v3, :cond_1 - - :try_start_1 - invoke-virtual {v1, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; - - move-result-object v3 - - const-string v4, "threat_type" - - invoke-virtual {v3, v4}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; - - move-result-object v3 - - invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I - - move-result v3 - - new-instance v4, Lcom/google/android/gms/safetynet/a; - - invoke-direct {v4, v3}, Lcom/google/android/gms/safetynet/a;->(I)V - - invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z - :try_end_1 - .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0 - .catch Ljava/lang/NumberFormatException; {:try_start_1 .. :try_end_1} :catch_0 - - :catch_0 - add-int/lit8 v2, v2, 0x1 - - goto :goto_0 - - :catch_1 - :cond_1 - return-object v0 -.end method - -.method public final getLastUpdateTimeMs()J - .locals 2 - - iget-wide v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzp:J - - return-wide v0 -.end method - -.method public final getMetadata()Ljava/lang/String; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzm:Ljava/lang/String; - - return-object v0 -.end method - -.method public final getState()[B - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzq:[B - - return-object v0 -.end method - -.method public final getStatus()Lcom/google/android/gms/common/api/Status; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->zzad:Lcom/google/android/gms/common/api/Status; - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzj.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzj.smali deleted file mode 100644 index 90e4b8b03..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk$zzj.smali +++ /dev/null @@ -1,77 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzk$zzj; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/safetynet/c$f; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/internal/safetynet/zzk; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x8 - name = "zzj" -.end annotation - - -# instance fields -.field private zzad:Lcom/google/android/gms/common/api/Status; - -.field private zzao:Z - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - -.method public constructor (Lcom/google/android/gms/common/api/Status;Z)V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzj;->zzad:Lcom/google/android/gms/common/api/Status; - - iput-boolean p2, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzj;->zzao:Z - - return-void -.end method - - -# virtual methods -.method public final getStatus()Lcom/google/android/gms/common/api/Status; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzj;->zzad:Lcom/google/android/gms/common/api/Status; - - return-object v0 -.end method - -.method public final isVerifyAppsEnabled()Z - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzj;->zzad:Lcom/google/android/gms/common/api/Status; - - if-eqz v0, :cond_0 - - invoke-virtual {v0}, Lcom/google/android/gms/common/api/Status;->f()Z - - move-result v0 - - if-eqz v0, :cond_0 - - iget-boolean v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzj;->zzao:Z - - return v0 - - :cond_0 - const/4 v0, 0x0 - - return v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzk.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzk.smali deleted file mode 100644 index 41a659727..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzk.smali +++ /dev/null @@ -1,444 +0,0 @@ -.class public Lcom/google/android/gms/internal/safetynet/zzk; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/safetynet/c; - - -# annotations -.annotation system Ldalvik/annotation/MemberClasses; - value = { - Lcom/google/android/gms/internal/safetynet/zzk$zzh;, - Lcom/google/android/gms/internal/safetynet/zzk$zze;, - Lcom/google/android/gms/internal/safetynet/zzk$zzd;, - Lcom/google/android/gms/internal/safetynet/zzk$zzg;, - Lcom/google/android/gms/internal/safetynet/zzk$zzc;, - Lcom/google/android/gms/internal/safetynet/zzk$zzj;, - Lcom/google/android/gms/internal/safetynet/zzk$zzi;, - Lcom/google/android/gms/internal/safetynet/zzk$zzf;, - Lcom/google/android/gms/internal/safetynet/zzk$zza;, - Lcom/google/android/gms/internal/safetynet/zzk$zzb; - } -.end annotation - - -# static fields -.field private static final TAG:Ljava/lang/String; = "zzk" - - -# direct methods -.method static constructor ()V - .locals 0 - - return-void -.end method - -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - -.method public static varargs zza(Lcom/google/android/gms/common/api/d;Ljava/lang/String;ILjava/lang/String;[I)Lcom/google/android/gms/common/api/e; - .locals 7 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - "Ljava/lang/String;", - "I", - "Ljava/lang/String;", - "[I)", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$c;", - ">;" - } - .end annotation - - array-length v0, p4 - - if-eqz v0, :cond_1 - - invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z - - move-result v0 - - if-nez v0, :cond_0 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzn; - - move-object v1, v0 - - move-object v2, p0 - - move-object v3, p4 - - move v4, p2 - - move-object v5, p1 - - move-object v6, p3 - - invoke-direct/range {v1 .. v6}, Lcom/google/android/gms/internal/safetynet/zzn;->(Lcom/google/android/gms/common/api/d;[IILjava/lang/String;Ljava/lang/String;)V - - invoke-virtual {p0, v0}, Lcom/google/android/gms/common/api/d;->a(Lcom/google/android/gms/common/api/internal/c;)Lcom/google/android/gms/common/api/internal/c; - - move-result-object p0 - - return-object p0 - - :cond_0 - new-instance p0, Ljava/lang/IllegalArgumentException; - - const-string p1, "Null or empty uri in lookupUri" - - invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V - - throw p0 - - :cond_1 - new-instance p0, Ljava/lang/IllegalArgumentException; - - const-string p1, "Null threatTypes in lookupUri" - - invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V - - throw p0 -.end method - -.method public static zza(Lcom/google/android/gms/common/api/d;[BLjava/lang/String;)Lcom/google/android/gms/common/api/e; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - "[B", - "Ljava/lang/String;", - ")", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$d;", - ">;" - } - .end annotation - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzl; - - invoke-direct {v0, p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzl;->(Lcom/google/android/gms/common/api/d;[BLjava/lang/String;)V - - invoke-virtual {p0, v0}, Lcom/google/android/gms/common/api/d;->a(Lcom/google/android/gms/common/api/internal/c;)Lcom/google/android/gms/common/api/internal/c; - - move-result-object p0 - - return-object p0 -.end method - - -# virtual methods -.method public attest(Lcom/google/android/gms/common/api/d;[B)Lcom/google/android/gms/common/api/e; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - "[B)", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$d;", - ">;" - } - .end annotation - - const/4 v0, 0x0 - - invoke-static {p1, p2, v0}, Lcom/google/android/gms/internal/safetynet/zzk;->zza(Lcom/google/android/gms/common/api/d;[BLjava/lang/String;)Lcom/google/android/gms/common/api/e; - - move-result-object p1 - - return-object p1 -.end method - -.method public enableVerifyApps(Lcom/google/android/gms/common/api/d;)Lcom/google/android/gms/common/api/e; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - ")", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$f;", - ">;" - } - .end annotation - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzp; - - invoke-direct {v0, p0, p1}, Lcom/google/android/gms/internal/safetynet/zzp;->(Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;)V - - invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/d;->a(Lcom/google/android/gms/common/api/internal/c;)Lcom/google/android/gms/common/api/internal/c; - - move-result-object p1 - - return-object p1 -.end method - -.method public isVerifyAppsEnabled(Lcom/google/android/gms/common/api/d;)Lcom/google/android/gms/common/api/e; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - ")", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$f;", - ">;" - } - .end annotation - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzo; - - invoke-direct {v0, p0, p1}, Lcom/google/android/gms/internal/safetynet/zzo;->(Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;)V - - invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/d;->a(Lcom/google/android/gms/common/api/internal/c;)Lcom/google/android/gms/common/api/internal/c; - - move-result-object p1 - - return-object p1 -.end method - -.method public isVerifyAppsEnabled(Landroid/content/Context;)Z - .locals 5 - - new-instance v0, Lcom/google/android/gms/common/api/d$a; - - invoke-direct {v0, p1}, Lcom/google/android/gms/common/api/d$a;->(Landroid/content/Context;)V - - sget-object p1, Lcom/google/android/gms/safetynet/b;->c:Lcom/google/android/gms/common/api/a; - - invoke-virtual {v0, p1}, Lcom/google/android/gms/common/api/d$a;->a(Lcom/google/android/gms/common/api/a;)Lcom/google/android/gms/common/api/d$a; - - invoke-virtual {v0}, Lcom/google/android/gms/common/api/d$a;->a()Lcom/google/android/gms/common/api/d; - - move-result-object p1 - - :try_start_0 - sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; - - const-wide/16 v1, 0x3 - - invoke-virtual {p1, v1, v2, v0}, Lcom/google/android/gms/common/api/d;->a(JLjava/util/concurrent/TimeUnit;)Lcom/google/android/gms/common/ConnectionResult; - - move-result-object v0 - - invoke-virtual {v0}, Lcom/google/android/gms/common/ConnectionResult;->e()Z - - move-result v0 - - const/4 v3, 0x0 - - if-eqz v0, :cond_2 - - invoke-virtual {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzk;->isVerifyAppsEnabled(Lcom/google/android/gms/common/api/d;)Lcom/google/android/gms/common/api/e; - - move-result-object v0 - - sget-object v4, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; - - invoke-virtual {v0, v1, v2, v4}, Lcom/google/android/gms/common/api/e;->await(JLjava/util/concurrent/TimeUnit;)Lcom/google/android/gms/common/api/i; - - move-result-object v0 - - check-cast v0, Lcom/google/android/gms/safetynet/c$f; - - if-eqz v0, :cond_0 - - invoke-interface {v0}, Lcom/google/android/gms/safetynet/c$f;->isVerifyAppsEnabled()Z - - move-result v0 - :try_end_0 - .catchall {:try_start_0 .. :try_end_0} :catchall_0 - - if-eqz v0, :cond_0 - - const/4 v3, 0x1 - - :cond_0 - if-eqz p1, :cond_1 - - invoke-virtual {p1}, Lcom/google/android/gms/common/api/d;->d()V - - :cond_1 - return v3 - - :cond_2 - if-eqz p1, :cond_3 - - invoke-virtual {p1}, Lcom/google/android/gms/common/api/d;->d()V - - :cond_3 - return v3 - - :catchall_0 - move-exception v0 - - if-eqz p1, :cond_4 - - invoke-virtual {p1}, Lcom/google/android/gms/common/api/d;->d()V - - :cond_4 - throw v0 -.end method - -.method public listHarmfulApps(Lcom/google/android/gms/common/api/d;)Lcom/google/android/gms/common/api/e; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - ")", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$e;", - ">;" - } - .end annotation - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzq; - - invoke-direct {v0, p0, p1}, Lcom/google/android/gms/internal/safetynet/zzq;->(Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;)V - - invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/d;->a(Lcom/google/android/gms/common/api/internal/c;)Lcom/google/android/gms/common/api/internal/c; - - move-result-object p1 - - return-object p1 -.end method - -.method public varargs lookupUri(Lcom/google/android/gms/common/api/d;Ljava/lang/String;Ljava/lang/String;[I)Lcom/google/android/gms/common/api/e; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - "Ljava/lang/String;", - "Ljava/lang/String;", - "[I)", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$c;", - ">;" - } - .end annotation - - const/4 v0, 0x1 - - invoke-static {p1, p2, v0, p3, p4}, Lcom/google/android/gms/internal/safetynet/zzk;->zza(Lcom/google/android/gms/common/api/d;Ljava/lang/String;ILjava/lang/String;[I)Lcom/google/android/gms/common/api/e; - - move-result-object p1 - - return-object p1 -.end method - -.method public lookupUri(Lcom/google/android/gms/common/api/d;Ljava/util/List;Ljava/lang/String;)Lcom/google/android/gms/common/api/e; - .locals 7 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - "Ljava/util/List<", - "Ljava/lang/Integer;", - ">;", - "Ljava/lang/String;", - ")", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$c;", - ">;" - } - .end annotation - - if-eqz p2, :cond_1 - - invoke-static {p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z - - move-result v0 - - if-nez v0, :cond_0 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzm; - - const/4 v6, 0x0 - - move-object v1, v0 - - move-object v2, p0 - - move-object v3, p1 - - move-object v4, p2 - - move-object v5, p3 - - invoke-direct/range {v1 .. v6}, Lcom/google/android/gms/internal/safetynet/zzm;->(Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V - - invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/d;->a(Lcom/google/android/gms/common/api/internal/c;)Lcom/google/android/gms/common/api/internal/c; - - move-result-object p1 - - return-object p1 - - :cond_0 - new-instance p1, Ljava/lang/IllegalArgumentException; - - const-string p2, "Null or empty uri in lookupUri" - - invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V - - throw p1 - - :cond_1 - new-instance p1, Ljava/lang/IllegalArgumentException; - - const-string p2, "Null threatTypes in lookupUri" - - invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V - - throw p1 -.end method - -.method public verifyWithRecaptcha(Lcom/google/android/gms/common/api/d;Ljava/lang/String;)Lcom/google/android/gms/common/api/e; - .locals 1 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - "Ljava/lang/String;", - ")", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$b;", - ">;" - } - .end annotation - - invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z - - move-result v0 - - if-nez v0, :cond_0 - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzr; - - invoke-direct {v0, p0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzr;->(Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;Ljava/lang/String;)V - - invoke-virtual {p1, v0}, Lcom/google/android/gms/common/api/d;->a(Lcom/google/android/gms/common/api/internal/c;)Lcom/google/android/gms/common/api/internal/c; - - move-result-object p1 - - return-object p1 - - :cond_0 - new-instance p1, Ljava/lang/IllegalArgumentException; - - const-string p2, "Null or empty site key in verifyWithRecaptcha" - - invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V - - throw p1 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzl.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzl.smali deleted file mode 100644 index 584c7501f..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzl.smali +++ /dev/null @@ -1,64 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzl; -.super Lcom/google/android/gms/internal/safetynet/zzk$zzb; - - -# instance fields -.field private final synthetic zzw:[B - -.field private final synthetic zzx:Ljava/lang/String; - - -# direct methods -.method constructor (Lcom/google/android/gms/common/api/d;[BLjava/lang/String;)V - .locals 0 - - iput-object p2, p0, Lcom/google/android/gms/internal/safetynet/zzl;->zzw:[B - - iput-object p3, p0, Lcom/google/android/gms/internal/safetynet/zzl;->zzx:Ljava/lang/String; - - invoke-direct {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzk$zzb;->(Lcom/google/android/gms/common/api/d;)V - - return-void -.end method - - -# virtual methods -.method protected final synthetic doExecute(Lcom/google/android/gms/common/api/a$b;)V - .locals 4 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzx; - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzb;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zzl;->zzw:[B - - iget-object v2, p0, Lcom/google/android/gms/internal/safetynet/zzl;->zzx:Ljava/lang/String; - - invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z - - move-result v3 - - if-eqz v3, :cond_0 - - const-string v2, "com.google.android.safetynet.ATTEST_API_KEY" - - invoke-virtual {p1, v2}, Lcom/google/android/gms/internal/safetynet/zzx;->zzb(Ljava/lang/String;)Ljava/lang/String; - - move-result-object v2 - - :cond_0 - invoke-virtual {p1}, Lcom/google/android/gms/common/internal/d;->getService()Landroid/os/IInterface; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzi; - - invoke-interface {p1, v0, v1, v2}, Lcom/google/android/gms/internal/safetynet/zzi;->zza(Lcom/google/android/gms/internal/safetynet/zzg;[BLjava/lang/String;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzm.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzm.smali deleted file mode 100644 index 2c35aab45..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzm.smali +++ /dev/null @@ -1,57 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzm; -.super Lcom/google/android/gms/internal/safetynet/zzk$zzf; - - -# instance fields -.field private final synthetic zzx:Ljava/lang/String; - -.field private final synthetic zzy:Ljava/util/List; - -.field private final synthetic zzz:Ljava/lang/String; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V - .locals 0 - - iput-object p3, p0, Lcom/google/android/gms/internal/safetynet/zzm;->zzy:Ljava/util/List; - - iput-object p4, p0, Lcom/google/android/gms/internal/safetynet/zzm;->zzz:Ljava/lang/String; - - const/4 p1, 0x0 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzm;->zzx:Ljava/lang/String; - - invoke-direct {p0, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzf;->(Lcom/google/android/gms/common/api/d;)V - - return-void -.end method - - -# virtual methods -.method protected final synthetic doExecute(Lcom/google/android/gms/common/api/a$b;)V - .locals 6 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - move-object v0, p1 - - check-cast v0, Lcom/google/android/gms/internal/safetynet/zzx; - - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzf;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - iget-object v2, p0, Lcom/google/android/gms/internal/safetynet/zzm;->zzy:Ljava/util/List; - - iget-object v4, p0, Lcom/google/android/gms/internal/safetynet/zzm;->zzz:Ljava/lang/String; - - iget-object v5, p0, Lcom/google/android/gms/internal/safetynet/zzm;->zzx:Ljava/lang/String; - - const/4 v3, 0x1 - - invoke-virtual/range {v0 .. v5}, Lcom/google/android/gms/internal/safetynet/zzx;->zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/util/List;ILjava/lang/String;Ljava/lang/String;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzn.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzn.smali deleted file mode 100644 index a64bce525..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzn.smali +++ /dev/null @@ -1,83 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzn; -.super Lcom/google/android/gms/internal/safetynet/zzk$zzf; - - -# instance fields -.field private final synthetic zzaa:[I - -.field private final synthetic zzab:I - -.field private final synthetic zzx:Ljava/lang/String; - -.field private final synthetic zzz:Ljava/lang/String; - - -# direct methods -.method constructor (Lcom/google/android/gms/common/api/d;[IILjava/lang/String;Ljava/lang/String;)V - .locals 0 - - iput-object p2, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzaa:[I - - iput p3, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzab:I - - iput-object p4, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzz:Ljava/lang/String; - - iput-object p5, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzx:Ljava/lang/String; - - invoke-direct {p0, p1}, Lcom/google/android/gms/internal/safetynet/zzk$zzf;->(Lcom/google/android/gms/common/api/d;)V - - return-void -.end method - - -# virtual methods -.method protected final synthetic doExecute(Lcom/google/android/gms/common/api/a$b;)V - .locals 6 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - move-object v0, p1 - - check-cast v0, Lcom/google/android/gms/internal/safetynet/zzx; - - new-instance v2, Ljava/util/ArrayList; - - invoke-direct {v2}, Ljava/util/ArrayList;->()V - - iget-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzaa:[I - - array-length v1, p1 - - const/4 v3, 0x0 - - :goto_0 - if-ge v3, v1, :cond_0 - - aget v4, p1, v3 - - invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; - - move-result-object v4 - - invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z - - add-int/lit8 v3, v3, 0x1 - - goto :goto_0 - - :cond_0 - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzf;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - iget v3, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzab:I - - iget-object v4, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzz:Ljava/lang/String; - - iget-object v5, p0, Lcom/google/android/gms/internal/safetynet/zzn;->zzx:Ljava/lang/String; - - invoke-virtual/range {v0 .. v5}, Lcom/google/android/gms/internal/safetynet/zzx;->zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/util/List;ILjava/lang/String;Ljava/lang/String;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzo.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzo.smali deleted file mode 100644 index 80417fe21..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzo.smali +++ /dev/null @@ -1,37 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzo; -.super Lcom/google/android/gms/internal/safetynet/zzk$zzc; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzc;->(Lcom/google/android/gms/common/api/d;)V - - return-void -.end method - - -# virtual methods -.method protected final synthetic doExecute(Lcom/google/android/gms/common/api/a$b;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzx; - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzc;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - invoke-virtual {p1}, Lcom/google/android/gms/common/internal/d;->getService()Landroid/os/IInterface; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzi; - - invoke-interface {p1, v0}, Lcom/google/android/gms/internal/safetynet/zzi;->zzb(Lcom/google/android/gms/internal/safetynet/zzg;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzp.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzp.smali deleted file mode 100644 index 75d24dda3..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzp.smali +++ /dev/null @@ -1,37 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzp; -.super Lcom/google/android/gms/internal/safetynet/zzk$zzc; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzc;->(Lcom/google/android/gms/common/api/d;)V - - return-void -.end method - - -# virtual methods -.method protected final synthetic doExecute(Lcom/google/android/gms/common/api/a$b;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzx; - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzc;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - invoke-virtual {p1}, Lcom/google/android/gms/common/internal/d;->getService()Landroid/os/IInterface; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzi; - - invoke-interface {p1, v0}, Lcom/google/android/gms/internal/safetynet/zzi;->zzc(Lcom/google/android/gms/internal/safetynet/zzg;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzq.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzq.smali deleted file mode 100644 index 71cd2e68f..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzq.smali +++ /dev/null @@ -1,37 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzq; -.super Lcom/google/android/gms/internal/safetynet/zzk$zzd; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;)V - .locals 0 - - invoke-direct {p0, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzd;->(Lcom/google/android/gms/common/api/d;)V - - return-void -.end method - - -# virtual methods -.method protected final synthetic doExecute(Lcom/google/android/gms/common/api/a$b;)V - .locals 1 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzx; - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zzd;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - invoke-virtual {p1}, Lcom/google/android/gms/common/internal/d;->getService()Landroid/os/IInterface; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzi; - - invoke-interface {p1, v0}, Lcom/google/android/gms/internal/safetynet/zzi;->zzd(Lcom/google/android/gms/internal/safetynet/zzg;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzr.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzr.smali deleted file mode 100644 index 962266e20..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzr.smali +++ /dev/null @@ -1,45 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzr; -.super Lcom/google/android/gms/internal/safetynet/zzk$zze; - - -# instance fields -.field private final synthetic zzac:Ljava/lang/String; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk;Lcom/google/android/gms/common/api/d;Ljava/lang/String;)V - .locals 0 - - iput-object p3, p0, Lcom/google/android/gms/internal/safetynet/zzr;->zzac:Ljava/lang/String; - - invoke-direct {p0, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zze;->(Lcom/google/android/gms/common/api/d;)V - - return-void -.end method - - -# virtual methods -.method protected final synthetic doExecute(Lcom/google/android/gms/common/api/a$b;)V - .locals 2 - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzx; - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzk$zze;->zzaf:Lcom/google/android/gms/internal/safetynet/zzg; - - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zzr;->zzac:Ljava/lang/String; - - invoke-virtual {p1}, Lcom/google/android/gms/common/internal/d;->getService()Landroid/os/IInterface; - - move-result-object p1 - - check-cast p1, Lcom/google/android/gms/internal/safetynet/zzi; - - invoke-interface {p1, v0, v1}, Lcom/google/android/gms/internal/safetynet/zzi;->zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/lang/String;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzs.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzs.smali deleted file mode 100644 index f70b929c4..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzs.smali +++ /dev/null @@ -1,34 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzs; -.super Lcom/google/android/gms/internal/safetynet/zze; - - -# instance fields -.field private final synthetic zzag:Lcom/google/android/gms/internal/safetynet/zzk$zzb; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk$zzb;)V - .locals 0 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzs;->zzag:Lcom/google/android/gms/internal/safetynet/zzk$zzb; - - invoke-direct {p0}, Lcom/google/android/gms/internal/safetynet/zze;->()V - - return-void -.end method - - -# virtual methods -.method public final zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zza;)V - .locals 2 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzs;->zzag:Lcom/google/android/gms/internal/safetynet/zzk$zzb; - - new-instance v1, Lcom/google/android/gms/internal/safetynet/zzk$zza; - - invoke-direct {v1, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zza;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zza;)V - - invoke-virtual {v0, v1}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->setResult(Lcom/google/android/gms/common/api/i;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzt.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzt.smali deleted file mode 100644 index d76579535..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzt.smali +++ /dev/null @@ -1,34 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzt; -.super Lcom/google/android/gms/internal/safetynet/zze; - - -# instance fields -.field private final synthetic zzah:Lcom/google/android/gms/internal/safetynet/zzk$zzc; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk$zzc;)V - .locals 0 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzt;->zzah:Lcom/google/android/gms/internal/safetynet/zzk$zzc; - - invoke-direct {p0}, Lcom/google/android/gms/internal/safetynet/zze;->()V - - return-void -.end method - - -# virtual methods -.method public final zza(Lcom/google/android/gms/common/api/Status;Z)V - .locals 2 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzt;->zzah:Lcom/google/android/gms/internal/safetynet/zzk$zzc; - - new-instance v1, Lcom/google/android/gms/internal/safetynet/zzk$zzj; - - invoke-direct {v1, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzj;->(Lcom/google/android/gms/common/api/Status;Z)V - - invoke-virtual {v0, v1}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->setResult(Lcom/google/android/gms/common/api/i;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzu.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzu.smali deleted file mode 100644 index 2d92fc762..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzu.smali +++ /dev/null @@ -1,34 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzu; -.super Lcom/google/android/gms/internal/safetynet/zze; - - -# instance fields -.field private final synthetic zzai:Lcom/google/android/gms/internal/safetynet/zzk$zzd; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk$zzd;)V - .locals 0 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzu;->zzai:Lcom/google/android/gms/internal/safetynet/zzk$zzd; - - invoke-direct {p0}, Lcom/google/android/gms/internal/safetynet/zze;->()V - - return-void -.end method - - -# virtual methods -.method public final zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzd;)V - .locals 2 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzu;->zzai:Lcom/google/android/gms/internal/safetynet/zzk$zzd; - - new-instance v1, Lcom/google/android/gms/internal/safetynet/zzk$zzg; - - invoke-direct {v1, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzg;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzd;)V - - invoke-virtual {v0, v1}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->setResult(Lcom/google/android/gms/common/api/i;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzv.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzv.smali deleted file mode 100644 index 33a6aec95..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzv.smali +++ /dev/null @@ -1,34 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzv; -.super Lcom/google/android/gms/internal/safetynet/zze; - - -# instance fields -.field private final synthetic zzaj:Lcom/google/android/gms/internal/safetynet/zzk$zze; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk$zze;)V - .locals 0 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzv;->zzaj:Lcom/google/android/gms/internal/safetynet/zzk$zze; - - invoke-direct {p0}, Lcom/google/android/gms/internal/safetynet/zze;->()V - - return-void -.end method - - -# virtual methods -.method public final zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzf;)V - .locals 2 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzv;->zzaj:Lcom/google/android/gms/internal/safetynet/zzk$zze; - - new-instance v1, Lcom/google/android/gms/internal/safetynet/zzk$zzh; - - invoke-direct {v1, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzh;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/zzf;)V - - invoke-virtual {v0, v1}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->setResult(Lcom/google/android/gms/common/api/i;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzw.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzw.smali deleted file mode 100644 index ab681378c..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzw.smali +++ /dev/null @@ -1,34 +0,0 @@ -.class final Lcom/google/android/gms/internal/safetynet/zzw; -.super Lcom/google/android/gms/internal/safetynet/zze; - - -# instance fields -.field private final synthetic zzak:Lcom/google/android/gms/internal/safetynet/zzk$zzf; - - -# direct methods -.method constructor (Lcom/google/android/gms/internal/safetynet/zzk$zzf;)V - .locals 0 - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzw;->zzak:Lcom/google/android/gms/internal/safetynet/zzk$zzf; - - invoke-direct {p0}, Lcom/google/android/gms/internal/safetynet/zze;->()V - - return-void -.end method - - -# virtual methods -.method public final zza(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/SafeBrowsingData;)V - .locals 2 - - iget-object v0, p0, Lcom/google/android/gms/internal/safetynet/zzw;->zzak:Lcom/google/android/gms/internal/safetynet/zzk$zzf; - - new-instance v1, Lcom/google/android/gms/internal/safetynet/zzk$zzi; - - invoke-direct {v1, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzk$zzi;->(Lcom/google/android/gms/common/api/Status;Lcom/google/android/gms/safetynet/SafeBrowsingData;)V - - invoke-virtual {v0, v1}, Lcom/google/android/gms/common/api/internal/BasePendingResult;->setResult(Lcom/google/android/gms/common/api/i;)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzx.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzx.smali deleted file mode 100644 index 79e829c8b..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzx.smali +++ /dev/null @@ -1,238 +0,0 @@ -.class public final Lcom/google/android/gms/internal/safetynet/zzx; -.super Lcom/google/android/gms/common/internal/h; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/common/internal/h<", - "Lcom/google/android/gms/internal/safetynet/zzi;", - ">;" - } -.end annotation - - -# instance fields -.field private final zzap:Landroid/content/Context; - - -# direct methods -.method public constructor (Landroid/content/Context;Landroid/os/Looper;Lcom/google/android/gms/common/internal/e;Lcom/google/android/gms/common/api/d$b;Lcom/google/android/gms/common/api/d$c;)V - .locals 7 - - const/16 v3, 0x2d - - move-object v0, p0 - - move-object v1, p1 - - move-object v2, p2 - - move-object v4, p3 - - move-object v5, p4 - - move-object v6, p5 - - invoke-direct/range {v0 .. v6}, Lcom/google/android/gms/common/internal/h;->(Landroid/content/Context;Landroid/os/Looper;ILcom/google/android/gms/common/internal/e;Lcom/google/android/gms/common/api/d$b;Lcom/google/android/gms/common/api/d$c;)V - - iput-object p1, p0, Lcom/google/android/gms/internal/safetynet/zzx;->zzap:Landroid/content/Context; - - return-void -.end method - - -# virtual methods -.method protected final synthetic createServiceInterface(Landroid/os/IBinder;)Landroid/os/IInterface; - .locals 2 - - if-nez p1, :cond_0 - - const/4 p1, 0x0 - - return-object p1 - - :cond_0 - const-string v0, "com.google.android.gms.safetynet.internal.ISafetyNetService" - - invoke-interface {p1, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface; - - move-result-object v0 - - instance-of v1, v0, Lcom/google/android/gms/internal/safetynet/zzi; - - if-eqz v1, :cond_1 - - check-cast v0, Lcom/google/android/gms/internal/safetynet/zzi; - - return-object v0 - - :cond_1 - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzj; - - invoke-direct {v0, p1}, Lcom/google/android/gms/internal/safetynet/zzj;->(Landroid/os/IBinder;)V - - return-object v0 -.end method - -.method public final getMinApkVersion()I - .locals 1 - - const v0, 0xba2840 - - return v0 -.end method - -.method protected final getServiceDescriptor()Ljava/lang/String; - .locals 1 - - const-string v0, "com.google.android.gms.safetynet.internal.ISafetyNetService" - - return-object v0 -.end method - -.method protected final getStartServiceAction()Ljava/lang/String; - .locals 1 - - const-string v0, "com.google.android.gms.safetynet.service.START" - - return-object v0 -.end method - -.method public final zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/util/List;ILjava/lang/String;Ljava/lang/String;)V - .locals 6 - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/internal/safetynet/zzg;", - "Ljava/util/List<", - "Ljava/lang/Integer;", - ">;I", - "Ljava/lang/String;", - "Ljava/lang/String;", - ")V" - } - .end annotation - - .annotation system Ldalvik/annotation/Throws; - value = { - Landroid/os/RemoteException; - } - .end annotation - - if-nez p5, :cond_0 - - const-string p5, "com.google.android.safetynet.API_KEY" - - invoke-virtual {p0, p5}, Lcom/google/android/gms/internal/safetynet/zzx;->zzb(Ljava/lang/String;)Ljava/lang/String; - - move-result-object p5 - - :cond_0 - move-object v2, p5 - - invoke-interface {p2}, Ljava/util/List;->size()I - - move-result p5 - - new-array v3, p5, [I - - const/4 p5, 0x0 - - :goto_0 - invoke-interface {p2}, Ljava/util/List;->size()I - - move-result v0 - - if-ge p5, v0, :cond_1 - - invoke-interface {p2, p5}, Ljava/util/List;->get(I)Ljava/lang/Object; - - move-result-object v0 - - check-cast v0, Ljava/lang/Integer; - - invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I - - move-result v0 - - aput v0, v3, p5 - - add-int/lit8 p5, p5, 0x1 - - goto :goto_0 - - :cond_1 - invoke-virtual {p0}, Lcom/google/android/gms/common/internal/d;->getService()Landroid/os/IInterface; - - move-result-object p2 - - move-object v0, p2 - - check-cast v0, Lcom/google/android/gms/internal/safetynet/zzi; - - move-object v1, p1 - - move v4, p3 - - move-object v5, p4 - - invoke-interface/range {v0 .. v5}, Lcom/google/android/gms/internal/safetynet/zzi;->zza(Lcom/google/android/gms/internal/safetynet/zzg;Ljava/lang/String;[IILjava/lang/String;)V - - return-void -.end method - -.method protected final zzb(Ljava/lang/String;)Ljava/lang/String; - .locals 4 - - const/4 v0, 0x0 - - :try_start_0 - iget-object v1, p0, Lcom/google/android/gms/internal/safetynet/zzx;->zzap:Landroid/content/Context; - - invoke-virtual {v1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; - - move-result-object v1 - - if-nez v1, :cond_0 - - return-object v0 - - :cond_0 - iget-object v2, p0, Lcom/google/android/gms/internal/safetynet/zzx;->zzap:Landroid/content/Context; - - invoke-virtual {v2}, Landroid/content/Context;->getPackageName()Ljava/lang/String; - - move-result-object v2 - - const/16 v3, 0x80 - - invoke-virtual {v1, v2, v3}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo; - - move-result-object v1 - - if-nez v1, :cond_1 - - return-object v0 - - :cond_1 - iget-object v1, v1, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle; - - if-nez v1, :cond_2 - - return-object v0 - - :cond_2 - invoke-virtual {v1, p1}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object; - - move-result-object p1 - - check-cast p1, Ljava/lang/String; - :try_end_0 - .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0 - - return-object p1 - - :catch_0 - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/internal/safetynet/zzy.smali b/smali/smali/com/google/android/gms/internal/safetynet/zzy.smali deleted file mode 100644 index 9670d2191..000000000 --- a/smali/smali/com/google/android/gms/internal/safetynet/zzy.smali +++ /dev/null @@ -1,12 +0,0 @@ -.class public final Lcom/google/android/gms/internal/safetynet/zzy; -.super Ljava/lang/Object; - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/HarmfulAppsData.smali b/smali/smali/com/google/android/gms/safetynet/HarmfulAppsData.smali deleted file mode 100644 index 087f8faac..000000000 --- a/smali/smali/com/google/android/gms/safetynet/HarmfulAppsData.smali +++ /dev/null @@ -1,84 +0,0 @@ -.class public Lcom/google/android/gms/safetynet/HarmfulAppsData; -.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable; - - -# static fields -.field public static final CREATOR:Landroid/os/Parcelable$Creator; - .annotation system Ldalvik/annotation/Signature; - value = { - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/HarmfulAppsData;", - ">;" - } - .end annotation -.end field - - -# instance fields -.field public final a:Ljava/lang/String; - -.field public final b:[B - -.field public final c:I - - -# direct methods -.method static constructor ()V - .locals 1 - - new-instance v0, Lcom/google/android/gms/safetynet/f; - - invoke-direct {v0}, Lcom/google/android/gms/safetynet/f;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/HarmfulAppsData;->CREATOR:Landroid/os/Parcelable$Creator; - - return-void -.end method - -.method public constructor (Ljava/lang/String;[BI)V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;->()V - - iput-object p1, p0, Lcom/google/android/gms/safetynet/HarmfulAppsData;->a:Ljava/lang/String; - - iput-object p2, p0, Lcom/google/android/gms/safetynet/HarmfulAppsData;->b:[B - - iput p3, p0, Lcom/google/android/gms/safetynet/HarmfulAppsData;->c:I - - return-void -.end method - - -# virtual methods -.method public writeToParcel(Landroid/os/Parcel;I)V - .locals 3 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;)I - - move-result p2 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/HarmfulAppsData;->a:Ljava/lang/String; - - const/4 v1, 0x0 - - const/4 v2, 0x2 - - invoke-static {p1, v2, v0, v1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;ILjava/lang/String;Z)V - - iget-object v0, p0, Lcom/google/android/gms/safetynet/HarmfulAppsData;->b:[B - - const/4 v2, 0x3 - - invoke-static {p1, v2, v0, v1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I[BZ)V - - iget v0, p0, Lcom/google/android/gms/safetynet/HarmfulAppsData;->c:I - - const/4 v1, 0x4 - - invoke-static {p1, v1, v0}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;II)V - - invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/SafeBrowsingData.smali b/smali/smali/com/google/android/gms/safetynet/SafeBrowsingData.smali deleted file mode 100644 index c00622d67..000000000 --- a/smali/smali/com/google/android/gms/safetynet/SafeBrowsingData.smali +++ /dev/null @@ -1,362 +0,0 @@ -.class public Lcom/google/android/gms/safetynet/SafeBrowsingData; -.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable; - - -# static fields -.field public static final CREATOR:Landroid/os/Parcelable$Creator; - .annotation system Ldalvik/annotation/Signature; - value = { - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/SafeBrowsingData;", - ">;" - } - .end annotation -.end field - - -# instance fields -.field private a:Ljava/lang/String; - -.field private b:Lcom/google/android/gms/common/data/DataHolder; - -.field private c:Landroid/os/ParcelFileDescriptor; - -.field private d:J - -.field private e:[B - -.field private f:[B - -.field private g:Ljava/io/File; - - -# direct methods -.method static constructor ()V - .locals 1 - - const-class v0, Lcom/google/android/gms/safetynet/SafeBrowsingData; - - new-instance v0, Lcom/google/android/gms/safetynet/j; - - invoke-direct {v0}, Lcom/google/android/gms/safetynet/j;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->CREATOR:Landroid/os/Parcelable$Creator; - - return-void -.end method - -.method public constructor ()V - .locals 7 - - const/4 v1, 0x0 - - const/4 v2, 0x0 - - const/4 v3, 0x0 - - const-wide/16 v4, 0x0 - - const/4 v6, 0x0 - - move-object v0, p0 - - invoke-direct/range {v0 .. v6}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->(Ljava/lang/String;Lcom/google/android/gms/common/data/DataHolder;Landroid/os/ParcelFileDescriptor;J[B)V - - return-void -.end method - -.method public constructor (J[B)V - .locals 7 - - const/4 v1, 0x0 - - const/4 v2, 0x0 - - const/4 v3, 0x0 - - move-object v0, p0 - - move-wide v4, p1 - - move-object v6, p3 - - invoke-direct/range {v0 .. v6}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->(Ljava/lang/String;Lcom/google/android/gms/common/data/DataHolder;Landroid/os/ParcelFileDescriptor;J[B)V - - return-void -.end method - -.method public constructor (Ljava/lang/String;)V - .locals 7 - - const/4 v2, 0x0 - - const/4 v3, 0x0 - - const-wide/16 v4, 0x0 - - const/4 v6, 0x0 - - move-object v0, p0 - - move-object v1, p1 - - invoke-direct/range {v0 .. v6}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->(Ljava/lang/String;Lcom/google/android/gms/common/data/DataHolder;Landroid/os/ParcelFileDescriptor;J[B)V - - return-void -.end method - -.method public constructor (Ljava/lang/String;Lcom/google/android/gms/common/data/DataHolder;)V - .locals 7 - - const/4 v3, 0x0 - - const-wide/16 v4, 0x0 - - const/4 v6, 0x0 - - move-object v0, p0 - - move-object v1, p1 - - move-object v2, p2 - - invoke-direct/range {v0 .. v6}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->(Ljava/lang/String;Lcom/google/android/gms/common/data/DataHolder;Landroid/os/ParcelFileDescriptor;J[B)V - - return-void -.end method - -.method public constructor (Ljava/lang/String;Lcom/google/android/gms/common/data/DataHolder;Landroid/os/ParcelFileDescriptor;J[B)V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;->()V - - iput-object p1, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->a:Ljava/lang/String; - - iput-object p2, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->b:Lcom/google/android/gms/common/data/DataHolder; - - iput-object p3, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->c:Landroid/os/ParcelFileDescriptor; - - iput-wide p4, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->d:J - - iput-object p6, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->e:[B - - return-void -.end method - -.method private static a(Ljava/io/Closeable;)V - .locals 0 - - :try_start_0 - invoke-interface {p0}, Ljava/io/Closeable;->close()V - :try_end_0 - .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 - - :catch_0 - return-void -.end method - -.method private final zza()Ljava/io/FileOutputStream; - .locals 5 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->g:Ljava/io/File; - - const/4 v1, 0x0 - - if-nez v0, :cond_0 - - return-object v1 - - :cond_0 - :try_start_0 - const-string v2, "xlb" - - const-string v3, ".tmp" - - invoke-static {v2, v3, v0}, Ljava/io/File;->createTempFile(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File; - - move-result-object v0 - :try_end_0 - .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1 - .catchall {:try_start_0 .. :try_end_0} :catchall_1 - - :try_start_1 - new-instance v2, Ljava/io/FileOutputStream; - - invoke-direct {v2, v0}, Ljava/io/FileOutputStream;->(Ljava/io/File;)V - - const/high16 v3, 0x10000000 - - invoke-static {v0, v3}, Landroid/os/ParcelFileDescriptor;->open(Ljava/io/File;I)Landroid/os/ParcelFileDescriptor; - - move-result-object v3 - - iput-object v3, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->c:Landroid/os/ParcelFileDescriptor; - :try_end_1 - .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 - .catchall {:try_start_1 .. :try_end_1} :catchall_0 - - if-eqz v0, :cond_1 - - invoke-virtual {v0}, Ljava/io/File;->delete()Z - - :cond_1 - return-object v2 - - :catchall_0 - move-exception v1 - - goto :goto_0 - - :catch_0 - nop - - goto :goto_1 - - :catchall_1 - move-exception v0 - - move-object v4, v1 - - move-object v1, v0 - - move-object v0, v4 - - :goto_0 - if-eqz v0, :cond_2 - - invoke-virtual {v0}, Ljava/io/File;->delete()Z - - :cond_2 - throw v1 - - :catch_1 - move-object v0, v1 - - :goto_1 - if-eqz v0, :cond_3 - - invoke-virtual {v0}, Ljava/io/File;->delete()Z - - :cond_3 - return-object v1 -.end method - - -# virtual methods -.method public a()Lcom/google/android/gms/common/data/DataHolder; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->b:Lcom/google/android/gms/common/data/DataHolder; - - return-object v0 -.end method - -.method public b()Landroid/os/ParcelFileDescriptor; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->c:Landroid/os/ParcelFileDescriptor; - - return-object v0 -.end method - -.method public c()J - .locals 2 - - iget-wide v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->d:J - - return-wide v0 -.end method - -.method public d()Ljava/lang/String; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->a:Ljava/lang/String; - - return-object v0 -.end method - -.method public e()[B - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->e:[B - - return-object v0 -.end method - -.method public writeToParcel(Landroid/os/Parcel;I)V - .locals 3 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->c:Landroid/os/ParcelFileDescriptor; - - const/4 v1, 0x1 - - if-nez v0, :cond_0 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->f:[B - - if-eqz v0, :cond_0 - - invoke-direct {p0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->zza()Ljava/io/FileOutputStream; - - move-result-object v0 - - if-eqz v0, :cond_0 - - new-instance v2, Ljava/io/BufferedOutputStream; - - invoke-direct {v2, v0}, Ljava/io/BufferedOutputStream;->(Ljava/io/OutputStream;)V - - new-instance v0, Ljava/io/DataOutputStream; - - invoke-direct {v0, v2}, Ljava/io/DataOutputStream;->(Ljava/io/OutputStream;)V - - :try_start_0 - iget-object v2, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->f:[B - - array-length v2, v2 - - invoke-virtual {v0, v2}, Ljava/io/DataOutputStream;->writeInt(I)V - - iget-object v2, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->f:[B - - invoke-virtual {v0, v2}, Ljava/io/DataOutputStream;->write([B)V - :try_end_0 - .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 - .catchall {:try_start_0 .. :try_end_0} :catchall_0 - - invoke-static {v0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->a(Ljava/io/Closeable;)V - - const/4 v0, 0x1 - - goto :goto_0 - - :catchall_0 - move-exception p1 - - invoke-static {v0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->a(Ljava/io/Closeable;)V - - throw p1 - - :catch_0 - invoke-static {v0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->a(Ljava/io/Closeable;)V - - :cond_0 - const/4 v0, 0x0 - - :goto_0 - if-nez v0, :cond_1 - - goto :goto_1 - - :cond_1 - or-int/2addr p2, v1 - - :goto_1 - invoke-static {p0, p1, p2}, Lcom/google/android/gms/safetynet/j;->a(Lcom/google/android/gms/safetynet/SafeBrowsingData;Landroid/os/Parcel;I)V - - const/4 p1, 0x0 - - iput-object p1, p0, Lcom/google/android/gms/safetynet/SafeBrowsingData;->c:Landroid/os/ParcelFileDescriptor; - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/a.smali b/smali/smali/com/google/android/gms/safetynet/a.smali deleted file mode 100644 index 18d5da6a6..000000000 --- a/smali/smali/com/google/android/gms/safetynet/a.smali +++ /dev/null @@ -1,12 +0,0 @@ -.class public Lcom/google/android/gms/safetynet/a; -.super Ljava/lang/Object; - - -# direct methods -.method public constructor (I)V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/b.smali b/smali/smali/com/google/android/gms/safetynet/b.smali deleted file mode 100644 index e791774a8..000000000 --- a/smali/smali/com/google/android/gms/safetynet/b.smali +++ /dev/null @@ -1,99 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/b; -.super Ljava/lang/Object; - - -# static fields -.field private static final a:Lcom/google/android/gms/common/api/a$g; - .annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/common/api/a$g<", - "Lcom/google/android/gms/internal/safetynet/zzx;", - ">;" - } - .end annotation -.end field - -.field private static final b:Lcom/google/android/gms/common/api/a$a; - .annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/common/api/a$a<", - "Lcom/google/android/gms/internal/safetynet/zzx;", - "Ljava/lang/Object;", - ">;" - } - .end annotation -.end field - -.field public static final c:Lcom/google/android/gms/common/api/a; - .annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/common/api/a<", - "Ljava/lang/Object;", - ">;" - } - .end annotation - - .annotation runtime Ljava/lang/Deprecated; - .end annotation -.end field - -.field public static final d:Lcom/google/android/gms/safetynet/c; - .annotation runtime Ljava/lang/Deprecated; - .end annotation -.end field - - -# direct methods -.method static constructor ()V - .locals 4 - - new-instance v0, Lcom/google/android/gms/common/api/a$g; - - invoke-direct {v0}, Lcom/google/android/gms/common/api/a$g;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/b;->a:Lcom/google/android/gms/common/api/a$g; - - new-instance v0, Lcom/google/android/gms/safetynet/k; - - invoke-direct {v0}, Lcom/google/android/gms/safetynet/k;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/b;->b:Lcom/google/android/gms/common/api/a$a; - - new-instance v0, Lcom/google/android/gms/common/api/a; - - sget-object v1, Lcom/google/android/gms/safetynet/b;->b:Lcom/google/android/gms/common/api/a$a; - - sget-object v2, Lcom/google/android/gms/safetynet/b;->a:Lcom/google/android/gms/common/api/a$g; - - const-string v3, "SafetyNet.API" - - invoke-direct {v0, v3, v1, v2}, Lcom/google/android/gms/common/api/a;->(Ljava/lang/String;Lcom/google/android/gms/common/api/a$a;Lcom/google/android/gms/common/api/a$g;)V - - sput-object v0, Lcom/google/android/gms/safetynet/b;->c:Lcom/google/android/gms/common/api/a; - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzk; - - invoke-direct {v0}, Lcom/google/android/gms/internal/safetynet/zzk;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/b;->d:Lcom/google/android/gms/safetynet/c; - - new-instance v0, Lcom/google/android/gms/internal/safetynet/zzy; - - invoke-direct {v0}, Lcom/google/android/gms/internal/safetynet/zzy;->()V - - return-void -.end method - -.method public static a(Landroid/content/Context;)Lcom/google/android/gms/safetynet/d; - .locals 1 - .param p0 # Landroid/content/Context; - .annotation build Landroidx/annotation/NonNull; - .end annotation - .end param - - new-instance v0, Lcom/google/android/gms/safetynet/d; - - invoke-direct {v0, p0}, Lcom/google/android/gms/safetynet/d;->(Landroid/content/Context;)V - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/c$a.smali b/smali/smali/com/google/android/gms/safetynet/c$a.smali deleted file mode 100644 index 20266be8e..000000000 --- a/smali/smali/com/google/android/gms/safetynet/c$a.smali +++ /dev/null @@ -1,49 +0,0 @@ -.class public Lcom/google/android/gms/safetynet/c$a; -.super Lcom/google/android/gms/common/api/h; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/safetynet/c; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x9 - name = "a" -.end annotation - -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/common/api/h<", - "Lcom/google/android/gms/safetynet/c$d;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/api/h;->()V - - return-void -.end method - - -# virtual methods -.method public b()Ljava/lang/String; - .locals 1 - - invoke-virtual {p0}, Lcom/google/android/gms/common/api/h;->a()Lcom/google/android/gms/common/api/i; - - move-result-object v0 - - check-cast v0, Lcom/google/android/gms/safetynet/c$d; - - invoke-interface {v0}, Lcom/google/android/gms/safetynet/c$d;->getJwsResult()Ljava/lang/String; - - move-result-object v0 - - return-object v0 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/c$b.smali b/smali/smali/com/google/android/gms/safetynet/c$b.smali deleted file mode 100644 index 6a87f721b..000000000 --- a/smali/smali/com/google/android/gms/safetynet/c$b.smali +++ /dev/null @@ -1,19 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/safetynet/c$b; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/common/api/i; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/safetynet/c; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x609 - name = "b" -.end annotation - -.annotation runtime Ljava/lang/Deprecated; -.end annotation diff --git a/smali/smali/com/google/android/gms/safetynet/c$c.smali b/smali/smali/com/google/android/gms/safetynet/c$c.smali deleted file mode 100644 index 494e048fe..000000000 --- a/smali/smali/com/google/android/gms/safetynet/c$c.smali +++ /dev/null @@ -1,19 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/safetynet/c$c; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/common/api/i; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/safetynet/c; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x609 - name = "c" -.end annotation - -.annotation runtime Ljava/lang/Deprecated; -.end annotation diff --git a/smali/smali/com/google/android/gms/safetynet/c$d.smali b/smali/smali/com/google/android/gms/safetynet/c$d.smali deleted file mode 100644 index bd261965d..000000000 --- a/smali/smali/com/google/android/gms/safetynet/c$d.smali +++ /dev/null @@ -1,24 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/safetynet/c$d; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/common/api/i; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/safetynet/c; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x609 - name = "d" -.end annotation - -.annotation runtime Ljava/lang/Deprecated; -.end annotation - - -# virtual methods -.method public abstract getJwsResult()Ljava/lang/String; -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/c$e.smali b/smali/smali/com/google/android/gms/safetynet/c$e.smali deleted file mode 100644 index 6290fcbcb..000000000 --- a/smali/smali/com/google/android/gms/safetynet/c$e.smali +++ /dev/null @@ -1,19 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/safetynet/c$e; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/common/api/i; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/safetynet/c; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x609 - name = "e" -.end annotation - -.annotation runtime Ljava/lang/Deprecated; -.end annotation diff --git a/smali/smali/com/google/android/gms/safetynet/c$f.smali b/smali/smali/com/google/android/gms/safetynet/c$f.smali deleted file mode 100644 index 2e93abd31..000000000 --- a/smali/smali/com/google/android/gms/safetynet/c$f.smali +++ /dev/null @@ -1,24 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/safetynet/c$f; -.super Ljava/lang/Object; - -# interfaces -.implements Lcom/google/android/gms/common/api/i; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingClass; - value = Lcom/google/android/gms/safetynet/c; -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x609 - name = "f" -.end annotation - -.annotation runtime Ljava/lang/Deprecated; -.end annotation - - -# virtual methods -.method public abstract isVerifyAppsEnabled()Z -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/c.smali b/smali/smali/com/google/android/gms/safetynet/c.smali deleted file mode 100644 index a5bcb96aa..000000000 --- a/smali/smali/com/google/android/gms/safetynet/c.smali +++ /dev/null @@ -1,33 +0,0 @@ -.class public interface abstract Lcom/google/android/gms/safetynet/c; -.super Ljava/lang/Object; - - -# annotations -.annotation system Ldalvik/annotation/MemberClasses; - value = { - Lcom/google/android/gms/safetynet/c$b;, - Lcom/google/android/gms/safetynet/c$e;, - Lcom/google/android/gms/safetynet/c$f;, - Lcom/google/android/gms/safetynet/c$c;, - Lcom/google/android/gms/safetynet/c$a;, - Lcom/google/android/gms/safetynet/c$d; - } -.end annotation - - -# virtual methods -.method public abstract attest(Lcom/google/android/gms/common/api/d;[B)Lcom/google/android/gms/common/api/e; - .annotation system Ldalvik/annotation/Signature; - value = { - "(", - "Lcom/google/android/gms/common/api/d;", - "[B)", - "Lcom/google/android/gms/common/api/e<", - "Lcom/google/android/gms/safetynet/c$d;", - ">;" - } - .end annotation - - .annotation runtime Ljava/lang/Deprecated; - .end annotation -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/d.smali b/smali/smali/com/google/android/gms/safetynet/d.smali deleted file mode 100644 index dc9e5b178..000000000 --- a/smali/smali/com/google/android/gms/safetynet/d.smali +++ /dev/null @@ -1,76 +0,0 @@ -.class public Lcom/google/android/gms/safetynet/d; -.super Lcom/google/android/gms/common/api/c; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/common/api/c<", - "Ljava/lang/Object;", - ">;" - } -.end annotation - - -# direct methods -.method constructor (Landroid/content/Context;)V - .locals 3 - .param p1 # Landroid/content/Context; - .annotation build Landroidx/annotation/NonNull; - .end annotation - .end param - - sget-object v0, Lcom/google/android/gms/safetynet/b;->c:Lcom/google/android/gms/common/api/a; - - new-instance v1, Lcom/google/android/gms/common/api/internal/a; - - invoke-direct {v1}, Lcom/google/android/gms/common/api/internal/a;->()V - - const/4 v2, 0x0 - - invoke-direct {p0, p1, v0, v2, v1}, Lcom/google/android/gms/common/api/c;->(Landroid/content/Context;Lcom/google/android/gms/common/api/a;Lcom/google/android/gms/common/api/a$d;Lcom/google/android/gms/common/api/internal/q;)V - - return-void -.end method - - -# virtual methods -.method public a([BLjava/lang/String;)Lcom/google/android/gms/tasks/g; - .locals 1 - .param p1 # [B - .annotation build Landroidx/annotation/NonNull; - .end annotation - .end param - .param p2 # Ljava/lang/String; - .annotation build Landroidx/annotation/NonNull; - .end annotation - .end param - .annotation system Ldalvik/annotation/Signature; - value = { - "([B", - "Ljava/lang/String;", - ")", - "Lcom/google/android/gms/tasks/g<", - "Lcom/google/android/gms/safetynet/c$a;", - ">;" - } - .end annotation - - invoke-virtual {p0}, Lcom/google/android/gms/common/api/c;->asGoogleApiClient()Lcom/google/android/gms/common/api/d; - - move-result-object v0 - - invoke-static {v0, p1, p2}, Lcom/google/android/gms/internal/safetynet/zzk;->zza(Lcom/google/android/gms/common/api/d;[BLjava/lang/String;)Lcom/google/android/gms/common/api/e; - - move-result-object p1 - - new-instance p2, Lcom/google/android/gms/safetynet/c$a; - - invoke-direct {p2}, Lcom/google/android/gms/safetynet/c$a;->()V - - invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/t;->a(Lcom/google/android/gms/common/api/e;Lcom/google/android/gms/common/api/h;)Lcom/google/android/gms/tasks/g; - - move-result-object p1 - - return-object p1 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/e.smali b/smali/smali/com/google/android/gms/safetynet/e.smali deleted file mode 100644 index 92f62eaec..000000000 --- a/smali/smali/com/google/android/gms/safetynet/e.smali +++ /dev/null @@ -1,85 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/e; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/Parcelable$Creator; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Ljava/lang/Object;", - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zza;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - - -# virtual methods -.method public final synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; - .locals 5 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->b(Landroid/os/Parcel;)I - - move-result v0 - - const/4 v1, 0x0 - - :goto_0 - invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I - - move-result v2 - - if-ge v2, v0, :cond_1 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;)I - - move-result v2 - - invoke-static {v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(I)I - - move-result v3 - - const/4 v4, 0x2 - - if-eq v3, v4, :cond_0 - - invoke-static {p1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->G(Landroid/os/Parcel;I)V - - goto :goto_0 - - :cond_0 - invoke-static {p1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->o(Landroid/os/Parcel;I)Ljava/lang/String; - - move-result-object v1 - - goto :goto_0 - - :cond_1 - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->r(Landroid/os/Parcel;I)V - - new-instance p1, Lcom/google/android/gms/safetynet/zza; - - invoke-direct {p1, v1}, Lcom/google/android/gms/safetynet/zza;->(Ljava/lang/String;)V - - return-object p1 -.end method - -.method public final synthetic newArray(I)[Ljava/lang/Object; - .locals 0 - - new-array p1, p1, [Lcom/google/android/gms/safetynet/zza; - - return-object p1 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/f.smali b/smali/smali/com/google/android/gms/safetynet/f.smali deleted file mode 100644 index 2213e2deb..000000000 --- a/smali/smali/com/google/android/gms/safetynet/f.smali +++ /dev/null @@ -1,113 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/f; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/Parcelable$Creator; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Ljava/lang/Object;", - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/HarmfulAppsData;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - - -# virtual methods -.method public final synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; - .locals 7 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->b(Landroid/os/Parcel;)I - - move-result v0 - - const/4 v1, 0x0 - - const/4 v2, 0x0 - - move-object v2, v1 - - const/4 v3, 0x0 - - :goto_0 - invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I - - move-result v4 - - if-ge v4, v0, :cond_3 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;)I - - move-result v4 - - invoke-static {v4}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(I)I - - move-result v5 - - const/4 v6, 0x2 - - if-eq v5, v6, :cond_2 - - const/4 v6, 0x3 - - if-eq v5, v6, :cond_1 - - const/4 v6, 0x4 - - if-eq v5, v6, :cond_0 - - invoke-static {p1, v4}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->G(Landroid/os/Parcel;I)V - - goto :goto_0 - - :cond_0 - invoke-static {p1, v4}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->A(Landroid/os/Parcel;I)I - - move-result v3 - - goto :goto_0 - - :cond_1 - invoke-static {p1, v4}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->g(Landroid/os/Parcel;I)[B - - move-result-object v2 - - goto :goto_0 - - :cond_2 - invoke-static {p1, v4}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->o(Landroid/os/Parcel;I)Ljava/lang/String; - - move-result-object v1 - - goto :goto_0 - - :cond_3 - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->r(Landroid/os/Parcel;I)V - - new-instance p1, Lcom/google/android/gms/safetynet/HarmfulAppsData; - - invoke-direct {p1, v1, v2, v3}, Lcom/google/android/gms/safetynet/HarmfulAppsData;->(Ljava/lang/String;[BI)V - - return-object p1 -.end method - -.method public final synthetic newArray(I)[Ljava/lang/Object; - .locals 0 - - new-array p1, p1, [Lcom/google/android/gms/safetynet/HarmfulAppsData; - - return-object p1 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/g.smali b/smali/smali/com/google/android/gms/safetynet/g.smali deleted file mode 100644 index 73e282c5a..000000000 --- a/smali/smali/com/google/android/gms/safetynet/g.smali +++ /dev/null @@ -1,138 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/g; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/Parcelable$Creator; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Ljava/lang/Object;", - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zzd;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - - -# virtual methods -.method public final synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; - .locals 11 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->b(Landroid/os/Parcel;)I - - move-result v0 - - const/4 v1, 0x0 - - const-wide/16 v2, 0x0 - - const/4 v4, 0x0 - - move-wide v6, v2 - - move-object v8, v4 - - const/4 v9, 0x0 - - const/4 v10, 0x0 - - :goto_0 - invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I - - move-result v1 - - if-ge v1, v0, :cond_4 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;)I - - move-result v1 - - invoke-static {v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(I)I - - move-result v2 - - const/4 v3, 0x2 - - if-eq v2, v3, :cond_3 - - const/4 v3, 0x3 - - if-eq v2, v3, :cond_2 - - const/4 v3, 0x4 - - if-eq v2, v3, :cond_1 - - const/4 v3, 0x5 - - if-eq v2, v3, :cond_0 - - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->G(Landroid/os/Parcel;I)V - - goto :goto_0 - - :cond_0 - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->s(Landroid/os/Parcel;I)Z - - move-result v10 - - goto :goto_0 - - :cond_1 - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->A(Landroid/os/Parcel;I)I - - move-result v9 - - goto :goto_0 - - :cond_2 - sget-object v2, Lcom/google/android/gms/safetynet/HarmfulAppsData;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p1, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->b(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)[Ljava/lang/Object; - - move-result-object v1 - - move-object v8, v1 - - check-cast v8, [Lcom/google/android/gms/safetynet/HarmfulAppsData; - - goto :goto_0 - - :cond_3 - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->C(Landroid/os/Parcel;I)J - - move-result-wide v6 - - goto :goto_0 - - :cond_4 - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->r(Landroid/os/Parcel;I)V - - new-instance p1, Lcom/google/android/gms/safetynet/zzd; - - move-object v5, p1 - - invoke-direct/range {v5 .. v10}, Lcom/google/android/gms/safetynet/zzd;->(J[Lcom/google/android/gms/safetynet/HarmfulAppsData;IZ)V - - return-object p1 -.end method - -.method public final synthetic newArray(I)[Ljava/lang/Object; - .locals 0 - - new-array p1, p1, [Lcom/google/android/gms/safetynet/zzd; - - return-object p1 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/h.smali b/smali/smali/com/google/android/gms/safetynet/h.smali deleted file mode 100644 index 7407ec948..000000000 --- a/smali/smali/com/google/android/gms/safetynet/h.smali +++ /dev/null @@ -1,85 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/h; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/Parcelable$Creator; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Ljava/lang/Object;", - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zzf;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - - -# virtual methods -.method public final synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; - .locals 5 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->b(Landroid/os/Parcel;)I - - move-result v0 - - const/4 v1, 0x0 - - :goto_0 - invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I - - move-result v2 - - if-ge v2, v0, :cond_1 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;)I - - move-result v2 - - invoke-static {v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(I)I - - move-result v3 - - const/4 v4, 0x2 - - if-eq v3, v4, :cond_0 - - invoke-static {p1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->G(Landroid/os/Parcel;I)V - - goto :goto_0 - - :cond_0 - invoke-static {p1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->o(Landroid/os/Parcel;I)Ljava/lang/String; - - move-result-object v1 - - goto :goto_0 - - :cond_1 - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->r(Landroid/os/Parcel;I)V - - new-instance p1, Lcom/google/android/gms/safetynet/zzf; - - invoke-direct {p1, v1}, Lcom/google/android/gms/safetynet/zzf;->(Ljava/lang/String;)V - - return-object p1 -.end method - -.method public final synthetic newArray(I)[Ljava/lang/Object; - .locals 0 - - new-array p1, p1, [Lcom/google/android/gms/safetynet/zzf; - - return-object p1 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/i.smali b/smali/smali/com/google/android/gms/safetynet/i.smali deleted file mode 100644 index 25c9961e8..000000000 --- a/smali/smali/com/google/android/gms/safetynet/i.smali +++ /dev/null @@ -1,98 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/i; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/Parcelable$Creator; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Ljava/lang/Object;", - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zzh;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - - -# virtual methods -.method public final synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; - .locals 6 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->b(Landroid/os/Parcel;)I - - move-result v0 - - const/4 v1, 0x0 - - const/4 v2, 0x0 - - :goto_0 - invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I - - move-result v3 - - if-ge v3, v0, :cond_2 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;)I - - move-result v3 - - invoke-static {v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(I)I - - move-result v4 - - const/4 v5, 0x2 - - if-eq v4, v5, :cond_1 - - const/4 v5, 0x3 - - if-eq v4, v5, :cond_0 - - invoke-static {p1, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->G(Landroid/os/Parcel;I)V - - goto :goto_0 - - :cond_0 - invoke-static {p1, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->s(Landroid/os/Parcel;I)Z - - move-result v2 - - goto :goto_0 - - :cond_1 - invoke-static {p1, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->A(Landroid/os/Parcel;I)I - - move-result v1 - - goto :goto_0 - - :cond_2 - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->r(Landroid/os/Parcel;I)V - - new-instance p1, Lcom/google/android/gms/safetynet/zzh; - - invoke-direct {p1, v1, v2}, Lcom/google/android/gms/safetynet/zzh;->(IZ)V - - return-object p1 -.end method - -.method public final synthetic newArray(I)[Ljava/lang/Object; - .locals 0 - - new-array p1, p1, [Lcom/google/android/gms/safetynet/zzh; - - return-object p1 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/j.smali b/smali/smali/com/google/android/gms/safetynet/j.smali deleted file mode 100644 index 9fdaaf69e..000000000 --- a/smali/smali/com/google/android/gms/safetynet/j.smali +++ /dev/null @@ -1,209 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/j; -.super Ljava/lang/Object; - -# interfaces -.implements Landroid/os/Parcelable$Creator; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Ljava/lang/Object;", - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/SafeBrowsingData;", - ">;" - } -.end annotation - - -# direct methods -.method public constructor ()V - .locals 0 - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - -.method static a(Lcom/google/android/gms/safetynet/SafeBrowsingData;Landroid/os/Parcel;I)V - .locals 5 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;)I - - move-result v0 - - invoke-virtual {p0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->d()Ljava/lang/String; - - move-result-object v1 - - const/4 v2, 0x0 - - const/4 v3, 0x2 - - invoke-static {p1, v3, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;ILjava/lang/String;Z)V - - invoke-virtual {p0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->a()Lcom/google/android/gms/common/data/DataHolder; - - move-result-object v1 - - const/4 v3, 0x3 - - invoke-static {p1, v3, v1, p2, v2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V - - invoke-virtual {p0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->b()Landroid/os/ParcelFileDescriptor; - - move-result-object v1 - - const/4 v3, 0x4 - - invoke-static {p1, v3, v1, p2, v2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V - - invoke-virtual {p0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->c()J - - move-result-wide v3 - - const/4 p2, 0x5 - - invoke-static {p1, p2, v3, v4}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;IJ)V - - invoke-virtual {p0}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->e()[B - - move-result-object p0 - - const/4 p2, 0x6 - - invoke-static {p1, p2, p0, v2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I[BZ)V - - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I)V - - return-void -.end method - - -# virtual methods -.method public final synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; - .locals 11 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->b(Landroid/os/Parcel;)I - - move-result v0 - - const/4 v1, 0x0 - - const-wide/16 v2, 0x0 - - move-object v5, v1 - - move-object v6, v5 - - move-object v7, v6 - - move-object v10, v7 - - move-wide v8, v2 - - :goto_0 - invoke-virtual {p1}, Landroid/os/Parcel;->dataPosition()I - - move-result v1 - - if-ge v1, v0, :cond_5 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;)I - - move-result v1 - - invoke-static {v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(I)I - - move-result v2 - - const/4 v3, 0x2 - - if-eq v2, v3, :cond_4 - - const/4 v3, 0x3 - - if-eq v2, v3, :cond_3 - - const/4 v3, 0x4 - - if-eq v2, v3, :cond_2 - - const/4 v3, 0x5 - - if-eq v2, v3, :cond_1 - - const/4 v3, 0x6 - - if-eq v2, v3, :cond_0 - - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->G(Landroid/os/Parcel;I)V - - goto :goto_0 - - :cond_0 - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->g(Landroid/os/Parcel;I)[B - - move-result-object v10 - - goto :goto_0 - - :cond_1 - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->C(Landroid/os/Parcel;I)J - - move-result-wide v8 - - goto :goto_0 - - :cond_2 - sget-object v2, Landroid/os/ParcelFileDescriptor;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p1, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object v1 - - move-object v7, v1 - - check-cast v7, Landroid/os/ParcelFileDescriptor; - - goto :goto_0 - - :cond_3 - sget-object v2, Lcom/google/android/gms/common/data/DataHolder;->CREATOR:Landroid/os/Parcelable$Creator; - - invoke-static {p1, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->a(Landroid/os/Parcel;ILandroid/os/Parcelable$Creator;)Landroid/os/Parcelable; - - move-result-object v1 - - move-object v6, v1 - - check-cast v6, Lcom/google/android/gms/common/data/DataHolder; - - goto :goto_0 - - :cond_4 - invoke-static {p1, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->o(Landroid/os/Parcel;I)Ljava/lang/String; - - move-result-object v5 - - goto :goto_0 - - :cond_5 - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;->r(Landroid/os/Parcel;I)V - - new-instance p1, Lcom/google/android/gms/safetynet/SafeBrowsingData; - - move-object v4, p1 - - invoke-direct/range {v4 .. v10}, Lcom/google/android/gms/safetynet/SafeBrowsingData;->(Ljava/lang/String;Lcom/google/android/gms/common/data/DataHolder;Landroid/os/ParcelFileDescriptor;J[B)V - - return-object p1 -.end method - -.method public final synthetic newArray(I)[Ljava/lang/Object; - .locals 0 - - new-array p1, p1, [Lcom/google/android/gms/safetynet/SafeBrowsingData; - - return-object p1 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/k.smali b/smali/smali/com/google/android/gms/safetynet/k.smali deleted file mode 100644 index 056178517..000000000 --- a/smali/smali/com/google/android/gms/safetynet/k.smali +++ /dev/null @@ -1,47 +0,0 @@ -.class final Lcom/google/android/gms/safetynet/k; -.super Lcom/google/android/gms/common/api/a$a; - - -# annotations -.annotation system Ldalvik/annotation/Signature; - value = { - "Lcom/google/android/gms/common/api/a$a<", - "Lcom/google/android/gms/internal/safetynet/zzx;", - "Ljava/lang/Object;", - ">;" - } -.end annotation - - -# direct methods -.method constructor ()V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/api/a$a;->()V - - return-void -.end method - - -# virtual methods -.method public final synthetic buildClient(Landroid/content/Context;Landroid/os/Looper;Lcom/google/android/gms/common/internal/e;Ljava/lang/Object;Lcom/google/android/gms/common/api/d$b;Lcom/google/android/gms/common/api/d$c;)Lcom/google/android/gms/common/api/a$f; - .locals 6 - - new-instance p4, Lcom/google/android/gms/internal/safetynet/zzx; - - move-object v0, p4 - - move-object v1, p1 - - move-object v2, p2 - - move-object v3, p3 - - move-object v4, p5 - - move-object v5, p6 - - invoke-direct/range {v0 .. v5}, Lcom/google/android/gms/internal/safetynet/zzx;->(Landroid/content/Context;Landroid/os/Looper;Lcom/google/android/gms/common/internal/e;Lcom/google/android/gms/common/api/d$b;Lcom/google/android/gms/common/api/d$c;)V - - return-object p4 -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/zza.smali b/smali/smali/com/google/android/gms/safetynet/zza.smali deleted file mode 100644 index 41c493b57..000000000 --- a/smali/smali/com/google/android/gms/safetynet/zza.smali +++ /dev/null @@ -1,72 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/zza; -.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable; - - -# static fields -.field public static final CREATOR:Landroid/os/Parcelable$Creator; - .annotation system Ldalvik/annotation/Signature; - value = { - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zza;", - ">;" - } - .end annotation -.end field - - -# instance fields -.field private final a:Ljava/lang/String; - - -# direct methods -.method static constructor ()V - .locals 1 - - new-instance v0, Lcom/google/android/gms/safetynet/e; - - invoke-direct {v0}, Lcom/google/android/gms/safetynet/e;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/zza;->CREATOR:Landroid/os/Parcelable$Creator; - - return-void -.end method - -.method public constructor (Ljava/lang/String;)V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;->()V - - iput-object p1, p0, Lcom/google/android/gms/safetynet/zza;->a:Ljava/lang/String; - - return-void -.end method - - -# virtual methods -.method public final getJwsResult()Ljava/lang/String; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/zza;->a:Ljava/lang/String; - - return-object v0 -.end method - -.method public final writeToParcel(Landroid/os/Parcel;I)V - .locals 3 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;)I - - move-result p2 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/zza;->a:Ljava/lang/String; - - const/4 v1, 0x2 - - const/4 v2, 0x0 - - invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;ILjava/lang/String;Z)V - - invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/zzd.smali b/smali/smali/com/google/android/gms/safetynet/zzd.smali deleted file mode 100644 index f6348112b..000000000 --- a/smali/smali/com/google/android/gms/safetynet/zzd.smali +++ /dev/null @@ -1,103 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/zzd; -.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable; - - -# static fields -.field public static final CREATOR:Landroid/os/Parcelable$Creator; - .annotation system Ldalvik/annotation/Signature; - value = { - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zzd;", - ">;" - } - .end annotation -.end field - - -# instance fields -.field public final a:J - -.field public final b:[Lcom/google/android/gms/safetynet/HarmfulAppsData; - -.field public final c:I - -.field private final d:Z - - -# direct methods -.method static constructor ()V - .locals 1 - - new-instance v0, Lcom/google/android/gms/safetynet/g; - - invoke-direct {v0}, Lcom/google/android/gms/safetynet/g;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/zzd;->CREATOR:Landroid/os/Parcelable$Creator; - - return-void -.end method - -.method public constructor (J[Lcom/google/android/gms/safetynet/HarmfulAppsData;IZ)V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;->()V - - iput-wide p1, p0, Lcom/google/android/gms/safetynet/zzd;->a:J - - iput-object p3, p0, Lcom/google/android/gms/safetynet/zzd;->b:[Lcom/google/android/gms/safetynet/HarmfulAppsData; - - iput-boolean p5, p0, Lcom/google/android/gms/safetynet/zzd;->d:Z - - if-eqz p5, :cond_0 - - iput p4, p0, Lcom/google/android/gms/safetynet/zzd;->c:I - - return-void - - :cond_0 - const/4 p1, -0x1 - - iput p1, p0, Lcom/google/android/gms/safetynet/zzd;->c:I - - return-void -.end method - - -# virtual methods -.method public final writeToParcel(Landroid/os/Parcel;I)V - .locals 4 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;)I - - move-result v0 - - iget-wide v1, p0, Lcom/google/android/gms/safetynet/zzd;->a:J - - const/4 v3, 0x2 - - invoke-static {p1, v3, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;IJ)V - - iget-object v1, p0, Lcom/google/android/gms/safetynet/zzd;->b:[Lcom/google/android/gms/safetynet/HarmfulAppsData; - - const/4 v2, 0x3 - - const/4 v3, 0x0 - - invoke-static {p1, v2, v1, p2, v3}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I[Landroid/os/Parcelable;IZ)V - - iget p2, p0, Lcom/google/android/gms/safetynet/zzd;->c:I - - const/4 v1, 0x4 - - invoke-static {p1, v1, p2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;II)V - - iget-boolean p2, p0, Lcom/google/android/gms/safetynet/zzd;->d:Z - - const/4 v1, 0x5 - - invoke-static {p1, v1, p2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;IZ)V - - invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/zzf.smali b/smali/smali/com/google/android/gms/safetynet/zzf.smali deleted file mode 100644 index fbe0d5de0..000000000 --- a/smali/smali/com/google/android/gms/safetynet/zzf.smali +++ /dev/null @@ -1,72 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/zzf; -.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable; - - -# static fields -.field public static final CREATOR:Landroid/os/Parcelable$Creator; - .annotation system Ldalvik/annotation/Signature; - value = { - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zzf;", - ">;" - } - .end annotation -.end field - - -# instance fields -.field private final a:Ljava/lang/String; - - -# direct methods -.method static constructor ()V - .locals 1 - - new-instance v0, Lcom/google/android/gms/safetynet/h; - - invoke-direct {v0}, Lcom/google/android/gms/safetynet/h;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/zzf;->CREATOR:Landroid/os/Parcelable$Creator; - - return-void -.end method - -.method public constructor (Ljava/lang/String;)V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;->()V - - iput-object p1, p0, Lcom/google/android/gms/safetynet/zzf;->a:Ljava/lang/String; - - return-void -.end method - - -# virtual methods -.method public final a()Ljava/lang/String; - .locals 1 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/zzf;->a:Ljava/lang/String; - - return-object v0 -.end method - -.method public final writeToParcel(Landroid/os/Parcel;I)V - .locals 3 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;)I - - move-result p2 - - iget-object v0, p0, Lcom/google/android/gms/safetynet/zzf;->a:Ljava/lang/String; - - const/4 v1, 0x2 - - const/4 v2, 0x0 - - invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;ILjava/lang/String;Z)V - - invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I)V - - return-void -.end method diff --git a/smali/smali/com/google/android/gms/safetynet/zzh.smali b/smali/smali/com/google/android/gms/safetynet/zzh.smali deleted file mode 100644 index 406e9ae59..000000000 --- a/smali/smali/com/google/android/gms/safetynet/zzh.smali +++ /dev/null @@ -1,72 +0,0 @@ -.class public final Lcom/google/android/gms/safetynet/zzh; -.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable; - - -# static fields -.field public static final CREATOR:Landroid/os/Parcelable$Creator; - .annotation system Ldalvik/annotation/Signature; - value = { - "Landroid/os/Parcelable$Creator<", - "Lcom/google/android/gms/safetynet/zzh;", - ">;" - } - .end annotation -.end field - - -# instance fields -.field private final a:I - -.field private final b:Z - - -# direct methods -.method static constructor ()V - .locals 1 - - new-instance v0, Lcom/google/android/gms/safetynet/i; - - invoke-direct {v0}, Lcom/google/android/gms/safetynet/i;->()V - - sput-object v0, Lcom/google/android/gms/safetynet/zzh;->CREATOR:Landroid/os/Parcelable$Creator; - - return-void -.end method - -.method public constructor (IZ)V - .locals 0 - - invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;->()V - - iput p1, p0, Lcom/google/android/gms/safetynet/zzh;->a:I - - iput-boolean p2, p0, Lcom/google/android/gms/safetynet/zzh;->b:Z - - return-void -.end method - - -# virtual methods -.method public final writeToParcel(Landroid/os/Parcel;I)V - .locals 2 - - invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;)I - - move-result p2 - - iget v0, p0, Lcom/google/android/gms/safetynet/zzh;->a:I - - const/4 v1, 0x2 - - invoke-static {p1, v1, v0}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;II)V - - iget-boolean v0, p0, Lcom/google/android/gms/safetynet/zzh;->b:Z - - const/4 v1, 0x3 - - invoke-static {p1, v1, v0}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;IZ)V - - invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/a;->a(Landroid/os/Parcel;I)V - - return-void -.end method diff --git a/smali/smali/com/google/firebase/abt/AbtException.smali b/smali/smali/com/google/firebase/abt/AbtException.smali new file mode 100644 index 000000000..043d728ce --- /dev/null +++ b/smali/smali/com/google/firebase/abt/AbtException.smali @@ -0,0 +1,23 @@ +.class public Lcom/google/firebase/abt/AbtException; +.super Ljava/lang/Exception; +.source "com.google.firebase:firebase-abt@@19.0.0" + + +# direct methods +.method public constructor (Ljava/lang/String;)V + .locals 0 + + .line 1 + invoke-direct {p0, p1}, Ljava/lang/Exception;->(Ljava/lang/String;)V + + return-void +.end method + +.method public constructor (Ljava/lang/String;Ljava/lang/Exception;)V + .locals 0 + + .line 2 + invoke-direct {p0, p1, p2}, Ljava/lang/Exception;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/abt/a.smali b/smali/smali/com/google/firebase/abt/a.smali new file mode 100644 index 000000000..66c8062c2 --- /dev/null +++ b/smali/smali/com/google/firebase/abt/a.smali @@ -0,0 +1,384 @@ +.class public Lcom/google/firebase/abt/a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-abt@@19.0.0" + + +# static fields +.field private static final g:[Ljava/lang/String; + +.field static final h:Ljava/text/DateFormat; + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation +.end field + + +# instance fields +.field private final a:Ljava/lang/String; + +.field private final b:Ljava/lang/String; + +.field private final c:Ljava/lang/String; + +.field private final d:Ljava/util/Date; + +.field private final e:J + +.field private final f:J + + +# direct methods +.method static constructor ()V + .locals 5 + + const-string v0, "experimentId" + + const-string v1, "experimentStartTime" + + const-string v2, "timeToLiveMillis" + + const-string v3, "triggerTimeoutMillis" + + const-string v4, "variantId" + + .line 1 + filled-new-array {v0, v1, v2, v3, v4}, [Ljava/lang/String; + + move-result-object v0 + + sput-object v0, Lcom/google/firebase/abt/a;->g:[Ljava/lang/String; + + .line 2 + new-instance v0, Ljava/text/SimpleDateFormat; + + sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale; + + const-string v2, "yyyy-MM-dd\'T\'HH:mm:ss" + + invoke-direct {v0, v2, v1}, Ljava/text/SimpleDateFormat;->(Ljava/lang/String;Ljava/util/Locale;)V + + sput-object v0, Lcom/google/firebase/abt/a;->h:Ljava/text/DateFormat; + + return-void +.end method + +.method constructor (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;JJ)V + .locals 0 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/abt/a;->a:Ljava/lang/String; + + .line 3 + iput-object p2, p0, Lcom/google/firebase/abt/a;->b:Ljava/lang/String; + + .line 4 + iput-object p3, p0, Lcom/google/firebase/abt/a;->c:Ljava/lang/String; + + .line 5 + iput-object p4, p0, Lcom/google/firebase/abt/a;->d:Ljava/util/Date; + + .line 6 + iput-wide p5, p0, Lcom/google/firebase/abt/a;->e:J + + .line 7 + iput-wide p7, p0, Lcom/google/firebase/abt/a;->f:J + + return-void +.end method + +.method static a(Ljava/util/Map;)Lcom/google/firebase/abt/a; + .locals 12 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;)", + "Lcom/google/firebase/abt/a;" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/abt/AbtException; + } + .end annotation + + const-string v0, "triggerEvent" + + .line 1 + invoke-static {p0}, Lcom/google/firebase/abt/a;->b(Ljava/util/Map;)V + + .line 2 + :try_start_0 + sget-object v1, Lcom/google/firebase/abt/a;->h:Ljava/text/DateFormat; + + const-string v2, "experimentStartTime" + + .line 3 + invoke-interface {p0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Ljava/lang/String; + + invoke-virtual {v1, v2}, Ljava/text/DateFormat;->parse(Ljava/lang/String;)Ljava/util/Date; + + move-result-object v7 + + const-string v1, "triggerTimeoutMillis" + + .line 4 + invoke-interface {p0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Ljava/lang/String; + + invoke-static {v1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J + + move-result-wide v8 + + const-string v1, "timeToLiveMillis" + + .line 5 + invoke-interface {p0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Ljava/lang/String; + + invoke-static {v1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J + + move-result-wide v10 + + .line 6 + new-instance v1, Lcom/google/firebase/abt/a; + + const-string v2, "experimentId" + + .line 7 + invoke-interface {p0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v2 + + move-object v4, v2 + + check-cast v4, Ljava/lang/String; + + const-string v2, "variantId" + + .line 8 + invoke-interface {p0, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v2 + + move-object v5, v2 + + check-cast v5, Ljava/lang/String; + + .line 9 + invoke-interface {p0, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v2 + + if-eqz v2, :cond_0 + + .line 10 + invoke-interface {p0, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object p0 + + check-cast p0, Ljava/lang/String; + + goto :goto_0 + + :cond_0 + const-string p0, "" + + :goto_0 + move-object v6, p0 + + move-object v3, v1 + + .line 11 + invoke-direct/range {v3 .. v11}, Lcom/google/firebase/abt/a;->(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Date;JJ)V + :try_end_0 + .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_1 + .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0 + + return-object v1 + + :catch_0 + move-exception p0 + + .line 12 + new-instance v0, Lcom/google/firebase/abt/AbtException; + + const-string v1, "Could not process experiment: one of the durations could not be converted into a long." + + invoke-direct {v0, v1, p0}, Lcom/google/firebase/abt/AbtException;->(Ljava/lang/String;Ljava/lang/Exception;)V + + throw v0 + + :catch_1 + move-exception p0 + + .line 13 + new-instance v0, Lcom/google/firebase/abt/AbtException; + + const-string v1, "Could not process experiment: parsing experiment start time failed." + + invoke-direct {v0, v1, p0}, Lcom/google/firebase/abt/AbtException;->(Ljava/lang/String;Ljava/lang/Exception;)V + + throw v0 +.end method + +.method private static b(Ljava/util/Map;)V + .locals 7 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;)V" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/abt/AbtException; + } + .end annotation + + .line 2 + new-instance v0, Ljava/util/ArrayList; + + invoke-direct {v0}, Ljava/util/ArrayList;->()V + + .line 3 + sget-object v1, Lcom/google/firebase/abt/a;->g:[Ljava/lang/String; + + array-length v2, v1 + + const/4 v3, 0x0 + + const/4 v4, 0x0 + + :goto_0 + if-ge v4, v2, :cond_1 + + aget-object v5, v1, v4 + + .line 4 + invoke-interface {p0, v5}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v6 + + if-nez v6, :cond_0 + + .line 5 + invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z + + :cond_0 + add-int/lit8 v4, v4, 0x1 + + goto :goto_0 + + .line 6 + :cond_1 + invoke-interface {v0}, Ljava/util/List;->isEmpty()Z + + move-result p0 + + if-eqz p0, :cond_2 + + return-void + + .line 7 + :cond_2 + new-instance p0, Lcom/google/firebase/abt/AbtException; + + const/4 v1, 0x1 + + new-array v1, v1, [Ljava/lang/Object; + + aput-object v0, v1, v3 + + const-string v0, "The following keys are missing from the experiment info map: %s" + + .line 8 + invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/firebase/abt/AbtException;->(Ljava/lang/String;)V + + throw p0 +.end method + + +# virtual methods +.method a()Ljava/lang/String; + .locals 1 + + .line 14 + iget-object v0, p0, Lcom/google/firebase/abt/a;->a:Ljava/lang/String; + + return-object v0 +.end method + +.method b()J + .locals 2 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/abt/a;->d:Ljava/util/Date; + + invoke-virtual {v0}, Ljava/util/Date;->getTime()J + + move-result-wide v0 + + return-wide v0 +.end method + +.method c()J + .locals 2 + + .line 1 + iget-wide v0, p0, Lcom/google/firebase/abt/a;->f:J + + return-wide v0 +.end method + +.method d()Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/abt/a;->c:Ljava/lang/String; + + return-object v0 +.end method + +.method e()J + .locals 2 + + .line 1 + iget-wide v0, p0, Lcom/google/firebase/abt/a;->e:J + + return-wide v0 +.end method + +.method f()Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/abt/a;->b:Ljava/lang/String; + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/abt/b.smali b/smali/smali/com/google/firebase/abt/b.smali new file mode 100644 index 000000000..6b7377663 --- /dev/null +++ b/smali/smali/com/google/firebase/abt/b.smali @@ -0,0 +1,719 @@ +.class public Lcom/google/firebase/abt/b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-abt@@19.0.0" + + +# instance fields +.field private final a:Lcom/google/firebase/analytics/a/a; + +.field private final b:Ljava/lang/String; + +.field private c:Ljava/lang/Integer; + .annotation build Landroidx/annotation/Nullable; + .end annotation +.end field + + +# direct methods +.method public constructor (Landroid/content/Context;Lcom/google/firebase/analytics/a/a;Ljava/lang/String;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p2, p0, Lcom/google/firebase/abt/b;->a:Lcom/google/firebase/analytics/a/a; + + .line 3 + iput-object p3, p0, Lcom/google/firebase/abt/b;->b:Ljava/lang/String; + + const/4 p1, 0x0 + + .line 4 + iput-object p1, p0, Lcom/google/firebase/abt/b;->c:Ljava/lang/Integer; + + return-void +.end method + +.method private a(Lcom/google/firebase/abt/a;)Lcom/google/firebase/analytics/a/a$a; + .locals 3 + + .line 12 + new-instance v0, Lcom/google/firebase/analytics/a/a$a; + + invoke-direct {v0}, Lcom/google/firebase/analytics/a/a$a;->()V + + .line 13 + iget-object v1, p0, Lcom/google/firebase/abt/b;->b:Ljava/lang/String; + + iput-object v1, v0, Lcom/google/firebase/analytics/a/a$a;->a:Ljava/lang/String; + + .line 14 + invoke-virtual {p1}, Lcom/google/firebase/abt/a;->b()J + + move-result-wide v1 + + iput-wide v1, v0, Lcom/google/firebase/analytics/a/a$a;->m:J + + .line 15 + invoke-virtual {p1}, Lcom/google/firebase/abt/a;->a()Ljava/lang/String; + + move-result-object v1 + + iput-object v1, v0, Lcom/google/firebase/analytics/a/a$a;->b:Ljava/lang/String; + + .line 16 + invoke-virtual {p1}, Lcom/google/firebase/abt/a;->f()Ljava/lang/String; + + move-result-object v1 + + iput-object v1, v0, Lcom/google/firebase/analytics/a/a$a;->c:Ljava/lang/Object; + + .line 17 + invoke-virtual {p1}, Lcom/google/firebase/abt/a;->d()Ljava/lang/String; + + move-result-object v1 + + invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z + + move-result v1 + + if-eqz v1, :cond_0 + + const/4 v1, 0x0 + + goto :goto_0 + + .line 18 + :cond_0 + invoke-virtual {p1}, Lcom/google/firebase/abt/a;->d()Ljava/lang/String; + + move-result-object v1 + + :goto_0 + iput-object v1, v0, Lcom/google/firebase/analytics/a/a$a;->d:Ljava/lang/String; + + .line 19 + invoke-virtual {p1}, Lcom/google/firebase/abt/a;->e()J + + move-result-wide v1 + + iput-wide v1, v0, Lcom/google/firebase/analytics/a/a$a;->e:J + + .line 20 + invoke-virtual {p1}, Lcom/google/firebase/abt/a;->c()J + + move-result-wide v1 + + iput-wide v1, v0, Lcom/google/firebase/analytics/a/a$a;->j:J + + return-object v0 +.end method + +.method private a(Ljava/util/List;Ljava/util/Set;)Ljava/util/ArrayList; + .locals 3 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Lcom/google/firebase/abt/a;", + ">;", + "Ljava/util/Set<", + "Ljava/lang/String;", + ">;)", + "Ljava/util/ArrayList<", + "Lcom/google/firebase/abt/a;", + ">;" + } + .end annotation + + .line 6 + new-instance v0, Ljava/util/ArrayList; + + invoke-direct {v0}, Ljava/util/ArrayList;->()V + + .line 7 + invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :cond_0 + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v1 + + if-eqz v1, :cond_1 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/abt/a; + + .line 8 + invoke-virtual {v1}, Lcom/google/firebase/abt/a;->a()Ljava/lang/String; + + move-result-object v2 + + invoke-interface {p2, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z + + move-result v2 + + if-nez v2, :cond_0 + + .line 9 + invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z + + goto :goto_0 + + :cond_1 + return-object v0 +.end method + +.method private a(Lcom/google/firebase/analytics/a/a$a;)V + .locals 1 + + .line 21 + iget-object v0, p0, Lcom/google/firebase/abt/b;->a:Lcom/google/firebase/analytics/a/a; + + invoke-interface {v0, p1}, Lcom/google/firebase/analytics/a/a;->a(Lcom/google/firebase/analytics/a/a$a;)V + + return-void +.end method + +.method private a(Ljava/util/Collection;)V + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/Collection<", + "Lcom/google/firebase/analytics/a/a$a;", + ">;)V" + } + .end annotation + + .line 10 + invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v0 + + if-eqz v0, :cond_0 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Lcom/google/firebase/analytics/a/a$a; + + .line 11 + iget-object v0, v0, Lcom/google/firebase/analytics/a/a$a;->b:Ljava/lang/String; + + invoke-virtual {p0, v0}, Lcom/google/firebase/abt/b;->a(Ljava/lang/String;)V + + goto :goto_0 + + :cond_0 + return-void +.end method + +.method private b(Ljava/util/List;Ljava/util/Set;)Ljava/util/ArrayList; + .locals 3 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Lcom/google/firebase/analytics/a/a$a;", + ">;", + "Ljava/util/Set<", + "Ljava/lang/String;", + ">;)", + "Ljava/util/ArrayList<", + "Lcom/google/firebase/analytics/a/a$a;", + ">;" + } + .end annotation + + .line 1 + new-instance v0, Ljava/util/ArrayList; + + invoke-direct {v0}, Ljava/util/ArrayList;->()V + + .line 2 + invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :cond_0 + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v1 + + if-eqz v1, :cond_1 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/analytics/a/a$a; + + .line 3 + iget-object v2, v1, Lcom/google/firebase/analytics/a/a$a;->b:Ljava/lang/String; + + invoke-interface {p2, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z + + move-result v2 + + if-nez v2, :cond_0 + + .line 4 + invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z + + goto :goto_0 + + :cond_1 + return-object v0 +.end method + +.method private b()Ljava/util/List; + .locals 3 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/List<", + "Lcom/google/firebase/analytics/a/a$a;", + ">;" + } + .end annotation + + .line 14 + iget-object v0, p0, Lcom/google/firebase/abt/b;->a:Lcom/google/firebase/analytics/a/a; + + iget-object v1, p0, Lcom/google/firebase/abt/b;->b:Ljava/lang/String; + + const-string v2, "" + + invoke-interface {v0, v1, v2}, Lcom/google/firebase/analytics/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List; + + move-result-object v0 + + return-object v0 +.end method + +.method private b(Ljava/util/List;)V + .locals 4 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Lcom/google/firebase/abt/a;", + ">;)V" + } + .end annotation + + .line 5 + new-instance v0, Ljava/util/ArrayDeque; + + .line 6 + invoke-direct {p0}, Lcom/google/firebase/abt/b;->b()Ljava/util/List; + + move-result-object v1 + + invoke-direct {v0, v1}, Ljava/util/ArrayDeque;->(Ljava/util/Collection;)V + + .line 7 + invoke-direct {p0}, Lcom/google/firebase/abt/b;->c()I + + move-result v1 + + .line 8 + invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v2 + + if-eqz v2, :cond_1 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Lcom/google/firebase/abt/a; + + .line 9 + :goto_1 + invoke-interface {v0}, Ljava/util/Deque;->size()I + + move-result v3 + + if-lt v3, v1, :cond_0 + + .line 10 + invoke-interface {v0}, Ljava/util/Deque;->pollFirst()Ljava/lang/Object; + + move-result-object v3 + + check-cast v3, Lcom/google/firebase/analytics/a/a$a; + + iget-object v3, v3, Lcom/google/firebase/analytics/a/a$a;->b:Ljava/lang/String; + + invoke-virtual {p0, v3}, Lcom/google/firebase/abt/b;->a(Ljava/lang/String;)V + + goto :goto_1 + + .line 11 + :cond_0 + invoke-direct {p0, v2}, Lcom/google/firebase/abt/b;->a(Lcom/google/firebase/abt/a;)Lcom/google/firebase/analytics/a/a$a; + + move-result-object v2 + + .line 12 + invoke-direct {p0, v2}, Lcom/google/firebase/abt/b;->a(Lcom/google/firebase/analytics/a/a$a;)V + + .line 13 + invoke-interface {v0, v2}, Ljava/util/Deque;->offer(Ljava/lang/Object;)Z + + goto :goto_0 + + :cond_1 + return-void +.end method + +.method private c()I + .locals 2 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .line 4 + iget-object v0, p0, Lcom/google/firebase/abt/b;->c:Ljava/lang/Integer; + + if-nez v0, :cond_0 + + .line 5 + iget-object v0, p0, Lcom/google/firebase/abt/b;->a:Lcom/google/firebase/analytics/a/a; + + iget-object v1, p0, Lcom/google/firebase/abt/b;->b:Ljava/lang/String; + + invoke-interface {v0, v1}, Lcom/google/firebase/analytics/a/a;->a(Ljava/lang/String;)I + + move-result v0 + + invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/abt/b;->c:Ljava/lang/Integer; + + .line 6 + :cond_0 + iget-object v0, p0, Lcom/google/firebase/abt/b;->c:Ljava/lang/Integer; + + invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I + + move-result v0 + + return v0 +.end method + +.method private static c(Ljava/util/List;)Ljava/util/List; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;>;)", + "Ljava/util/List<", + "Lcom/google/firebase/abt/a;", + ">;" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/abt/AbtException; + } + .end annotation + + .line 1 + new-instance v0, Ljava/util/ArrayList; + + invoke-direct {v0}, Ljava/util/ArrayList;->()V + + .line 2 + invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object p0 + + :goto_0 + invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z + + move-result v1 + + if-eqz v1, :cond_0 + + invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Ljava/util/Map; + + .line 3 + invoke-static {v1}, Lcom/google/firebase/abt/a;->a(Ljava/util/Map;)Lcom/google/firebase/abt/a; + + move-result-object v1 + + invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z + + goto :goto_0 + + :cond_0 + return-object v0 +.end method + +.method private d()V + .locals 2 + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/abt/AbtException; + } + .end annotation + + .line 14 + iget-object v0, p0, Lcom/google/firebase/abt/b;->a:Lcom/google/firebase/analytics/a/a; + + if-eqz v0, :cond_0 + + return-void + + .line 15 + :cond_0 + new-instance v0, Lcom/google/firebase/abt/AbtException; + + const-string v1, "The Analytics SDK is not available. Please check that the Analytics SDK is included in your app dependencies." + + invoke-direct {v0, v1}, Lcom/google/firebase/abt/AbtException;->(Ljava/lang/String;)V + + throw v0 +.end method + +.method private d(Ljava/util/List;)V + .locals 5 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Lcom/google/firebase/abt/a;", + ">;)V" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/abt/AbtException; + } + .end annotation + + .line 1 + invoke-interface {p1}, Ljava/util/List;->isEmpty()Z + + move-result v0 + + if-eqz v0, :cond_0 + + .line 2 + invoke-virtual {p0}, Lcom/google/firebase/abt/b;->a()V + + return-void + + .line 3 + :cond_0 + new-instance v0, Ljava/util/HashSet; + + invoke-direct {v0}, Ljava/util/HashSet;->()V + + .line 4 + invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object v1 + + :goto_0 + invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z + + move-result v2 + + if-eqz v2, :cond_1 + + invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Lcom/google/firebase/abt/a; + + .line 5 + invoke-virtual {v2}, Lcom/google/firebase/abt/a;->a()Ljava/lang/String; + + move-result-object v2 + + invoke-interface {v0, v2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z + + goto :goto_0 + + .line 6 + :cond_1 + invoke-direct {p0}, Lcom/google/firebase/abt/b;->b()Ljava/util/List; + + move-result-object v1 + + .line 7 + new-instance v2, Ljava/util/HashSet; + + invoke-direct {v2}, Ljava/util/HashSet;->()V + + .line 8 + invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object v3 + + :goto_1 + invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z + + move-result v4 + + if-eqz v4, :cond_2 + + invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v4 + + check-cast v4, Lcom/google/firebase/analytics/a/a$a; + + .line 9 + iget-object v4, v4, Lcom/google/firebase/analytics/a/a$a;->b:Ljava/lang/String; + + invoke-interface {v2, v4}, Ljava/util/Set;->add(Ljava/lang/Object;)Z + + goto :goto_1 + + .line 10 + :cond_2 + invoke-direct {p0, v1, v0}, Lcom/google/firebase/abt/b;->b(Ljava/util/List;Ljava/util/Set;)Ljava/util/ArrayList; + + move-result-object v0 + + .line 11 + invoke-direct {p0, v0}, Lcom/google/firebase/abt/b;->a(Ljava/util/Collection;)V + + .line 12 + invoke-direct {p0, p1, v2}, Lcom/google/firebase/abt/b;->a(Ljava/util/List;Ljava/util/Set;)Ljava/util/ArrayList; + + move-result-object p1 + + .line 13 + invoke-direct {p0, p1}, Lcom/google/firebase/abt/b;->b(Ljava/util/List;)V + + return-void +.end method + + +# virtual methods +.method public a()V + .locals 1 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/abt/AbtException; + } + .end annotation + + .line 4 + invoke-direct {p0}, Lcom/google/firebase/abt/b;->d()V + + .line 5 + invoke-direct {p0}, Lcom/google/firebase/abt/b;->b()Ljava/util/List; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/firebase/abt/b;->a(Ljava/util/Collection;)V + + return-void +.end method + +.method a(Ljava/lang/String;)V + .locals 2 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .line 22 + iget-object v0, p0, Lcom/google/firebase/abt/b;->a:Lcom/google/firebase/analytics/a/a; + + const/4 v1, 0x0 + + invoke-interface {v0, p1, v1, v1}, Lcom/google/firebase/analytics/a/a;->clearConditionalUserProperty(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V + + return-void +.end method + +.method public a(Ljava/util/List;)V + .locals 1 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;>;)V" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/abt/AbtException; + } + .end annotation + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/abt/b;->d()V + + if-eqz p1, :cond_0 + + .line 2 + invoke-static {p1}, Lcom/google/firebase/abt/b;->c(Ljava/util/List;)Ljava/util/List; + + move-result-object p1 + + invoke-direct {p0, p1}, Lcom/google/firebase/abt/b;->d(Ljava/util/List;)V + + return-void + + .line 3 + :cond_0 + new-instance p1, Ljava/lang/IllegalArgumentException; + + const-string v0, "The replacementExperiments list is null." + + invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V + + throw p1 +.end method diff --git a/smali/smali/com/google/firebase/abt/component/AbtRegistrar.smali b/smali/smali/com/google/firebase/abt/component/AbtRegistrar.smali new file mode 100644 index 000000000..54b9ce365 --- /dev/null +++ b/smali/smali/com/google/firebase/abt/component/AbtRegistrar.smali @@ -0,0 +1,130 @@ +.class public Lcom/google/firebase/abt/component/AbtRegistrar; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-abt@@19.0.0" + +# interfaces +.implements Lcom/google/firebase/components/h; + + +# annotations +.annotation build Landroidx/annotation/Keep; +.end annotation + + +# direct methods +.method public constructor ()V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method static synthetic lambda$getComponents$0(Lcom/google/firebase/components/e;)Lcom/google/firebase/abt/component/a; + .locals 3 + + .line 1 + new-instance v0, Lcom/google/firebase/abt/component/a; + + const-class v1, Landroid/content/Context; + + .line 2 + invoke-interface {p0, v1}, Lcom/google/firebase/components/e;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Landroid/content/Context; + + const-class v2, Lcom/google/firebase/analytics/a/a; + + invoke-interface {p0, v2}, Lcom/google/firebase/components/e;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object p0 + + check-cast p0, Lcom/google/firebase/analytics/a/a; + + invoke-direct {v0, v1, p0}, Lcom/google/firebase/abt/component/a;->(Landroid/content/Context;Lcom/google/firebase/analytics/a/a;)V + + return-object v0 +.end method + + +# virtual methods +.method public getComponents()Ljava/util/List; + .locals 3 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/List<", + "Lcom/google/firebase/components/d<", + "*>;>;" + } + .end annotation + + const/4 v0, 0x2 + + new-array v0, v0, [Lcom/google/firebase/components/d; + + .line 1 + const-class v1, Lcom/google/firebase/abt/component/a; + + .line 2 + invoke-static {v1}, Lcom/google/firebase/components/d;->a(Ljava/lang/Class;)Lcom/google/firebase/components/d$b; + + move-result-object v1 + + const-class v2, Landroid/content/Context; + + .line 3 + invoke-static {v2}, Lcom/google/firebase/components/n;->b(Ljava/lang/Class;)Lcom/google/firebase/components/n; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/n;)Lcom/google/firebase/components/d$b; + + const-class v2, Lcom/google/firebase/analytics/a/a; + + .line 4 + invoke-static {v2}, Lcom/google/firebase/components/n;->a(Ljava/lang/Class;)Lcom/google/firebase/components/n; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/n;)Lcom/google/firebase/components/d$b; + + invoke-static {}, Lcom/google/firebase/abt/component/b;->a()Lcom/google/firebase/components/g; + + move-result-object v2 + + .line 5 + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/g;)Lcom/google/firebase/components/d$b; + + .line 6 + invoke-virtual {v1}, Lcom/google/firebase/components/d$b;->b()Lcom/google/firebase/components/d; + + move-result-object v1 + + const/4 v2, 0x0 + + aput-object v1, v0, v2 + + const-string v1, "fire-abt" + + const-string v2, "19.0.0" + + .line 7 + invoke-static {v1, v2}, Lcom/google/firebase/i/g;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/components/d; + + move-result-object v1 + + const/4 v2, 0x1 + + aput-object v1, v0, v2 + + .line 8 + invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/abt/component/a.smali b/smali/smali/com/google/firebase/abt/component/a.smali new file mode 100644 index 000000000..f722acebf --- /dev/null +++ b/smali/smali/com/google/firebase/abt/component/a.smali @@ -0,0 +1,118 @@ +.class public Lcom/google/firebase/abt/component/a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-abt@@19.0.0" + + +# instance fields +.field private final a:Ljava/util/Map; + .annotation build Landroidx/annotation/GuardedBy; + value = "this" + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/util/Map<", + "Ljava/lang/String;", + "Lcom/google/firebase/abt/b;", + ">;" + } + .end annotation +.end field + +.field private final b:Landroid/content/Context; + +.field private final c:Lcom/google/firebase/analytics/a/a; + + +# direct methods +.method protected constructor (Landroid/content/Context;Lcom/google/firebase/analytics/a/a;)V + .locals 1 + .annotation build Landroidx/annotation/VisibleForTesting; + otherwise = 0x3 + .end annotation + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + iput-object v0, p0, Lcom/google/firebase/abt/component/a;->a:Ljava/util/Map; + + .line 3 + iput-object p1, p0, Lcom/google/firebase/abt/component/a;->b:Landroid/content/Context; + + .line 4 + iput-object p2, p0, Lcom/google/firebase/abt/component/a;->c:Lcom/google/firebase/analytics/a/a; + + return-void +.end method + + +# virtual methods +.method protected a(Ljava/lang/String;)Lcom/google/firebase/abt/b; + .locals 3 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .line 1 + new-instance v0, Lcom/google/firebase/abt/b; + + iget-object v1, p0, Lcom/google/firebase/abt/component/a;->b:Landroid/content/Context; + + iget-object v2, p0, Lcom/google/firebase/abt/component/a;->c:Lcom/google/firebase/analytics/a/a; + + invoke-direct {v0, v1, v2, p1}, Lcom/google/firebase/abt/b;->(Landroid/content/Context;Lcom/google/firebase/analytics/a/a;Ljava/lang/String;)V + + return-object v0 +.end method + +.method public declared-synchronized b(Ljava/lang/String;)Lcom/google/firebase/abt/b; + .locals 2 + + monitor-enter p0 + + .line 1 + :try_start_0 + iget-object v0, p0, Lcom/google/firebase/abt/component/a;->a:Ljava/util/Map; + + invoke-interface {v0, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v0 + + if-nez v0, :cond_0 + + .line 2 + iget-object v0, p0, Lcom/google/firebase/abt/component/a;->a:Ljava/util/Map; + + invoke-virtual {p0, p1}, Lcom/google/firebase/abt/component/a;->a(Ljava/lang/String;)Lcom/google/firebase/abt/b; + + move-result-object v1 + + invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 3 + :cond_0 + iget-object v0, p0, Lcom/google/firebase/abt/component/a;->a:Ljava/util/Map; + + invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/abt/b; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + monitor-exit p0 + + return-object p1 + + :catchall_0 + move-exception p1 + + monitor-exit p0 + + throw p1 +.end method diff --git a/smali/smali/com/google/firebase/abt/component/b.smali b/smali/smali/com/google/firebase/abt/component/b.smali new file mode 100644 index 000000000..fd60b73fc --- /dev/null +++ b/smali/smali/com/google/firebase/abt/component/b.smali @@ -0,0 +1,52 @@ +.class final synthetic Lcom/google/firebase/abt/component/b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-abt@@19.0.0" + +# interfaces +.implements Lcom/google/firebase/components/g; + + +# static fields +.field private static final a:Lcom/google/firebase/abt/component/b; + + +# direct methods +.method static constructor ()V + .locals 1 + + new-instance v0, Lcom/google/firebase/abt/component/b; + + invoke-direct {v0}, Lcom/google/firebase/abt/component/b;->()V + + sput-object v0, Lcom/google/firebase/abt/component/b;->a:Lcom/google/firebase/abt/component/b; + + return-void +.end method + +.method private constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method public static a()Lcom/google/firebase/components/g; + .locals 1 + + sget-object v0, Lcom/google/firebase/abt/component/b;->a:Lcom/google/firebase/abt/component/b; + + return-object v0 +.end method + + +# virtual methods +.method public a(Lcom/google/firebase/components/e;)Ljava/lang/Object; + .locals 0 + + invoke-static {p1}, Lcom/google/firebase/abt/component/AbtRegistrar;->lambda$getComponents$0(Lcom/google/firebase/components/e;)Lcom/google/firebase/abt/component/a; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/analytics/a/a$a.smali b/smali/smali/com/google/firebase/analytics/a/a$a.smali new file mode 100644 index 000000000..4d54fbb9a --- /dev/null +++ b/smali/smali/com/google/firebase/analytics/a/a$a.smali @@ -0,0 +1,55 @@ +.class public Lcom/google/firebase/analytics/a/a$a; +.super Ljava/lang/Object; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/analytics/a/a; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x9 + name = "a" +.end annotation + + +# instance fields +.field public a:Ljava/lang/String; + +.field public b:Ljava/lang/String; + +.field public c:Ljava/lang/Object; + +.field public d:Ljava/lang/String; + +.field public e:J + +.field public f:Ljava/lang/String; + +.field public g:Landroid/os/Bundle; + +.field public h:Ljava/lang/String; + +.field public i:Landroid/os/Bundle; + +.field public j:J + +.field public k:Ljava/lang/String; + +.field public l:Landroid/os/Bundle; + +.field public m:J + +.field public n:Z + +.field public o:J + + +# direct methods +.method public constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/analytics/a/a.smali b/smali/smali/com/google/firebase/analytics/a/a.smali new file mode 100644 index 000000000..5a77b3cd2 --- /dev/null +++ b/smali/smali/com/google/firebase/analytics/a/a.smali @@ -0,0 +1,119 @@ +.class public interface abstract Lcom/google/firebase/analytics/a/a; +.super Ljava/lang/Object; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/analytics/a/a$a; + } +.end annotation + + +# virtual methods +.method public abstract a(Ljava/lang/String;)I + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation build Landroidx/annotation/Size; + min = 0x1L + .end annotation + .end param + .annotation build Landroidx/annotation/WorkerThread; + .end annotation +.end method + +.method public abstract a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List; + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .param p2 # Ljava/lang/String; + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .annotation build Landroidx/annotation/Size; + max = 0x17L + min = 0x1L + .end annotation + .end param + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/lang/String;", + "Ljava/lang/String;", + ")", + "Ljava/util/List<", + "Lcom/google/firebase/analytics/a/a$a;", + ">;" + } + .end annotation +.end method + +.method public abstract a(Z)Ljava/util/Map; + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "(Z)", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/Object;", + ">;" + } + .end annotation +.end method + +.method public abstract a(Lcom/google/firebase/analytics/a/a$a;)V + .param p1 # Lcom/google/firebase/analytics/a/a$a; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param +.end method + +.method public abstract a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .param p2 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param +.end method + +.method public abstract a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .param p2 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param +.end method + +.method public abstract clearConditionalUserProperty(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation build Landroidx/annotation/Size; + max = 0x18L + min = 0x1L + .end annotation + .end param + .param p2 # Ljava/lang/String; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + .param p3 # Landroid/os/Bundle; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param +.end method diff --git a/smali/smali/com/google/firebase/analytics/a/c.smali b/smali/smali/com/google/firebase/analytics/a/c.smali new file mode 100644 index 000000000..8389852e9 --- /dev/null +++ b/smali/smali/com/google/firebase/analytics/a/c.smali @@ -0,0 +1,40 @@ +.class final synthetic Lcom/google/firebase/analytics/a/c; +.super Ljava/lang/Object; +.source "com.google.android.gms:play-services-measurement-api@@17.2.1" + +# interfaces +.implements Lcom/google/firebase/e/b; + + +# static fields +.field static final a:Lcom/google/firebase/e/b; + + +# direct methods +.method static constructor ()V + .locals 1 + + new-instance v0, Lcom/google/firebase/analytics/a/c; + + invoke-direct {v0}, Lcom/google/firebase/analytics/a/c;->()V + + sput-object v0, Lcom/google/firebase/analytics/a/c;->a:Lcom/google/firebase/e/b; + + return-void +.end method + +.method private constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + + +# virtual methods +.method public final a(Lcom/google/firebase/e/a;)V + .locals 0 + + return-void +.end method diff --git a/smali/smali/com/google/firebase/analytics/a/d.smali b/smali/smali/com/google/firebase/analytics/a/d.smali new file mode 100644 index 000000000..2090ce6d0 --- /dev/null +++ b/smali/smali/com/google/firebase/analytics/a/d.smali @@ -0,0 +1,42 @@ +.class final synthetic Lcom/google/firebase/analytics/a/d; +.super Ljava/lang/Object; +.source "com.google.android.gms:play-services-measurement-api@@17.2.1" + +# interfaces +.implements Ljava/util/concurrent/Executor; + + +# static fields +.field static final a:Ljava/util/concurrent/Executor; + + +# direct methods +.method static constructor ()V + .locals 1 + + new-instance v0, Lcom/google/firebase/analytics/a/d; + + invoke-direct {v0}, Lcom/google/firebase/analytics/a/d;->()V + + sput-object v0, Lcom/google/firebase/analytics/a/d;->a:Ljava/util/concurrent/Executor; + + return-void +.end method + +.method private constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + + +# virtual methods +.method public final execute(Ljava/lang/Runnable;)V + .locals 0 + + invoke-interface {p1}, Ljava/lang/Runnable;->run()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/messaging/b.smali b/smali/smali/com/google/firebase/messaging/b.smali index 7cee8641b..04f67dd9e 100644 --- a/smali/smali/com/google/firebase/messaging/b.smali +++ b/smali/smali/com/google/firebase/messaging/b.smali @@ -297,6 +297,26 @@ .line 28 :cond_b + invoke-static {}, Lcom/google/firebase/c;->i()Lcom/google/firebase/c; + + move-result-object p1 + + const-class v1, Lcom/google/firebase/analytics/a/a; + + invoke-virtual {p1, v1}, Lcom/google/firebase/c;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/analytics/a/a; + + if-eqz p1, :cond_c + + const-string v1, "fcm" + + .line 29 + invoke-interface {p1, v1, p0, v0}, Lcom/google/firebase/analytics/a/a;->a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V + + :cond_c return-void .end method @@ -314,6 +334,105 @@ .method public static c(Landroid/content/Intent;)V .locals 6 + if-eqz p0, :cond_1 + + const-string v0, "google.c.a.tc" + + .line 1 + invoke-virtual {p0, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + const-string v1, "1" + + .line 2 + invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z + + move-result v0 + + const/4 v1, 0x3 + + const-string v2, "FirebaseMessaging" + + if-eqz v0, :cond_0 + + .line 3 + invoke-static {}, Lcom/google/firebase/c;->i()Lcom/google/firebase/c; + + move-result-object v0 + + const-class v3, Lcom/google/firebase/analytics/a/a; + + invoke-virtual {v0, v3}, Lcom/google/firebase/c;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Lcom/google/firebase/analytics/a/a; + + .line 4 + invoke-static {v2, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z + + move-result v1 + + if-eqz v0, :cond_1 + + const-string v1, "google.c.a.c_id" + + .line 5 + invoke-virtual {p0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v1 + + const-string v2, "fcm" + + const-string v3, "_ln" + + .line 6 + invoke-interface {v0, v2, v3, v1}, Lcom/google/firebase/analytics/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V + + .line 7 + new-instance v3, Landroid/os/Bundle; + + invoke-direct {v3}, Landroid/os/Bundle;->()V + + const-string v4, "source" + + const-string v5, "Firebase" + + .line 8 + invoke-virtual {v3, v4, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V + + const-string v4, "medium" + + const-string v5, "notification" + + .line 9 + invoke-virtual {v3, v4, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V + + const-string v4, "campaign" + + .line 10 + invoke-virtual {v3, v4, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V + + const-string v1, "_cmp" + + .line 11 + invoke-interface {v0, v2, v1, v3}, Lcom/google/firebase/analytics/a/a;->a(Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)V + + goto :goto_0 + + .line 12 + :cond_0 + invoke-static {v2, v1}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z + + move-result v0 + + :cond_1 + :goto_0 + const-string v0, "_no" + + .line 13 + invoke-static {v0, p0}, Lcom/google/firebase/messaging/b;->a(Ljava/lang/String;Landroid/content/Intent;)V return-void .end method diff --git a/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigClientException.smali b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigClientException.smali new file mode 100644 index 000000000..f409e367e --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigClientException.smali @@ -0,0 +1,35 @@ +.class public Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; +.super Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# direct methods +.method public constructor (Ljava/lang/String;)V + .locals 0 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + + .line 1 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException;->(Ljava/lang/String;)V + + return-void +.end method + +.method public constructor (Ljava/lang/String;Ljava/lang/Throwable;)V + .locals 0 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .param p2 # Ljava/lang/Throwable; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + + .line 2 + invoke-direct {p0, p1, p2}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigException.smali b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigException.smali new file mode 100644 index 000000000..bd2e8a4f6 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigException.smali @@ -0,0 +1,35 @@ +.class public Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; +.super Lcom/google/firebase/FirebaseException; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# direct methods +.method public constructor (Ljava/lang/String;)V + .locals 0 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + + .line 1 + invoke-direct {p0, p1}, Lcom/google/firebase/FirebaseException;->(Ljava/lang/String;)V + + return-void +.end method + +.method public constructor (Ljava/lang/String;Ljava/lang/Throwable;)V + .locals 0 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .param p2 # Ljava/lang/Throwable; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + + .line 2 + invoke-direct {p0, p1, p2}, Lcom/google/firebase/FirebaseException;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchException.smali b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchException.smali new file mode 100644 index 000000000..2cc71c4c8 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchException.smali @@ -0,0 +1,23 @@ +.class public Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchException; +.super Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation runtime Ljava/lang/Deprecated; +.end annotation + + +# direct methods +.method public constructor (Ljava/lang/String;)V + .locals 0 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + + .line 1 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException;->(Ljava/lang/String;)V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException.smali b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException.smali new file mode 100644 index 000000000..45854eb13 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException.smali @@ -0,0 +1,32 @@ +.class public Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException; +.super Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchException; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# instance fields +.field private final throttleEndTimeMillis:J + + +# direct methods +.method public constructor (J)V + .locals 1 + + const-string v0, "Fetch was throttled." + + .line 1 + invoke-direct {p0, v0, p1, p2}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException;->(Ljava/lang/String;J)V + + return-void +.end method + +.method public constructor (Ljava/lang/String;J)V + .locals 0 + + .line 2 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchException;->(Ljava/lang/String;)V + + .line 3 + iput-wide p2, p0, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException;->throttleEndTimeMillis:J + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigServerException.smali b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigServerException.smali new file mode 100644 index 000000000..625b811c3 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/FirebaseRemoteConfigServerException.smali @@ -0,0 +1,56 @@ +.class public Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException; +.super Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# instance fields +.field private final httpStatusCode:I + + +# direct methods +.method public constructor (ILjava/lang/String;)V + .locals 0 + .param p2 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + + .line 1 + invoke-direct {p0, p2}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException;->(Ljava/lang/String;)V + + .line 2 + iput p1, p0, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->httpStatusCode:I + + return-void +.end method + +.method public constructor (ILjava/lang/String;Ljava/lang/Throwable;)V + .locals 0 + .param p2 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .param p3 # Ljava/lang/Throwable; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + + .line 3 + invoke-direct {p0, p2, p3}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + .line 4 + iput p1, p0, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->httpStatusCode:I + + return-void +.end method + + +# virtual methods +.method public a()I + .locals 1 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->httpStatusCode:I + + return v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/RemoteConfigRegistrar.smali b/smali/smali/com/google/firebase/remoteconfig/RemoteConfigRegistrar.smali new file mode 100644 index 000000000..0e004710b --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/RemoteConfigRegistrar.smali @@ -0,0 +1,204 @@ +.class public Lcom/google/firebase/remoteconfig/RemoteConfigRegistrar; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/components/h; + + +# annotations +.annotation build Landroidx/annotation/Keep; +.end annotation + + +# direct methods +.method public constructor ()V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method static synthetic lambda$getComponents$0(Lcom/google/firebase/components/e;)Lcom/google/firebase/remoteconfig/m; + .locals 7 + + .line 1 + new-instance v6, Lcom/google/firebase/remoteconfig/m; + + const-class v0, Landroid/content/Context; + + .line 2 + invoke-interface {p0, v0}, Lcom/google/firebase/components/e;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object v0 + + move-object v1, v0 + + check-cast v1, Landroid/content/Context; + + const-class v0, Lcom/google/firebase/c; + + .line 3 + invoke-interface {p0, v0}, Lcom/google/firebase/components/e;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object v0 + + move-object v2, v0 + + check-cast v2, Lcom/google/firebase/c; + + const-class v0, Lcom/google/firebase/iid/FirebaseInstanceId; + + .line 4 + invoke-interface {p0, v0}, Lcom/google/firebase/components/e;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object v0 + + move-object v3, v0 + + check-cast v3, Lcom/google/firebase/iid/FirebaseInstanceId; + + const-class v0, Lcom/google/firebase/abt/component/a; + + .line 5 + invoke-interface {p0, v0}, Lcom/google/firebase/components/e;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Lcom/google/firebase/abt/component/a; + + const-string v4, "frc" + + invoke-virtual {v0, v4}, Lcom/google/firebase/abt/component/a;->b(Ljava/lang/String;)Lcom/google/firebase/abt/b; + + move-result-object v4 + + const-class v0, Lcom/google/firebase/analytics/a/a; + + .line 6 + invoke-interface {p0, v0}, Lcom/google/firebase/components/e;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object p0 + + move-object v5, p0 + + check-cast v5, Lcom/google/firebase/analytics/a/a; + + move-object v0, v6 + + invoke-direct/range {v0 .. v5}, Lcom/google/firebase/remoteconfig/m;->(Landroid/content/Context;Lcom/google/firebase/c;Lcom/google/firebase/iid/FirebaseInstanceId;Lcom/google/firebase/abt/b;Lcom/google/firebase/analytics/a/a;)V + + return-object v6 +.end method + + +# virtual methods +.method public getComponents()Ljava/util/List; + .locals 3 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/List<", + "Lcom/google/firebase/components/d<", + "*>;>;" + } + .end annotation + + const/4 v0, 0x2 + + new-array v0, v0, [Lcom/google/firebase/components/d; + + .line 1 + const-class v1, Lcom/google/firebase/remoteconfig/m; + + .line 2 + invoke-static {v1}, Lcom/google/firebase/components/d;->a(Ljava/lang/Class;)Lcom/google/firebase/components/d$b; + + move-result-object v1 + + const-class v2, Landroid/content/Context; + + .line 3 + invoke-static {v2}, Lcom/google/firebase/components/n;->b(Ljava/lang/Class;)Lcom/google/firebase/components/n; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/n;)Lcom/google/firebase/components/d$b; + + const-class v2, Lcom/google/firebase/c; + + .line 4 + invoke-static {v2}, Lcom/google/firebase/components/n;->b(Ljava/lang/Class;)Lcom/google/firebase/components/n; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/n;)Lcom/google/firebase/components/d$b; + + const-class v2, Lcom/google/firebase/iid/FirebaseInstanceId; + + .line 5 + invoke-static {v2}, Lcom/google/firebase/components/n;->b(Ljava/lang/Class;)Lcom/google/firebase/components/n; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/n;)Lcom/google/firebase/components/d$b; + + const-class v2, Lcom/google/firebase/abt/component/a; + + .line 6 + invoke-static {v2}, Lcom/google/firebase/components/n;->b(Ljava/lang/Class;)Lcom/google/firebase/components/n; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/n;)Lcom/google/firebase/components/d$b; + + const-class v2, Lcom/google/firebase/analytics/a/a; + + .line 7 + invoke-static {v2}, Lcom/google/firebase/components/n;->a(Ljava/lang/Class;)Lcom/google/firebase/components/n; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/n;)Lcom/google/firebase/components/d$b; + + invoke-static {}, Lcom/google/firebase/remoteconfig/n;->a()Lcom/google/firebase/components/g; + + move-result-object v2 + + .line 8 + invoke-virtual {v1, v2}, Lcom/google/firebase/components/d$b;->a(Lcom/google/firebase/components/g;)Lcom/google/firebase/components/d$b; + + .line 9 + invoke-virtual {v1}, Lcom/google/firebase/components/d$b;->a()Lcom/google/firebase/components/d$b; + + .line 10 + invoke-virtual {v1}, Lcom/google/firebase/components/d$b;->b()Lcom/google/firebase/components/d; + + move-result-object v1 + + const/4 v2, 0x0 + + aput-object v1, v0, v2 + + const-string v1, "fire-rc" + + const-string v2, "19.0.3" + + .line 11 + invoke-static {v1, v2}, Lcom/google/firebase/i/g;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/components/d; + + move-result-object v1 + + const/4 v2, 0x1 + + aput-object v1, v0, v2 + + .line 12 + invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/a.smali b/smali/smali/com/google/firebase/remoteconfig/a.smali new file mode 100644 index 000000000..e42f7719e --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/a.smali @@ -0,0 +1,50 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/a; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/g; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/g;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/a;->a:Lcom/google/firebase/remoteconfig/g; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/g;)Lcom/google/android/gms/tasks/a; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/a; + + invoke-direct {v0, p0}, Lcom/google/firebase/remoteconfig/a;->(Lcom/google/firebase/remoteconfig/g;)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Lcom/google/android/gms/tasks/g;)Ljava/lang/Object; + .locals 1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/a;->a:Lcom/google/firebase/remoteconfig/g; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;)Z + + move-result p1 + + invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/b.smali b/smali/smali/com/google/firebase/remoteconfig/b.smali new file mode 100644 index 000000000..737b0975b --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/b.smali @@ -0,0 +1,48 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/f; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/g; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/g;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/b;->a:Lcom/google/firebase/remoteconfig/g; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/g;)Lcom/google/android/gms/tasks/f; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/b; + + invoke-direct {v0, p0}, Lcom/google/firebase/remoteconfig/b;->(Lcom/google/firebase/remoteconfig/g;)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + .locals 1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/b;->a:Lcom/google/firebase/remoteconfig/g; + + check-cast p1, Ljava/lang/Void; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/g;Ljava/lang/Void;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/c.smali b/smali/smali/com/google/firebase/remoteconfig/c.smali new file mode 100644 index 000000000..53b7122b7 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/c.smali @@ -0,0 +1,46 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/c; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/e; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/g; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/g;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/c;->a:Lcom/google/firebase/remoteconfig/g; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/g;)Lcom/google/android/gms/tasks/e; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/c; + + invoke-direct {v0, p0}, Lcom/google/firebase/remoteconfig/c;->(Lcom/google/firebase/remoteconfig/g;)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Ljava/lang/Object;)V + .locals 1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/c;->a:Lcom/google/firebase/remoteconfig/g; + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/f; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/g;Lcom/google/firebase/remoteconfig/internal/f;)V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/d.smali b/smali/smali/com/google/firebase/remoteconfig/d.smali new file mode 100644 index 000000000..2d1be18d3 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/d.smali @@ -0,0 +1,58 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/d; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/a; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/g; + +.field private final b:Lcom/google/android/gms/tasks/g; + +.field private final c:Lcom/google/android/gms/tasks/g; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/d;->a:Lcom/google/firebase/remoteconfig/g; + + iput-object p2, p0, Lcom/google/firebase/remoteconfig/d;->b:Lcom/google/android/gms/tasks/g; + + iput-object p3, p0, Lcom/google/firebase/remoteconfig/d;->c:Lcom/google/android/gms/tasks/g; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/a; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/d; + + invoke-direct {v0, p0, p1, p2}, Lcom/google/firebase/remoteconfig/d;->(Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Lcom/google/android/gms/tasks/g;)Ljava/lang/Object; + .locals 3 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/d;->a:Lcom/google/firebase/remoteconfig/g; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/d;->b:Lcom/google/android/gms/tasks/g; + + iget-object v2, p0, Lcom/google/firebase/remoteconfig/d;->c:Lcom/google/android/gms/tasks/g; + + invoke-static {v0, v1, v2, p1}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/e.smali b/smali/smali/com/google/firebase/remoteconfig/e.smali new file mode 100644 index 000000000..93c957286 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/e.smali @@ -0,0 +1,54 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/e; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/f; + + +# static fields +.field private static final a:Lcom/google/firebase/remoteconfig/e; + + +# direct methods +.method static constructor ()V + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/e; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/e;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/e;->a:Lcom/google/firebase/remoteconfig/e; + + return-void +.end method + +.method private constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method public static a()Lcom/google/android/gms/tasks/f; + .locals 1 + + sget-object v0, Lcom/google/firebase/remoteconfig/e;->a:Lcom/google/firebase/remoteconfig/e; + + return-object v0 +.end method + + +# virtual methods +.method public a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + .locals 0 + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/j$a; + + invoke-static {p1}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/internal/j$a;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/f.smali b/smali/smali/com/google/firebase/remoteconfig/f.smali new file mode 100644 index 000000000..3c6cf535d --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/f.smali @@ -0,0 +1,54 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/f; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/f; + + +# static fields +.field private static final a:Lcom/google/firebase/remoteconfig/f; + + +# direct methods +.method static constructor ()V + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/f; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/f;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/f;->a:Lcom/google/firebase/remoteconfig/f; + + return-void +.end method + +.method private constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method public static a()Lcom/google/android/gms/tasks/f; + .locals 1 + + sget-object v0, Lcom/google/firebase/remoteconfig/f;->a:Lcom/google/firebase/remoteconfig/f; + + return-object v0 +.end method + + +# virtual methods +.method public a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + .locals 0 + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/j$a; + + invoke-static {p1}, Lcom/google/firebase/remoteconfig/g;->b(Lcom/google/firebase/remoteconfig/internal/j$a;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/g.smali b/smali/smali/com/google/firebase/remoteconfig/g.smali new file mode 100644 index 000000000..58d43608f --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/g.smali @@ -0,0 +1,851 @@ +.class public Lcom/google/firebase/remoteconfig/g; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# instance fields +.field private final a:Lcom/google/firebase/abt/b; + .annotation build Landroidx/annotation/Nullable; + .end annotation +.end field + +.field private final b:Ljava/util/concurrent/Executor; + +.field private final c:Lcom/google/firebase/remoteconfig/internal/e; + +.field private final d:Lcom/google/firebase/remoteconfig/internal/e; + +.field private final e:Lcom/google/firebase/remoteconfig/internal/e; + +.field private final f:Lcom/google/firebase/remoteconfig/internal/j; + +.field private final g:Lcom/google/firebase/remoteconfig/internal/k; + +.field private final h:Lcom/google/firebase/remoteconfig/internal/l; + + +# direct methods +.method constructor (Landroid/content/Context;Lcom/google/firebase/c;Lcom/google/firebase/abt/b;Ljava/util/concurrent/Executor;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/j;Lcom/google/firebase/remoteconfig/internal/k;Lcom/google/firebase/remoteconfig/internal/l;)V + .locals 0 + .param p3 # Lcom/google/firebase/abt/b; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/g;->a:Lcom/google/firebase/abt/b; + + .line 3 + iput-object p4, p0, Lcom/google/firebase/remoteconfig/g;->b:Ljava/util/concurrent/Executor; + + .line 4 + iput-object p5, p0, Lcom/google/firebase/remoteconfig/g;->c:Lcom/google/firebase/remoteconfig/internal/e; + + .line 5 + iput-object p6, p0, Lcom/google/firebase/remoteconfig/g;->d:Lcom/google/firebase/remoteconfig/internal/e; + + .line 6 + iput-object p7, p0, Lcom/google/firebase/remoteconfig/g;->e:Lcom/google/firebase/remoteconfig/internal/e; + + .line 7 + iput-object p8, p0, Lcom/google/firebase/remoteconfig/g;->f:Lcom/google/firebase/remoteconfig/internal/j; + + .line 8 + iput-object p9, p0, Lcom/google/firebase/remoteconfig/g;->g:Lcom/google/firebase/remoteconfig/internal/k; + + .line 9 + iput-object p10, p0, Lcom/google/firebase/remoteconfig/g;->h:Lcom/google/firebase/remoteconfig/internal/l; + + return-void +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/g; + .locals 1 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + .line 9 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result p3 + + const/4 v0, 0x0 + + invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; + + move-result-object v0 + + if-eqz p3, :cond_2 + + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->b()Ljava/lang/Object; + + move-result-object p3 + + if-nez p3, :cond_0 + + goto :goto_0 + + .line 10 + :cond_0 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->b()Ljava/lang/Object; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/f; + + .line 11 + invoke-virtual {p2}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result p3 + + if-eqz p3, :cond_1 + + .line 12 + invoke-virtual {p2}, Lcom/google/android/gms/tasks/g;->b()Ljava/lang/Object; + + move-result-object p2 + + check-cast p2, Lcom/google/firebase/remoteconfig/internal/f; + + .line 13 + invoke-static {p1, p2}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/internal/f;Lcom/google/firebase/remoteconfig/internal/f;)Z + + move-result p2 + + if-nez p2, :cond_1 + + .line 14 + invoke-static {v0}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 + + .line 15 + :cond_1 + iget-object p2, p0, Lcom/google/firebase/remoteconfig/g;->d:Lcom/google/firebase/remoteconfig/internal/e; + + .line 16 + invoke-virtual {p2, p1}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + iget-object p2, p0, Lcom/google/firebase/remoteconfig/g;->b:Ljava/util/concurrent/Executor; + + invoke-static {p0}, Lcom/google/firebase/remoteconfig/a;->a(Lcom/google/firebase/remoteconfig/g;)Lcom/google/android/gms/tasks/a; + + move-result-object p0 + + .line 17 + invoke-virtual {p1, p2, p0}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/a;)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 + + .line 18 + :cond_2 + :goto_0 + invoke-static {v0}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/g;Ljava/lang/Void;)Lcom/google/android/gms/tasks/g; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + .line 2 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/g;->a()Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/j$a;)Lcom/google/android/gms/tasks/g; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + const/4 p0, 0x0 + + .line 19 + invoke-static {p0}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 +.end method + +.method public static a(Lcom/google/firebase/c;)Lcom/google/firebase/remoteconfig/g; + .locals 1 + .param p0 # Lcom/google/firebase/c; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .line 1 + const-class v0, Lcom/google/firebase/remoteconfig/m; + + invoke-virtual {p0, v0}, Lcom/google/firebase/c;->a(Ljava/lang/Class;)Ljava/lang/Object; + + move-result-object p0 + + check-cast p0, Lcom/google/firebase/remoteconfig/m; + + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/m;->a()Lcom/google/firebase/remoteconfig/g; + + move-result-object p0 + + return-object p0 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/g;Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 1 + + .line 3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->c:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->a()V + + .line 4 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/f;->a()Lorg/json/JSONArray; + + move-result-object p1 + + invoke-virtual {p0, p1}, Lcom/google/firebase/remoteconfig/g;->a(Lorg/json/JSONArray;)V + + return-void +.end method + +.method private a(Lcom/google/android/gms/tasks/g;)Z + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;)Z" + } + .end annotation + + .line 24 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result v0 + + if-eqz v0, :cond_1 + + .line 25 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->c:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->a()V + + .line 26 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->b()Ljava/lang/Object; + + move-result-object v0 + + if-eqz v0, :cond_0 + + .line 27 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->b()Ljava/lang/Object; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/f; + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/f;->a()Lorg/json/JSONArray; + + move-result-object p1 + + invoke-virtual {p0, p1}, Lcom/google/firebase/remoteconfig/g;->a(Lorg/json/JSONArray;)V + + goto :goto_0 + + :cond_0 + const-string p1, "FirebaseRemoteConfig" + + const-string v0, "Activated configs written to disk are null." + + .line 28 + invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I + + :goto_0 + const/4 p1, 0x1 + + return p1 + + :cond_1 + const/4 p1, 0x0 + + return p1 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;)Z + .locals 0 + + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/android/gms/tasks/g;)Z + + move-result p0 + + return p0 +.end method + +.method private static a(Lcom/google/firebase/remoteconfig/internal/f;Lcom/google/firebase/remoteconfig/internal/f;)Z + .locals 0 + .param p1 # Lcom/google/firebase/remoteconfig/internal/f; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + + if-eqz p1, :cond_1 + + .line 33 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/internal/f;->c()Ljava/util/Date; + + move-result-object p0 + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/f;->c()Ljava/util/Date; + + move-result-object p1 + + invoke-virtual {p0, p1}, Ljava/util/Date;->equals(Ljava/lang/Object;)Z + + move-result p0 + + if-nez p0, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 p0, 0x0 + + goto :goto_1 + + :cond_1 + :goto_0 + const/4 p0, 0x1 + + :goto_1 + return p0 +.end method + +.method static synthetic b(Lcom/google/firebase/remoteconfig/internal/j$a;)Lcom/google/android/gms/tasks/g; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + const/4 p0, 0x0 + + .line 7 + invoke-static {p0}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 +.end method + +.method static b(Lorg/json/JSONArray;)Ljava/util/List; + .locals 7 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lorg/json/JSONArray;", + ")", + "Ljava/util/List<", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;>;" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lorg/json/JSONException; + } + .end annotation + + .line 9 + new-instance v0, Ljava/util/ArrayList; + + invoke-direct {v0}, Ljava/util/ArrayList;->()V + + const/4 v1, 0x0 + + .line 10 + :goto_0 + invoke-virtual {p0}, Lorg/json/JSONArray;->length()I + + move-result v2 + + if-ge v1, v2, :cond_1 + + .line 11 + new-instance v2, Ljava/util/HashMap; + + invoke-direct {v2}, Ljava/util/HashMap;->()V + + .line 12 + invoke-virtual {p0, v1}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject; + + move-result-object v3 + + .line 13 + invoke-virtual {v3}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator; + + move-result-object v4 + + .line 14 + :goto_1 + invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z + + move-result v5 + + if-eqz v5, :cond_0 + + .line 15 + invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v5 + + check-cast v5, Ljava/lang/String; + + .line 16 + invoke-virtual {v3, v5}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v6 + + invoke-interface {v2, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + goto :goto_1 + + .line 17 + :cond_0 + invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z + + add-int/lit8 v1, v1, 0x1 + + goto :goto_0 + + :cond_1 + return-object v0 +.end method + +.method public static g()Lcom/google/firebase/remoteconfig/g; + .locals 1 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .line 1 + invoke-static {}, Lcom/google/firebase/c;->i()Lcom/google/firebase/c; + + move-result-object v0 + + invoke-static {v0}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/c;)Lcom/google/firebase/remoteconfig/g; + + move-result-object v0 + + return-object v0 +.end method + + +# virtual methods +.method public a()Lcom/google/android/gms/tasks/g; + .locals 4 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/android/gms/tasks/g<", + "Ljava/lang/Boolean;", + ">;" + } + .end annotation + + .line 5 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->c:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->b()Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + .line 6 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/g;->d:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v1}, Lcom/google/firebase/remoteconfig/internal/e;->b()Lcom/google/android/gms/tasks/g; + + move-result-object v1 + + const/4 v2, 0x2 + + new-array v2, v2, [Lcom/google/android/gms/tasks/g; + + const/4 v3, 0x0 + + aput-object v0, v2, v3 + + const/4 v3, 0x1 + + aput-object v1, v2, v3 + + .line 7 + invoke-static {v2}, Lcom/google/android/gms/tasks/j;->a([Lcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/g; + + move-result-object v2 + + iget-object v3, p0, Lcom/google/firebase/remoteconfig/g;->b:Ljava/util/concurrent/Executor; + + invoke-static {p0, v0, v1}, Lcom/google/firebase/remoteconfig/d;->a(Lcom/google/firebase/remoteconfig/g;Lcom/google/android/gms/tasks/g;Lcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/a; + + move-result-object v0 + + .line 8 + invoke-virtual {v2, v3, v0}, Lcom/google/android/gms/tasks/g;->b(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/a;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + return-object v0 +.end method + +.method public a(J)Lcom/google/android/gms/tasks/g; + .locals 1 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "(J)", + "Lcom/google/android/gms/tasks/g<", + "Ljava/lang/Void;", + ">;" + } + .end annotation + + .line 20 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->f:Lcom/google/firebase/remoteconfig/internal/j; + + invoke-virtual {v0, p1, p2}, Lcom/google/firebase/remoteconfig/internal/j;->a(J)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + .line 21 + invoke-static {}, Lcom/google/firebase/remoteconfig/f;->a()Lcom/google/android/gms/tasks/f; + + move-result-object p2 + + invoke-virtual {p1, p2}, Lcom/google/android/gms/tasks/g;->a(Lcom/google/android/gms/tasks/f;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method + +.method public a(Lcom/google/firebase/remoteconfig/i;)V + .locals 1 + .param p1 # Lcom/google/firebase/remoteconfig/i; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .annotation runtime Ljava/lang/Deprecated; + .end annotation + + .line 23 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0, p1}, Lcom/google/firebase/remoteconfig/internal/l;->a(Lcom/google/firebase/remoteconfig/i;)V + + return-void +.end method + +.method a(Lorg/json/JSONArray;)V + .locals 2 + .param p1 # Lorg/json/JSONArray; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .line 29 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->a:Lcom/google/firebase/abt/b; + + if-nez v0, :cond_0 + + return-void + + .line 30 + :cond_0 + :try_start_0 + invoke-static {p1}, Lcom/google/firebase/remoteconfig/g;->b(Lorg/json/JSONArray;)Ljava/util/List; + + move-result-object p1 + + .line 31 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->a:Lcom/google/firebase/abt/b; + + invoke-virtual {v0, p1}, Lcom/google/firebase/abt/b;->a(Ljava/util/List;)V + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 + .catch Lcom/google/firebase/abt/AbtException; {:try_start_0 .. :try_end_0} :catch_1 + + goto :goto_0 + + :catch_0 + move-exception p1 + + const-string v0, "FirebaseRemoteConfig" + + const-string v1, "Could not parse ABT experiments from the JSON response." + + .line 32 + invoke-static {v0, v1, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I + + :catch_1 + :goto_0 + return-void +.end method + +.method public a(Ljava/lang/String;)Z + .locals 1 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + + .line 22 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->g:Lcom/google/firebase/remoteconfig/internal/k; + + invoke-virtual {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->a(Ljava/lang/String;)Z + + move-result p1 + + return p1 +.end method + +.method public b(Ljava/lang/String;)Ljava/lang/String; + .locals 1 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .line 8 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->g:Lcom/google/firebase/remoteconfig/internal/k; + + invoke-virtual {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->b(Ljava/lang/String;)Ljava/lang/String; + + move-result-object p1 + + return-object p1 +.end method + +.method public b()Z + .locals 3 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation runtime Ljava/lang/Deprecated; + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->c:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->c()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v0 + + const/4 v1, 0x0 + + if-nez v0, :cond_0 + + return v1 + + .line 2 + :cond_0 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/g;->d:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v2}, Lcom/google/firebase/remoteconfig/internal/e;->c()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v2 + + .line 3 + invoke-static {v0, v2}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/internal/f;Lcom/google/firebase/remoteconfig/internal/f;)Z + + move-result v2 + + if-nez v2, :cond_1 + + return v1 + + .line 4 + :cond_1 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/g;->d:Lcom/google/firebase/remoteconfig/internal/e; + + .line 5 + invoke-virtual {v1, v0}, Lcom/google/firebase/remoteconfig/internal/e;->b(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/g;->b:Ljava/util/concurrent/Executor; + + invoke-static {p0}, Lcom/google/firebase/remoteconfig/c;->a(Lcom/google/firebase/remoteconfig/g;)Lcom/google/android/gms/tasks/e; + + move-result-object v2 + + .line 6 + invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/e;)Lcom/google/android/gms/tasks/g; + + const/4 v0, 0x1 + + return v0 +.end method + +.method public c()Lcom/google/android/gms/tasks/g; + .locals 2 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/android/gms/tasks/g<", + "Ljava/lang/Void;", + ">;" + } + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->f:Lcom/google/firebase/remoteconfig/internal/j; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/j;->a()Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/e;->a()Lcom/google/android/gms/tasks/f; + + move-result-object v1 + + invoke-virtual {v0, v1}, Lcom/google/android/gms/tasks/g;->a(Lcom/google/android/gms/tasks/f;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + return-object v0 +.end method + +.method public c(Ljava/lang/String;)Lcom/google/firebase/remoteconfig/j; + .locals 1 + .param p1 # Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .line 3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->g:Lcom/google/firebase/remoteconfig/internal/k; + + invoke-virtual {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->c(Ljava/lang/String;)Lcom/google/firebase/remoteconfig/j; + + move-result-object p1 + + return-object p1 +.end method + +.method public d()Lcom/google/android/gms/tasks/g; + .locals 3 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/android/gms/tasks/g<", + "Ljava/lang/Boolean;", + ">;" + } + .end annotation + + .line 1 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/g;->c()Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/g;->b:Ljava/util/concurrent/Executor; + + invoke-static {p0}, Lcom/google/firebase/remoteconfig/b;->a(Lcom/google/firebase/remoteconfig/g;)Lcom/google/android/gms/tasks/f; + + move-result-object v2 + + invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/f;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + return-object v0 +.end method + +.method public e()Lcom/google/firebase/remoteconfig/h; + .locals 1 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l;->c()Lcom/google/firebase/remoteconfig/h; + + move-result-object v0 + + return-object v0 +.end method + +.method f()V + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->d:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->b()Lcom/google/android/gms/tasks/g; + + .line 2 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->e:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->b()Lcom/google/android/gms/tasks/g; + + .line 3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/g;->c:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->b()Lcom/google/android/gms/tasks/g; + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/h.smali b/smali/smali/com/google/firebase/remoteconfig/h.smali new file mode 100644 index 000000000..dc9307809 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/h.smali @@ -0,0 +1,13 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/h; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# virtual methods +.method public abstract a()Lcom/google/firebase/remoteconfig/i; + .annotation build Landroidx/annotation/NonNull; + .end annotation +.end method + +.method public abstract b()I +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/i$a.smali b/smali/smali/com/google/firebase/remoteconfig/i$a.smali new file mode 100644 index 000000000..9ebd16d4b --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/i$a.smali @@ -0,0 +1,14 @@ +.class synthetic Lcom/google/firebase/remoteconfig/i$a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/i; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x1008 + name = null +.end annotation diff --git a/smali/smali/com/google/firebase/remoteconfig/i$b.smali b/smali/smali/com/google/firebase/remoteconfig/i$b.smali new file mode 100644 index 000000000..0d144fa6e --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/i$b.smali @@ -0,0 +1,200 @@ +.class public Lcom/google/firebase/remoteconfig/i$b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/i; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x9 + name = "b" +.end annotation + + +# instance fields +.field private a:Z + +.field private b:J + +.field private c:J + + +# direct methods +.method public constructor ()V + .locals 2 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + const/4 v0, 0x0 + + .line 2 + iput-boolean v0, p0, Lcom/google/firebase/remoteconfig/i$b;->a:Z + + const-wide/16 v0, 0x3c + + .line 3 + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/i$b;->b:J + + .line 4 + sget-wide v0, Lcom/google/firebase/remoteconfig/internal/j;->j:J + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/i$b;->c:J + + return-void +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/i$b;)Z + .locals 0 + + .line 1 + iget-boolean p0, p0, Lcom/google/firebase/remoteconfig/i$b;->a:Z + + return p0 +.end method + +.method static synthetic b(Lcom/google/firebase/remoteconfig/i$b;)J + .locals 2 + + .line 1 + iget-wide v0, p0, Lcom/google/firebase/remoteconfig/i$b;->b:J + + return-wide v0 +.end method + +.method static synthetic c(Lcom/google/firebase/remoteconfig/i$b;)J + .locals 2 + + .line 1 + iget-wide v0, p0, Lcom/google/firebase/remoteconfig/i$b;->c:J + + return-wide v0 +.end method + + +# virtual methods +.method public a(J)Lcom/google/firebase/remoteconfig/i$b; + .locals 3 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/IllegalArgumentException; + } + .end annotation + + const-wide/16 v0, 0x0 + + cmp-long v2, p1, v0 + + if-ltz v2, :cond_0 + + .line 3 + iput-wide p1, p0, Lcom/google/firebase/remoteconfig/i$b;->b:J + + return-object p0 + + .line 4 + :cond_0 + new-instance v0, Ljava/lang/IllegalArgumentException; + + const/4 v1, 0x1 + + new-array v1, v1, [Ljava/lang/Object; + + const/4 v2, 0x0 + + .line 5 + invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; + + move-result-object p1 + + aput-object p1, v1, v2 + + const-string p1, "Fetch connection timeout has to be a non-negative number. %d is an invalid argument" + + .line 6 + invoke-static {p1, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object p1 + + invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V + + throw v0 +.end method + +.method public a(Z)Lcom/google/firebase/remoteconfig/i$b; + .locals 0 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .annotation runtime Ljava/lang/Deprecated; + .end annotation + + .line 2 + iput-boolean p1, p0, Lcom/google/firebase/remoteconfig/i$b;->a:Z + + return-object p0 +.end method + +.method public a()Lcom/google/firebase/remoteconfig/i; + .locals 2 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + .line 7 + new-instance v0, Lcom/google/firebase/remoteconfig/i; + + const/4 v1, 0x0 + + invoke-direct {v0, p0, v1}, Lcom/google/firebase/remoteconfig/i;->(Lcom/google/firebase/remoteconfig/i$b;Lcom/google/firebase/remoteconfig/i$a;)V + + return-object v0 +.end method + +.method public b(J)Lcom/google/firebase/remoteconfig/i$b; + .locals 3 + .annotation build Landroidx/annotation/NonNull; + .end annotation + + const-wide/16 v0, 0x0 + + cmp-long v2, p1, v0 + + if-ltz v2, :cond_0 + + .line 2 + iput-wide p1, p0, Lcom/google/firebase/remoteconfig/i$b;->c:J + + return-object p0 + + .line 3 + :cond_0 + new-instance v0, Ljava/lang/IllegalArgumentException; + + new-instance v1, Ljava/lang/StringBuilder; + + invoke-direct {v1}, Ljava/lang/StringBuilder;->()V + + const-string v2, "Minimum interval between fetches has to be a non-negative number. " + + invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + invoke-virtual {v1, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; + + const-string p1, " is an invalid argument" + + invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V + + throw v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/i.smali b/smali/smali/com/google/firebase/remoteconfig/i.smali new file mode 100644 index 000000000..0505cfdf2 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/i.smali @@ -0,0 +1,91 @@ +.class public Lcom/google/firebase/remoteconfig/i; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/i$b; + } +.end annotation + + +# instance fields +.field private final a:Z + +.field private final b:J + +.field private final c:J + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/i$b;)V + .locals 2 + + .line 2 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 3 + invoke-static {p1}, Lcom/google/firebase/remoteconfig/i$b;->a(Lcom/google/firebase/remoteconfig/i$b;)Z + + move-result v0 + + iput-boolean v0, p0, Lcom/google/firebase/remoteconfig/i;->a:Z + + .line 4 + invoke-static {p1}, Lcom/google/firebase/remoteconfig/i$b;->b(Lcom/google/firebase/remoteconfig/i$b;)J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/i;->b:J + + .line 5 + invoke-static {p1}, Lcom/google/firebase/remoteconfig/i$b;->c(Lcom/google/firebase/remoteconfig/i$b;)J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/i;->c:J + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/i$b;Lcom/google/firebase/remoteconfig/i$a;)V + .locals 0 + + .line 1 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/i;->(Lcom/google/firebase/remoteconfig/i$b;)V + + return-void +.end method + + +# virtual methods +.method public a()J + .locals 2 + + .line 1 + iget-wide v0, p0, Lcom/google/firebase/remoteconfig/i;->b:J + + return-wide v0 +.end method + +.method public b()J + .locals 2 + + .line 1 + iget-wide v0, p0, Lcom/google/firebase/remoteconfig/i;->c:J + + return-wide v0 +.end method + +.method public c()Z + .locals 1 + .annotation runtime Ljava/lang/Deprecated; + .end annotation + + .line 1 + iget-boolean v0, p0, Lcom/google/firebase/remoteconfig/i;->a:Z + + return v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/ConfigFetchHttpClient.smali b/smali/smali/com/google/firebase/remoteconfig/internal/ConfigFetchHttpClient.smali new file mode 100644 index 000000000..f0423772f --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/ConfigFetchHttpClient.smali @@ -0,0 +1,1015 @@ +.class public Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# static fields +.field private static final h:Ljava/util/regex/Pattern; + + +# instance fields +.field private final a:Landroid/content/Context; + +.field private final b:Ljava/lang/String; + +.field private final c:Ljava/lang/String; + +.field private final d:Ljava/lang/String; + +.field private final e:Ljava/lang/String; + +.field private final f:J + +.field private final g:J + + +# direct methods +.method static constructor ()V + .locals 1 + + const-string v0, "^[^:]+:([0-9]+):(android|ios|web):([0-9a-f]+)" + + .line 1 + invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern; + + move-result-object v0 + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->h:Ljava/util/regex/Pattern; + + return-void +.end method + +.method public constructor (Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a:Landroid/content/Context; + + .line 3 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->b:Ljava/lang/String; + + .line 4 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->c:Ljava/lang/String; + + .line 5 + invoke-static {p2}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/lang/String;)Ljava/lang/String; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->d:Ljava/lang/String; + + .line 6 + iput-object p4, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->e:Ljava/lang/String; + + .line 7 + iput-wide p5, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->f:J + + .line 8 + iput-wide p7, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->g:J + + return-void +.end method + +.method private static a(Lorg/json/JSONObject;Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/f; + .locals 2 + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; + } + .end annotation + + .line 50 + :try_start_0 + invoke-static {}, Lcom/google/firebase/remoteconfig/internal/f;->e()Lcom/google/firebase/remoteconfig/internal/f$b; + + move-result-object v0 + + invoke-virtual {v0, p1}, Lcom/google/firebase/remoteconfig/internal/f$b;->a(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/f$b; + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_2 + + const/4 p1, 0x0 + + :try_start_1 + const-string v1, "entries" + + .line 51 + invoke-virtual {p0, v1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; + + move-result-object v1 + :try_end_1 + .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0 + + goto :goto_0 + + :catch_0 + move-object v1, p1 + + :goto_0 + if-eqz v1, :cond_0 + + .line 52 + :try_start_2 + invoke-virtual {v0, v1}, Lcom/google/firebase/remoteconfig/internal/f$b;->a(Lorg/json/JSONObject;)Lcom/google/firebase/remoteconfig/internal/f$b; + :try_end_2 + .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_2 + + :cond_0 + :try_start_3 + const-string v1, "experimentDescriptions" + + .line 53 + invoke-virtual {p0, v1}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; + + move-result-object p1 + :try_end_3 + .catch Lorg/json/JSONException; {:try_start_3 .. :try_end_3} :catch_1 + + goto :goto_1 + + :catch_1 + nop + + :goto_1 + if-eqz p1, :cond_1 + + .line 54 + :try_start_4 + invoke-virtual {v0, p1}, Lcom/google/firebase/remoteconfig/internal/f$b;->a(Lorg/json/JSONArray;)Lcom/google/firebase/remoteconfig/internal/f$b; + + .line 55 + :cond_1 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/f$b;->a()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object p0 + :try_end_4 + .catch Lorg/json/JSONException; {:try_start_4 .. :try_end_4} :catch_2 + + return-object p0 + + :catch_2 + move-exception p0 + + .line 56 + new-instance p1, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; + + const-string v0, "Fetch failed: fetch response could not be parsed." + + invoke-direct {p1, v0, p0}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + throw p1 +.end method + +.method private static a(Ljava/lang/String;)Ljava/lang/String; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->h:Ljava/util/regex/Pattern; + + invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; + + move-result-object p0 + + .line 2 + invoke-virtual {p0}, Ljava/util/regex/Matcher;->matches()Z + + move-result v0 + + if-eqz v0, :cond_0 + + const/4 v0, 0x1 + + invoke-virtual {p0, v0}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String; + + move-result-object p0 + + goto :goto_0 + + :cond_0 + const/4 p0, 0x0 + + :goto_0 + return-object p0 +.end method + +.method private a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; + .locals 2 + + const/4 v0, 0x2 + + new-array v0, v0, [Ljava/lang/Object; + + const/4 v1, 0x0 + + aput-object p1, v0, v1 + + const/4 p1, 0x1 + + aput-object p2, v0, p1 + + const-string p1, "https://firebaseremoteconfig.googleapis.com/v1/projects/%s/namespaces/%s:fetch" + + .line 12 + invoke-static {p1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object p1 + + return-object p1 +.end method + +.method private a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lorg/json/JSONObject; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/lang/String;", + "Ljava/lang/String;", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;)", + "Lorg/json/JSONObject;" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; + } + .end annotation + + .line 21 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + if-eqz p1, :cond_1 + + const-string p1, "RB855168585SG" + + const-string v1, "appInstanceId" + + .line 22 + invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + const-string p1, "appInstanceIdToken" + + .line 23 + invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 24 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->b:Ljava/lang/String; + + const-string p2, "appId" + + invoke-interface {v0, p2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 25 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a:Landroid/content/Context; + + invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources; + + move-result-object p1 + + invoke-virtual {p1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration; + + move-result-object p1 + + iget-object p1, p1, Landroid/content/res/Configuration;->locale:Ljava/util/Locale; + + .line 26 + invoke-virtual {p1}, Ljava/util/Locale;->getCountry()Ljava/lang/String; + + move-result-object p2 + + const-string v1, "countryCode" + + invoke-interface {v0, v1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 27 + invoke-virtual {p1}, Ljava/util/Locale;->toString()Ljava/lang/String; + + move-result-object p1 + + const-string p2, "languageCode" + + invoke-interface {v0, p2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 28 + sget p1, Landroid/os/Build$VERSION;->SDK_INT:I + + invoke-static {p1}, Ljava/lang/Integer;->toString(I)Ljava/lang/String; + + move-result-object p1 + + const-string p2, "platformVersion" + + invoke-interface {v0, p2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 29 + invoke-static {}, Ljava/util/TimeZone;->getDefault()Ljava/util/TimeZone; + + move-result-object p1 + + invoke-virtual {p1}, Ljava/util/TimeZone;->getID()Ljava/lang/String; + + move-result-object p1 + + const-string p2, "timeZone" + + invoke-interface {v0, p2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 30 + :try_start_0 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a:Landroid/content/Context; + + .line 31 + invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; + + move-result-object p1 + + iget-object p2, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a:Landroid/content/Context; + + invoke-virtual {p2}, Landroid/content/Context;->getPackageName()Ljava/lang/String; + + move-result-object p2 + + const/4 v1, 0x0 + + invoke-virtual {p1, p2, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo; + + move-result-object p1 + + if-eqz p1, :cond_0 + + const-string p2, "appVersion" + + .line 32 + iget-object p1, p1, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String; + + invoke-interface {v0, p2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + :try_end_0 + .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0 + + .line 33 + :catch_0 + :cond_0 + const-string p1, "com.vkontakte.android" + + const-string p2, "packageName" + + invoke-interface {v0, p2, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + const-string p1, "sdkVersion" + + const-string p2, "19.0.3" + + .line 34 + invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + const-string p1, "analyticsUserProperties" + + .line 35 + invoke-interface {v0, p1, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 36 + new-instance p1, Lorg/json/JSONObject; + + invoke-direct {p1, v0}, Lorg/json/JSONObject;->(Ljava/util/Map;)V + + return-object p1 + + .line 37 + :cond_1 + new-instance p1, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; + + const-string p2, "Fetch failed: Firebase instance id is null." + + invoke-direct {p1, p2}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException;->(Ljava/lang/String;)V + + throw p1 +.end method + +.method private a(Ljava/net/URLConnection;)Lorg/json/JSONObject; + .locals 3 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException;, + Lorg/json/JSONException; + } + .end annotation + + invoke-static {p1}, Lru/vtosters/hooks/FirebaseGzipSupport;->getJsonObjectFromConnection(Ljava/net/URLConnection;)Lorg/json/JSONObject; + + move-result-object v0 + + # .line 43 + # new-instance v0, Ljava/io/BufferedReader; + + # new-instance v1, Ljava/io/InputStreamReader; + + # .line 44 + # invoke-virtual {p1}, Ljava/net/URLConnection;->getInputStream()Ljava/io/InputStream; + + # move-result-object p1 + + # const-string v2, "utf-8" + + # invoke-direct {v1, p1, v2}, Ljava/io/InputStreamReader;->(Ljava/io/InputStream;Ljava/lang/String;)V + + # invoke-direct {v0, v1}, Ljava/io/BufferedReader;->(Ljava/io/Reader;)V + + # .line 45 + # new-instance p1, Ljava/lang/StringBuilder; + + # invoke-direct {p1}, Ljava/lang/StringBuilder;->()V + + # .line 46 + # :goto_0 + # invoke-virtual {v0}, Ljava/io/BufferedReader;->read()I + + # move-result v1 + + # const/4 v2, -0x1 + + # if-eq v1, v2, :cond_0 + + # int-to-char v1, v1 + + # .line 47 + # invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; + + # goto :goto_0 + + # .line 48 + # :cond_0 + # new-instance v0, Lorg/json/JSONObject; + + # invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; + + # move-result-object p1 + + # invoke-direct {v0, p1}, Lorg/json/JSONObject;->(Ljava/lang/String;)V + + return-object v0 +.end method + +.method private a(Ljava/net/HttpURLConnection;)V + .locals 2 + + .line 13 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->c:Ljava/lang/String; + + const-string v1, "X-Goog-Api-Key" + + invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + const-string v0, "com.vkontakte.android" + + const-string v1, "X-Android-Package" + + invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + .line 15 + const-string v0, "C8EAB7342DA62B4A229E1BFDEB27B029DD6788A1" + + const-string v1, "X-Android-Cert" + + invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + const-string v0, "X-Google-GFE-Can-Retry" + + const-string v1, "yes" + + .line 16 + invoke-virtual {p1, v0, v1}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + const-string v0, "application/json" + + const-string v1, "Content-Type" + + .line 17 + invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + .line 17 + const-string v0, "gzip" + + const-string v1, "Accept-Encoding" + + .line 18 + invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + const-string v0, "application/json" + + const-string v1, "Accept" + + .line 19 + invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + return-void +.end method + +.method private a(Ljava/net/HttpURLConnection;Ljava/lang/String;Ljava/util/Map;)V + .locals 3 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/net/HttpURLConnection;", + "Ljava/lang/String;", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;)V" + } + .end annotation + + const/4 v0, 0x1 + + .line 6 + invoke-virtual {p1, v0}, Ljava/net/HttpURLConnection;->setDoOutput(Z)V + + .line 7 + sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; + + iget-wide v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->f:J + + invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J + + move-result-wide v0 + + long-to-int v1, v0 + + invoke-virtual {p1, v1}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V + + .line 8 + sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; + + iget-wide v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->g:J + + invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J + + move-result-wide v0 + + long-to-int v1, v0 + + invoke-virtual {p1, v1}, Ljava/net/HttpURLConnection;->setReadTimeout(I)V + + const-string v0, "If-None-Match" + + .line 9 + invoke-virtual {p1, v0, p2}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + .line 10 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/net/HttpURLConnection;)V + + .line 11 + invoke-direct {p0, p1, p3}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/net/HttpURLConnection;Ljava/util/Map;)V + + return-void +.end method + +.method private a(Ljava/net/HttpURLConnection;Ljava/util/Map;)V + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/net/HttpURLConnection;", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;)V" + } + .end annotation + + .line 19 + invoke-interface {p2}, Ljava/util/Map;->entrySet()Ljava/util/Set; + + move-result-object p2 + + invoke-interface {p2}, Ljava/util/Set;->iterator()Ljava/util/Iterator; + + move-result-object p2 + + :goto_0 + invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z + + move-result v0 + + if-eqz v0, :cond_0 + + invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Ljava/util/Map$Entry; + + .line 20 + invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Ljava/lang/String; + + invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Ljava/lang/String; + + invoke-virtual {p1, v1, v0}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V + + goto :goto_0 + + :cond_0 + return-void +.end method + +.method private a(Ljava/net/HttpURLConnection;[B)V + .locals 1 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + .line 38 + array-length v0, p2 + + invoke-virtual {p1, v0}, Ljava/net/HttpURLConnection;->setFixedLengthStreamingMode(I)V + + .line 39 + new-instance v0, Ljava/io/BufferedOutputStream; + + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->getOutputStream()Ljava/io/OutputStream; + + move-result-object p1 + + invoke-direct {v0, p1}, Ljava/io/BufferedOutputStream;->(Ljava/io/OutputStream;)V + + .line 40 + invoke-virtual {v0, p2}, Ljava/io/OutputStream;->write([B)V + + .line 41 + invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V + + .line 42 + invoke-virtual {v0}, Ljava/io/OutputStream;->close()V + + return-void +.end method + +.method private a(Lorg/json/JSONObject;)Z + .locals 2 + + const/4 v0, 0x1 + + :try_start_0 + const-string v1, "state" + + .line 49 + invoke-virtual {p1, v1}, Lorg/json/JSONObject;->get(Ljava/lang/String;)Ljava/lang/Object; + + move-result-object p1 + + const-string v1, "NO_CHANGE" + + invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z + + move-result p1 + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 + + xor-int/2addr p1, v0 + + return p1 + + :catch_0 + return v0 +.end method + +.method private b()Ljava/lang/String; + .locals 5 + + const-string v0, "FirebaseRemoteConfig" + + const/4 v1, 0x0 + + .line 1 + :try_start_0 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a:Landroid/content/Context; + + iget-object v3, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a:Landroid/content/Context; + + invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String; + + move-result-object v3 + + invoke-static {v2, v3}, Lcom/google/android/gms/common/util/a;->a(Landroid/content/Context;Ljava/lang/String;)[B + + move-result-object v2 + + if-nez v2, :cond_0 + + .line 2 + new-instance v2, Ljava/lang/StringBuilder; + + invoke-direct {v2}, Ljava/lang/StringBuilder;->()V + + const-string v3, "Could not get fingerprint hash for package: " + + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + const-string v3, "com.vkontakte.android" + + invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; + + move-result-object v2 + + invoke-static {v0, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I + + return-object v1 + + :cond_0 + const/4 v3, 0x0 + + .line 3 + invoke-static {v2, v3}, Lcom/google/android/gms/common/util/j;->a([BZ)Ljava/lang/String; + + move-result-object v0 + :try_end_0 + .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0 + + return-object v0 + + :catch_0 + move-exception v2 + + .line 4 + new-instance v3, Ljava/lang/StringBuilder; + + invoke-direct {v3}, Ljava/lang/StringBuilder;->()V + + const-string v4, "No such package: " + + invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + const-string v4, "com.vkontakte.android" + + invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; + + move-result-object v3 + + invoke-static {v0, v3, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I + + return-object v1 +.end method + + +# virtual methods +.method a()Ljava/net/HttpURLConnection; + .locals 3 + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; + } + .end annotation + + .line 3 + :try_start_0 + new-instance v0, Ljava/net/URL; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->d:Ljava/lang/String; + + iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->e:Ljava/lang/String; + + invoke-direct {p0, v1, v2}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v1 + + invoke-direct {v0, v1}, Ljava/net/URL;->(Ljava/lang/String;)V + + .line 4 + invoke-virtual {v0}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection; + + move-result-object v0 + + check-cast v0, Ljava/net/HttpURLConnection; + :try_end_0 + .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 + + return-object v0 + + :catch_0 + move-exception v0 + + .line 5 + new-instance v1, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; + + invoke-virtual {v0}, Ljava/io/IOException;->getMessage()Ljava/lang/String; + + move-result-object v0 + + invoke-direct {v1, v0}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException;->(Ljava/lang/String;)V + + throw v1 +.end method + +.method fetch(Ljava/net/HttpURLConnection;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + .locals 0 + .annotation build Landroidx/annotation/Keep; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/net/HttpURLConnection;", + "Ljava/lang/String;", + "Ljava/lang/String;", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;", + "Ljava/lang/String;", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;", + "Ljava/util/Date;", + ")", + "Lcom/google/firebase/remoteconfig/internal/j$a;" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; + } + .end annotation + + .line 1 + invoke-direct {p0, p1, p5, p6}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/net/HttpURLConnection;Ljava/lang/String;Ljava/util/Map;)V + + .line 2 + :try_start_0 + invoke-direct {p0, p2, p3, p4}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)Lorg/json/JSONObject; + + move-result-object p2 + + .line 3 + invoke-virtual {p2}, Lorg/json/JSONObject;->toString()Ljava/lang/String; + + move-result-object p2 + + const-string p3, "utf-8" + + .line 4 + invoke-virtual {p2, p3}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B + + move-result-object p2 + + .line 5 + invoke-direct {p0, p1, p2}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/net/HttpURLConnection;[B)V + + .line 6 + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->connect()V + + .line 7 + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->getResponseCode()I + + move-result p2 + + const/16 p3, 0xc8 + + if-ne p2, p3, :cond_1 + + const-string p2, "ETag" + + .line 8 + invoke-virtual {p1, p2}, Ljava/net/HttpURLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String; + + move-result-object p2 + + .line 9 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Ljava/net/URLConnection;)Lorg/json/JSONObject; + + move-result-object p3 + :try_end_0 + .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + .line 10 + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->disconnect()V + + .line 11 + :try_start_1 + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream; + + move-result-object p1 + + invoke-virtual {p1}, Ljava/io/InputStream;->close()V + :try_end_1 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 + + goto :goto_0 + + :catch_0 + nop + + .line 12 + :goto_0 + invoke-direct {p0, p3}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Lorg/json/JSONObject;)Z + + move-result p1 + + if-nez p1, :cond_0 + + .line 13 + invoke-static {p7}, Lcom/google/firebase/remoteconfig/internal/j$a;->a(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + + move-result-object p1 + + return-object p1 + + .line 14 + :cond_0 + invoke-static {p3, p7}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a(Lorg/json/JSONObject;Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object p1 + + .line 15 + invoke-static {p1, p2}, Lcom/google/firebase/remoteconfig/internal/j$a;->a(Lcom/google/firebase/remoteconfig/internal/f;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/j$a; + + move-result-object p1 + + return-object p1 + + .line 16 + :cond_1 + :try_start_2 + new-instance p3, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException; + + .line 17 + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->getResponseMessage()Ljava/lang/String; + + move-result-object p4 + + invoke-direct {p3, p2, p4}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->(ILjava/lang/String;)V + + throw p3 + :try_end_2 + .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_2 + .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_1 + .catchall {:try_start_2 .. :try_end_2} :catchall_0 + + :catchall_0 + move-exception p2 + + goto :goto_2 + + :catch_1 + move-exception p2 + + goto :goto_1 + + :catch_2 + move-exception p2 + + .line 18 + :goto_1 + :try_start_3 + new-instance p3, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; + + const-string p4, "The client had an error while calling the backend!" + + invoke-direct {p3, p4, p2}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + throw p3 + :try_end_3 + .catchall {:try_start_3 .. :try_end_3} :catchall_0 + + .line 19 + :goto_2 + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->disconnect()V + + .line 20 + :try_start_4 + invoke-virtual {p1}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream; + + move-result-object p1 + + invoke-virtual {p1}, Ljava/io/InputStream;->close()V + :try_end_4 + .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_3 + + .line 21 + :catch_3 + throw p2 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/a.smali b/smali/smali/com/google/firebase/remoteconfig/internal/a.smali new file mode 100644 index 000000000..da7016f30 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/a.smali @@ -0,0 +1,52 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/internal/a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Ljava/util/concurrent/Callable; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/e; + +.field private final b:Lcom/google/firebase/remoteconfig/internal/f; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/a;->a:Lcom/google/firebase/remoteconfig/internal/e; + + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/a;->b:Lcom/google/firebase/remoteconfig/internal/f; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/f;)Ljava/util/concurrent/Callable; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/internal/a; + + invoke-direct {v0, p0, p1}, Lcom/google/firebase/remoteconfig/internal/a;->(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/f;)V + + return-object v0 +.end method + + +# virtual methods +.method public call()Ljava/lang/Object; + .locals 2 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/a;->a:Lcom/google/firebase/remoteconfig/internal/e; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/a;->b:Lcom/google/firebase/remoteconfig/internal/f; + + invoke-static {v0, v1}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/f;)Ljava/lang/Void; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/b.smali b/smali/smali/com/google/firebase/remoteconfig/internal/b.smali new file mode 100644 index 000000000..3b87dc679 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/b.smali @@ -0,0 +1,60 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/internal/b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/f; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/e; + +.field private final b:Z + +.field private final c:Lcom/google/firebase/remoteconfig/internal/f; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/internal/e;ZLcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/b;->a:Lcom/google/firebase/remoteconfig/internal/e; + + iput-boolean p2, p0, Lcom/google/firebase/remoteconfig/internal/b;->b:Z + + iput-object p3, p0, Lcom/google/firebase/remoteconfig/internal/b;->c:Lcom/google/firebase/remoteconfig/internal/f; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/e;ZLcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/f; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/internal/b; + + invoke-direct {v0, p0, p1, p2}, Lcom/google/firebase/remoteconfig/internal/b;->(Lcom/google/firebase/remoteconfig/internal/e;ZLcom/google/firebase/remoteconfig/internal/f;)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + .locals 3 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/b;->a:Lcom/google/firebase/remoteconfig/internal/e; + + iget-boolean v1, p0, Lcom/google/firebase/remoteconfig/internal/b;->b:Z + + iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/b;->c:Lcom/google/firebase/remoteconfig/internal/f; + + check-cast p1, Ljava/lang/Void; + + invoke-static {v0, v1, v2, p1}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/e;ZLcom/google/firebase/remoteconfig/internal/f;Ljava/lang/Void;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/c.smali b/smali/smali/com/google/firebase/remoteconfig/internal/c.smali new file mode 100644 index 000000000..ac41022e4 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/c.smali @@ -0,0 +1,46 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/internal/c; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Ljava/util/concurrent/Callable; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/m; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/internal/m;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/c;->a:Lcom/google/firebase/remoteconfig/internal/m; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/m;)Ljava/util/concurrent/Callable; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/internal/c; + + invoke-direct {v0, p0}, Lcom/google/firebase/remoteconfig/internal/c;->(Lcom/google/firebase/remoteconfig/internal/m;)V + + return-object v0 +.end method + + +# virtual methods +.method public call()Ljava/lang/Object; + .locals 1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/c;->a:Lcom/google/firebase/remoteconfig/internal/m; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/m;->c()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/d.smali b/smali/smali/com/google/firebase/remoteconfig/internal/d.smali new file mode 100644 index 000000000..168a28192 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/d.smali @@ -0,0 +1,50 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/internal/d; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Ljava/util/concurrent/Executor; + + +# static fields +.field private static final a:Lcom/google/firebase/remoteconfig/internal/d; + + +# direct methods +.method static constructor ()V + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/internal/d; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/internal/d;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/d;->a:Lcom/google/firebase/remoteconfig/internal/d; + + return-void +.end method + +.method private constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method public static a()Ljava/util/concurrent/Executor; + .locals 1 + + sget-object v0, Lcom/google/firebase/remoteconfig/internal/d;->a:Lcom/google/firebase/remoteconfig/internal/d; + + return-object v0 +.end method + + +# virtual methods +.method public execute(Ljava/lang/Runnable;)V + .locals 0 + + invoke-interface {p1}, Ljava/lang/Runnable;->run()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/e$a.smali b/smali/smali/com/google/firebase/remoteconfig/internal/e$a.smali new file mode 100644 index 000000000..143b5264e --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/e$a.smali @@ -0,0 +1,14 @@ +.class synthetic Lcom/google/firebase/remoteconfig/internal/e$a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/e; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x1008 + name = null +.end annotation diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/e$b.smali b/smali/smali/com/google/firebase/remoteconfig/internal/e$b.smali new file mode 100644 index 000000000..089c5346c --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/e$b.smali @@ -0,0 +1,127 @@ +.class Lcom/google/firebase/remoteconfig/internal/e$b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/e; +.implements Lcom/google/android/gms/tasks/d; +.implements Lcom/google/android/gms/tasks/b; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/e; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0xa + name = "b" +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "", + "Ljava/lang/Object;", + "Lcom/google/android/gms/tasks/e<", + "TTResult;>;", + "Lcom/google/android/gms/tasks/d;", + "Lcom/google/android/gms/tasks/b;" + } +.end annotation + + +# instance fields +.field private final a:Ljava/util/concurrent/CountDownLatch; + + +# direct methods +.method private constructor ()V + .locals 2 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + new-instance v0, Ljava/util/concurrent/CountDownLatch; + + const/4 v1, 0x1 + + invoke-direct {v0, v1}, Ljava/util/concurrent/CountDownLatch;->(I)V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e$b;->a:Ljava/util/concurrent/CountDownLatch; + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/internal/e$a;)V + .locals 0 + + .line 3 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/e$b;->()V + + return-void +.end method + + +# virtual methods +.method public a()V + .locals 1 + + .line 2 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e$b;->a:Ljava/util/concurrent/CountDownLatch; + + invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V + + return-void +.end method + +.method public a(Ljava/lang/Object;)V + .locals 0 + .annotation system Ldalvik/annotation/Signature; + value = { + "(TTResult;)V" + } + .end annotation + + .line 1 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/e$b;->a:Ljava/util/concurrent/CountDownLatch; + + invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V + + return-void +.end method + +.method public a(JLjava/util/concurrent/TimeUnit;)Z + .locals 1 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/InterruptedException; + } + .end annotation + + .line 3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e$b;->a:Ljava/util/concurrent/CountDownLatch; + + invoke-virtual {v0, p1, p2, p3}, Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z + + move-result p1 + + return p1 +.end method + +.method public onFailure(Ljava/lang/Exception;)V + .locals 0 + .param p1 # Ljava/lang/Exception; + .annotation build Landroidx/annotation/NonNull; + .end annotation + .end param + + .line 1 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/e$b;->a:Ljava/util/concurrent/CountDownLatch; + + invoke-virtual {p1}, Ljava/util/concurrent/CountDownLatch;->countDown()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/e.smali b/smali/smali/com/google/firebase/remoteconfig/internal/e.smali new file mode 100644 index 000000000..a5d9da817 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/e.smali @@ -0,0 +1,606 @@ +.class public Lcom/google/firebase/remoteconfig/internal/e; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation build Landroidx/annotation/AnyThread; +.end annotation + +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/internal/e$b; + } +.end annotation + + +# static fields +.field private static final d:Ljava/util/Map; + .annotation build Landroidx/annotation/GuardedBy; + value = "ConfigCacheClient.class" + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/util/Map<", + "Ljava/lang/String;", + "Lcom/google/firebase/remoteconfig/internal/e;", + ">;" + } + .end annotation +.end field + +.field private static final e:Ljava/util/concurrent/Executor; + + +# instance fields +.field private final a:Ljava/util/concurrent/ExecutorService; + +.field private final b:Lcom/google/firebase/remoteconfig/internal/m; + +.field private c:Lcom/google/android/gms/tasks/g; + .annotation build Landroidx/annotation/GuardedBy; + value = "this" + .end annotation + + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;" + } + .end annotation +.end field + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/e;->d:Ljava/util/Map; + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/internal/d;->a()Ljava/util/concurrent/Executor; + + move-result-object v0 + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/e;->e:Ljava/util/concurrent/Executor; + + return-void +.end method + +.method private constructor (Ljava/util/concurrent/ExecutorService;Lcom/google/firebase/remoteconfig/internal/m;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/e;->a:Ljava/util/concurrent/ExecutorService; + + .line 3 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/e;->b:Lcom/google/firebase/remoteconfig/internal/m; + + const/4 p1, 0x0 + + .line 4 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + return-void +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/e;ZLcom/google/firebase/remoteconfig/internal/f;Ljava/lang/Void;)Lcom/google/android/gms/tasks/g; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + if-eqz p1, :cond_0 + + .line 11 + invoke-direct {p0, p2}, Lcom/google/firebase/remoteconfig/internal/e;->c(Lcom/google/firebase/remoteconfig/internal/f;)V + + .line 12 + :cond_0 + invoke-static {p2}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 +.end method + +.method public static declared-synchronized a(Ljava/util/concurrent/ExecutorService;Lcom/google/firebase/remoteconfig/internal/m;)Lcom/google/firebase/remoteconfig/internal/e; + .locals 4 + + const-class v0, Lcom/google/firebase/remoteconfig/internal/e; + + monitor-enter v0 + + .line 18 + :try_start_0 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/m;->b()Ljava/lang/String; + + move-result-object v1 + + .line 19 + sget-object v2, Lcom/google/firebase/remoteconfig/internal/e;->d:Ljava/util/Map; + + invoke-interface {v2, v1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v2 + + if-nez v2, :cond_0 + + .line 20 + sget-object v2, Lcom/google/firebase/remoteconfig/internal/e;->d:Ljava/util/Map; + + new-instance v3, Lcom/google/firebase/remoteconfig/internal/e; + + invoke-direct {v3, p0, p1}, Lcom/google/firebase/remoteconfig/internal/e;->(Ljava/util/concurrent/ExecutorService;Lcom/google/firebase/remoteconfig/internal/m;)V + + invoke-interface {v2, v1, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 21 + :cond_0 + sget-object p0, Lcom/google/firebase/remoteconfig/internal/e;->d:Ljava/util/Map; + + invoke-interface {p0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object p0 + + check-cast p0, Lcom/google/firebase/remoteconfig/internal/e; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + monitor-exit v0 + + return-object p0 + + :catchall_0 + move-exception p0 + + monitor-exit v0 + + throw p0 +.end method + +.method private static a(Lcom/google/android/gms/tasks/g;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/android/gms/tasks/g<", + "TTResult;>;J", + "Ljava/util/concurrent/TimeUnit;", + ")TTResult;" + } + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/util/concurrent/ExecutionException;, + Ljava/lang/InterruptedException;, + Ljava/util/concurrent/TimeoutException; + } + .end annotation + + .line 22 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/e$b; + + const/4 v1, 0x0 + + invoke-direct {v0, v1}, Lcom/google/firebase/remoteconfig/internal/e$b;->(Lcom/google/firebase/remoteconfig/internal/e$a;)V + + .line 23 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/e;->e:Ljava/util/concurrent/Executor; + + invoke-virtual {p0, v1, v0}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/e;)Lcom/google/android/gms/tasks/g; + + .line 24 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/e;->e:Ljava/util/concurrent/Executor; + + invoke-virtual {p0, v1, v0}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/d;)Lcom/google/android/gms/tasks/g; + + .line 25 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/e;->e:Ljava/util/concurrent/Executor; + + invoke-virtual {p0, v1, v0}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/b;)Lcom/google/android/gms/tasks/g; + + .line 26 + invoke-virtual {v0, p1, p2, p3}, Lcom/google/firebase/remoteconfig/internal/e$b;->a(JLjava/util/concurrent/TimeUnit;)Z + + move-result p1 + + if-eqz p1, :cond_1 + + .line 27 + invoke-virtual {p0}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result p1 + + if-eqz p1, :cond_0 + + .line 28 + invoke-virtual {p0}, Lcom/google/android/gms/tasks/g;->b()Ljava/lang/Object; + + move-result-object p0 + + return-object p0 + + .line 29 + :cond_0 + new-instance p1, Ljava/util/concurrent/ExecutionException; + + invoke-virtual {p0}, Lcom/google/android/gms/tasks/g;->a()Ljava/lang/Exception; + + move-result-object p0 + + invoke-direct {p1, p0}, Ljava/util/concurrent/ExecutionException;->(Ljava/lang/Throwable;)V + + throw p1 + + .line 30 + :cond_1 + new-instance p0, Ljava/util/concurrent/TimeoutException; + + const-string p1, "Task await timed out." + + invoke-direct {p0, p1}, Ljava/util/concurrent/TimeoutException;->(Ljava/lang/String;)V + + throw p0 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/f;)Ljava/lang/Void; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + .line 8 + iget-object p0, p0, Lcom/google/firebase/remoteconfig/internal/e;->b:Lcom/google/firebase/remoteconfig/internal/m; + + invoke-virtual {p0, p1}, Lcom/google/firebase/remoteconfig/internal/m;->a(Lcom/google/firebase/remoteconfig/internal/f;)Ljava/lang/Void; + + move-result-object p0 + + return-object p0 +.end method + +.method private declared-synchronized c(Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + monitor-enter p0 + + .line 2 + :try_start_0 + invoke-static {p1}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + .line 3 + monitor-exit p0 + + return-void + + :catchall_0 + move-exception p1 + + monitor-exit p0 + + throw p1 +.end method + + +# virtual methods +.method public a(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/firebase/remoteconfig/internal/f;", + ")", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;" + } + .end annotation + + const/4 v0, 0x1 + + .line 7 + invoke-virtual {p0, p1, v0}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/f;Z)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method + +.method public a(Lcom/google/firebase/remoteconfig/internal/f;Z)Lcom/google/android/gms/tasks/g; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/firebase/remoteconfig/internal/f;", + "Z)", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;" + } + .end annotation + + .line 9 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->a:Ljava/util/concurrent/ExecutorService; + + invoke-static {p0, p1}, Lcom/google/firebase/remoteconfig/internal/a;->a(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/f;)Ljava/util/concurrent/Callable; + + move-result-object v1 + + invoke-static {v0, v1}, Lcom/google/android/gms/tasks/j;->a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Callable;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/e;->a:Ljava/util/concurrent/ExecutorService; + + invoke-static {p0, p2, p1}, Lcom/google/firebase/remoteconfig/internal/b;->a(Lcom/google/firebase/remoteconfig/internal/e;ZLcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/f; + + move-result-object p1 + + .line 10 + invoke-virtual {v0, v1, p1}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/f;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method + +.method a(J)Lcom/google/firebase/remoteconfig/internal/f; + .locals 2 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .line 1 + monitor-enter p0 + + .line 2 + :try_start_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + if-eqz v0, :cond_0 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + invoke-virtual {v0}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result v0 + + if-eqz v0, :cond_0 + + .line 3 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->b()Ljava/lang/Object; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/f; + + monitor-exit p0 + + return-object p1 + + .line 4 + :cond_0 + monitor-exit p0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + .line 5 + :try_start_1 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/internal/e;->b()Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + sget-object v1, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; + + invoke-static {v0, p1, p2, v1}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/android/gms/tasks/g;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/f; + :try_end_1 + .catch Ljava/lang/InterruptedException; {:try_start_1 .. :try_end_1} :catch_0 + .catch Ljava/util/concurrent/ExecutionException; {:try_start_1 .. :try_end_1} :catch_0 + .catch Ljava/util/concurrent/TimeoutException; {:try_start_1 .. :try_end_1} :catch_0 + + return-object p1 + + :catch_0 + const/4 p1, 0x0 + + return-object p1 + + :catchall_0 + move-exception p1 + + .line 6 + :try_start_2 + monitor-exit p0 + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_0 + + throw p1 +.end method + +.method public a()V + .locals 1 + + .line 13 + monitor-enter p0 + + const/4 v0, 0x0 + + .line 14 + :try_start_0 + invoke-static {v0}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + .line 15 + monitor-exit p0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + .line 16 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->b:Lcom/google/firebase/remoteconfig/internal/m; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/m;->a()Ljava/lang/Void; + + return-void + + :catchall_0 + move-exception v0 + + .line 17 + :try_start_1 + monitor-exit p0 + :try_end_1 + .catchall {:try_start_1 .. :try_end_1} :catchall_0 + + throw v0 +.end method + +.method public declared-synchronized b()Lcom/google/android/gms/tasks/g; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;" + } + .end annotation + + monitor-enter p0 + + .line 3 + :try_start_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + if-eqz v0, :cond_0 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + .line 4 + invoke-virtual {v0}, Lcom/google/android/gms/tasks/g;->d()Z + + move-result v0 + + if-eqz v0, :cond_1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + invoke-virtual {v0}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result v0 + + if-nez v0, :cond_1 + + .line 5 + :cond_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->a:Ljava/util/concurrent/ExecutorService; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/e;->b:Lcom/google/firebase/remoteconfig/internal/m; + + invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; + + invoke-static {v1}, Lcom/google/firebase/remoteconfig/internal/c;->a(Lcom/google/firebase/remoteconfig/internal/m;)Ljava/util/concurrent/Callable; + + move-result-object v1 + + invoke-static {v0, v1}, Lcom/google/android/gms/tasks/j;->a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Callable;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + + .line 6 + :cond_1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/e;->c:Lcom/google/android/gms/tasks/g; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + monitor-exit p0 + + return-object v0 + + :catchall_0 + move-exception v0 + + monitor-exit p0 + + throw v0 +.end method + +.method public b(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/firebase/remoteconfig/internal/f;", + ")", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;" + } + .end annotation + + .line 1 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/e;->c(Lcom/google/firebase/remoteconfig/internal/f;)V + + const/4 v0, 0x0 + + .line 2 + invoke-virtual {p0, p1, v0}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/f;Z)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method + +.method public c()Lcom/google/firebase/remoteconfig/internal/f; + .locals 2 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + const-wide/16 v0, 0x5 + + .line 1 + invoke-virtual {p0, v0, v1}, Lcom/google/firebase/remoteconfig/internal/e;->a(J)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/f$a.smali b/smali/smali/com/google/firebase/remoteconfig/internal/f$a.smali new file mode 100644 index 000000000..8987127a5 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/f$a.smali @@ -0,0 +1,14 @@ +.class synthetic Lcom/google/firebase/remoteconfig/internal/f$a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/f; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x1008 + name = null +.end annotation diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/f$b.smali b/smali/smali/com/google/firebase/remoteconfig/internal/f$b.smali new file mode 100644 index 000000000..f47b83e42 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/f$b.smali @@ -0,0 +1,163 @@ +.class public Lcom/google/firebase/remoteconfig/internal/f$b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/f; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x9 + name = "b" +.end annotation + + +# instance fields +.field private a:Lorg/json/JSONObject; + +.field private b:Ljava/util/Date; + +.field private c:Lorg/json/JSONArray; + + +# direct methods +.method private constructor ()V + .locals 1 + + .line 2 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 3 + new-instance v0, Lorg/json/JSONObject; + + invoke-direct {v0}, Lorg/json/JSONObject;->()V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->a:Lorg/json/JSONObject; + + .line 4 + invoke-static {}, Lcom/google/firebase/remoteconfig/internal/f;->d()Ljava/util/Date; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->b:Ljava/util/Date; + + .line 5 + new-instance v0, Lorg/json/JSONArray; + + invoke-direct {v0}, Lorg/json/JSONArray;->()V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->c:Lorg/json/JSONArray; + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/internal/f$a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/f$b;->()V + + return-void +.end method + + +# virtual methods +.method public a(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/f$b; + .locals 0 + + .line 3 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->b:Ljava/util/Date; + + return-object p0 +.end method + +.method public a(Ljava/util/Map;)Lcom/google/firebase/remoteconfig/internal/f$b; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;)", + "Lcom/google/firebase/remoteconfig/internal/f$b;" + } + .end annotation + + .line 1 + new-instance v0, Lorg/json/JSONObject; + + invoke-direct {v0, p1}, Lorg/json/JSONObject;->(Ljava/util/Map;)V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->a:Lorg/json/JSONObject; + + return-object p0 +.end method + +.method public a(Lorg/json/JSONArray;)Lcom/google/firebase/remoteconfig/internal/f$b; + .locals 1 + + .line 4 + :try_start_0 + new-instance v0, Lorg/json/JSONArray; + + invoke-virtual {p1}, Lorg/json/JSONArray;->toString()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {v0, p1}, Lorg/json/JSONArray;->(Ljava/lang/String;)V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->c:Lorg/json/JSONArray; + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 + + :catch_0 + return-object p0 +.end method + +.method public a(Lorg/json/JSONObject;)Lcom/google/firebase/remoteconfig/internal/f$b; + .locals 1 + + .line 2 + :try_start_0 + new-instance v0, Lorg/json/JSONObject; + + invoke-virtual {p1}, Lorg/json/JSONObject;->toString()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {v0, p1}, Lorg/json/JSONObject;->(Ljava/lang/String;)V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->a:Lorg/json/JSONObject; + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 + + :catch_0 + return-object p0 +.end method + +.method public a()Lcom/google/firebase/remoteconfig/internal/f; + .locals 5 + .annotation system Ldalvik/annotation/Throws; + value = { + Lorg/json/JSONException; + } + .end annotation + + .line 5 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/f; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->a:Lorg/json/JSONObject; + + iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->b:Ljava/util/Date; + + iget-object v3, p0, Lcom/google/firebase/remoteconfig/internal/f$b;->c:Lorg/json/JSONArray; + + const/4 v4, 0x0 + + invoke-direct {v0, v1, v2, v3, v4}, Lcom/google/firebase/remoteconfig/internal/f;->(Lorg/json/JSONObject;Ljava/util/Date;Lorg/json/JSONArray;Lcom/google/firebase/remoteconfig/internal/f$a;)V + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/f.smali b/smali/smali/com/google/firebase/remoteconfig/internal/f.smali new file mode 100644 index 000000000..d73920345 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/f.smali @@ -0,0 +1,265 @@ +.class public Lcom/google/firebase/remoteconfig/internal/f; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/internal/f$b; + } +.end annotation + + +# static fields +.field private static final e:Ljava/util/Date; + + +# instance fields +.field private a:Lorg/json/JSONObject; + +.field private b:Lorg/json/JSONObject; + +.field private c:Ljava/util/Date; + +.field private d:Lorg/json/JSONArray; + + +# direct methods +.method static constructor ()V + .locals 3 + + .line 1 + new-instance v0, Ljava/util/Date; + + const-wide/16 v1, 0x0 + + invoke-direct {v0, v1, v2}, Ljava/util/Date;->(J)V + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/f;->e:Ljava/util/Date; + + return-void +.end method + +.method private constructor (Lorg/json/JSONObject;Ljava/util/Date;Lorg/json/JSONArray;)V + .locals 4 + .annotation system Ldalvik/annotation/Throws; + value = { + Lorg/json/JSONException; + } + .end annotation + + .line 2 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 3 + new-instance v0, Lorg/json/JSONObject; + + invoke-direct {v0}, Lorg/json/JSONObject;->()V + + const-string v1, "configs_key" + + .line 4 + invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; + + .line 5 + invoke-virtual {p2}, Ljava/util/Date;->getTime()J + + move-result-wide v1 + + const-string v3, "fetch_time_key" + + invoke-virtual {v0, v3, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject; + + const-string v1, "abt_experiments_key" + + .line 6 + invoke-virtual {v0, v1, p3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; + + .line 7 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/f;->b:Lorg/json/JSONObject; + + .line 8 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/f;->c:Ljava/util/Date; + + .line 9 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/internal/f;->d:Lorg/json/JSONArray; + + .line 10 + iput-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f;->a:Lorg/json/JSONObject; + + return-void +.end method + +.method synthetic constructor (Lorg/json/JSONObject;Ljava/util/Date;Lorg/json/JSONArray;Lcom/google/firebase/remoteconfig/internal/f$a;)V + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Lorg/json/JSONException; + } + .end annotation + + .line 1 + invoke-direct {p0, p1, p2, p3}, Lcom/google/firebase/remoteconfig/internal/f;->(Lorg/json/JSONObject;Ljava/util/Date;Lorg/json/JSONArray;)V + + return-void +.end method + +.method static a(Lorg/json/JSONObject;)Lcom/google/firebase/remoteconfig/internal/f; + .locals 5 + .annotation system Ldalvik/annotation/Throws; + value = { + Lorg/json/JSONException; + } + .end annotation + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/f; + + const-string v1, "configs_key" + + .line 2 + invoke-virtual {p0, v1}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject; + + move-result-object v1 + + new-instance v2, Ljava/util/Date; + + const-string v3, "fetch_time_key" + + .line 3 + invoke-virtual {p0, v3}, Lorg/json/JSONObject;->getLong(Ljava/lang/String;)J + + move-result-wide v3 + + invoke-direct {v2, v3, v4}, Ljava/util/Date;->(J)V + + const-string v3, "abt_experiments_key" + + .line 4 + invoke-virtual {p0, v3}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray; + + move-result-object p0 + + invoke-direct {v0, v1, v2, p0}, Lcom/google/firebase/remoteconfig/internal/f;->(Lorg/json/JSONObject;Ljava/util/Date;Lorg/json/JSONArray;)V + + return-object v0 +.end method + +.method static synthetic d()Ljava/util/Date; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/internal/f;->e:Ljava/util/Date; + + return-object v0 +.end method + +.method public static e()Lcom/google/firebase/remoteconfig/internal/f$b; + .locals 2 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/f$b; + + const/4 v1, 0x0 + + invoke-direct {v0, v1}, Lcom/google/firebase/remoteconfig/internal/f$b;->(Lcom/google/firebase/remoteconfig/internal/f$a;)V + + return-object v0 +.end method + + +# virtual methods +.method public a()Lorg/json/JSONArray; + .locals 1 + + .line 5 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f;->d:Lorg/json/JSONArray; + + return-object v0 +.end method + +.method public b()Lorg/json/JSONObject; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f;->b:Lorg/json/JSONObject; + + return-object v0 +.end method + +.method public c()Ljava/util/Date; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f;->c:Ljava/util/Date; + + return-object v0 +.end method + +.method public equals(Ljava/lang/Object;)Z + .locals 1 + + if-ne p0, p1, :cond_0 + + const/4 p1, 0x1 + + return p1 + + .line 1 + :cond_0 + instance-of v0, p1, Lcom/google/firebase/remoteconfig/internal/f; + + if-nez v0, :cond_1 + + const/4 p1, 0x0 + + return p1 + + .line 2 + :cond_1 + check-cast p1, Lcom/google/firebase/remoteconfig/internal/f; + + .line 3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f;->a:Lorg/json/JSONObject; + + invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String; + + move-result-object v0 + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/f;->toString()Ljava/lang/String; + + move-result-object p1 + + invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z + + move-result p1 + + return p1 +.end method + +.method public hashCode()I + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f;->a:Lorg/json/JSONObject; + + invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I + + move-result v0 + + return v0 +.end method + +.method public toString()Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/f;->a:Lorg/json/JSONObject; + + invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/g.smali b/smali/smali/com/google/firebase/remoteconfig/internal/g.smali new file mode 100644 index 000000000..826faa0ae --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/g.smali @@ -0,0 +1,52 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/internal/g; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/a; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/j; + +.field private final b:J + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/internal/j;J)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/g;->a:Lcom/google/firebase/remoteconfig/internal/j; + + iput-wide p2, p0, Lcom/google/firebase/remoteconfig/internal/g;->b:J + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/j;J)Lcom/google/android/gms/tasks/a; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/internal/g; + + invoke-direct {v0, p0, p1, p2}, Lcom/google/firebase/remoteconfig/internal/g;->(Lcom/google/firebase/remoteconfig/internal/j;J)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Lcom/google/android/gms/tasks/g;)Ljava/lang/Object; + .locals 3 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/g;->a:Lcom/google/firebase/remoteconfig/internal/j; + + iget-wide v1, p0, Lcom/google/firebase/remoteconfig/internal/g;->b:J + + invoke-static {v0, v1, v2, p1}, Lcom/google/firebase/remoteconfig/internal/j;->a(Lcom/google/firebase/remoteconfig/internal/j;JLcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/h.smali b/smali/smali/com/google/firebase/remoteconfig/internal/h.smali new file mode 100644 index 000000000..0c32cbbad --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/h.smali @@ -0,0 +1,50 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/internal/h; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/a; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/j; + +.field private final b:Ljava/util/Date; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/internal/j;Ljava/util/Date;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/h;->a:Lcom/google/firebase/remoteconfig/internal/j; + + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/h;->b:Ljava/util/Date; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/j;Ljava/util/Date;)Lcom/google/android/gms/tasks/a; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/internal/h; + + invoke-direct {v0, p0, p1}, Lcom/google/firebase/remoteconfig/internal/h;->(Lcom/google/firebase/remoteconfig/internal/j;Ljava/util/Date;)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Lcom/google/android/gms/tasks/g;)Ljava/lang/Object; + .locals 2 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/h;->a:Lcom/google/firebase/remoteconfig/internal/j; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/h;->b:Ljava/util/Date; + + invoke-static {v0, v1, p1}, Lcom/google/firebase/remoteconfig/internal/j;->a(Lcom/google/firebase/remoteconfig/internal/j;Ljava/util/Date;Lcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/g; + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/i.smali b/smali/smali/com/google/firebase/remoteconfig/internal/i.smali new file mode 100644 index 000000000..aea34ef23 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/i.smali @@ -0,0 +1,48 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/internal/i; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/android/gms/tasks/f; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/j$a; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/internal/j$a;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/i;->a:Lcom/google/firebase/remoteconfig/internal/j$a; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/j$a;)Lcom/google/android/gms/tasks/f; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/internal/i; + + invoke-direct {v0, p0}, Lcom/google/firebase/remoteconfig/internal/i;->(Lcom/google/firebase/remoteconfig/internal/j$a;)V + + return-object v0 +.end method + + +# virtual methods +.method public a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + .locals 1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/i;->a:Lcom/google/firebase/remoteconfig/internal/j$a; + + check-cast p1, Lcom/google/firebase/remoteconfig/internal/f; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/internal/j;->a(Lcom/google/firebase/remoteconfig/internal/j$a;Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/j$a.smali b/smali/smali/com/google/firebase/remoteconfig/internal/j$a.smali new file mode 100644 index 000000000..b87feeda4 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/j$a.smali @@ -0,0 +1,128 @@ +.class public Lcom/google/firebase/remoteconfig/internal/j$a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/j; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x9 + name = "a" +.end annotation + + +# instance fields +.field private final a:I + +.field private final b:Lcom/google/firebase/remoteconfig/internal/f; + +.field private final c:Ljava/lang/String; + .annotation build Landroidx/annotation/Nullable; + .end annotation +.end field + + +# direct methods +.method private constructor (Ljava/util/Date;ILcom/google/firebase/remoteconfig/internal/f;Ljava/lang/String;)V + .locals 0 + .param p4 # Ljava/lang/String; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput p2, p0, Lcom/google/firebase/remoteconfig/internal/j$a;->a:I + + .line 3 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/internal/j$a;->b:Lcom/google/firebase/remoteconfig/internal/f; + + .line 4 + iput-object p4, p0, Lcom/google/firebase/remoteconfig/internal/j$a;->c:Ljava/lang/String; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/f;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/j$a; + .locals 3 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/j$a; + + .line 2 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/internal/f;->c()Ljava/util/Date; + + move-result-object v1 + + const/4 v2, 0x0 + + invoke-direct {v0, v1, v2, p0, p1}, Lcom/google/firebase/remoteconfig/internal/j$a;->(Ljava/util/Date;ILcom/google/firebase/remoteconfig/internal/f;Ljava/lang/String;)V + + return-object v0 +.end method + +.method public static a(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + .locals 3 + + .line 3 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/j$a; + + const/4 v1, 0x0 + + const/4 v2, 0x1 + + invoke-direct {v0, p0, v2, v1, v1}, Lcom/google/firebase/remoteconfig/internal/j$a;->(Ljava/util/Date;ILcom/google/firebase/remoteconfig/internal/f;Ljava/lang/String;)V + + return-object v0 +.end method + +.method public static b(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + .locals 3 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/j$a; + + const/4 v1, 0x0 + + const/4 v2, 0x2 + + invoke-direct {v0, p0, v2, v1, v1}, Lcom/google/firebase/remoteconfig/internal/j$a;->(Ljava/util/Date;ILcom/google/firebase/remoteconfig/internal/f;Ljava/lang/String;)V + + return-object v0 +.end method + + +# virtual methods +.method public a()Lcom/google/firebase/remoteconfig/internal/f; + .locals 1 + + .line 4 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j$a;->b:Lcom/google/firebase/remoteconfig/internal/f; + + return-object v0 +.end method + +.method b()Ljava/lang/String; + .locals 1 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .line 2 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j$a;->c:Ljava/lang/String; + + return-object v0 +.end method + +.method c()I + .locals 1 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/j$a;->a:I + + return v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/j.smali b/smali/smali/com/google/firebase/remoteconfig/internal/j.smali new file mode 100644 index 000000000..2a9843afe --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/j.smali @@ -0,0 +1,1102 @@ +.class public Lcom/google/firebase/remoteconfig/internal/j; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/internal/j$a; + } +.end annotation + + +# static fields +.field public static final j:J + +.field static final k:[I + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation +.end field + + +# instance fields +.field private final a:Lcom/google/firebase/iid/FirebaseInstanceId; + +.field private final b:Lcom/google/firebase/analytics/a/a; + .annotation build Landroidx/annotation/Nullable; + .end annotation +.end field + +.field private final c:Ljava/util/concurrent/Executor; + +.field private final d:Lcom/google/android/gms/common/util/e; + +.field private final e:Ljava/util/Random; + +.field private final f:Lcom/google/firebase/remoteconfig/internal/e; + +.field private final g:Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; + +.field private final h:Lcom/google/firebase/remoteconfig/internal/l; + +.field private final i:Ljava/util/Map; + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;" + } + .end annotation +.end field + + +# direct methods +.method static constructor ()V + .locals 3 + + .line 1 + sget-object v0, Ljava/util/concurrent/TimeUnit;->HOURS:Ljava/util/concurrent/TimeUnit; + + const-wide/16 v1, 0xc + + invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J + + move-result-wide v0 + + sput-wide v0, Lcom/google/firebase/remoteconfig/internal/j;->j:J + + const/16 v0, 0x8 + + new-array v0, v0, [I + + .line 2 + fill-array-data v0, :array_0 + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/j;->k:[I + + return-void + + :array_0 + .array-data 4 + 0x2 + 0x4 + 0x8 + 0x10 + 0x20 + 0x40 + 0x80 + 0x100 + .end array-data +.end method + +.method public constructor (Lcom/google/firebase/iid/FirebaseInstanceId;Lcom/google/firebase/analytics/a/a;Ljava/util/concurrent/Executor;Lcom/google/android/gms/common/util/e;Ljava/util/Random;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;Lcom/google/firebase/remoteconfig/internal/l;Ljava/util/Map;)V + .locals 0 + .param p2 # Lcom/google/firebase/analytics/a/a; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/firebase/iid/FirebaseInstanceId;", + "Lcom/google/firebase/analytics/a/a;", + "Ljava/util/concurrent/Executor;", + "Lcom/google/android/gms/common/util/e;", + "Ljava/util/Random;", + "Lcom/google/firebase/remoteconfig/internal/e;", + "Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;", + "Lcom/google/firebase/remoteconfig/internal/l;", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;)V" + } + .end annotation + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/j;->a:Lcom/google/firebase/iid/FirebaseInstanceId; + + .line 3 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/j;->b:Lcom/google/firebase/analytics/a/a; + + .line 4 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/internal/j;->c:Ljava/util/concurrent/Executor; + + .line 5 + iput-object p4, p0, Lcom/google/firebase/remoteconfig/internal/j;->d:Lcom/google/android/gms/common/util/e; + + .line 6 + iput-object p5, p0, Lcom/google/firebase/remoteconfig/internal/j;->e:Ljava/util/Random; + + .line 7 + iput-object p6, p0, Lcom/google/firebase/remoteconfig/internal/j;->f:Lcom/google/firebase/remoteconfig/internal/e; + + .line 8 + iput-object p7, p0, Lcom/google/firebase/remoteconfig/internal/j;->g:Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; + + .line 9 + iput-object p8, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + .line 10 + iput-object p9, p0, Lcom/google/firebase/remoteconfig/internal/j;->i:Ljava/util/Map; + + return-void +.end method + +.method private a(I)J + .locals 4 + + .line 47 + sget-object v0, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit; + + sget-object v1, Lcom/google/firebase/remoteconfig/internal/j;->k:[I + + array-length v2, v1 + + .line 48 + invoke-static {p1, v2}, Ljava/lang/Math;->min(II)I + + move-result p1 + + add-int/lit8 p1, p1, -0x1 + + aget p1, v1, p1 + + int-to-long v1, p1 + + .line 49 + invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J + + move-result-wide v0 + + const-wide/16 v2, 0x2 + + .line 50 + div-long v2, v0, v2 + + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/j;->e:Ljava/util/Random; + + long-to-int v1, v0 + + invoke-virtual {p1, v1}, Ljava/util/Random;->nextInt(I)I + + move-result p1 + + int-to-long v0, p1 + + add-long/2addr v2, v0 + + return-wide v2 +.end method + +.method private a(Lcom/google/android/gms/tasks/g;J)Lcom/google/android/gms/tasks/g; + .locals 5 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;J)", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/j$a;", + ">;" + } + .end annotation + + .line 7 + new-instance v0, Ljava/util/Date; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/j;->d:Lcom/google/android/gms/common/util/e; + + invoke-interface {v1}, Lcom/google/android/gms/common/util/e;->b()J + + move-result-wide v1 + + invoke-direct {v0, v1, v2}, Ljava/util/Date;->(J)V + + .line 8 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result p1 + + if-eqz p1, :cond_0 + + .line 9 + invoke-direct {p0, p2, p3, v0}, Lcom/google/firebase/remoteconfig/internal/j;->a(JLjava/util/Date;)Z + + move-result p1 + + if-eqz p1, :cond_0 + + .line 10 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/internal/j$a;->b(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + + move-result-object p1 + + invoke-static {p1}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 + + .line 11 + :cond_0 + invoke-direct {p0, v0}, Lcom/google/firebase/remoteconfig/internal/j;->c(Ljava/util/Date;)Ljava/util/Date; + + move-result-object p1 + + if-eqz p1, :cond_1 + + .line 12 + new-instance p2, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException; + + .line 13 + invoke-virtual {p1}, Ljava/util/Date;->getTime()J + + move-result-wide v1 + + invoke-virtual {v0}, Ljava/util/Date;->getTime()J + + move-result-wide v3 + + sub-long/2addr v1, v3 + + invoke-direct {p0, v1, v2}, Lcom/google/firebase/remoteconfig/internal/j;->b(J)Ljava/lang/String; + + move-result-object p3 + + .line 14 + invoke-virtual {p1}, Ljava/util/Date;->getTime()J + + move-result-wide v1 + + invoke-direct {p2, p3, v1, v2}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException;->(Ljava/lang/String;J)V + + .line 15 + invoke-static {p2}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Exception;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + goto :goto_0 + + .line 16 + :cond_1 + invoke-direct {p0, v0}, Lcom/google/firebase/remoteconfig/internal/j;->b(Ljava/util/Date;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + .line 17 + :goto_0 + iget-object p2, p0, Lcom/google/firebase/remoteconfig/internal/j;->c:Ljava/util/concurrent/Executor; + + invoke-static {p0, v0}, Lcom/google/firebase/remoteconfig/internal/h;->a(Lcom/google/firebase/remoteconfig/internal/j;Ljava/util/Date;)Lcom/google/android/gms/tasks/a; + + move-result-object p3 + + invoke-virtual {p1, p2, p3}, Lcom/google/android/gms/tasks/g;->b(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/a;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/j$a;Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + .line 24 + invoke-static {p0}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/j;JLcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/g; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + .line 6 + invoke-direct {p0, p3, p1, p2}, Lcom/google/firebase/remoteconfig/internal/j;->a(Lcom/google/android/gms/tasks/g;J)Lcom/google/android/gms/tasks/g; + + move-result-object p0 + + return-object p0 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/j;Ljava/util/Date;Lcom/google/android/gms/tasks/g;)Lcom/google/android/gms/tasks/g; + .locals 0 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/Exception; + } + .end annotation + + .line 18 + invoke-direct {p0, p2, p1}, Lcom/google/firebase/remoteconfig/internal/j;->a(Lcom/google/android/gms/tasks/g;Ljava/util/Date;)V + + return-object p2 +.end method + +.method private a(Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;)Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException; + .locals 5 + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; + } + .end annotation + + .line 40 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->a()I + + move-result v0 + + const/16 v1, 0x191 + + if-eq v0, v1, :cond_3 + + const/16 v1, 0x193 + + if-eq v0, v1, :cond_2 + + const/16 v1, 0x1ad + + if-eq v0, v1, :cond_1 + + const/16 v1, 0x1f4 + + if-eq v0, v1, :cond_0 + + packed-switch v0, :pswitch_data_0 + + const-string v0, "The server returned an unexpected error." + + goto :goto_0 + + :pswitch_0 + const-string v0, "The server is unavailable. Please try again later." + + goto :goto_0 + + :cond_0 + const-string v0, "There was an internal server error." + + goto :goto_0 + + .line 41 + :cond_1 + new-instance p1, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException; + + const-string v0, "The throttled response from the server was not handled correctly by the FRC SDK." + + invoke-direct {p1, v0}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigClientException;->(Ljava/lang/String;)V + + throw p1 + + :cond_2 + const-string v0, "The user is not authorized to access the project. Please make sure you are using the API key that corresponds to your Firebase project." + + goto :goto_0 + + :cond_3 + const-string v0, "The request did not have the required credentials. Please make sure your google-services.json is valid." + + .line 42 + :goto_0 + new-instance v1, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException; + + .line 43 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->a()I + + move-result v2 + + new-instance v3, Ljava/lang/StringBuilder; + + invoke-direct {v3}, Ljava/lang/StringBuilder;->()V + + const-string v4, "Fetch failed: " + + invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; + + invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; + + move-result-object v0 + + invoke-direct {v1, v2, v0, p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->(ILjava/lang/String;Ljava/lang/Throwable;)V + + return-object v1 + + :pswitch_data_0 + .packed-switch 0x1f6 + :pswitch_0 + :pswitch_0 + :pswitch_0 + .end packed-switch +.end method + +.method private a(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + .locals 9 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Throws; + value = { + Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; + } + .end annotation + + .line 25 + :try_start_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->g:Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->a()Ljava/net/HttpURLConnection; + + move-result-object v2 + + .line 26 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/j;->g:Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->a:Lcom/google/firebase/iid/FirebaseInstanceId; + + .line 27 + invoke-virtual {v0}, Lcom/google/firebase/iid/FirebaseInstanceId;->b()Ljava/lang/String; + + move-result-object v3 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->a:Lcom/google/firebase/iid/FirebaseInstanceId; + + .line 28 + invoke-virtual {v0}, Lcom/google/firebase/iid/FirebaseInstanceId;->c()Ljava/lang/String; + + move-result-object v4 + + .line 29 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/j;->b()Ljava/util/Map; + + move-result-object v5 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + .line 30 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l;->d()Ljava/lang/String; + + move-result-object v6 + + iget-object v7, p0, Lcom/google/firebase/remoteconfig/internal/j;->i:Ljava/util/Map; + + move-object v8, p1 + + .line 31 + invoke-virtual/range {v1 .. v8}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->fetch(Ljava/net/HttpURLConnection;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + + move-result-object v0 + + .line 32 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/j$a;->b()Ljava/lang/String; + + move-result-object v1 + + if-eqz v1, :cond_0 + + .line 33 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/j$a;->b()Ljava/lang/String; + + move-result-object v2 + + invoke-virtual {v1, v2}, Lcom/google/firebase/remoteconfig/internal/l;->a(Ljava/lang/String;)V + + .line 34 + :cond_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v1}, Lcom/google/firebase/remoteconfig/internal/l;->h()V + :try_end_0 + .catch Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException; {:try_start_0 .. :try_end_0} :catch_0 + + return-object v0 + + :catch_0 + move-exception v0 + + .line 35 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->a()I + + move-result v1 + + invoke-direct {p0, v1, p1}, Lcom/google/firebase/remoteconfig/internal/j;->a(ILjava/util/Date;)Lcom/google/firebase/remoteconfig/internal/l$a; + + move-result-object p1 + + .line 36 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;->a()I + + move-result v1 + + invoke-direct {p0, p1, v1}, Lcom/google/firebase/remoteconfig/internal/j;->a(Lcom/google/firebase/remoteconfig/internal/l$a;I)Z + + move-result v1 + + if-eqz v1, :cond_1 + + .line 37 + new-instance v0, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException; + + .line 38 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/l$a;->a()Ljava/util/Date; + + move-result-object p1 + + invoke-virtual {p1}, Ljava/util/Date;->getTime()J + + move-result-wide v1 + + invoke-direct {v0, v1, v2}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException;->(J)V + + throw v0 + + .line 39 + :cond_1 + invoke-direct {p0, v0}, Lcom/google/firebase/remoteconfig/internal/j;->a(Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException;)Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigServerException; + + move-result-object p1 + + throw p1 +.end method + +.method private a(ILjava/util/Date;)Lcom/google/firebase/remoteconfig/internal/l$a; + .locals 0 + + .line 44 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/j;->b(I)Z + + move-result p1 + + if-eqz p1, :cond_0 + + .line 45 + invoke-direct {p0, p2}, Lcom/google/firebase/remoteconfig/internal/j;->d(Ljava/util/Date;)V + + .line 46 + :cond_0 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/l;->a()Lcom/google/firebase/remoteconfig/internal/l$a; + + move-result-object p1 + + return-object p1 +.end method + +.method private a(Lcom/google/android/gms/tasks/g;Ljava/util/Date;)V + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/j$a;", + ">;", + "Ljava/util/Date;", + ")V" + } + .end annotation + + .line 52 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result v0 + + if-eqz v0, :cond_0 + + .line 53 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {p1, p2}, Lcom/google/firebase/remoteconfig/internal/l;->a(Ljava/util/Date;)V + + return-void + + .line 54 + :cond_0 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->a()Ljava/lang/Exception; + + move-result-object p1 + + if-nez p1, :cond_1 + + return-void + + .line 55 + :cond_1 + instance-of p1, p1, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException; + + if-eqz p1, :cond_2 + + .line 56 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/l;->j()V + + goto :goto_0 + + .line 57 + :cond_2 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/l;->i()V + + :goto_0 + return-void +.end method + +.method private a(JLjava/util/Date;)Z + .locals 4 + + .line 19 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l;->e()Ljava/util/Date; + + move-result-object v0 + + .line 20 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/l;->d:Ljava/util/Date; + + invoke-virtual {v0, v1}, Ljava/util/Date;->equals(Ljava/lang/Object;)Z + + move-result v1 + + if-eqz v1, :cond_0 + + const/4 p1, 0x0 + + return p1 + + .line 21 + :cond_0 + new-instance v1, Ljava/util/Date; + + .line 22 + invoke-virtual {v0}, Ljava/util/Date;->getTime()J + + move-result-wide v2 + + sget-object v0, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; + + invoke-virtual {v0, p1, p2}, Ljava/util/concurrent/TimeUnit;->toMillis(J)J + + move-result-wide p1 + + add-long/2addr v2, p1 + + invoke-direct {v1, v2, v3}, Ljava/util/Date;->(J)V + + .line 23 + invoke-virtual {p3, v1}, Ljava/util/Date;->before(Ljava/util/Date;)Z + + move-result p1 + + return p1 +.end method + +.method private a(Lcom/google/firebase/remoteconfig/internal/l$a;I)Z + .locals 1 + + .line 51 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/l$a;->b()I + + move-result p1 + + const/4 v0, 0x1 + + if-gt p1, v0, :cond_1 + + const/16 p1, 0x1ad + + if-ne p2, p1, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 v0, 0x0 + + :cond_1 + :goto_0 + return v0 +.end method + +.method private b(Ljava/util/Date;)Lcom/google/android/gms/tasks/g; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/Date;", + ")", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/j$a;", + ">;" + } + .end annotation + + .line 4 + :try_start_0 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/j;->a(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/j$a; + + move-result-object p1 + + .line 5 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/j$a;->c()I + + move-result v0 + + if-eqz v0, :cond_0 + + .line 6 + invoke-static {p1}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Object;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 + + .line 7 + :cond_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->f:Lcom/google/firebase/remoteconfig/internal/e; + + .line 8 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/j$a;->a()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v1 + + invoke-virtual {v0, v1}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/j;->c:Ljava/util/concurrent/Executor; + + invoke-static {p1}, Lcom/google/firebase/remoteconfig/internal/i;->a(Lcom/google/firebase/remoteconfig/internal/j$a;)Lcom/google/android/gms/tasks/f; + + move-result-object p1 + + .line 9 + invoke-virtual {v0, v1, p1}, Lcom/google/android/gms/tasks/g;->a(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/f;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + :try_end_0 + .catch Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigException; {:try_start_0 .. :try_end_0} :catch_0 + + return-object p1 + + :catch_0 + move-exception p1 + + .line 10 + invoke-static {p1}, Lcom/google/android/gms/tasks/j;->a(Ljava/lang/Exception;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method + +.method private b(J)Ljava/lang/String; + .locals 2 + + const/4 v0, 0x1 + + new-array v0, v0, [Ljava/lang/Object; + + .line 1 + sget-object v1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit; + + .line 2 + invoke-virtual {v1, p1, p2}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J + + move-result-wide p1 + + invoke-static {p1, p2}, Landroid/text/format/DateUtils;->formatElapsedTime(J)Ljava/lang/String; + + move-result-object p1 + + const/4 p2, 0x0 + + aput-object p1, v0, p2 + + const-string p1, "Fetch is throttled. Please wait before calling fetch again: %s" + + .line 3 + invoke-static {p1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object p1 + + return-object p1 +.end method + +.method private b()Ljava/util/Map; + .locals 4 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;" + } + .end annotation + + .line 11 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + .line 12 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/j;->b:Lcom/google/firebase/analytics/a/a; + + if-nez v1, :cond_0 + + return-object v0 + + :cond_0 + const/4 v2, 0x0 + + .line 13 + invoke-interface {v1, v2}, Lcom/google/firebase/analytics/a/a;->a(Z)Ljava/util/Map; + + move-result-object v1 + + invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set; + + move-result-object v1 + + invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator; + + move-result-object v1 + + :goto_0 + invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z + + move-result v2 + + if-eqz v2, :cond_1 + + invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Ljava/util/Map$Entry; + + .line 14 + invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; + + move-result-object v3 + + check-cast v3, Ljava/lang/String; + + invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; + + move-result-object v2 + + invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String; + + move-result-object v2 + + invoke-interface {v0, v3, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + goto :goto_0 + + :cond_1 + return-object v0 +.end method + +.method private b(I)Z + .locals 1 + + const/16 v0, 0x1ad + + if-eq p1, v0, :cond_1 + + const/16 v0, 0x1f6 + + if-eq p1, v0, :cond_1 + + const/16 v0, 0x1f7 + + if-eq p1, v0, :cond_1 + + const/16 v0, 0x1f8 + + if-ne p1, v0, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 p1, 0x0 + + goto :goto_1 + + :cond_1 + :goto_0 + const/4 p1, 0x1 + + :goto_1 + return p1 +.end method + +.method private c(Ljava/util/Date;)Ljava/util/Date; + .locals 1 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l;->a()Lcom/google/firebase/remoteconfig/internal/l$a; + + move-result-object v0 + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l$a;->a()Ljava/util/Date; + + move-result-object v0 + + .line 2 + invoke-virtual {p1, v0}, Ljava/util/Date;->before(Ljava/util/Date;)Z + + move-result p1 + + if-eqz p1, :cond_0 + + return-object v0 + + :cond_0 + const/4 p1, 0x0 + + return-object p1 +.end method + +.method private d(Ljava/util/Date;)V + .locals 6 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l;->a()Lcom/google/firebase/remoteconfig/internal/l$a; + + move-result-object v0 + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l$a;->b()I + + move-result v0 + + add-int/lit8 v0, v0, 0x1 + + .line 2 + invoke-direct {p0, v0}, Lcom/google/firebase/remoteconfig/internal/j;->a(I)J + + move-result-wide v1 + + .line 3 + new-instance v3, Ljava/util/Date; + + invoke-virtual {p1}, Ljava/util/Date;->getTime()J + + move-result-wide v4 + + add-long/2addr v4, v1 + + invoke-direct {v3, v4, v5}, Ljava/util/Date;->(J)V + + .line 4 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {p1, v0, v3}, Lcom/google/firebase/remoteconfig/internal/l;->a(ILjava/util/Date;)V + + return-void +.end method + + +# virtual methods +.method public a()Lcom/google/android/gms/tasks/g; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/j$a;", + ">;" + } + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l;->f()J + + move-result-wide v0 + + invoke-virtual {p0, v0, v1}, Lcom/google/firebase/remoteconfig/internal/j;->a(J)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + return-object v0 +.end method + +.method public a(J)Lcom/google/android/gms/tasks/g; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(J)", + "Lcom/google/android/gms/tasks/g<", + "Lcom/google/firebase/remoteconfig/internal/j$a;", + ">;" + } + .end annotation + + .line 2 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->h:Lcom/google/firebase/remoteconfig/internal/l; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/l;->g()Z + + move-result v0 + + if-eqz v0, :cond_0 + + const-wide/16 p1, 0x0 + + .line 3 + :cond_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/j;->f:Lcom/google/firebase/remoteconfig/internal/e; + + .line 4 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/e;->b()Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/j;->c:Ljava/util/concurrent/Executor; + + invoke-static {p0, p1, p2}, Lcom/google/firebase/remoteconfig/internal/g;->a(Lcom/google/firebase/remoteconfig/internal/j;J)Lcom/google/android/gms/tasks/a; + + move-result-object p1 + + .line 5 + invoke-virtual {v0, v1, p1}, Lcom/google/android/gms/tasks/g;->b(Ljava/util/concurrent/Executor;Lcom/google/android/gms/tasks/a;)Lcom/google/android/gms/tasks/g; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/k.smali b/smali/smali/com/google/firebase/remoteconfig/internal/k.smali new file mode 100644 index 000000000..cb6b2084e --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/k.smali @@ -0,0 +1,328 @@ +.class public Lcom/google/firebase/remoteconfig/internal/k; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# static fields +.field static final c:Ljava/util/regex/Pattern; + +.field static final d:Ljava/util/regex/Pattern; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/e; + +.field private final b:Lcom/google/firebase/remoteconfig/internal/e; + + +# direct methods +.method static constructor ()V + .locals 2 + + const-string v0, "UTF-8" + + .line 1 + invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset; + + const/4 v0, 0x2 + + const-string v1, "^(1|true|t|yes|y|on)$" + + .line 2 + invoke-static {v1, v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern; + + move-result-object v1 + + sput-object v1, Lcom/google/firebase/remoteconfig/internal/k;->c:Ljava/util/regex/Pattern; + + const-string v1, "^(0|false|f|no|n|off|)$" + + .line 3 + invoke-static {v1, v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern; + + move-result-object v0 + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/k;->d:Ljava/util/regex/Pattern; + + return-void +.end method + +.method public constructor (Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/k;->a:Lcom/google/firebase/remoteconfig/internal/e; + + .line 3 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/k;->b:Lcom/google/firebase/remoteconfig/internal/e; + + return-void +.end method + +.method private static a(Lcom/google/firebase/remoteconfig/internal/e;)Lcom/google/firebase/remoteconfig/internal/f; + .locals 0 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .line 10 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/internal/e;->c()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object p0 + + return-object p0 +.end method + +.method private static a(Lcom/google/firebase/remoteconfig/internal/e;Ljava/lang/String;)Ljava/lang/String; + .locals 1 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .line 8 + invoke-static {p0}, Lcom/google/firebase/remoteconfig/internal/k;->a(Lcom/google/firebase/remoteconfig/internal/e;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object p0 + + const/4 v0, 0x0 + + if-nez p0, :cond_0 + + return-object v0 + + .line 9 + :cond_0 + :try_start_0 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/internal/f;->b()Lorg/json/JSONObject; + + move-result-object p0 + + invoke-virtual {p0, p1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String; + + move-result-object p0 + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 + + return-object p0 + + :catch_0 + return-object v0 +.end method + +.method private static a(Ljava/lang/String;Ljava/lang/String;)V + .locals 2 + + const/4 v0, 0x2 + + new-array v0, v0, [Ljava/lang/Object; + + const/4 v1, 0x0 + + aput-object p1, v0, v1 + + const/4 p1, 0x1 + + aput-object p0, v0, p1 + + const-string p0, "No value of type \'%s\' exists for parameter key \'%s\'." + + .line 11 + invoke-static {p0, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + return-void +.end method + + +# virtual methods +.method public a(Ljava/lang/String;)Z + .locals 4 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/k;->a:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->a(Lcom/google/firebase/remoteconfig/internal/e;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + const/4 v1, 0x1 + + const/4 v2, 0x0 + + if-eqz v0, :cond_1 + + .line 2 + sget-object v3, Lcom/google/firebase/remoteconfig/internal/k;->c:Ljava/util/regex/Pattern; + + invoke-virtual {v3, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; + + move-result-object v3 + + invoke-virtual {v3}, Ljava/util/regex/Matcher;->matches()Z + + move-result v3 + + if-eqz v3, :cond_0 + + return v1 + + .line 3 + :cond_0 + sget-object v3, Lcom/google/firebase/remoteconfig/internal/k;->d:Ljava/util/regex/Pattern; + + invoke-virtual {v3, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; + + move-result-object v0 + + invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z + + move-result v0 + + if-eqz v0, :cond_1 + + return v2 + + .line 4 + :cond_1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/k;->b:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->a(Lcom/google/firebase/remoteconfig/internal/e;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + if-eqz v0, :cond_3 + + .line 5 + sget-object v3, Lcom/google/firebase/remoteconfig/internal/k;->c:Ljava/util/regex/Pattern; + + invoke-virtual {v3, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; + + move-result-object v3 + + invoke-virtual {v3}, Ljava/util/regex/Matcher;->matches()Z + + move-result v3 + + if-eqz v3, :cond_2 + + return v1 + + .line 6 + :cond_2 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/k;->d:Ljava/util/regex/Pattern; + + invoke-virtual {v1, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; + + move-result-object v0 + + invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z + + move-result v0 + + if-eqz v0, :cond_3 + + return v2 + + :cond_3 + const-string v0, "Boolean" + + .line 7 + invoke-static {p1, v0}, Lcom/google/firebase/remoteconfig/internal/k;->a(Ljava/lang/String;Ljava/lang/String;)V + + return v2 +.end method + +.method public b(Ljava/lang/String;)Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/k;->a:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->a(Lcom/google/firebase/remoteconfig/internal/e;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + if-eqz v0, :cond_0 + + return-object v0 + + .line 2 + :cond_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/k;->b:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->a(Lcom/google/firebase/remoteconfig/internal/e;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + if-eqz v0, :cond_1 + + return-object v0 + + :cond_1 + const-string v0, "String" + + .line 3 + invoke-static {p1, v0}, Lcom/google/firebase/remoteconfig/internal/k;->a(Ljava/lang/String;Ljava/lang/String;)V + + const-string p1, "" + + return-object p1 +.end method + +.method public c(Ljava/lang/String;)Lcom/google/firebase/remoteconfig/j; + .locals 2 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/k;->a:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->a(Lcom/google/firebase/remoteconfig/internal/e;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + if-eqz v0, :cond_0 + + .line 2 + new-instance p1, Lcom/google/firebase/remoteconfig/internal/o; + + const/4 v1, 0x2 + + invoke-direct {p1, v0, v1}, Lcom/google/firebase/remoteconfig/internal/o;->(Ljava/lang/String;I)V + + return-object p1 + + .line 3 + :cond_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/k;->b:Lcom/google/firebase/remoteconfig/internal/e; + + invoke-static {v0, p1}, Lcom/google/firebase/remoteconfig/internal/k;->a(Lcom/google/firebase/remoteconfig/internal/e;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + if-eqz v0, :cond_1 + + .line 4 + new-instance p1, Lcom/google/firebase/remoteconfig/internal/o; + + const/4 v1, 0x1 + + invoke-direct {p1, v0, v1}, Lcom/google/firebase/remoteconfig/internal/o;->(Ljava/lang/String;I)V + + return-object p1 + + :cond_1 + const-string v0, "FirebaseRemoteConfigValue" + + .line 5 + invoke-static {p1, v0}, Lcom/google/firebase/remoteconfig/internal/k;->a(Ljava/lang/String;Ljava/lang/String;)V + + .line 6 + new-instance p1, Lcom/google/firebase/remoteconfig/internal/o; + + const/4 v0, 0x0 + + const-string v1, "" + + invoke-direct {p1, v1, v0}, Lcom/google/firebase/remoteconfig/internal/o;->(Ljava/lang/String;I)V + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/l$a.smali b/smali/smali/com/google/firebase/remoteconfig/internal/l$a.smali new file mode 100644 index 000000000..7fd01ae6b --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/l$a.smali @@ -0,0 +1,57 @@ +.class Lcom/google/firebase/remoteconfig/internal/l$a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/l; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x8 + name = "a" +.end annotation + + +# instance fields +.field private a:I + +.field private b:Ljava/util/Date; + + +# direct methods +.method constructor (ILjava/util/Date;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput p1, p0, Lcom/google/firebase/remoteconfig/internal/l$a;->a:I + + .line 3 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/l$a;->b:Ljava/util/Date; + + return-void +.end method + + +# virtual methods +.method a()Ljava/util/Date; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l$a;->b:Ljava/util/Date; + + return-object v0 +.end method + +.method b()I + .locals 1 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/l$a;->a:I + + return v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/l.smali b/smali/smali/com/google/firebase/remoteconfig/internal/l.smali new file mode 100644 index 000000000..957013987 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/l.smali @@ -0,0 +1,654 @@ +.class public Lcom/google/firebase/remoteconfig/internal/l; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/internal/l$a; + } +.end annotation + + +# static fields +.field static final d:Ljava/util/Date; + +.field static final e:Ljava/util/Date; + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation +.end field + + +# instance fields +.field private final a:Landroid/content/SharedPreferences; + +.field private final b:Ljava/lang/Object; + +.field private final c:Ljava/lang/Object; + + +# direct methods +.method static constructor ()V + .locals 3 + + .line 1 + new-instance v0, Ljava/util/Date; + + const-wide/16 v1, -0x1 + + invoke-direct {v0, v1, v2}, Ljava/util/Date;->(J)V + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/l;->d:Ljava/util/Date; + + .line 2 + new-instance v0, Ljava/util/Date; + + invoke-direct {v0, v1, v2}, Ljava/util/Date;->(J)V + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/l;->e:Ljava/util/Date; + + return-void +.end method + +.method public constructor (Landroid/content/SharedPreferences;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + .line 3 + new-instance p1, Ljava/lang/Object; + + invoke-direct {p1}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/l;->b:Ljava/lang/Object; + + .line 4 + new-instance p1, Ljava/lang/Object; + + invoke-direct {p1}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/l;->c:Ljava/lang/Object; + + return-void +.end method + + +# virtual methods +.method a()Lcom/google/firebase/remoteconfig/internal/l$a; + .locals 8 + + .line 20 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->c:Ljava/lang/Object; + + monitor-enter v0 + + .line 21 + :try_start_0 + new-instance v1, Lcom/google/firebase/remoteconfig/internal/l$a; + + iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v3, "num_failed_fetches" + + const/4 v4, 0x0 + + .line 22 + invoke-interface {v2, v3, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I + + move-result v2 + + new-instance v3, Ljava/util/Date; + + iget-object v4, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v5, "backoff_end_time_in_millis" + + const-wide/16 v6, -0x1 + + .line 23 + invoke-interface {v4, v5, v6, v7}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J + + move-result-wide v4 + + invoke-direct {v3, v4, v5}, Ljava/util/Date;->(J)V + + invoke-direct {v1, v2, v3}, Lcom/google/firebase/remoteconfig/internal/l$a;->(ILjava/util/Date;)V + + monitor-exit v0 + + return-object v1 + + :catchall_0 + move-exception v1 + + .line 24 + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw v1 +.end method + +.method a(ILjava/util/Date;)V + .locals 4 + + .line 25 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->c:Ljava/lang/Object; + + monitor-enter v0 + + .line 26 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + .line 27 + invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "num_failed_fetches" + + .line 28 + invoke-interface {v1, v2, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor; + + move-result-object p1 + + const-string v1, "backoff_end_time_in_millis" + + .line 29 + invoke-virtual {p2}, Ljava/util/Date;->getTime()J + + move-result-wide v2 + + invoke-interface {p1, v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor; + + move-result-object p1 + + .line 30 + invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V + + .line 31 + monitor-exit v0 + + return-void + + :catchall_0 + move-exception p1 + + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p1 +.end method + +.method public a(Lcom/google/firebase/remoteconfig/i;)V + .locals 5 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->b:Ljava/lang/Object; + + monitor-enter v0 + + .line 2 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + .line 3 + invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "is_developer_mode_enabled" + + .line 4 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/i;->c()Z + + move-result v3 + + invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "fetch_timeout_in_seconds" + + .line 5 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/i;->a()J + + move-result-wide v3 + + invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "minimum_fetch_interval_in_seconds" + + .line 6 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/i;->b()J + + move-result-wide v3 + + .line 7 + invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor; + + move-result-object p1 + + .line 8 + invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V + + .line 9 + monitor-exit v0 + + return-void + + :catchall_0 + move-exception p1 + + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p1 +.end method + +.method a(Ljava/lang/String;)V + .locals 3 + + .line 17 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->b:Ljava/lang/Object; + + monitor-enter v0 + + .line 18 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "last_fetch_etag" + + invoke-interface {v1, v2, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor; + + move-result-object p1 + + invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V + + .line 19 + monitor-exit v0 + + return-void + + :catchall_0 + move-exception p1 + + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p1 +.end method + +.method a(Ljava/util/Date;)V + .locals 5 + + .line 10 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->b:Ljava/lang/Object; + + monitor-enter v0 + + .line 11 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + .line 12 + invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "last_fetch_status" + + const/4 v3, -0x1 + + .line 13 + invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "last_fetch_time_in_millis" + + .line 14 + invoke-virtual {p1}, Ljava/util/Date;->getTime()J + + move-result-wide v3 + + invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor; + + move-result-object p1 + + .line 15 + invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V + + .line 16 + monitor-exit v0 + + return-void + + :catchall_0 + move-exception p1 + + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p1 +.end method + +.method public b()J + .locals 4 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v1, "fetch_timeout_in_seconds" + + const-wide/16 v2, 0x3c + + invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J + + move-result-wide v0 + + return-wide v0 +.end method + +.method public c()Lcom/google/firebase/remoteconfig/h; + .locals 9 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->b:Ljava/lang/Object; + + monitor-enter v0 + + .line 2 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v2, "last_fetch_time_in_millis" + + const-wide/16 v3, -0x1 + + .line 3 + invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J + + move-result-wide v1 + + .line 4 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v4, "last_fetch_status" + + const/4 v5, 0x0 + + .line 5 + invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I + + move-result v3 + + .line 6 + new-instance v4, Lcom/google/firebase/remoteconfig/i$b; + + invoke-direct {v4}, Lcom/google/firebase/remoteconfig/i$b;->()V + + iget-object v6, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v7, "is_developer_mode_enabled" + + .line 7 + invoke-interface {v6, v7, v5}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z + + move-result v5 + + invoke-virtual {v4, v5}, Lcom/google/firebase/remoteconfig/i$b;->a(Z)Lcom/google/firebase/remoteconfig/i$b; + + iget-object v5, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v6, "fetch_timeout_in_seconds" + + const-wide/16 v7, 0x3c + + .line 8 + invoke-interface {v5, v6, v7, v8}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J + + move-result-wide v5 + + .line 9 + invoke-virtual {v4, v5, v6}, Lcom/google/firebase/remoteconfig/i$b;->a(J)Lcom/google/firebase/remoteconfig/i$b; + + iget-object v5, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v6, "minimum_fetch_interval_in_seconds" + + sget-wide v7, Lcom/google/firebase/remoteconfig/internal/j;->j:J + + .line 10 + invoke-interface {v5, v6, v7, v8}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J + + move-result-wide v5 + + .line 11 + invoke-virtual {v4, v5, v6}, Lcom/google/firebase/remoteconfig/i$b;->b(J)Lcom/google/firebase/remoteconfig/i$b; + + .line 12 + invoke-virtual {v4}, Lcom/google/firebase/remoteconfig/i$b;->a()Lcom/google/firebase/remoteconfig/i; + + move-result-object v4 + + .line 13 + invoke-static {}, Lcom/google/firebase/remoteconfig/internal/n;->c()Lcom/google/firebase/remoteconfig/internal/n$b; + + move-result-object v5 + + .line 14 + invoke-virtual {v5, v3}, Lcom/google/firebase/remoteconfig/internal/n$b;->a(I)Lcom/google/firebase/remoteconfig/internal/n$b; + + .line 15 + invoke-virtual {v5, v1, v2}, Lcom/google/firebase/remoteconfig/internal/n$b;->a(J)Lcom/google/firebase/remoteconfig/internal/n$b; + + .line 16 + invoke-virtual {v5, v4}, Lcom/google/firebase/remoteconfig/internal/n$b;->a(Lcom/google/firebase/remoteconfig/i;)Lcom/google/firebase/remoteconfig/internal/n$b; + + .line 17 + invoke-virtual {v5}, Lcom/google/firebase/remoteconfig/internal/n$b;->a()Lcom/google/firebase/remoteconfig/internal/n; + + move-result-object v1 + + monitor-exit v0 + + return-object v1 + + :catchall_0 + move-exception v1 + + .line 18 + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw v1 +.end method + +.method d()Ljava/lang/String; + .locals 3 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v1, "last_fetch_etag" + + const/4 v2, 0x0 + + invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + return-object v0 +.end method + +.method e()Ljava/util/Date; + .locals 5 + + .line 1 + new-instance v0, Ljava/util/Date; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v2, "last_fetch_time_in_millis" + + const-wide/16 v3, -0x1 + + .line 2 + invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J + + move-result-wide v1 + + invoke-direct {v0, v1, v2}, Ljava/util/Date;->(J)V + + return-object v0 +.end method + +.method public f()J + .locals 4 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + sget-wide v1, Lcom/google/firebase/remoteconfig/internal/j;->j:J + + const-string v3, "minimum_fetch_interval_in_seconds" + + invoke-interface {v0, v3, v1, v2}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J + + move-result-wide v0 + + return-wide v0 +.end method + +.method public g()Z + .locals 3 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + const-string v1, "is_developer_mode_enabled" + + const/4 v2, 0x0 + + invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z + + move-result v0 + + return v0 +.end method + +.method h()V + .locals 2 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/internal/l;->e:Ljava/util/Date; + + const/4 v1, 0x0 + + invoke-virtual {p0, v1, v0}, Lcom/google/firebase/remoteconfig/internal/l;->a(ILjava/util/Date;)V + + return-void +.end method + +.method i()V + .locals 4 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->b:Ljava/lang/Object; + + monitor-enter v0 + + .line 2 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "last_fetch_status" + + const/4 v3, 0x1 + + invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->apply()V + + .line 3 + monitor-exit v0 + + return-void + + :catchall_0 + move-exception v1 + + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw v1 +.end method + +.method j()V + .locals 4 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/l;->b:Ljava/lang/Object; + + monitor-enter v0 + + .line 2 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/l;->a:Landroid/content/SharedPreferences; + + invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + const-string v2, "last_fetch_status" + + const/4 v3, 0x2 + + invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor; + + move-result-object v1 + + invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->apply()V + + .line 3 + monitor-exit v0 + + return-void + + :catchall_0 + move-exception v1 + + monitor-exit v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw v1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/m.smali b/smali/smali/com/google/firebase/remoteconfig/internal/m.smali new file mode 100644 index 000000000..147790cd7 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/m.smali @@ -0,0 +1,356 @@ +.class public Lcom/google/firebase/remoteconfig/internal/m; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation build Landroidx/annotation/AnyThread; +.end annotation + + +# static fields +.field private static final c:Ljava/util/Map; + .annotation build Landroidx/annotation/GuardedBy; + value = "ConfigStorageClient.class" + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/util/Map<", + "Ljava/lang/String;", + "Lcom/google/firebase/remoteconfig/internal/m;", + ">;" + } + .end annotation +.end field + + +# instance fields +.field private final a:Landroid/content/Context; + +.field private final b:Ljava/lang/String; + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/m;->c:Ljava/util/Map; + + return-void +.end method + +.method private constructor (Landroid/content/Context;Ljava/lang/String;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/m;->a:Landroid/content/Context; + + .line 3 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/m;->b:Ljava/lang/String; + + return-void +.end method + +.method public static declared-synchronized a(Landroid/content/Context;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/m; + .locals 3 + + const-class v0, Lcom/google/firebase/remoteconfig/internal/m; + + monitor-enter v0 + + .line 8 + :try_start_0 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/m;->c:Ljava/util/Map; + + invoke-interface {v1, p1}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v1 + + if-nez v1, :cond_0 + + .line 9 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/m;->c:Ljava/util/Map; + + new-instance v2, Lcom/google/firebase/remoteconfig/internal/m; + + invoke-direct {v2, p0, p1}, Lcom/google/firebase/remoteconfig/internal/m;->(Landroid/content/Context;Ljava/lang/String;)V + + invoke-interface {v1, p1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 10 + :cond_0 + sget-object p0, Lcom/google/firebase/remoteconfig/internal/m;->c:Ljava/util/Map; + + invoke-interface {p0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object p0 + + check-cast p0, Lcom/google/firebase/remoteconfig/internal/m; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + monitor-exit v0 + + return-object p0 + + :catchall_0 + move-exception p0 + + monitor-exit v0 + + throw p0 +.end method + + +# virtual methods +.method public declared-synchronized a()Ljava/lang/Void; + .locals 2 + + monitor-enter p0 + + .line 6 + :try_start_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/m;->a:Landroid/content/Context; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/m;->b:Ljava/lang/String; + + invoke-virtual {v0, v1}, Landroid/content/Context;->deleteFile(Ljava/lang/String;)Z + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + const/4 v0, 0x0 + + .line 7 + monitor-exit p0 + + return-object v0 + + :catchall_0 + move-exception v0 + + monitor-exit p0 + + throw v0 +.end method + +.method public declared-synchronized a(Lcom/google/firebase/remoteconfig/internal/f;)Ljava/lang/Void; + .locals 3 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + monitor-enter p0 + + .line 1 + :try_start_0 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/m;->a:Landroid/content/Context; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/m;->b:Ljava/lang/String; + + const/4 v2, 0x0 + + invoke-virtual {v0, v1, v2}, Landroid/content/Context;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream; + + move-result-object v0 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_1 + + .line 2 + :try_start_1 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/internal/f;->toString()Ljava/lang/String; + + move-result-object p1 + + const-string v1, "UTF-8" + + invoke-virtual {p1, v1}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B + + move-result-object p1 + + invoke-virtual {v0, p1}, Ljava/io/FileOutputStream;->write([B)V + :try_end_1 + .catchall {:try_start_1 .. :try_end_1} :catchall_0 + + .line 3 + :try_start_2 + invoke-virtual {v0}, Ljava/io/FileOutputStream;->close()V + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_1 + + const/4 p1, 0x0 + + .line 4 + monitor-exit p0 + + return-object p1 + + :catchall_0 + move-exception p1 + + .line 5 + :try_start_3 + invoke-virtual {v0}, Ljava/io/FileOutputStream;->close()V + + throw p1 + :try_end_3 + .catchall {:try_start_3 .. :try_end_3} :catchall_1 + + :catchall_1 + move-exception p1 + + monitor-exit p0 + + throw p1 +.end method + +.method b()Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/m;->b:Ljava/lang/String; + + return-object v0 +.end method + +.method public declared-synchronized c()Lcom/google/firebase/remoteconfig/internal/f; + .locals 6 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + monitor-enter p0 + + const/4 v0, 0x0 + + .line 1 + :try_start_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/m;->a:Landroid/content/Context; + + iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/m;->b:Ljava/lang/String; + + invoke-virtual {v1, v2}, Landroid/content/Context;->openFileInput(Ljava/lang/String;)Ljava/io/FileInputStream; + + move-result-object v1 + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_1 + .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_1 + .catchall {:try_start_0 .. :try_end_0} :catchall_1 + + .line 2 + :try_start_1 + invoke-virtual {v1}, Ljava/io/FileInputStream;->available()I + + move-result v2 + + new-array v2, v2, [B + + const/4 v3, 0x0 + + .line 3 + array-length v4, v2 + + invoke-virtual {v1, v2, v3, v4}, Ljava/io/FileInputStream;->read([BII)I + + .line 4 + new-instance v3, Ljava/lang/String; + + const-string v4, "UTF-8" + + invoke-direct {v3, v2, v4}, Ljava/lang/String;->([BLjava/lang/String;)V + + .line 5 + new-instance v2, Lorg/json/JSONObject; + + invoke-direct {v2, v3}, Lorg/json/JSONObject;->(Ljava/lang/String;)V + + .line 6 + invoke-static {v2}, Lcom/google/firebase/remoteconfig/internal/f;->a(Lorg/json/JSONObject;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v0 + :try_end_1 + .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0 + .catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_0 + .catchall {:try_start_1 .. :try_end_1} :catchall_0 + + if-eqz v1, :cond_0 + + .line 7 + :try_start_2 + invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_2 + + .line 8 + :cond_0 + monitor-exit p0 + + return-object v0 + + :catchall_0 + move-exception v0 + + goto :goto_0 + + :catch_0 + nop + + goto :goto_1 + + :catchall_1 + move-exception v1 + + move-object v5, v1 + + move-object v1, v0 + + move-object v0, v5 + + :goto_0 + if-eqz v1, :cond_1 + + .line 9 + :try_start_3 + invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V + + :cond_1 + throw v0 + + :catch_1 + move-object v1, v0 + + :goto_1 + if-eqz v1, :cond_2 + + invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V + :try_end_3 + .catchall {:try_start_3 .. :try_end_3} :catchall_2 + + goto :goto_2 + + :catchall_2 + move-exception v0 + + monitor-exit p0 + + throw v0 + + .line 10 + :cond_2 + :goto_2 + monitor-exit p0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/n$a.smali b/smali/smali/com/google/firebase/remoteconfig/internal/n$a.smali new file mode 100644 index 000000000..0a39155c1 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/n$a.smali @@ -0,0 +1,14 @@ +.class synthetic Lcom/google/firebase/remoteconfig/internal/n$a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/n; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x1008 + name = null +.end annotation diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/n$b.smali b/smali/smali/com/google/firebase/remoteconfig/internal/n$b.smali new file mode 100644 index 000000000..f2e95f142 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/n$b.smali @@ -0,0 +1,92 @@ +.class public Lcom/google/firebase/remoteconfig/internal/n$b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/n; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x9 + name = "b" +.end annotation + + +# instance fields +.field private a:J + +.field private b:I + +.field private c:Lcom/google/firebase/remoteconfig/i; + + +# direct methods +.method private constructor ()V + .locals 0 + + .line 2 + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/internal/n$a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/n$b;->()V + + return-void +.end method + + +# virtual methods +.method a(I)Lcom/google/firebase/remoteconfig/internal/n$b; + .locals 0 + + .line 2 + iput p1, p0, Lcom/google/firebase/remoteconfig/internal/n$b;->b:I + + return-object p0 +.end method + +.method public a(J)Lcom/google/firebase/remoteconfig/internal/n$b; + .locals 0 + + .line 1 + iput-wide p1, p0, Lcom/google/firebase/remoteconfig/internal/n$b;->a:J + + return-object p0 +.end method + +.method a(Lcom/google/firebase/remoteconfig/i;)Lcom/google/firebase/remoteconfig/internal/n$b; + .locals 0 + + .line 3 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/n$b;->c:Lcom/google/firebase/remoteconfig/i; + + return-object p0 +.end method + +.method public a()Lcom/google/firebase/remoteconfig/internal/n; + .locals 7 + + .line 4 + new-instance v6, Lcom/google/firebase/remoteconfig/internal/n; + + iget-wide v1, p0, Lcom/google/firebase/remoteconfig/internal/n$b;->a:J + + iget v3, p0, Lcom/google/firebase/remoteconfig/internal/n$b;->b:I + + iget-object v4, p0, Lcom/google/firebase/remoteconfig/internal/n$b;->c:Lcom/google/firebase/remoteconfig/i; + + const/4 v5, 0x0 + + move-object v0, v6 + + invoke-direct/range {v0 .. v5}, Lcom/google/firebase/remoteconfig/internal/n;->(JILcom/google/firebase/remoteconfig/i;Lcom/google/firebase/remoteconfig/internal/n$a;)V + + return-object v6 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/n.smali b/smali/smali/com/google/firebase/remoteconfig/internal/n.smali new file mode 100644 index 000000000..64e2ae6fb --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/n.smali @@ -0,0 +1,79 @@ +.class public Lcom/google/firebase/remoteconfig/internal/n; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/h; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/internal/n$b; + } +.end annotation + + +# instance fields +.field private final a:I + +.field private final b:Lcom/google/firebase/remoteconfig/i; + + +# direct methods +.method private constructor (JILcom/google/firebase/remoteconfig/i;)V + .locals 0 + + .line 2 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 3 + iput p3, p0, Lcom/google/firebase/remoteconfig/internal/n;->a:I + + .line 4 + iput-object p4, p0, Lcom/google/firebase/remoteconfig/internal/n;->b:Lcom/google/firebase/remoteconfig/i; + + return-void +.end method + +.method synthetic constructor (JILcom/google/firebase/remoteconfig/i;Lcom/google/firebase/remoteconfig/internal/n$a;)V + .locals 0 + + .line 1 + invoke-direct {p0, p1, p2, p3, p4}, Lcom/google/firebase/remoteconfig/internal/n;->(JILcom/google/firebase/remoteconfig/i;)V + + return-void +.end method + +.method static c()Lcom/google/firebase/remoteconfig/internal/n$b; + .locals 2 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/n$b; + + const/4 v1, 0x0 + + invoke-direct {v0, v1}, Lcom/google/firebase/remoteconfig/internal/n$b;->(Lcom/google/firebase/remoteconfig/internal/n$a;)V + + return-object v0 +.end method + + +# virtual methods +.method public a()Lcom/google/firebase/remoteconfig/i; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/n;->b:Lcom/google/firebase/remoteconfig/i; + + return-object v0 +.end method + +.method public b()I + .locals 1 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/n;->a:I + + return v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/o.smali b/smali/smali/com/google/firebase/remoteconfig/internal/o.smali new file mode 100644 index 000000000..08f0d7029 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/o.smali @@ -0,0 +1,308 @@ +.class public Lcom/google/firebase/remoteconfig/internal/o; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/j; + + +# instance fields +.field private final a:Ljava/lang/String; + +.field private final b:I + + +# direct methods +.method constructor (Ljava/lang/String;I)V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/o;->a:Ljava/lang/String; + + .line 3 + iput p2, p0, Lcom/google/firebase/remoteconfig/internal/o;->b:I + + return-void +.end method + +.method private a()Ljava/lang/String; + .locals 1 + + .line 1 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/internal/o;->w0()Ljava/lang/String; + + move-result-object v0 + + invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String; + + move-result-object v0 + + return-object v0 +.end method + +.method private b()V + .locals 2 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/o;->a:Ljava/lang/String; + + if-eqz v0, :cond_0 + + return-void + + .line 2 + :cond_0 + new-instance v0, Ljava/lang/IllegalArgumentException; + + const-string v1, "Value is null, and cannot be converted to the desired type." + + invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V + + throw v0 +.end method + + +# virtual methods +.method public v0()I + .locals 1 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/o;->b:I + + return v0 +.end method + +.method public w0()Ljava/lang/String; + .locals 1 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/o;->b:I + + if-nez v0, :cond_0 + + const-string v0, "" + + return-object v0 + + .line 2 + :cond_0 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/o;->b()V + + .line 3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/o;->a:Ljava/lang/String; + + return-object v0 +.end method + +.method public x0()J + .locals 5 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/o;->b:I + + if-nez v0, :cond_0 + + const-wide/16 v0, 0x0 + + return-wide v0 + + .line 2 + :cond_0 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/o;->a()Ljava/lang/String; + + move-result-object v0 + + .line 3 + :try_start_0 + invoke-static {v0}, Ljava/lang/Long;->valueOf(Ljava/lang/String;)Ljava/lang/Long; + + move-result-object v1 + + invoke-virtual {v1}, Ljava/lang/Long;->longValue()J + + move-result-wide v0 + :try_end_0 + .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0 + + return-wide v0 + + :catch_0 + move-exception v1 + + .line 4 + new-instance v2, Ljava/lang/IllegalArgumentException; + + const/4 v3, 0x2 + + new-array v3, v3, [Ljava/lang/Object; + + const/4 v4, 0x0 + + aput-object v0, v3, v4 + + const/4 v0, 0x1 + + const-string v4, "long" + + aput-object v4, v3, v0 + + const-string v0, "[Value: %s] cannot be converted to a %s." + + .line 5 + invoke-static {v0, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object v0 + + invoke-direct {v2, v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + throw v2 +.end method + +.method public y0()D + .locals 5 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/o;->b:I + + if-nez v0, :cond_0 + + const-wide/16 v0, 0x0 + + return-wide v0 + + .line 2 + :cond_0 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/o;->a()Ljava/lang/String; + + move-result-object v0 + + .line 3 + :try_start_0 + invoke-static {v0}, Ljava/lang/Double;->valueOf(Ljava/lang/String;)Ljava/lang/Double; + + move-result-object v1 + + invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D + + move-result-wide v0 + :try_end_0 + .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0 + + return-wide v0 + + :catch_0 + move-exception v1 + + .line 4 + new-instance v2, Ljava/lang/IllegalArgumentException; + + const/4 v3, 0x2 + + new-array v3, v3, [Ljava/lang/Object; + + const/4 v4, 0x0 + + aput-object v0, v3, v4 + + const/4 v0, 0x1 + + const-string v4, "double" + + aput-object v4, v3, v0 + + const-string v0, "[Value: %s] cannot be converted to a %s." + + .line 5 + invoke-static {v0, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object v0 + + invoke-direct {v2, v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;Ljava/lang/Throwable;)V + + throw v2 +.end method + +.method public z0()Z + .locals 5 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/IllegalArgumentException; + } + .end annotation + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/internal/o;->b:I + + const/4 v1, 0x0 + + if-nez v0, :cond_0 + + return v1 + + .line 2 + :cond_0 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/o;->a()Ljava/lang/String; + + move-result-object v0 + + .line 3 + sget-object v2, Lcom/google/firebase/remoteconfig/internal/k;->c:Ljava/util/regex/Pattern; + + invoke-virtual {v2, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; + + move-result-object v2 + + invoke-virtual {v2}, Ljava/util/regex/Matcher;->matches()Z + + move-result v2 + + const/4 v3, 0x1 + + if-eqz v2, :cond_1 + + return v3 + + .line 4 + :cond_1 + sget-object v2, Lcom/google/firebase/remoteconfig/internal/k;->d:Ljava/util/regex/Pattern; + + invoke-virtual {v2, v0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; + + move-result-object v2 + + invoke-virtual {v2}, Ljava/util/regex/Matcher;->matches()Z + + move-result v2 + + if-eqz v2, :cond_2 + + return v1 + + .line 5 + :cond_2 + new-instance v2, Ljava/lang/IllegalArgumentException; + + const/4 v4, 0x2 + + new-array v4, v4, [Ljava/lang/Object; + + aput-object v0, v4, v1 + + const-string v0, "boolean" + + aput-object v0, v4, v3 + + const-string v0, "[Value: %s] cannot be converted to a %s." + + .line 6 + invoke-static {v0, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object v0 + + invoke-direct {v2, v0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V + + throw v2 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/p$a.smali b/smali/smali/com/google/firebase/remoteconfig/internal/p$a.smali new file mode 100644 index 000000000..e50ca3df2 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/p$a.smali @@ -0,0 +1,61 @@ +.class Lcom/google/firebase/remoteconfig/internal/p$a; +.super Ljava/lang/ThreadLocal; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/p; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x0 + name = null +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/lang/ThreadLocal<", + "Ljava/text/DateFormat;", + ">;" + } +.end annotation + + +# direct methods +.method constructor ()V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/ThreadLocal;->()V + + return-void +.end method + + +# virtual methods +.method protected bridge synthetic initialValue()Ljava/lang/Object; + .locals 1 + + .line 1 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/internal/p$a;->initialValue()Ljava/text/DateFormat; + + move-result-object v0 + + return-object v0 +.end method + +.method protected initialValue()Ljava/text/DateFormat; + .locals 3 + + .line 2 + new-instance v0, Ljava/text/SimpleDateFormat; + + sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale; + + const-string v2, "yyyy-MM-dd\'T\'HH:mm:ss" + + invoke-direct {v0, v2, v1}, Ljava/text/SimpleDateFormat;->(Ljava/lang/String;Ljava/util/Locale;)V + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/p$b.smali b/smali/smali/com/google/firebase/remoteconfig/internal/p$b.smali new file mode 100644 index 000000000..be485200d --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/p$b.smali @@ -0,0 +1,156 @@ +.class Lcom/google/firebase/remoteconfig/internal/p$b; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/internal/p; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0xa + name = "b" +.end annotation + + +# instance fields +.field private a:Lcom/google/firebase/remoteconfig/internal/f; + +.field private b:Lcom/google/firebase/remoteconfig/internal/f; + +.field private c:Lcom/google/firebase/remoteconfig/internal/f; + + +# direct methods +.method private constructor ()V + .locals 0 + + .line 2 + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/internal/p$a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/p$b;->()V + + return-void +.end method + +.method private a()Lcom/google/firebase/remoteconfig/internal/f; + .locals 1 + + .line 4 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/p$b;->b:Lcom/google/firebase/remoteconfig/internal/f; + + return-object v0 +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/p$b;->c()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object p0 + + return-object p0 +.end method + +.method private a(Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + .line 3 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/p$b;->b:Lcom/google/firebase/remoteconfig/internal/f; + + return-void +.end method + +.method static synthetic a(Lcom/google/firebase/remoteconfig/internal/p$b;Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + .line 2 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/p$b;->a(Lcom/google/firebase/remoteconfig/internal/f;)V + + return-void +.end method + +.method private b()Lcom/google/firebase/remoteconfig/internal/f; + .locals 1 + + .line 4 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/p$b;->c:Lcom/google/firebase/remoteconfig/internal/f; + + return-object v0 +.end method + +.method static synthetic b(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/p$b;->a()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object p0 + + return-object p0 +.end method + +.method private b(Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + .line 3 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/p$b;->c:Lcom/google/firebase/remoteconfig/internal/f; + + return-void +.end method + +.method static synthetic b(Lcom/google/firebase/remoteconfig/internal/p$b;Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + .line 2 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/p$b;->c(Lcom/google/firebase/remoteconfig/internal/f;)V + + return-void +.end method + +.method private c()Lcom/google/firebase/remoteconfig/internal/f; + .locals 1 + + .line 4 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/p$b;->a:Lcom/google/firebase/remoteconfig/internal/f; + + return-object v0 +.end method + +.method static synthetic c(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/p$b;->b()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object p0 + + return-object p0 +.end method + +.method private c(Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + .line 3 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/p$b;->a:Lcom/google/firebase/remoteconfig/internal/f; + + return-void +.end method + +.method static synthetic c(Lcom/google/firebase/remoteconfig/internal/p$b;Lcom/google/firebase/remoteconfig/internal/f;)V + .locals 0 + + .line 2 + invoke-direct {p0, p1}, Lcom/google/firebase/remoteconfig/internal/p$b;->b(Lcom/google/firebase/remoteconfig/internal/f;)V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/internal/p.smali b/smali/smali/com/google/firebase/remoteconfig/internal/p.smali new file mode 100644 index 000000000..1c0977b19 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/internal/p.smali @@ -0,0 +1,958 @@ +.class public Lcom/google/firebase/remoteconfig/internal/p; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/internal/p$b; + } +.end annotation + + +# static fields +.field private static final d:Ljava/nio/charset/Charset; + +.field static final e:Ljava/lang/ThreadLocal; + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/lang/ThreadLocal<", + "Ljava/text/DateFormat;", + ">;" + } + .end annotation +.end field + + +# instance fields +.field private final a:Landroid/content/Context; + +.field private final b:Ljava/lang/String; + +.field private final c:Landroid/content/SharedPreferences; + + +# direct methods +.method static constructor ()V + .locals 1 + + const-string v0, "UTF-8" + + .line 1 + invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset; + + move-result-object v0 + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/p;->d:Ljava/nio/charset/Charset; + + .line 2 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/p$a; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/internal/p$a;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/internal/p;->e:Ljava/lang/ThreadLocal; + + return-void +.end method + +.method public constructor (Landroid/content/Context;Ljava/lang/String;)V + .locals 1 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/p;->a:Landroid/content/Context; + + .line 3 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/internal/p;->b:Ljava/lang/String; + + const-string p2, "com.google.firebase.remoteconfig_legacy_settings" + + const/4 v0, 0x0 + + .line 4 + invoke-virtual {p1, p2, v0}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/p;->c:Landroid/content/SharedPreferences; + + return-void +.end method + +.method private a(Lcom/google/protobuf/ByteString;)Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload; + .locals 3 + .annotation build Landroidx/annotation/Nullable; + .end annotation + + .line 30 + :try_start_0 + invoke-virtual {p1}, Lcom/google/protobuf/ByteString;->iterator()Lcom/google/protobuf/ByteString$d; + + move-result-object v0 + + .line 31 + invoke-virtual {p1}, Lcom/google/protobuf/ByteString;->size()I + + move-result p1 + + new-array p1, p1, [B + + const/4 v1, 0x0 + + .line 32 + :goto_0 + array-length v2, p1 + + if-ge v1, v2, :cond_0 + + .line 33 + invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Ljava/lang/Byte; + + invoke-virtual {v2}, Ljava/lang/Byte;->byteValue()B + + move-result v2 + + aput-byte v2, p1, v1 + + add-int/lit8 v1, v1, 0x1 + + goto :goto_0 + + .line 34 + :cond_0 + invoke-static {p1}, Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;->a([B)Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload; + + move-result-object p1 + :try_end_0 + .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_0 .. :try_end_0} :catch_0 + + return-object p1 + + :catch_0 + const/4 p1, 0x0 + + return-object p1 +.end method + +.method private a(Lcom/google/firebase/remoteconfig/o/b;)Ljava/util/Map; + .locals 6 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/firebase/remoteconfig/o/b;", + ")", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Lcom/google/firebase/remoteconfig/internal/f;", + ">;" + } + .end annotation + + .line 16 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + .line 17 + new-instance v1, Ljava/util/Date; + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/o/b;->l()J + + move-result-wide v2 + + invoke-direct {v1, v2, v3}, Ljava/util/Date;->(J)V + + .line 18 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/o/b;->j()Ljava/util/List; + + move-result-object v2 + + invoke-direct {p0, v2}, Lcom/google/firebase/remoteconfig/internal/p;->b(Ljava/util/List;)Lorg/json/JSONArray; + + move-result-object v2 + + .line 19 + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/o/b;->k()Ljava/util/List; + + move-result-object p1 + + .line 20 + invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v3 + + if-eqz v3, :cond_2 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v3 + + check-cast v3, Lcom/google/firebase/remoteconfig/o/h; + + .line 21 + invoke-virtual {v3}, Lcom/google/firebase/remoteconfig/o/h;->k()Ljava/lang/String; + + move-result-object v4 + + const-string v5, "configns:" + + .line 22 + invoke-virtual {v4, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z + + move-result v5 + + if-eqz v5, :cond_0 + + const/16 v5, 0x9 + + .line 23 + invoke-virtual {v4, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String; + + move-result-object v4 + + .line 24 + :cond_0 + invoke-static {}, Lcom/google/firebase/remoteconfig/internal/f;->e()Lcom/google/firebase/remoteconfig/internal/f$b; + + move-result-object v5 + + .line 25 + invoke-virtual {v3}, Lcom/google/firebase/remoteconfig/o/h;->j()Ljava/util/List; + + move-result-object v3 + + invoke-direct {p0, v3}, Lcom/google/firebase/remoteconfig/internal/p;->a(Ljava/util/List;)Ljava/util/Map; + + move-result-object v3 + + invoke-virtual {v5, v3}, Lcom/google/firebase/remoteconfig/internal/f$b;->a(Ljava/util/Map;)Lcom/google/firebase/remoteconfig/internal/f$b; + + .line 26 + invoke-virtual {v5, v1}, Lcom/google/firebase/remoteconfig/internal/f$b;->a(Ljava/util/Date;)Lcom/google/firebase/remoteconfig/internal/f$b; + + const-string v3, "firebase" + + .line 27 + invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z + + move-result v3 + + if-eqz v3, :cond_1 + + .line 28 + invoke-virtual {v5, v2}, Lcom/google/firebase/remoteconfig/internal/f$b;->a(Lorg/json/JSONArray;)Lcom/google/firebase/remoteconfig/internal/f$b; + + .line 29 + :cond_1 + :try_start_0 + invoke-virtual {v5}, Lcom/google/firebase/remoteconfig/internal/f$b;->a()Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v3 + + invoke-interface {v0, v4, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 + + goto :goto_0 + + :catch_0 + nop + + goto :goto_0 + + :cond_2 + return-object v0 +.end method + +.method private a(Ljava/util/List;)Ljava/util/Map; + .locals 4 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Lcom/google/firebase/remoteconfig/o/d;", + ">;)", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;" + } + .end annotation + + .line 46 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + .line 47 + invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v1 + + if-eqz v1, :cond_0 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/d; + + .line 48 + invoke-virtual {v1}, Lcom/google/firebase/remoteconfig/o/d;->j()Ljava/lang/String; + + move-result-object v2 + + invoke-virtual {v1}, Lcom/google/firebase/remoteconfig/o/d;->k()Lcom/google/protobuf/ByteString; + + move-result-object v1 + + sget-object v3, Lcom/google/firebase/remoteconfig/internal/p;->d:Ljava/nio/charset/Charset; + + invoke-virtual {v1, v3}, Lcom/google/protobuf/ByteString;->a(Ljava/nio/charset/Charset;)Ljava/lang/String; + + move-result-object v1 + + .line 49 + invoke-interface {v0, v2, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + goto :goto_0 + + :cond_0 + return-object v0 +.end method + +.method private a(Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;)Lorg/json/JSONObject; + .locals 5 + .annotation system Ldalvik/annotation/Throws; + value = { + Lorg/json/JSONException; + } + .end annotation + + .line 35 + new-instance v0, Lorg/json/JSONObject; + + invoke-direct {v0}, Lorg/json/JSONObject;->()V + + .line 36 + invoke-virtual {p1}, Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;->l()Ljava/lang/String; + + move-result-object v1 + + const-string v2, "experimentId" + + invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; + + .line 37 + invoke-virtual {p1}, Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;->t()Ljava/lang/String; + + move-result-object v1 + + const-string v2, "variantId" + + invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; + + .line 38 + sget-object v1, Lcom/google/firebase/remoteconfig/internal/p;->e:Ljava/lang/ThreadLocal; + + .line 39 + invoke-virtual {v1}, Ljava/lang/ThreadLocal;->get()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Ljava/text/DateFormat; + + new-instance v2, Ljava/util/Date; + + .line 40 + invoke-virtual {p1}, Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;->m()J + + move-result-wide v3 + + invoke-direct {v2, v3, v4}, Ljava/util/Date;->(J)V + + invoke-virtual {v1, v2}, Ljava/text/DateFormat;->format(Ljava/util/Date;)Ljava/lang/String; + + move-result-object v1 + + const-string v2, "experimentStartTime" + + .line 41 + invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; + + .line 42 + invoke-virtual {p1}, Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;->q()Ljava/lang/String; + + move-result-object v1 + + const-string v2, "triggerEvent" + + invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject; + + .line 43 + invoke-virtual {p1}, Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;->r()J + + move-result-wide v1 + + const-string v3, "triggerTimeoutMillis" + + .line 44 + invoke-virtual {v0, v3, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject; + + .line 45 + invoke-virtual {p1}, Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;->o()J + + move-result-wide v1 + + const-string p1, "timeToLiveMillis" + + invoke-virtual {v0, p1, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject; + + return-object v0 +.end method + +.method private a(Ljava/util/Map;)V + .locals 5 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Lcom/google/firebase/remoteconfig/internal/p$b;", + ">;)V" + } + .end annotation + + .line 4 + invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set; + + move-result-object p1 + + invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :cond_0 + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v0 + + if-eqz v0, :cond_3 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Ljava/util/Map$Entry; + + .line 5 + invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Ljava/lang/String; + + .line 6 + invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Lcom/google/firebase/remoteconfig/internal/p$b; + + const-string v2, "fetch" + + .line 7 + invoke-virtual {p0, v1, v2}, Lcom/google/firebase/remoteconfig/internal/p;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object v2 + + const-string v3, "activate" + + .line 8 + invoke-virtual {p0, v1, v3}, Lcom/google/firebase/remoteconfig/internal/p;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object v3 + + const-string v4, "defaults" + + .line 9 + invoke-virtual {p0, v1, v4}, Lcom/google/firebase/remoteconfig/internal/p;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object v1 + + .line 10 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/internal/p$b;->a(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v4 + + if-eqz v4, :cond_1 + + .line 11 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/internal/p$b;->a(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v4 + + invoke-virtual {v2, v4}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + + .line 12 + :cond_1 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/internal/p$b;->b(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v2 + + if-eqz v2, :cond_2 + + .line 13 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/internal/p$b;->b(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v2 + + invoke-virtual {v3, v2}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + + .line 14 + :cond_2 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/internal/p$b;->c(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v2 + + if-eqz v2, :cond_0 + + .line 15 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/internal/p$b;->c(Lcom/google/firebase/remoteconfig/internal/p$b;)Lcom/google/firebase/remoteconfig/internal/f; + + move-result-object v0 + + invoke-virtual {v1, v0}, Lcom/google/firebase/remoteconfig/internal/e;->a(Lcom/google/firebase/remoteconfig/internal/f;)Lcom/google/android/gms/tasks/g; + + goto :goto_0 + + :cond_3 + return-void +.end method + +.method private b()Ljava/util/Map; + .locals 8 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/Map<", + "Ljava/lang/String;", + "Lcom/google/firebase/remoteconfig/internal/p$b;", + ">;" + } + .end annotation + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/p;->c()Lcom/google/firebase/remoteconfig/o/j; + + move-result-object v0 + + .line 2 + new-instance v1, Ljava/util/HashMap; + + invoke-direct {v1}, Ljava/util/HashMap;->()V + + if-nez v0, :cond_0 + + return-object v1 + + .line 3 + :cond_0 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/o/j;->j()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v2 + + invoke-direct {p0, v2}, Lcom/google/firebase/remoteconfig/internal/p;->a(Lcom/google/firebase/remoteconfig/o/b;)Ljava/util/Map; + + move-result-object v2 + + .line 4 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/o/j;->l()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v3 + + invoke-direct {p0, v3}, Lcom/google/firebase/remoteconfig/internal/p;->a(Lcom/google/firebase/remoteconfig/o/b;)Ljava/util/Map; + + move-result-object v3 + + .line 5 + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/o/j;->k()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/firebase/remoteconfig/internal/p;->a(Lcom/google/firebase/remoteconfig/o/b;)Ljava/util/Map; + + move-result-object v0 + + .line 6 + new-instance v4, Ljava/util/HashSet; + + invoke-direct {v4}, Ljava/util/HashSet;->()V + + .line 7 + invoke-interface {v2}, Ljava/util/Map;->keySet()Ljava/util/Set; + + move-result-object v5 + + invoke-interface {v4, v5}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z + + .line 8 + invoke-interface {v3}, Ljava/util/Map;->keySet()Ljava/util/Set; + + move-result-object v5 + + invoke-interface {v4, v5}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z + + .line 9 + invoke-interface {v0}, Ljava/util/Map;->keySet()Ljava/util/Set; + + move-result-object v5 + + invoke-interface {v4, v5}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z + + .line 10 + invoke-interface {v4}, Ljava/util/Set;->iterator()Ljava/util/Iterator; + + move-result-object v4 + + :goto_0 + invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z + + move-result v5 + + if-eqz v5, :cond_4 + + invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v5 + + check-cast v5, Ljava/lang/String; + + .line 11 + new-instance v6, Lcom/google/firebase/remoteconfig/internal/p$b; + + const/4 v7, 0x0 + + invoke-direct {v6, v7}, Lcom/google/firebase/remoteconfig/internal/p$b;->(Lcom/google/firebase/remoteconfig/internal/p$a;)V + + .line 12 + invoke-interface {v2, v5}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v7 + + if-eqz v7, :cond_1 + + .line 13 + invoke-interface {v2, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v7 + + check-cast v7, Lcom/google/firebase/remoteconfig/internal/f; + + invoke-static {v6, v7}, Lcom/google/firebase/remoteconfig/internal/p$b;->a(Lcom/google/firebase/remoteconfig/internal/p$b;Lcom/google/firebase/remoteconfig/internal/f;)V + + .line 14 + :cond_1 + invoke-interface {v3, v5}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v7 + + if-eqz v7, :cond_2 + + .line 15 + invoke-interface {v3, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v7 + + check-cast v7, Lcom/google/firebase/remoteconfig/internal/f; + + invoke-static {v6, v7}, Lcom/google/firebase/remoteconfig/internal/p$b;->b(Lcom/google/firebase/remoteconfig/internal/p$b;Lcom/google/firebase/remoteconfig/internal/f;)V + + .line 16 + :cond_2 + invoke-interface {v0, v5}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v7 + + if-eqz v7, :cond_3 + + .line 17 + invoke-interface {v0, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v7 + + check-cast v7, Lcom/google/firebase/remoteconfig/internal/f; + + invoke-static {v6, v7}, Lcom/google/firebase/remoteconfig/internal/p$b;->c(Lcom/google/firebase/remoteconfig/internal/p$b;Lcom/google/firebase/remoteconfig/internal/f;)V + + .line 18 + :cond_3 + invoke-interface {v1, v5, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + goto :goto_0 + + :cond_4 + return-object v1 +.end method + +.method private b(Ljava/util/List;)Lorg/json/JSONArray; + .locals 2 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Ljava/util/List<", + "Lcom/google/protobuf/ByteString;", + ">;)", + "Lorg/json/JSONArray;" + } + .end annotation + + .line 19 + new-instance v0, Lorg/json/JSONArray; + + invoke-direct {v0}, Lorg/json/JSONArray;->()V + + .line 20 + invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator; + + move-result-object p1 + + :cond_0 + :goto_0 + invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z + + move-result v1 + + if-eqz v1, :cond_1 + + invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Lcom/google/protobuf/ByteString; + + .line 21 + invoke-direct {p0, v1}, Lcom/google/firebase/remoteconfig/internal/p;->a(Lcom/google/protobuf/ByteString;)Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload; + + move-result-object v1 + + if-eqz v1, :cond_0 + + .line 22 + :try_start_0 + invoke-direct {p0, v1}, Lcom/google/firebase/remoteconfig/internal/p;->a(Ldevelopers/mobile/abt/FirebaseAbt$ExperimentPayload;)Lorg/json/JSONObject; + + move-result-object v1 + + invoke-virtual {v0, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray; + :try_end_0 + .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0 + + goto :goto_0 + + :catch_0 + nop + + goto :goto_0 + + :cond_1 + return-object v0 +.end method + +.method private c()Lcom/google/firebase/remoteconfig/o/j; + .locals 4 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/p;->a:Landroid/content/Context; + + const/4 v1, 0x0 + + if-nez v0, :cond_0 + + return-object v1 + + :cond_0 + :try_start_0 + const-string v2, "persisted_config" + + .line 2 + invoke-virtual {v0, v2}, Landroid/content/Context;->openFileInput(Ljava/lang/String;)Ljava/io/FileInputStream; + + move-result-object v0 + :try_end_0 + .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_5 + .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_2 + .catchall {:try_start_0 .. :try_end_0} :catchall_1 + + .line 3 + :try_start_1 + invoke-static {v0}, Lcom/google/firebase/remoteconfig/o/j;->a(Ljava/io/InputStream;)Lcom/google/firebase/remoteconfig/o/j; + + move-result-object v1 + :try_end_1 + .catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_6 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_3 + .catchall {:try_start_1 .. :try_end_1} :catchall_0 + + if-eqz v0, :cond_1 + + .line 4 + :try_start_2 + invoke-virtual {v0}, Ljava/io/FileInputStream;->close()V + :try_end_2 + .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0 + + :catch_0 + :cond_1 + return-object v1 + + :catchall_0 + move-exception v1 + + move-object v3, v1 + + move-object v1, v0 + + move-object v0, v3 + + goto :goto_0 + + :catchall_1 + move-exception v0 + + :goto_0 + if-eqz v1, :cond_2 + + :try_start_3 + invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V + :try_end_3 + .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_1 + + .line 5 + :catch_1 + :cond_2 + throw v0 + + :catch_2 + move-object v0, v1 + + :catch_3 + if-eqz v0, :cond_3 + + .line 6 + :try_start_4 + invoke-virtual {v0}, Ljava/io/FileInputStream;->close()V + :try_end_4 + .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_4 + + :catch_4 + :cond_3 + return-object v1 + + :catch_5 + move-object v0, v1 + + :catch_6 + if-eqz v0, :cond_4 + + :try_start_5 + invoke-virtual {v0}, Ljava/io/FileInputStream;->close()V + :try_end_5 + .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_7 + + :catch_7 + :cond_4 + return-object v1 +.end method + + +# virtual methods +.method a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + .locals 2 + + .line 50 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/p;->a:Landroid/content/Context; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/p;->b:Ljava/lang/String; + + invoke-static {v0, v1, p1, p2}, Lcom/google/firebase/remoteconfig/m;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object p1 + + return-object p1 +.end method + +.method public a()Z + .locals 4 + .annotation build Landroidx/annotation/WorkerThread; + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/p;->c:Landroid/content/SharedPreferences; + + const/4 v1, 0x1 + + const-string v2, "save_legacy_configs" + + invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z + + move-result v0 + + const/4 v3, 0x0 + + if-eqz v0, :cond_0 + + .line 2 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/internal/p;->b()Ljava/util/Map; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/firebase/remoteconfig/internal/p;->a(Ljava/util/Map;)V + + .line 3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/p;->c:Landroid/content/SharedPreferences; + + invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor; + + move-result-object v0 + + invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor; + + move-result-object v0 + + invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z + + return v1 + + :cond_0 + return v3 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/j.smali b/smali/smali/com/google/firebase/remoteconfig/j.smali new file mode 100644 index 000000000..9e64569e5 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/j.smali @@ -0,0 +1,37 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/j; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# virtual methods +.method public abstract v0()I +.end method + +.method public abstract w0()Ljava/lang/String; + .annotation build Landroidx/annotation/NonNull; + .end annotation +.end method + +.method public abstract x0()J + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/IllegalArgumentException; + } + .end annotation +.end method + +.method public abstract y0()D + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/IllegalArgumentException; + } + .end annotation +.end method + +.method public abstract z0()Z + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/lang/IllegalArgumentException; + } + .end annotation +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/k.smali b/smali/smali/com/google/firebase/remoteconfig/k.smali new file mode 100644 index 000000000..08a82de43 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/k.smali @@ -0,0 +1,46 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/k; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Ljava/util/concurrent/Callable; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/m; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/m;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/k;->a:Lcom/google/firebase/remoteconfig/m; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/m;)Ljava/util/concurrent/Callable; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/k; + + invoke-direct {v0, p0}, Lcom/google/firebase/remoteconfig/k;->(Lcom/google/firebase/remoteconfig/m;)V + + return-object v0 +.end method + + +# virtual methods +.method public call()Ljava/lang/Object; + .locals 1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/k;->a:Lcom/google/firebase/remoteconfig/m; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/m;->a()Lcom/google/firebase/remoteconfig/g; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/l.smali b/smali/smali/com/google/firebase/remoteconfig/l.smali new file mode 100644 index 000000000..f0bc93368 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/l.smali @@ -0,0 +1,50 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/l; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Ljava/util/concurrent/Callable; + + +# instance fields +.field private final a:Lcom/google/firebase/remoteconfig/internal/p; + + +# direct methods +.method private constructor (Lcom/google/firebase/remoteconfig/internal/p;)V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/l;->a:Lcom/google/firebase/remoteconfig/internal/p; + + return-void +.end method + +.method public static a(Lcom/google/firebase/remoteconfig/internal/p;)Ljava/util/concurrent/Callable; + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/l; + + invoke-direct {v0, p0}, Lcom/google/firebase/remoteconfig/l;->(Lcom/google/firebase/remoteconfig/internal/p;)V + + return-object v0 +.end method + + +# virtual methods +.method public call()Ljava/lang/Object; + .locals 1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/l;->a:Lcom/google/firebase/remoteconfig/internal/p; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/internal/p;->a()Z + + move-result v0 + + invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/m.smali b/smali/smali/com/google/firebase/remoteconfig/m.smali new file mode 100644 index 000000000..bef7a2ff7 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/m.smali @@ -0,0 +1,677 @@ +.class public Lcom/google/firebase/remoteconfig/m; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# static fields +.field private static final j:Lcom/google/android/gms/common/util/e; + +.field private static final k:Ljava/util/Random; + + +# instance fields +.field private final a:Ljava/util/Map; + .annotation build Landroidx/annotation/GuardedBy; + value = "this" + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/util/Map<", + "Ljava/lang/String;", + "Lcom/google/firebase/remoteconfig/g;", + ">;" + } + .end annotation +.end field + +.field private final b:Landroid/content/Context; + +.field private final c:Ljava/util/concurrent/ExecutorService; + +.field private final d:Lcom/google/firebase/c; + +.field private final e:Lcom/google/firebase/iid/FirebaseInstanceId; + +.field private final f:Lcom/google/firebase/abt/b; + +.field private final g:Lcom/google/firebase/analytics/a/a; + .annotation build Landroidx/annotation/Nullable; + .end annotation +.end field + +.field private final h:Ljava/lang/String; + +.field private i:Ljava/util/Map; + .annotation build Landroidx/annotation/GuardedBy; + value = "this" + .end annotation + + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/util/Map<", + "Ljava/lang/String;", + "Ljava/lang/String;", + ">;" + } + .end annotation +.end field + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + invoke-static {}, Lcom/google/android/gms/common/util/h;->d()Lcom/google/android/gms/common/util/e; + + move-result-object v0 + + sput-object v0, Lcom/google/firebase/remoteconfig/m;->j:Lcom/google/android/gms/common/util/e; + + .line 2 + new-instance v0, Ljava/util/Random; + + invoke-direct {v0}, Ljava/util/Random;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/m;->k:Ljava/util/Random; + + return-void +.end method + +.method constructor (Landroid/content/Context;Lcom/google/firebase/c;Lcom/google/firebase/iid/FirebaseInstanceId;Lcom/google/firebase/abt/b;Lcom/google/firebase/analytics/a/a;)V + .locals 9 + .param p5 # Lcom/google/firebase/analytics/a/a; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + + .line 1 + invoke-static {}, Ljava/util/concurrent/Executors;->newCachedThreadPool()Ljava/util/concurrent/ExecutorService; + + move-result-object v2 + + new-instance v7, Lcom/google/firebase/remoteconfig/internal/p; + + .line 2 + invoke-virtual {p2}, Lcom/google/firebase/c;->c()Lcom/google/firebase/d; + + move-result-object v0 + + invoke-virtual {v0}, Lcom/google/firebase/d;->b()Ljava/lang/String; + + move-result-object v0 + + invoke-direct {v7, p1, v0}, Lcom/google/firebase/remoteconfig/internal/p;->(Landroid/content/Context;Ljava/lang/String;)V + + const/4 v8, 0x1 + + move-object v0, p0 + + move-object v1, p1 + + move-object v3, p2 + + move-object v4, p3 + + move-object v5, p4 + + move-object v6, p5 + + .line 3 + invoke-direct/range {v0 .. v8}, Lcom/google/firebase/remoteconfig/m;->(Landroid/content/Context;Ljava/util/concurrent/ExecutorService;Lcom/google/firebase/c;Lcom/google/firebase/iid/FirebaseInstanceId;Lcom/google/firebase/abt/b;Lcom/google/firebase/analytics/a/a;Lcom/google/firebase/remoteconfig/internal/p;Z)V + + return-void +.end method + +.method protected constructor (Landroid/content/Context;Ljava/util/concurrent/ExecutorService;Lcom/google/firebase/c;Lcom/google/firebase/iid/FirebaseInstanceId;Lcom/google/firebase/abt/b;Lcom/google/firebase/analytics/a/a;Lcom/google/firebase/remoteconfig/internal/p;Z)V + .locals 1 + .param p6 # Lcom/google/firebase/analytics/a/a; + .annotation build Landroidx/annotation/Nullable; + .end annotation + .end param + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .line 4 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 5 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/m;->a:Ljava/util/Map; + + .line 6 + new-instance v0, Ljava/util/HashMap; + + invoke-direct {v0}, Ljava/util/HashMap;->()V + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/m;->i:Ljava/util/Map; + + .line 7 + iput-object p1, p0, Lcom/google/firebase/remoteconfig/m;->b:Landroid/content/Context; + + .line 8 + iput-object p2, p0, Lcom/google/firebase/remoteconfig/m;->c:Ljava/util/concurrent/ExecutorService; + + .line 9 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/m;->d:Lcom/google/firebase/c; + + .line 10 + iput-object p4, p0, Lcom/google/firebase/remoteconfig/m;->e:Lcom/google/firebase/iid/FirebaseInstanceId; + + .line 11 + iput-object p5, p0, Lcom/google/firebase/remoteconfig/m;->f:Lcom/google/firebase/abt/b; + + .line 12 + iput-object p6, p0, Lcom/google/firebase/remoteconfig/m;->g:Lcom/google/firebase/analytics/a/a; + + .line 13 + invoke-virtual {p3}, Lcom/google/firebase/c;->c()Lcom/google/firebase/d; + + move-result-object p1 + + invoke-virtual {p1}, Lcom/google/firebase/d;->b()Ljava/lang/String; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/m;->h:Ljava/lang/String; + + if-eqz p8, :cond_0 + + .line 14 + invoke-static {p0}, Lcom/google/firebase/remoteconfig/k;->a(Lcom/google/firebase/remoteconfig/m;)Ljava/util/concurrent/Callable; + + move-result-object p1 + + invoke-static {p2, p1}, Lcom/google/android/gms/tasks/j;->a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Callable;)Lcom/google/android/gms/tasks/g; + + .line 15 + invoke-virtual {p7}, Ljava/lang/Object;->getClass()Ljava/lang/Class; + + invoke-static {p7}, Lcom/google/firebase/remoteconfig/l;->a(Lcom/google/firebase/remoteconfig/internal/p;)Ljava/util/concurrent/Callable; + + move-result-object p1 + + invoke-static {p2, p1}, Lcom/google/android/gms/tasks/j;->a(Ljava/util/concurrent/Executor;Ljava/util/concurrent/Callable;)Lcom/google/android/gms/tasks/g; + + :cond_0 + return-void +.end method + +.method public static a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + .locals 3 + + const/4 v0, 0x4 + + new-array v0, v0, [Ljava/lang/Object; + + const/4 v1, 0x0 + + const-string v2, "frc" + + aput-object v2, v0, v1 + + const/4 v1, 0x1 + + aput-object p1, v0, v1 + + const/4 p1, 0x2 + + aput-object p2, v0, p1 + + const/4 p1, 0x3 + + aput-object p3, v0, p1 + + const-string p1, "%s_%s_%s_%s.json" + + .line 17 + invoke-static {p1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object p1 + + .line 18 + invoke-static {}, Ljava/util/concurrent/Executors;->newCachedThreadPool()Ljava/util/concurrent/ExecutorService; + + move-result-object p2 + + invoke-static {p0, p1}, Lcom/google/firebase/remoteconfig/internal/m;->a(Landroid/content/Context;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/m; + + move-result-object p0 + + .line 19 + invoke-static {p2, p0}, Lcom/google/firebase/remoteconfig/internal/e;->a(Ljava/util/concurrent/ExecutorService;Lcom/google/firebase/remoteconfig/internal/m;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object p0 + + return-object p0 +.end method + +.method private a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + .locals 2 + + .line 16 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/m;->b:Landroid/content/Context; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/m;->h:Ljava/lang/String; + + invoke-static {v0, v1, p1, p2}, Lcom/google/firebase/remoteconfig/m;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object p1 + + return-object p1 +.end method + +.method private a(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;)Lcom/google/firebase/remoteconfig/internal/k; + .locals 1 + + .line 27 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/k; + + invoke-direct {v0, p1, p2}, Lcom/google/firebase/remoteconfig/internal/k;->(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;)V + + return-object v0 +.end method + +.method static a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/l; + .locals 3 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + const/4 v0, 0x4 + + new-array v0, v0, [Ljava/lang/Object; + + const/4 v1, 0x0 + + const-string v2, "frc" + + aput-object v2, v0, v1 + + const/4 v2, 0x1 + + aput-object p1, v0, v2 + + const/4 p1, 0x2 + + aput-object p2, v0, p1 + + const/4 p1, 0x3 + + const-string p2, "settings" + + aput-object p2, v0, p1 + + const-string p1, "%s_%s_%s_%s" + + .line 28 + invoke-static {p1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; + + move-result-object p1 + + .line 29 + invoke-virtual {p0, p1, v1}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences; + + move-result-object p0 + + .line 30 + new-instance p1, Lcom/google/firebase/remoteconfig/internal/l; + + invoke-direct {p1, p0}, Lcom/google/firebase/remoteconfig/internal/l;->(Landroid/content/SharedPreferences;)V + + return-object p1 +.end method + +.method private static a(Lcom/google/firebase/c;)Z + .locals 1 + + .line 32 + invoke-virtual {p0}, Lcom/google/firebase/c;->b()Ljava/lang/String; + + move-result-object p0 + + const-string v0, "[DEFAULT]" + + invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z + + move-result p0 + + return p0 +.end method + +.method private static a(Lcom/google/firebase/c;Ljava/lang/String;)Z + .locals 1 + + const-string v0, "firebase" + + .line 31 + invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z + + move-result p1 + + if-eqz p1, :cond_0 + + invoke-static {p0}, Lcom/google/firebase/remoteconfig/m;->a(Lcom/google/firebase/c;)Z + + move-result p0 + + if-eqz p0, :cond_0 + + const/4 p0, 0x1 + + goto :goto_0 + + :cond_0 + const/4 p0, 0x0 + + :goto_0 + return p0 +.end method + + +# virtual methods +.method a()Lcom/google/firebase/remoteconfig/g; + .locals 1 + + const-string v0, "firebase" + + .line 1 + invoke-virtual {p0, v0}, Lcom/google/firebase/remoteconfig/m;->a(Ljava/lang/String;)Lcom/google/firebase/remoteconfig/g; + + move-result-object v0 + + return-object v0 +.end method + +.method declared-synchronized a(Lcom/google/firebase/c;Ljava/lang/String;Lcom/google/firebase/abt/b;Ljava/util/concurrent/Executor;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/j;Lcom/google/firebase/remoteconfig/internal/k;Lcom/google/firebase/remoteconfig/internal/l;)Lcom/google/firebase/remoteconfig/g; + .locals 14 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + move-object v1, p0 + + move-object/from16 v0, p2 + + monitor-enter p0 + + .line 10 + :try_start_0 + iget-object v2, v1, Lcom/google/firebase/remoteconfig/m;->a:Ljava/util/Map; + + invoke-interface {v2, v0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z + + move-result v2 + + if-nez v2, :cond_1 + + .line 11 + new-instance v2, Lcom/google/firebase/remoteconfig/g; + + iget-object v4, v1, Lcom/google/firebase/remoteconfig/m;->b:Landroid/content/Context; + + .line 12 + invoke-static/range {p1 .. p2}, Lcom/google/firebase/remoteconfig/m;->a(Lcom/google/firebase/c;Ljava/lang/String;)Z + + move-result v3 + + if-eqz v3, :cond_0 + + move-object/from16 v6, p3 + + goto :goto_0 + + :cond_0 + const/4 v3, 0x0 + + move-object v6, v3 + + :goto_0 + move-object v3, v2 + + move-object v5, p1 + + move-object/from16 v7, p4 + + move-object/from16 v8, p5 + + move-object/from16 v9, p6 + + move-object/from16 v10, p7 + + move-object/from16 v11, p8 + + move-object/from16 v12, p9 + + move-object/from16 v13, p10 + + invoke-direct/range {v3 .. v13}, Lcom/google/firebase/remoteconfig/g;->(Landroid/content/Context;Lcom/google/firebase/c;Lcom/google/firebase/abt/b;Ljava/util/concurrent/Executor;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/j;Lcom/google/firebase/remoteconfig/internal/k;Lcom/google/firebase/remoteconfig/internal/l;)V + + .line 13 + invoke-virtual {v2}, Lcom/google/firebase/remoteconfig/g;->f()V + + .line 14 + iget-object v3, v1, Lcom/google/firebase/remoteconfig/m;->a:Ljava/util/Map; + + invoke-interface {v3, v0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + + .line 15 + :cond_1 + iget-object v2, v1, Lcom/google/firebase/remoteconfig/m;->a:Ljava/util/Map; + + invoke-interface {v2, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object; + + move-result-object v0 + + check-cast v0, Lcom/google/firebase/remoteconfig/g; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + monitor-exit p0 + + return-object v0 + + :catchall_0 + move-exception v0 + + monitor-exit p0 + + throw v0 +.end method + +.method public declared-synchronized a(Ljava/lang/String;)Lcom/google/firebase/remoteconfig/g; + .locals 12 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + monitor-enter p0 + + :try_start_0 + const-string v0, "fetch" + + .line 2 + invoke-direct {p0, p1, v0}, Lcom/google/firebase/remoteconfig/m;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object v6 + + const-string v0, "activate" + + .line 3 + invoke-direct {p0, p1, v0}, Lcom/google/firebase/remoteconfig/m;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object v7 + + const-string v0, "defaults" + + .line 4 + invoke-direct {p0, p1, v0}, Lcom/google/firebase/remoteconfig/m;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/e; + + move-result-object v8 + + .line 5 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/m;->b:Landroid/content/Context; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/m;->h:Ljava/lang/String; + + invoke-static {v0, v1, p1}, Lcom/google/firebase/remoteconfig/m;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Lcom/google/firebase/remoteconfig/internal/l; + + move-result-object v11 + + .line 6 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/m;->d:Lcom/google/firebase/c; + + iget-object v4, p0, Lcom/google/firebase/remoteconfig/m;->f:Lcom/google/firebase/abt/b; + + iget-object v5, p0, Lcom/google/firebase/remoteconfig/m;->c:Ljava/util/concurrent/ExecutorService; + + .line 7 + invoke-virtual {p0, p1, v6, v11}, Lcom/google/firebase/remoteconfig/m;->a(Ljava/lang/String;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/l;)Lcom/google/firebase/remoteconfig/internal/j; + + move-result-object v9 + + .line 8 + invoke-direct {p0, v7, v8}, Lcom/google/firebase/remoteconfig/m;->a(Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;)Lcom/google/firebase/remoteconfig/internal/k; + + move-result-object v10 + + move-object v1, p0 + + move-object v3, p1 + + .line 9 + invoke-virtual/range {v1 .. v11}, Lcom/google/firebase/remoteconfig/m;->a(Lcom/google/firebase/c;Ljava/lang/String;Lcom/google/firebase/abt/b;Ljava/util/concurrent/Executor;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/j;Lcom/google/firebase/remoteconfig/internal/k;Lcom/google/firebase/remoteconfig/internal/l;)Lcom/google/firebase/remoteconfig/g; + + move-result-object p1 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + monitor-exit p0 + + return-object p1 + + :catchall_0 + move-exception p1 + + monitor-exit p0 + + throw p1 +.end method + +.method a(Ljava/lang/String;Ljava/lang/String;Lcom/google/firebase/remoteconfig/internal/l;)Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; + .locals 10 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + .line 20 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/m;->d:Lcom/google/firebase/c; + + invoke-virtual {v0}, Lcom/google/firebase/c;->c()Lcom/google/firebase/d; + + move-result-object v0 + + invoke-virtual {v0}, Lcom/google/firebase/d;->b()Ljava/lang/String; + + move-result-object v3 + + .line 21 + new-instance v0, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; + + iget-object v2, p0, Lcom/google/firebase/remoteconfig/m;->b:Landroid/content/Context; + + .line 22 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/internal/l;->b()J + + move-result-wide v6 + + const-wide/16 v8, 0x3c + + move-object v1, v0 + + move-object v4, p1 + + move-object v5, p2 + + invoke-direct/range {v1 .. v9}, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;->(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JJ)V + + return-object v0 +.end method + +.method declared-synchronized a(Ljava/lang/String;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/l;)Lcom/google/firebase/remoteconfig/internal/j; + .locals 11 + .annotation build Landroidx/annotation/VisibleForTesting; + .end annotation + + monitor-enter p0 + + .line 23 + :try_start_0 + new-instance v10, Lcom/google/firebase/remoteconfig/internal/j; + + iget-object v1, p0, Lcom/google/firebase/remoteconfig/m;->e:Lcom/google/firebase/iid/FirebaseInstanceId; + + .line 24 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/m;->d:Lcom/google/firebase/c; + + invoke-static {v0}, Lcom/google/firebase/remoteconfig/m;->a(Lcom/google/firebase/c;)Z + + move-result v0 + + if-eqz v0, :cond_0 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/m;->g:Lcom/google/firebase/analytics/a/a; + + goto :goto_0 + + :cond_0 + const/4 v0, 0x0 + + :goto_0 + move-object v2, v0 + + iget-object v3, p0, Lcom/google/firebase/remoteconfig/m;->c:Ljava/util/concurrent/ExecutorService; + + sget-object v4, Lcom/google/firebase/remoteconfig/m;->j:Lcom/google/android/gms/common/util/e; + + sget-object v5, Lcom/google/firebase/remoteconfig/m;->k:Ljava/util/Random; + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/m;->d:Lcom/google/firebase/c; + + .line 25 + invoke-virtual {v0}, Lcom/google/firebase/c;->c()Lcom/google/firebase/d; + + move-result-object v0 + + invoke-virtual {v0}, Lcom/google/firebase/d;->a()Ljava/lang/String; + + move-result-object v0 + + invoke-virtual {p0, v0, p1, p3}, Lcom/google/firebase/remoteconfig/m;->a(Ljava/lang/String;Ljava/lang/String;Lcom/google/firebase/remoteconfig/internal/l;)Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient; + + move-result-object v7 + + iget-object v9, p0, Lcom/google/firebase/remoteconfig/m;->i:Ljava/util/Map; + + move-object v0, v10 + + move-object v6, p2 + + move-object v8, p3 + + invoke-direct/range {v0 .. v9}, Lcom/google/firebase/remoteconfig/internal/j;->(Lcom/google/firebase/iid/FirebaseInstanceId;Lcom/google/firebase/analytics/a/a;Ljava/util/concurrent/Executor;Lcom/google/android/gms/common/util/e;Ljava/util/Random;Lcom/google/firebase/remoteconfig/internal/e;Lcom/google/firebase/remoteconfig/internal/ConfigFetchHttpClient;Lcom/google/firebase/remoteconfig/internal/l;Ljava/util/Map;)V + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + .line 26 + monitor-exit p0 + + return-object v10 + + :catchall_0 + move-exception p1 + + monitor-exit p0 + + throw p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/n.smali b/smali/smali/com/google/firebase/remoteconfig/n.smali new file mode 100644 index 000000000..d2f6bd13c --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/n.smali @@ -0,0 +1,52 @@ +.class final synthetic Lcom/google/firebase/remoteconfig/n; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/components/g; + + +# static fields +.field private static final a:Lcom/google/firebase/remoteconfig/n; + + +# direct methods +.method static constructor ()V + .locals 1 + + new-instance v0, Lcom/google/firebase/remoteconfig/n; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/n;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/n;->a:Lcom/google/firebase/remoteconfig/n; + + return-void +.end method + +.method private constructor ()V + .locals 0 + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method public static a()Lcom/google/firebase/components/g; + .locals 1 + + sget-object v0, Lcom/google/firebase/remoteconfig/n;->a:Lcom/google/firebase/remoteconfig/n; + + return-object v0 +.end method + + +# virtual methods +.method public a(Lcom/google/firebase/components/e;)Ljava/lang/Object; + .locals 0 + + invoke-static {p1}, Lcom/google/firebase/remoteconfig/RemoteConfigRegistrar;->lambda$getComponents$0(Lcom/google/firebase/components/e;)Lcom/google/firebase/remoteconfig/m; + + move-result-object p1 + + return-object p1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/a.smali b/smali/smali/com/google/firebase/remoteconfig/o/a.smali new file mode 100644 index 000000000..1d7bdeef2 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/a.smali @@ -0,0 +1,154 @@ +.class synthetic Lcom/google/firebase/remoteconfig/o/a; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + + +# static fields +.field static final synthetic a:[I + + +# direct methods +.method static constructor ()V + .locals 3 + + .line 1 + invoke-static {}, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->values()[Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + move-result-object v0 + + array-length v0, v0 + + new-array v0, v0, [I + + sput-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + :try_start_0 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->NEW_MUTABLE_INSTANCE:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/4 v2, 0x1 + + aput v2, v0, v1 + :try_end_0 + .catch Ljava/lang/NoSuchFieldError; {:try_start_0 .. :try_end_0} :catch_0 + + :catch_0 + :try_start_1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->IS_INITIALIZED:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/4 v2, 0x2 + + aput v2, v0, v1 + :try_end_1 + .catch Ljava/lang/NoSuchFieldError; {:try_start_1 .. :try_end_1} :catch_1 + + :catch_1 + :try_start_2 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->MAKE_IMMUTABLE:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/4 v2, 0x3 + + aput v2, v0, v1 + :try_end_2 + .catch Ljava/lang/NoSuchFieldError; {:try_start_2 .. :try_end_2} :catch_2 + + :catch_2 + :try_start_3 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->NEW_BUILDER:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/4 v2, 0x4 + + aput v2, v0, v1 + :try_end_3 + .catch Ljava/lang/NoSuchFieldError; {:try_start_3 .. :try_end_3} :catch_3 + + :catch_3 + :try_start_4 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->VISIT:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/4 v2, 0x5 + + aput v2, v0, v1 + :try_end_4 + .catch Ljava/lang/NoSuchFieldError; {:try_start_4 .. :try_end_4} :catch_4 + + :catch_4 + :try_start_5 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->MERGE_FROM_STREAM:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/4 v2, 0x6 + + aput v2, v0, v1 + :try_end_5 + .catch Ljava/lang/NoSuchFieldError; {:try_start_5 .. :try_end_5} :catch_5 + + :catch_5 + :try_start_6 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->GET_DEFAULT_INSTANCE:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/4 v2, 0x7 + + aput v2, v0, v1 + :try_end_6 + .catch Ljava/lang/NoSuchFieldError; {:try_start_6 .. :try_end_6} :catch_6 + + :catch_6 + :try_start_7 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + sget-object v1, Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;->GET_PARSER:Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke; + + invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I + + move-result v1 + + const/16 v2, 0x8 + + aput v2, v0, v1 + :try_end_7 + .catch Ljava/lang/NoSuchFieldError; {:try_start_7 .. :try_end_7} :catch_7 + + :catch_7 + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/b$a.smali b/smali/smali/com/google/firebase/remoteconfig/o/b$a.smali new file mode 100644 index 000000000..d7e086544 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/b$a.smali @@ -0,0 +1,51 @@ +.class public final Lcom/google/firebase/remoteconfig/o/b$a; +.super Lcom/google/protobuf/GeneratedMessageLite$b; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/c; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/o/b; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x19 + name = "a" +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite$b<", + "Lcom/google/firebase/remoteconfig/o/b;", + "Lcom/google/firebase/remoteconfig/o/b$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/c;" + } +.end annotation + + +# direct methods +.method private constructor ()V + .locals 1 + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/b;->n()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/protobuf/GeneratedMessageLite$b;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/o/a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/o/b$a;->()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/b.smali b/smali/smali/com/google/firebase/remoteconfig/o/b.smali new file mode 100644 index 000000000..4147f5ae0 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/b.smali @@ -0,0 +1,826 @@ +.class public final Lcom/google/firebase/remoteconfig/o/b; +.super Lcom/google/protobuf/GeneratedMessageLite; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/c; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/o/b$a; + } +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite<", + "Lcom/google/firebase/remoteconfig/o/b;", + "Lcom/google/firebase/remoteconfig/o/b$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/c;" + } +.end annotation + + +# static fields +.field private static volatile B:Lcom/google/protobuf/v; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/b;", + ">;" + } + .end annotation +.end field + +.field private static final h:Lcom/google/firebase/remoteconfig/o/b; + + +# instance fields +.field private d:I + +.field private e:Lcom/google/protobuf/o$c; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/o$c<", + "Lcom/google/firebase/remoteconfig/o/h;", + ">;" + } + .end annotation +.end field + +.field private f:J + +.field private g:Lcom/google/protobuf/o$c; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/o$c<", + "Lcom/google/protobuf/ByteString;", + ">;" + } + .end annotation +.end field + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/o/b; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/o/b;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + .line 2 + sget-object v0, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->g()V + + return-void +.end method + +.method private constructor ()V + .locals 1 + + .line 1 + invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;->()V + + .line 2 + invoke-static {}, Lcom/google/protobuf/GeneratedMessageLite;->i()Lcom/google/protobuf/o$c; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + .line 3 + invoke-static {}, Lcom/google/protobuf/GeneratedMessageLite;->i()Lcom/google/protobuf/o$c; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + return-void +.end method + +.method static synthetic n()Lcom/google/firebase/remoteconfig/o/b; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + return-object v0 +.end method + +.method public static o()Lcom/google/firebase/remoteconfig/o/b; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + return-object v0 +.end method + +.method public static p()Lcom/google/protobuf/v; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/b;", + ">;" + } + .end annotation + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->d()Lcom/google/protobuf/v; + + move-result-object v0 + + return-object v0 +.end method + + +# virtual methods +.method protected final a(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + .locals 7 + + .line 8 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I + + move-result p1 + + aget p1, v0, p1 + + const/4 v0, 0x0 + + packed-switch p1, :pswitch_data_0 + + .line 9 + new-instance p1, Ljava/lang/UnsupportedOperationException; + + invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V + + throw p1 + + .line 10 + :pswitch_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/b;->B:Lcom/google/protobuf/v; + + if-nez p1, :cond_1 + + const-class p1, Lcom/google/firebase/remoteconfig/o/b; + + monitor-enter p1 + + .line 11 + :try_start_0 + sget-object p2, Lcom/google/firebase/remoteconfig/o/b;->B:Lcom/google/protobuf/v; + + if-nez p2, :cond_0 + + .line 12 + new-instance p2, Lcom/google/protobuf/GeneratedMessageLite$c; + + sget-object p3, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + invoke-direct {p2, p3}, Lcom/google/protobuf/GeneratedMessageLite$c;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + sput-object p2, Lcom/google/firebase/remoteconfig/o/b;->B:Lcom/google/protobuf/v; + + .line 13 + :cond_0 + monitor-exit p1 + + goto :goto_0 + + :catchall_0 + move-exception p2 + + monitor-exit p1 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p2 + + .line 14 + :cond_1 + :goto_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/b;->B:Lcom/google/protobuf/v; + + return-object p1 + + .line 15 + :pswitch_1 + check-cast p2, Lcom/google/protobuf/e; + + .line 16 + check-cast p3, Lcom/google/protobuf/g; + + const/4 p1, 0x0 + + :cond_2 + :goto_1 + if-nez p1, :cond_9 + + .line 17 + :try_start_1 + invoke-virtual {p2}, Lcom/google/protobuf/e;->s()I + + move-result v0 + + const/4 v1, 0x1 + + if-eqz v0, :cond_8 + + const/16 v2, 0xa + + if-eq v0, v2, :cond_6 + + const/16 v2, 0x11 + + if-eq v0, v2, :cond_5 + + const/16 v2, 0x1a + + if-eq v0, v2, :cond_3 + + .line 18 + invoke-virtual {p0, v0, p2}, Lcom/google/protobuf/GeneratedMessageLite;->a(ILcom/google/protobuf/e;)Z + + move-result v0 + + if-nez v0, :cond_2 + + goto :goto_2 + + .line 19 + :cond_3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + invoke-interface {v0}, Lcom/google/protobuf/o$c;->r0()Z + + move-result v0 + + if-nez v0, :cond_4 + + .line 20 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + .line 21 + invoke-static {v0}, Lcom/google/protobuf/GeneratedMessageLite;->a(Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + .line 22 + :cond_4 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + invoke-virtual {p2}, Lcom/google/protobuf/e;->c()Lcom/google/protobuf/ByteString; + + move-result-object v1 + + invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z + + goto :goto_1 + + .line 23 + :cond_5 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/b;->d:I + + or-int/2addr v0, v1 + + iput v0, p0, Lcom/google/firebase/remoteconfig/o/b;->d:I + + .line 24 + invoke-virtual {p2}, Lcom/google/protobuf/e;->g()J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/o/b;->f:J + + goto :goto_1 + + .line 25 + :cond_6 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + invoke-interface {v0}, Lcom/google/protobuf/o$c;->r0()Z + + move-result v0 + + if-nez v0, :cond_7 + + .line 26 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + .line 27 + invoke-static {v0}, Lcom/google/protobuf/GeneratedMessageLite;->a(Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + .line 28 + :cond_7 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + .line 29 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/h;->n()Lcom/google/protobuf/v; + + move-result-object v1 + + invoke-virtual {p2, v1, p3}, Lcom/google/protobuf/e;->a(Lcom/google/protobuf/v;Lcom/google/protobuf/g;)Lcom/google/protobuf/s; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/h; + + .line 30 + invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z + :try_end_1 + .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_1 .. :try_end_1} :catch_1 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 + .catchall {:try_start_1 .. :try_end_1} :catchall_1 + + goto :goto_1 + + :cond_8 + :goto_2 + const/4 p1, 0x1 + + goto :goto_1 + + :catchall_1 + move-exception p1 + + goto :goto_3 + + :catch_0 + move-exception p1 + + .line 31 + :try_start_2 + new-instance p2, Ljava/lang/RuntimeException; + + new-instance p3, Lcom/google/protobuf/InvalidProtocolBufferException; + + .line 32 + invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {p3, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;->(Ljava/lang/String;)V + + invoke-virtual {p3, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + + :catch_1 + move-exception p1 + + .line 33 + new-instance p2, Ljava/lang/RuntimeException; + + invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_1 + + .line 34 + :goto_3 + throw p1 + + .line 35 + :cond_9 + :pswitch_2 + sget-object p1, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + return-object p1 + + .line 36 + :pswitch_3 + move-object p1, p2 + + check-cast p1, Lcom/google/protobuf/GeneratedMessageLite$i; + + .line 37 + check-cast p3, Lcom/google/firebase/remoteconfig/o/b; + + .line 38 + iget-object p2, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + invoke-interface {p1, p2, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/o$c;Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object p2 + + iput-object p2, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + .line 39 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/b;->m()Z + + move-result v1 + + iget-wide v2, p0, Lcom/google/firebase/remoteconfig/o/b;->f:J + + .line 40 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/b;->m()Z + + move-result v4 + + iget-wide v5, p3, Lcom/google/firebase/remoteconfig/o/b;->f:J + + move-object v0, p1 + + .line 41 + invoke-interface/range {v0 .. v6}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZJZJ)J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/o/b;->f:J + + .line 42 + iget-object p2, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + invoke-interface {p1, p2, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/o$c;Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object p2 + + iput-object p2, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + .line 43 + sget-object p2, Lcom/google/protobuf/GeneratedMessageLite$h;->a:Lcom/google/protobuf/GeneratedMessageLite$h; + + if-ne p1, p2, :cond_a + + .line 44 + iget p1, p0, Lcom/google/firebase/remoteconfig/o/b;->d:I + + iget p2, p3, Lcom/google/firebase/remoteconfig/o/b;->d:I + + or-int/2addr p1, p2 + + iput p1, p0, Lcom/google/firebase/remoteconfig/o/b;->d:I + + :cond_a + return-object p0 + + .line 45 + :pswitch_4 + new-instance p1, Lcom/google/firebase/remoteconfig/o/b$a; + + invoke-direct {p1, v0}, Lcom/google/firebase/remoteconfig/o/b$a;->(Lcom/google/firebase/remoteconfig/o/a;)V + + return-object p1 + + .line 46 + :pswitch_5 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + invoke-interface {p1}, Lcom/google/protobuf/o$c;->q0()V + + .line 47 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + invoke-interface {p1}, Lcom/google/protobuf/o$c;->q0()V + + return-object v0 + + .line 48 + :pswitch_6 + sget-object p1, Lcom/google/firebase/remoteconfig/o/b;->h:Lcom/google/firebase/remoteconfig/o/b; + + return-object p1 + + .line 49 + :pswitch_7 + new-instance p1, Lcom/google/firebase/remoteconfig/o/b; + + invoke-direct {p1}, Lcom/google/firebase/remoteconfig/o/b;->()V + + return-object p1 + + :pswitch_data_0 + .packed-switch 0x1 + :pswitch_7 + :pswitch_6 + :pswitch_5 + :pswitch_4 + :pswitch_3 + :pswitch_1 + :pswitch_2 + :pswitch_0 + .end packed-switch +.end method + +.method public a(Lcom/google/protobuf/CodedOutputStream;)V + .locals 4 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + const/4 v0, 0x0 + + const/4 v1, 0x0 + + .line 1 + :goto_0 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + invoke-interface {v2}, Ljava/util/List;->size()I + + move-result v2 + + const/4 v3, 0x1 + + if-ge v1, v2, :cond_0 + + .line 2 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Lcom/google/protobuf/s; + + invoke-virtual {p1, v3, v2}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/s;)V + + add-int/lit8 v1, v1, 0x1 + + goto :goto_0 + + .line 3 + :cond_0 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/b;->d:I + + and-int/2addr v1, v3 + + if-ne v1, v3, :cond_1 + + const/4 v1, 0x2 + + .line 4 + iget-wide v2, p0, Lcom/google/firebase/remoteconfig/o/b;->f:J + + invoke-virtual {p1, v1, v2, v3}, Lcom/google/protobuf/CodedOutputStream;->a(IJ)V + + .line 5 + :cond_1 + :goto_1 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + invoke-interface {v1}, Ljava/util/List;->size()I + + move-result v1 + + if-ge v0, v1, :cond_2 + + const/4 v1, 0x3 + + .line 6 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Lcom/google/protobuf/ByteString; + + invoke-virtual {p1, v1, v2}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/ByteString;)V + + add-int/lit8 v0, v0, 0x1 + + goto :goto_1 + + .line 7 + :cond_2 + iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v0, p1}, Lcom/google/protobuf/a0;->a(Lcom/google/protobuf/CodedOutputStream;)V + + return-void +.end method + +.method public c()I + .locals 7 + + .line 1 + iget v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + const/4 v1, -0x1 + + if-eq v0, v1, :cond_0 + + return v0 + + :cond_0 + const/4 v0, 0x0 + + const/4 v1, 0x0 + + const/4 v2, 0x0 + + .line 2 + :goto_0 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + invoke-interface {v3}, Ljava/util/List;->size()I + + move-result v3 + + const/4 v4, 0x1 + + if-ge v1, v3, :cond_1 + + .line 3 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + .line 4 + invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v3 + + check-cast v3, Lcom/google/protobuf/s; + + invoke-static {v4, v3}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/s;)I + + move-result v3 + + add-int/2addr v2, v3 + + add-int/lit8 v1, v1, 0x1 + + goto :goto_0 + + .line 5 + :cond_1 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/b;->d:I + + and-int/2addr v1, v4 + + if-ne v1, v4, :cond_2 + + const/4 v1, 0x2 + + .line 6 + iget-wide v5, p0, Lcom/google/firebase/remoteconfig/o/b;->f:J + + .line 7 + invoke-static {v1, v5, v6}, Lcom/google/protobuf/CodedOutputStream;->d(IJ)I + + move-result v1 + + add-int/2addr v2, v1 + + :cond_2 + const/4 v1, 0x0 + + .line 8 + :goto_1 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + invoke-interface {v3}, Ljava/util/List;->size()I + + move-result v3 + + if-ge v0, v3, :cond_3 + + .line 9 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + .line 10 + invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v3 + + check-cast v3, Lcom/google/protobuf/ByteString; + + invoke-static {v3}, Lcom/google/protobuf/CodedOutputStream;->a(Lcom/google/protobuf/ByteString;)I + + move-result v3 + + add-int/2addr v1, v3 + + add-int/lit8 v0, v0, 0x1 + + goto :goto_1 + + :cond_3 + add-int/2addr v2, v1 + + .line 11 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/b;->j()Ljava/util/List; + + move-result-object v0 + + invoke-interface {v0}, Ljava/util/List;->size()I + + move-result v0 + + mul-int/lit8 v0, v0, 0x1 + + add-int/2addr v2, v0 + + .line 12 + iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v0}, Lcom/google/protobuf/a0;->b()I + + move-result v0 + + add-int/2addr v2, v0 + + .line 13 + iput v2, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + return v2 +.end method + +.method public j()Ljava/util/List; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/List<", + "Lcom/google/protobuf/ByteString;", + ">;" + } + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->g:Lcom/google/protobuf/o$c; + + return-object v0 +.end method + +.method public k()Ljava/util/List; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/List<", + "Lcom/google/firebase/remoteconfig/o/h;", + ">;" + } + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/b;->e:Lcom/google/protobuf/o$c; + + return-object v0 +.end method + +.method public l()J + .locals 2 + + .line 1 + iget-wide v0, p0, Lcom/google/firebase/remoteconfig/o/b;->f:J + + return-wide v0 +.end method + +.method public m()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/b;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 v1, 0x0 + + :goto_0 + return v1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/c.smali b/smali/smali/com/google/firebase/remoteconfig/o/c.smali new file mode 100644 index 000000000..0f0a568b2 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/c.smali @@ -0,0 +1,6 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/o/c; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/protobuf/t; diff --git a/smali/smali/com/google/firebase/remoteconfig/o/d$a.smali b/smali/smali/com/google/firebase/remoteconfig/o/d$a.smali new file mode 100644 index 000000000..7bab979cb --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/d$a.smali @@ -0,0 +1,51 @@ +.class public final Lcom/google/firebase/remoteconfig/o/d$a; +.super Lcom/google/protobuf/GeneratedMessageLite$b; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/e; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/o/d; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x19 + name = "a" +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite$b<", + "Lcom/google/firebase/remoteconfig/o/d;", + "Lcom/google/firebase/remoteconfig/o/d$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/e;" + } +.end annotation + + +# direct methods +.method private constructor ()V + .locals 1 + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/d;->n()Lcom/google/firebase/remoteconfig/o/d; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/protobuf/GeneratedMessageLite$b;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/o/a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/o/d$a;->()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/d.smali b/smali/smali/com/google/firebase/remoteconfig/o/d.smali new file mode 100644 index 000000000..c693eb8c0 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/d.smali @@ -0,0 +1,615 @@ +.class public final Lcom/google/firebase/remoteconfig/o/d; +.super Lcom/google/protobuf/GeneratedMessageLite; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/e; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/o/d$a; + } +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite<", + "Lcom/google/firebase/remoteconfig/o/d;", + "Lcom/google/firebase/remoteconfig/o/d$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/e;" + } +.end annotation + + +# static fields +.field private static final g:Lcom/google/firebase/remoteconfig/o/d; + +.field private static volatile h:Lcom/google/protobuf/v; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/d;", + ">;" + } + .end annotation +.end field + + +# instance fields +.field private d:I + +.field private e:Ljava/lang/String; + +.field private f:Lcom/google/protobuf/ByteString; + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/o/d; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/o/d;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/o/d;->g:Lcom/google/firebase/remoteconfig/o/d; + + .line 2 + sget-object v0, Lcom/google/firebase/remoteconfig/o/d;->g:Lcom/google/firebase/remoteconfig/o/d; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->g()V + + return-void +.end method + +.method private constructor ()V + .locals 1 + + .line 1 + invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;->()V + + const-string v0, "" + + .line 2 + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/d;->e:Ljava/lang/String; + + .line 3 + sget-object v0, Lcom/google/protobuf/ByteString;->a:Lcom/google/protobuf/ByteString; + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + return-void +.end method + +.method static synthetic n()Lcom/google/firebase/remoteconfig/o/d; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/d;->g:Lcom/google/firebase/remoteconfig/o/d; + + return-object v0 +.end method + +.method public static o()Lcom/google/protobuf/v; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/d;", + ">;" + } + .end annotation + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/d;->g:Lcom/google/firebase/remoteconfig/o/d; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->d()Lcom/google/protobuf/v; + + move-result-object v0 + + return-object v0 +.end method + + +# virtual methods +.method protected final a(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + .locals 3 + + .line 6 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I + + move-result p1 + + aget p1, v0, p1 + + const/4 v0, 0x0 + + packed-switch p1, :pswitch_data_0 + + .line 7 + new-instance p1, Ljava/lang/UnsupportedOperationException; + + invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V + + throw p1 + + .line 8 + :pswitch_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/d;->h:Lcom/google/protobuf/v; + + if-nez p1, :cond_1 + + const-class p1, Lcom/google/firebase/remoteconfig/o/d; + + monitor-enter p1 + + .line 9 + :try_start_0 + sget-object p2, Lcom/google/firebase/remoteconfig/o/d;->h:Lcom/google/protobuf/v; + + if-nez p2, :cond_0 + + .line 10 + new-instance p2, Lcom/google/protobuf/GeneratedMessageLite$c; + + sget-object p3, Lcom/google/firebase/remoteconfig/o/d;->g:Lcom/google/firebase/remoteconfig/o/d; + + invoke-direct {p2, p3}, Lcom/google/protobuf/GeneratedMessageLite$c;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + sput-object p2, Lcom/google/firebase/remoteconfig/o/d;->h:Lcom/google/protobuf/v; + + .line 11 + :cond_0 + monitor-exit p1 + + goto :goto_0 + + :catchall_0 + move-exception p2 + + monitor-exit p1 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p2 + + .line 12 + :cond_1 + :goto_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/d;->h:Lcom/google/protobuf/v; + + return-object p1 + + .line 13 + :pswitch_1 + check-cast p2, Lcom/google/protobuf/e; + + .line 14 + check-cast p3, Lcom/google/protobuf/g; + + const/4 p1, 0x0 + + :cond_2 + :goto_1 + if-nez p1, :cond_6 + + .line 15 + :try_start_1 + invoke-virtual {p2}, Lcom/google/protobuf/e;->s()I + + move-result p3 + + const/4 v0, 0x1 + + if-eqz p3, :cond_5 + + const/16 v1, 0xa + + if-eq p3, v1, :cond_4 + + const/16 v1, 0x12 + + if-eq p3, v1, :cond_3 + + .line 16 + invoke-virtual {p0, p3, p2}, Lcom/google/protobuf/GeneratedMessageLite;->a(ILcom/google/protobuf/e;)Z + + move-result p3 + + if-nez p3, :cond_2 + + goto :goto_2 + + .line 17 + :cond_3 + iget p3, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + or-int/lit8 p3, p3, 0x2 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + .line 18 + invoke-virtual {p2}, Lcom/google/protobuf/e;->c()Lcom/google/protobuf/ByteString; + + move-result-object p3 + + iput-object p3, p0, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + goto :goto_1 + + .line 19 + :cond_4 + invoke-virtual {p2}, Lcom/google/protobuf/e;->q()Ljava/lang/String; + + move-result-object p3 + + .line 20 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + or-int/2addr v0, v1 + + iput v0, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + .line 21 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/o/d;->e:Ljava/lang/String; + :try_end_1 + .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_1 .. :try_end_1} :catch_1 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 + .catchall {:try_start_1 .. :try_end_1} :catchall_1 + + goto :goto_1 + + :cond_5 + :goto_2 + const/4 p1, 0x1 + + goto :goto_1 + + :catchall_1 + move-exception p1 + + goto :goto_3 + + :catch_0 + move-exception p1 + + .line 22 + :try_start_2 + new-instance p2, Ljava/lang/RuntimeException; + + new-instance p3, Lcom/google/protobuf/InvalidProtocolBufferException; + + .line 23 + invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {p3, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;->(Ljava/lang/String;)V + + invoke-virtual {p3, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + + :catch_1 + move-exception p1 + + .line 24 + new-instance p2, Ljava/lang/RuntimeException; + + invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_1 + + .line 25 + :goto_3 + throw p1 + + .line 26 + :cond_6 + :pswitch_2 + sget-object p1, Lcom/google/firebase/remoteconfig/o/d;->g:Lcom/google/firebase/remoteconfig/o/d; + + return-object p1 + + .line 27 + :pswitch_3 + check-cast p2, Lcom/google/protobuf/GeneratedMessageLite$i; + + .line 28 + check-cast p3, Lcom/google/firebase/remoteconfig/o/d; + + .line 29 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/d;->l()Z + + move-result p1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/d;->e:Ljava/lang/String; + + .line 30 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/d;->l()Z + + move-result v1 + + iget-object v2, p3, Lcom/google/firebase/remoteconfig/o/d;->e:Ljava/lang/String; + + .line 31 + invoke-interface {p2, p1, v0, v1, v2}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZLjava/lang/String;ZLjava/lang/String;)Ljava/lang/String; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/d;->e:Ljava/lang/String; + + .line 32 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/d;->m()Z + + move-result p1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + .line 33 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/d;->m()Z + + move-result v1 + + iget-object v2, p3, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + .line 34 + invoke-interface {p2, p1, v0, v1, v2}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZLcom/google/protobuf/ByteString;ZLcom/google/protobuf/ByteString;)Lcom/google/protobuf/ByteString; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + .line 35 + sget-object p1, Lcom/google/protobuf/GeneratedMessageLite$h;->a:Lcom/google/protobuf/GeneratedMessageLite$h; + + if-ne p2, p1, :cond_7 + + .line 36 + iget p1, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + iget p2, p3, Lcom/google/firebase/remoteconfig/o/d;->d:I + + or-int/2addr p1, p2 + + iput p1, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + :cond_7 + return-object p0 + + .line 37 + :pswitch_4 + new-instance p1, Lcom/google/firebase/remoteconfig/o/d$a; + + invoke-direct {p1, v0}, Lcom/google/firebase/remoteconfig/o/d$a;->(Lcom/google/firebase/remoteconfig/o/a;)V + + return-object p1 + + :pswitch_5 + return-object v0 + + .line 38 + :pswitch_6 + sget-object p1, Lcom/google/firebase/remoteconfig/o/d;->g:Lcom/google/firebase/remoteconfig/o/d; + + return-object p1 + + .line 39 + :pswitch_7 + new-instance p1, Lcom/google/firebase/remoteconfig/o/d; + + invoke-direct {p1}, Lcom/google/firebase/remoteconfig/o/d;->()V + + return-object p1 + + nop + + :pswitch_data_0 + .packed-switch 0x1 + :pswitch_7 + :pswitch_6 + :pswitch_5 + :pswitch_4 + :pswitch_3 + :pswitch_1 + :pswitch_2 + :pswitch_0 + .end packed-switch +.end method + +.method public a(Lcom/google/protobuf/CodedOutputStream;)V + .locals 2 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + .line 2 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/d;->j()Ljava/lang/String; + + move-result-object v0 + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->a(ILjava/lang/String;)V + + .line 3 + :cond_0 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + const/4 v1, 0x2 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_1 + + .line 4 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/ByteString;)V + + .line 5 + :cond_1 + iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v0, p1}, Lcom/google/protobuf/a0;->a(Lcom/google/protobuf/CodedOutputStream;)V + + return-void +.end method + +.method public c()I + .locals 3 + + .line 1 + iget v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + const/4 v1, -0x1 + + if-eq v0, v1, :cond_0 + + return v0 + + :cond_0 + const/4 v0, 0x0 + + .line 2 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + const/4 v2, 0x1 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_1 + + .line 3 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/d;->j()Ljava/lang/String; + + move-result-object v1 + + invoke-static {v2, v1}, Lcom/google/protobuf/CodedOutputStream;->b(ILjava/lang/String;)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 4 + :cond_1 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + const/4 v2, 0x2 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_2 + + .line 5 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + .line 6 + invoke-static {v2, v1}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/ByteString;)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 7 + :cond_2 + iget-object v1, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v1}, Lcom/google/protobuf/a0;->b()I + + move-result v1 + + add-int/2addr v0, v1 + + .line 8 + iput v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + return v0 +.end method + +.method public j()Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/d;->e:Ljava/lang/String; + + return-object v0 +.end method + +.method public k()Lcom/google/protobuf/ByteString; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/d;->f:Lcom/google/protobuf/ByteString; + + return-object v0 +.end method + +.method public l()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 v1, 0x0 + + :goto_0 + return v1 +.end method + +.method public m()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/d;->d:I + + const/4 v1, 0x2 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + const/4 v0, 0x1 + + goto :goto_0 + + :cond_0 + const/4 v0, 0x0 + + :goto_0 + return v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/e.smali b/smali/smali/com/google/firebase/remoteconfig/o/e.smali new file mode 100644 index 000000000..087a2663f --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/e.smali @@ -0,0 +1,6 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/o/e; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/protobuf/t; diff --git a/smali/smali/com/google/firebase/remoteconfig/o/f$a.smali b/smali/smali/com/google/firebase/remoteconfig/o/f$a.smali new file mode 100644 index 000000000..2b52cd997 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/f$a.smali @@ -0,0 +1,51 @@ +.class public final Lcom/google/firebase/remoteconfig/o/f$a; +.super Lcom/google/protobuf/GeneratedMessageLite$b; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/g; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/o/f; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x19 + name = "a" +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite$b<", + "Lcom/google/firebase/remoteconfig/o/f;", + "Lcom/google/firebase/remoteconfig/o/f$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/g;" + } +.end annotation + + +# direct methods +.method private constructor ()V + .locals 1 + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/f;->m()Lcom/google/firebase/remoteconfig/o/f; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/protobuf/GeneratedMessageLite$b;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/o/a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/o/f$a;->()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/f.smali b/smali/smali/com/google/firebase/remoteconfig/o/f.smali new file mode 100644 index 000000000..c716ef66c --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/f.smali @@ -0,0 +1,700 @@ +.class public final Lcom/google/firebase/remoteconfig/o/f; +.super Lcom/google/protobuf/GeneratedMessageLite; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/g; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/o/f$a; + } +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite<", + "Lcom/google/firebase/remoteconfig/o/f;", + "Lcom/google/firebase/remoteconfig/o/f$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/g;" + } +.end annotation + + +# static fields +.field private static volatile B:Lcom/google/protobuf/v; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/f;", + ">;" + } + .end annotation +.end field + +.field private static final h:Lcom/google/firebase/remoteconfig/o/f; + + +# instance fields +.field private d:I + +.field private e:I + +.field private f:Z + +.field private g:J + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/o/f; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/o/f;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + .line 2 + sget-object v0, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->g()V + + return-void +.end method + +.method private constructor ()V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;->()V + + return-void +.end method + +.method static synthetic m()Lcom/google/firebase/remoteconfig/o/f; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + return-object v0 +.end method + +.method public static n()Lcom/google/firebase/remoteconfig/o/f; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + return-object v0 +.end method + +.method public static o()Lcom/google/protobuf/v; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/f;", + ">;" + } + .end annotation + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->d()Lcom/google/protobuf/v; + + move-result-object v0 + + return-object v0 +.end method + + +# virtual methods +.method protected final a(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + .locals 7 + + .line 8 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I + + move-result p1 + + aget p1, v0, p1 + + const/4 v0, 0x0 + + packed-switch p1, :pswitch_data_0 + + .line 9 + new-instance p1, Ljava/lang/UnsupportedOperationException; + + invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V + + throw p1 + + .line 10 + :pswitch_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/f;->B:Lcom/google/protobuf/v; + + if-nez p1, :cond_1 + + const-class p1, Lcom/google/firebase/remoteconfig/o/f; + + monitor-enter p1 + + .line 11 + :try_start_0 + sget-object p2, Lcom/google/firebase/remoteconfig/o/f;->B:Lcom/google/protobuf/v; + + if-nez p2, :cond_0 + + .line 12 + new-instance p2, Lcom/google/protobuf/GeneratedMessageLite$c; + + sget-object p3, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + invoke-direct {p2, p3}, Lcom/google/protobuf/GeneratedMessageLite$c;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + sput-object p2, Lcom/google/firebase/remoteconfig/o/f;->B:Lcom/google/protobuf/v; + + .line 13 + :cond_0 + monitor-exit p1 + + goto :goto_0 + + :catchall_0 + move-exception p2 + + monitor-exit p1 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p2 + + .line 14 + :cond_1 + :goto_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/f;->B:Lcom/google/protobuf/v; + + return-object p1 + + .line 15 + :pswitch_1 + check-cast p2, Lcom/google/protobuf/e; + + .line 16 + check-cast p3, Lcom/google/protobuf/g; + + const/4 p1, 0x0 + + :cond_2 + :goto_1 + if-nez p1, :cond_7 + + .line 17 + :try_start_1 + invoke-virtual {p2}, Lcom/google/protobuf/e;->s()I + + move-result p3 + + const/4 v0, 0x1 + + if-eqz p3, :cond_6 + + const/16 v1, 0x8 + + if-eq p3, v1, :cond_5 + + const/16 v1, 0x10 + + if-eq p3, v1, :cond_4 + + const/16 v1, 0x19 + + if-eq p3, v1, :cond_3 + + .line 18 + invoke-virtual {p0, p3, p2}, Lcom/google/protobuf/GeneratedMessageLite;->a(ILcom/google/protobuf/e;)Z + + move-result p3 + + if-nez p3, :cond_2 + + goto :goto_2 + + .line 19 + :cond_3 + iget p3, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + or-int/lit8 p3, p3, 0x4 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + .line 20 + invoke-virtual {p2}, Lcom/google/protobuf/e;->g()J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/o/f;->g:J + + goto :goto_1 + + .line 21 + :cond_4 + iget p3, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + or-int/lit8 p3, p3, 0x2 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + .line 22 + invoke-virtual {p2}, Lcom/google/protobuf/e;->b()Z + + move-result p3 + + iput-boolean p3, p0, Lcom/google/firebase/remoteconfig/o/f;->f:Z + + goto :goto_1 + + .line 23 + :cond_5 + iget p3, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + or-int/2addr p3, v0 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + .line 24 + invoke-virtual {p2}, Lcom/google/protobuf/e;->i()I + + move-result p3 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/f;->e:I + :try_end_1 + .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_1 .. :try_end_1} :catch_1 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 + .catchall {:try_start_1 .. :try_end_1} :catchall_1 + + goto :goto_1 + + :cond_6 + :goto_2 + const/4 p1, 0x1 + + goto :goto_1 + + :catchall_1 + move-exception p1 + + goto :goto_3 + + :catch_0 + move-exception p1 + + .line 25 + :try_start_2 + new-instance p2, Ljava/lang/RuntimeException; + + new-instance p3, Lcom/google/protobuf/InvalidProtocolBufferException; + + .line 26 + invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {p3, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;->(Ljava/lang/String;)V + + invoke-virtual {p3, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + + :catch_1 + move-exception p1 + + .line 27 + new-instance p2, Ljava/lang/RuntimeException; + + invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_1 + + .line 28 + :goto_3 + throw p1 + + .line 29 + :cond_7 + :pswitch_2 + sget-object p1, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + return-object p1 + + .line 30 + :pswitch_3 + move-object p1, p2 + + check-cast p1, Lcom/google/protobuf/GeneratedMessageLite$i; + + .line 31 + check-cast p3, Lcom/google/firebase/remoteconfig/o/f; + + .line 32 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/f;->k()Z + + move-result p2 + + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->e:I + + .line 33 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/f;->k()Z + + move-result v1 + + iget v2, p3, Lcom/google/firebase/remoteconfig/o/f;->e:I + + .line 34 + invoke-interface {p1, p2, v0, v1, v2}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZIZI)I + + move-result p2 + + iput p2, p0, Lcom/google/firebase/remoteconfig/o/f;->e:I + + .line 35 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/f;->j()Z + + move-result p2 + + iget-boolean v0, p0, Lcom/google/firebase/remoteconfig/o/f;->f:Z + + .line 36 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/f;->j()Z + + move-result v1 + + iget-boolean v2, p3, Lcom/google/firebase/remoteconfig/o/f;->f:Z + + .line 37 + invoke-interface {p1, p2, v0, v1, v2}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZZZZ)Z + + move-result p2 + + iput-boolean p2, p0, Lcom/google/firebase/remoteconfig/o/f;->f:Z + + .line 38 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/f;->l()Z + + move-result v1 + + iget-wide v2, p0, Lcom/google/firebase/remoteconfig/o/f;->g:J + + .line 39 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/f;->l()Z + + move-result v4 + + iget-wide v5, p3, Lcom/google/firebase/remoteconfig/o/f;->g:J + + move-object v0, p1 + + .line 40 + invoke-interface/range {v0 .. v6}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZJZJ)J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/o/f;->g:J + + .line 41 + sget-object p2, Lcom/google/protobuf/GeneratedMessageLite$h;->a:Lcom/google/protobuf/GeneratedMessageLite$h; + + if-ne p1, p2, :cond_8 + + .line 42 + iget p1, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + iget p2, p3, Lcom/google/firebase/remoteconfig/o/f;->d:I + + or-int/2addr p1, p2 + + iput p1, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + :cond_8 + return-object p0 + + .line 43 + :pswitch_4 + new-instance p1, Lcom/google/firebase/remoteconfig/o/f$a; + + invoke-direct {p1, v0}, Lcom/google/firebase/remoteconfig/o/f$a;->(Lcom/google/firebase/remoteconfig/o/a;)V + + return-object p1 + + :pswitch_5 + return-object v0 + + .line 44 + :pswitch_6 + sget-object p1, Lcom/google/firebase/remoteconfig/o/f;->h:Lcom/google/firebase/remoteconfig/o/f; + + return-object p1 + + .line 45 + :pswitch_7 + new-instance p1, Lcom/google/firebase/remoteconfig/o/f; + + invoke-direct {p1}, Lcom/google/firebase/remoteconfig/o/f;->()V + + return-object p1 + + :pswitch_data_0 + .packed-switch 0x1 + :pswitch_7 + :pswitch_6 + :pswitch_5 + :pswitch_4 + :pswitch_3 + :pswitch_1 + :pswitch_2 + :pswitch_0 + .end packed-switch +.end method + +.method public a(Lcom/google/protobuf/CodedOutputStream;)V + .locals 3 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + .line 2 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->e:I + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->c(II)V + + .line 3 + :cond_0 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v1, 0x2 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_1 + + .line 4 + iget-boolean v0, p0, Lcom/google/firebase/remoteconfig/o/f;->f:Z + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->a(IZ)V + + .line 5 + :cond_1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v1, 0x4 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_2 + + const/4 v0, 0x3 + + .line 6 + iget-wide v1, p0, Lcom/google/firebase/remoteconfig/o/f;->g:J + + invoke-virtual {p1, v0, v1, v2}, Lcom/google/protobuf/CodedOutputStream;->a(IJ)V + + .line 7 + :cond_2 + iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v0, p1}, Lcom/google/protobuf/a0;->a(Lcom/google/protobuf/CodedOutputStream;)V + + return-void +.end method + +.method public c()I + .locals 4 + + .line 1 + iget v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + const/4 v1, -0x1 + + if-eq v0, v1, :cond_0 + + return v0 + + :cond_0 + const/4 v0, 0x0 + + .line 2 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v2, 0x1 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_1 + + .line 3 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/f;->e:I + + .line 4 + invoke-static {v2, v1}, Lcom/google/protobuf/CodedOutputStream;->g(II)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 5 + :cond_1 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v2, 0x2 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_2 + + .line 6 + iget-boolean v1, p0, Lcom/google/firebase/remoteconfig/o/f;->f:Z + + .line 7 + invoke-static {v2, v1}, Lcom/google/protobuf/CodedOutputStream;->b(IZ)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 8 + :cond_2 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v2, 0x4 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_3 + + const/4 v1, 0x3 + + .line 9 + iget-wide v2, p0, Lcom/google/firebase/remoteconfig/o/f;->g:J + + .line 10 + invoke-static {v1, v2, v3}, Lcom/google/protobuf/CodedOutputStream;->d(IJ)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 11 + :cond_3 + iget-object v1, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v1}, Lcom/google/protobuf/a0;->b()I + + move-result v1 + + add-int/2addr v0, v1 + + .line 12 + iput v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + return v0 +.end method + +.method public j()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v1, 0x2 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + const/4 v0, 0x1 + + goto :goto_0 + + :cond_0 + const/4 v0, 0x0 + + :goto_0 + return v0 +.end method + +.method public k()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 v1, 0x0 + + :goto_0 + return v1 +.end method + +.method public l()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/f;->d:I + + const/4 v1, 0x4 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + const/4 v0, 0x1 + + goto :goto_0 + + :cond_0 + const/4 v0, 0x0 + + :goto_0 + return v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/g.smali b/smali/smali/com/google/firebase/remoteconfig/o/g.smali new file mode 100644 index 000000000..4f2d5b263 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/g.smali @@ -0,0 +1,6 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/o/g; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/protobuf/t; diff --git a/smali/smali/com/google/firebase/remoteconfig/o/h$a.smali b/smali/smali/com/google/firebase/remoteconfig/o/h$a.smali new file mode 100644 index 000000000..f8715e800 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/h$a.smali @@ -0,0 +1,51 @@ +.class public final Lcom/google/firebase/remoteconfig/o/h$a; +.super Lcom/google/protobuf/GeneratedMessageLite$b; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/i; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/o/h; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x19 + name = "a" +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite$b<", + "Lcom/google/firebase/remoteconfig/o/h;", + "Lcom/google/firebase/remoteconfig/o/h$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/i;" + } +.end annotation + + +# direct methods +.method private constructor ()V + .locals 1 + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/h;->m()Lcom/google/firebase/remoteconfig/o/h; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/protobuf/GeneratedMessageLite$b;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/o/a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/o/h$a;->()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/h.smali b/smali/smali/com/google/firebase/remoteconfig/o/h.smali new file mode 100644 index 000000000..e83751983 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/h.smali @@ -0,0 +1,660 @@ +.class public final Lcom/google/firebase/remoteconfig/o/h; +.super Lcom/google/protobuf/GeneratedMessageLite; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/i; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/o/h$a; + } +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite<", + "Lcom/google/firebase/remoteconfig/o/h;", + "Lcom/google/firebase/remoteconfig/o/h$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/i;" + } +.end annotation + + +# static fields +.field private static final g:Lcom/google/firebase/remoteconfig/o/h; + +.field private static volatile h:Lcom/google/protobuf/v; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/h;", + ">;" + } + .end annotation +.end field + + +# instance fields +.field private d:I + +.field private e:Ljava/lang/String; + +.field private f:Lcom/google/protobuf/o$c; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/o$c<", + "Lcom/google/firebase/remoteconfig/o/d;", + ">;" + } + .end annotation +.end field + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/o/h; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/o/h;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/o/h;->g:Lcom/google/firebase/remoteconfig/o/h; + + .line 2 + sget-object v0, Lcom/google/firebase/remoteconfig/o/h;->g:Lcom/google/firebase/remoteconfig/o/h; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->g()V + + return-void +.end method + +.method private constructor ()V + .locals 1 + + .line 1 + invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;->()V + + const-string v0, "" + + .line 2 + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->e:Ljava/lang/String; + + .line 3 + invoke-static {}, Lcom/google/protobuf/GeneratedMessageLite;->i()Lcom/google/protobuf/o$c; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + return-void +.end method + +.method static synthetic m()Lcom/google/firebase/remoteconfig/o/h; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/h;->g:Lcom/google/firebase/remoteconfig/o/h; + + return-object v0 +.end method + +.method public static n()Lcom/google/protobuf/v; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/h;", + ">;" + } + .end annotation + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/h;->g:Lcom/google/firebase/remoteconfig/o/h; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->d()Lcom/google/protobuf/v; + + move-result-object v0 + + return-object v0 +.end method + + +# virtual methods +.method protected final a(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + .locals 3 + + .line 6 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I + + move-result p1 + + aget p1, v0, p1 + + const/4 v0, 0x0 + + packed-switch p1, :pswitch_data_0 + + .line 7 + new-instance p1, Ljava/lang/UnsupportedOperationException; + + invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V + + throw p1 + + .line 8 + :pswitch_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/h;->h:Lcom/google/protobuf/v; + + if-nez p1, :cond_1 + + const-class p1, Lcom/google/firebase/remoteconfig/o/h; + + monitor-enter p1 + + .line 9 + :try_start_0 + sget-object p2, Lcom/google/firebase/remoteconfig/o/h;->h:Lcom/google/protobuf/v; + + if-nez p2, :cond_0 + + .line 10 + new-instance p2, Lcom/google/protobuf/GeneratedMessageLite$c; + + sget-object p3, Lcom/google/firebase/remoteconfig/o/h;->g:Lcom/google/firebase/remoteconfig/o/h; + + invoke-direct {p2, p3}, Lcom/google/protobuf/GeneratedMessageLite$c;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + sput-object p2, Lcom/google/firebase/remoteconfig/o/h;->h:Lcom/google/protobuf/v; + + .line 11 + :cond_0 + monitor-exit p1 + + goto :goto_0 + + :catchall_0 + move-exception p2 + + monitor-exit p1 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p2 + + .line 12 + :cond_1 + :goto_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/h;->h:Lcom/google/protobuf/v; + + return-object p1 + + .line 13 + :pswitch_1 + check-cast p2, Lcom/google/protobuf/e; + + .line 14 + check-cast p3, Lcom/google/protobuf/g; + + const/4 p1, 0x0 + + :cond_2 + :goto_1 + if-nez p1, :cond_7 + + .line 15 + :try_start_1 + invoke-virtual {p2}, Lcom/google/protobuf/e;->s()I + + move-result v0 + + const/4 v1, 0x1 + + if-eqz v0, :cond_6 + + const/16 v2, 0xa + + if-eq v0, v2, :cond_5 + + const/16 v2, 0x12 + + if-eq v0, v2, :cond_3 + + .line 16 + invoke-virtual {p0, v0, p2}, Lcom/google/protobuf/GeneratedMessageLite;->a(ILcom/google/protobuf/e;)Z + + move-result v0 + + if-nez v0, :cond_2 + + goto :goto_2 + + .line 17 + :cond_3 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + invoke-interface {v0}, Lcom/google/protobuf/o$c;->r0()Z + + move-result v0 + + if-nez v0, :cond_4 + + .line 18 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + .line 19 + invoke-static {v0}, Lcom/google/protobuf/GeneratedMessageLite;->a(Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + .line 20 + :cond_4 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + .line 21 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/d;->o()Lcom/google/protobuf/v; + + move-result-object v1 + + invoke-virtual {p2, v1, p3}, Lcom/google/protobuf/e;->a(Lcom/google/protobuf/v;Lcom/google/protobuf/g;)Lcom/google/protobuf/s; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/d; + + .line 22 + invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z + + goto :goto_1 + + .line 23 + :cond_5 + invoke-virtual {p2}, Lcom/google/protobuf/e;->q()Ljava/lang/String; + + move-result-object v0 + + .line 24 + iget v2, p0, Lcom/google/firebase/remoteconfig/o/h;->d:I + + or-int/2addr v1, v2 + + iput v1, p0, Lcom/google/firebase/remoteconfig/o/h;->d:I + + .line 25 + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->e:Ljava/lang/String; + :try_end_1 + .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_1 .. :try_end_1} :catch_1 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 + .catchall {:try_start_1 .. :try_end_1} :catchall_1 + + goto :goto_1 + + :cond_6 + :goto_2 + const/4 p1, 0x1 + + goto :goto_1 + + :catchall_1 + move-exception p1 + + goto :goto_3 + + :catch_0 + move-exception p1 + + .line 26 + :try_start_2 + new-instance p2, Ljava/lang/RuntimeException; + + new-instance p3, Lcom/google/protobuf/InvalidProtocolBufferException; + + .line 27 + invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {p3, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;->(Ljava/lang/String;)V + + invoke-virtual {p3, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + + :catch_1 + move-exception p1 + + .line 28 + new-instance p2, Ljava/lang/RuntimeException; + + invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_1 + + .line 29 + :goto_3 + throw p1 + + .line 30 + :cond_7 + :pswitch_2 + sget-object p1, Lcom/google/firebase/remoteconfig/o/h;->g:Lcom/google/firebase/remoteconfig/o/h; + + return-object p1 + + .line 31 + :pswitch_3 + check-cast p2, Lcom/google/protobuf/GeneratedMessageLite$i; + + .line 32 + check-cast p3, Lcom/google/firebase/remoteconfig/o/h; + + .line 33 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/h;->l()Z + + move-result p1 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->e:Ljava/lang/String; + + .line 34 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/h;->l()Z + + move-result v1 + + iget-object v2, p3, Lcom/google/firebase/remoteconfig/o/h;->e:Ljava/lang/String; + + .line 35 + invoke-interface {p2, p1, v0, v1, v2}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZLjava/lang/String;ZLjava/lang/String;)Ljava/lang/String; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/h;->e:Ljava/lang/String; + + .line 36 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + invoke-interface {p2, p1, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/o$c;Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + .line 37 + sget-object p1, Lcom/google/protobuf/GeneratedMessageLite$h;->a:Lcom/google/protobuf/GeneratedMessageLite$h; + + if-ne p2, p1, :cond_8 + + .line 38 + iget p1, p0, Lcom/google/firebase/remoteconfig/o/h;->d:I + + iget p2, p3, Lcom/google/firebase/remoteconfig/o/h;->d:I + + or-int/2addr p1, p2 + + iput p1, p0, Lcom/google/firebase/remoteconfig/o/h;->d:I + + :cond_8 + return-object p0 + + .line 39 + :pswitch_4 + new-instance p1, Lcom/google/firebase/remoteconfig/o/h$a; + + invoke-direct {p1, v0}, Lcom/google/firebase/remoteconfig/o/h$a;->(Lcom/google/firebase/remoteconfig/o/a;)V + + return-object p1 + + .line 40 + :pswitch_5 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + invoke-interface {p1}, Lcom/google/protobuf/o$c;->q0()V + + return-object v0 + + .line 41 + :pswitch_6 + sget-object p1, Lcom/google/firebase/remoteconfig/o/h;->g:Lcom/google/firebase/remoteconfig/o/h; + + return-object p1 + + .line 42 + :pswitch_7 + new-instance p1, Lcom/google/firebase/remoteconfig/o/h; + + invoke-direct {p1}, Lcom/google/firebase/remoteconfig/o/h;->()V + + return-object p1 + + nop + + :pswitch_data_0 + .packed-switch 0x1 + :pswitch_7 + :pswitch_6 + :pswitch_5 + :pswitch_4 + :pswitch_3 + :pswitch_1 + :pswitch_2 + :pswitch_0 + .end packed-switch +.end method + +.method public a(Lcom/google/protobuf/CodedOutputStream;)V + .locals 3 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/h;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + .line 2 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/h;->k()Ljava/lang/String; + + move-result-object v0 + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->a(ILjava/lang/String;)V + + :cond_0 + const/4 v0, 0x0 + + .line 3 + :goto_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + invoke-interface {v1}, Ljava/util/List;->size()I + + move-result v1 + + if-ge v0, v1, :cond_1 + + const/4 v1, 0x2 + + .line 4 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Lcom/google/protobuf/s; + + invoke-virtual {p1, v1, v2}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/s;)V + + add-int/lit8 v0, v0, 0x1 + + goto :goto_0 + + .line 5 + :cond_1 + iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v0, p1}, Lcom/google/protobuf/a0;->a(Lcom/google/protobuf/CodedOutputStream;)V + + return-void +.end method + +.method public c()I + .locals 4 + + .line 1 + iget v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + const/4 v1, -0x1 + + if-eq v0, v1, :cond_0 + + return v0 + + .line 2 + :cond_0 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/h;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + const/4 v2, 0x0 + + if-ne v0, v1, :cond_1 + + .line 3 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/h;->k()Ljava/lang/String; + + move-result-object v0 + + invoke-static {v1, v0}, Lcom/google/protobuf/CodedOutputStream;->b(ILjava/lang/String;)I + + move-result v0 + + add-int/2addr v0, v2 + + goto :goto_0 + + :cond_1 + const/4 v0, 0x0 + + .line 4 + :goto_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + invoke-interface {v1}, Ljava/util/List;->size()I + + move-result v1 + + if-ge v2, v1, :cond_2 + + const/4 v1, 0x2 + + .line 5 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + .line 6 + invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v3 + + check-cast v3, Lcom/google/protobuf/s; + + invoke-static {v1, v3}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/s;)I + + move-result v1 + + add-int/2addr v0, v1 + + add-int/lit8 v2, v2, 0x1 + + goto :goto_0 + + .line 7 + :cond_2 + iget-object v1, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v1}, Lcom/google/protobuf/a0;->b()I + + move-result v1 + + add-int/2addr v0, v1 + + .line 8 + iput v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + return v0 +.end method + +.method public j()Ljava/util/List; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Ljava/util/List<", + "Lcom/google/firebase/remoteconfig/o/d;", + ">;" + } + .end annotation + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->f:Lcom/google/protobuf/o$c; + + return-object v0 +.end method + +.method public k()Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/h;->e:Ljava/lang/String; + + return-object v0 +.end method + +.method public l()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/h;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 v1, 0x0 + + :goto_0 + return v1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/i.smali b/smali/smali/com/google/firebase/remoteconfig/o/i.smali new file mode 100644 index 000000000..4e82a6b33 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/i.smali @@ -0,0 +1,6 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/o/i; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/protobuf/t; diff --git a/smali/smali/com/google/firebase/remoteconfig/o/j$a.smali b/smali/smali/com/google/firebase/remoteconfig/o/j$a.smali new file mode 100644 index 000000000..d7862e78c --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/j$a.smali @@ -0,0 +1,51 @@ +.class public final Lcom/google/firebase/remoteconfig/o/j$a; +.super Lcom/google/protobuf/GeneratedMessageLite$b; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/k; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/o/j; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x19 + name = "a" +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite$b<", + "Lcom/google/firebase/remoteconfig/o/j;", + "Lcom/google/firebase/remoteconfig/o/j$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/k;" + } +.end annotation + + +# direct methods +.method private constructor ()V + .locals 1 + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/j;->n()Lcom/google/firebase/remoteconfig/o/j; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/protobuf/GeneratedMessageLite$b;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/o/a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/o/j$a;->()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/j.smali b/smali/smali/com/google/firebase/remoteconfig/o/j.smali new file mode 100644 index 000000000..f19ee286f --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/j.smali @@ -0,0 +1,1073 @@ +.class public final Lcom/google/firebase/remoteconfig/o/j; +.super Lcom/google/protobuf/GeneratedMessageLite; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/k; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/o/j$a; + } +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite<", + "Lcom/google/firebase/remoteconfig/o/j;", + "Lcom/google/firebase/remoteconfig/o/j$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/k;" + } +.end annotation + + +# static fields +.field private static final C:Lcom/google/firebase/remoteconfig/o/j; + +.field private static volatile D:Lcom/google/protobuf/v; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/j;", + ">;" + } + .end annotation +.end field + + +# instance fields +.field private B:Lcom/google/protobuf/o$c; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/o$c<", + "Lcom/google/firebase/remoteconfig/o/l;", + ">;" + } + .end annotation +.end field + +.field private d:I + +.field private e:Lcom/google/firebase/remoteconfig/o/b; + +.field private f:Lcom/google/firebase/remoteconfig/o/b; + +.field private g:Lcom/google/firebase/remoteconfig/o/b; + +.field private h:Lcom/google/firebase/remoteconfig/o/f; + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/o/j; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/o/j;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/o/j;->C:Lcom/google/firebase/remoteconfig/o/j; + + .line 2 + sget-object v0, Lcom/google/firebase/remoteconfig/o/j;->C:Lcom/google/firebase/remoteconfig/o/j; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->g()V + + return-void +.end method + +.method private constructor ()V + .locals 1 + + .line 1 + invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;->()V + + .line 2 + invoke-static {}, Lcom/google/protobuf/GeneratedMessageLite;->i()Lcom/google/protobuf/o$c; + + move-result-object v0 + + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + return-void +.end method + +.method public static a(Ljava/io/InputStream;)Lcom/google/firebase/remoteconfig/o/j; + .locals 1 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + .line 12 + sget-object v0, Lcom/google/firebase/remoteconfig/o/j;->C:Lcom/google/firebase/remoteconfig/o/j; + + invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->a(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;)Lcom/google/protobuf/GeneratedMessageLite; + + move-result-object p0 + + check-cast p0, Lcom/google/firebase/remoteconfig/o/j; + + return-object p0 +.end method + +.method static synthetic n()Lcom/google/firebase/remoteconfig/o/j; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/j;->C:Lcom/google/firebase/remoteconfig/o/j; + + return-object v0 +.end method + + +# virtual methods +.method protected final a(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + .locals 4 + + .line 13 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I + + move-result p1 + + aget p1, v0, p1 + + const/4 v0, 0x0 + + packed-switch p1, :pswitch_data_0 + + .line 14 + new-instance p1, Ljava/lang/UnsupportedOperationException; + + invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V + + throw p1 + + .line 15 + :pswitch_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/j;->D:Lcom/google/protobuf/v; + + if-nez p1, :cond_1 + + const-class p1, Lcom/google/firebase/remoteconfig/o/j; + + monitor-enter p1 + + .line 16 + :try_start_0 + sget-object p2, Lcom/google/firebase/remoteconfig/o/j;->D:Lcom/google/protobuf/v; + + if-nez p2, :cond_0 + + .line 17 + new-instance p2, Lcom/google/protobuf/GeneratedMessageLite$c; + + sget-object p3, Lcom/google/firebase/remoteconfig/o/j;->C:Lcom/google/firebase/remoteconfig/o/j; + + invoke-direct {p2, p3}, Lcom/google/protobuf/GeneratedMessageLite$c;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + sput-object p2, Lcom/google/firebase/remoteconfig/o/j;->D:Lcom/google/protobuf/v; + + .line 18 + :cond_0 + monitor-exit p1 + + goto :goto_0 + + :catchall_0 + move-exception p2 + + monitor-exit p1 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p2 + + .line 19 + :cond_1 + :goto_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/j;->D:Lcom/google/protobuf/v; + + return-object p1 + + .line 20 + :pswitch_1 + check-cast p2, Lcom/google/protobuf/e; + + .line 21 + check-cast p3, Lcom/google/protobuf/g; + + const/4 p1, 0x0 + + :cond_2 + :goto_1 + if-nez p1, :cond_12 + + .line 22 + :try_start_1 + invoke-virtual {p2}, Lcom/google/protobuf/e;->s()I + + move-result v1 + + const/4 v2, 0x1 + + if-eqz v1, :cond_11 + + const/16 v3, 0xa + + if-eq v1, v3, :cond_e + + const/16 v3, 0x12 + + if-eq v1, v3, :cond_b + + const/16 v3, 0x1a + + if-eq v1, v3, :cond_8 + + const/16 v3, 0x22 + + if-eq v1, v3, :cond_5 + + const/16 v3, 0x2a + + if-eq v1, v3, :cond_3 + + .line 23 + invoke-virtual {p0, v1, p2}, Lcom/google/protobuf/GeneratedMessageLite;->a(ILcom/google/protobuf/e;)Z + + move-result v1 + + if-nez v1, :cond_2 + + goto/16 :goto_6 + + .line 24 + :cond_3 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + invoke-interface {v1}, Lcom/google/protobuf/o$c;->r0()Z + + move-result v1 + + if-nez v1, :cond_4 + + .line 25 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + .line 26 + invoke-static {v1}, Lcom/google/protobuf/GeneratedMessageLite;->a(Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object v1 + + iput-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + .line 27 + :cond_4 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + .line 28 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/l;->o()Lcom/google/protobuf/v; + + move-result-object v2 + + invoke-virtual {p2, v2, p3}, Lcom/google/protobuf/e;->a(Lcom/google/protobuf/v;Lcom/google/protobuf/g;)Lcom/google/protobuf/s; + + move-result-object v2 + + check-cast v2, Lcom/google/firebase/remoteconfig/o/l; + + .line 29 + invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z + + goto :goto_1 + + .line 30 + :cond_5 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/16 v2, 0x8 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_6 + + .line 31 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite;->b()Lcom/google/protobuf/GeneratedMessageLite$b; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/f$a; + + goto :goto_2 + + :cond_6 + move-object v1, v0 + + .line 32 + :goto_2 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/f;->o()Lcom/google/protobuf/v; + + move-result-object v3 + + invoke-virtual {p2, v3, p3}, Lcom/google/protobuf/e;->a(Lcom/google/protobuf/v;Lcom/google/protobuf/g;)Lcom/google/protobuf/s; + + move-result-object v3 + + check-cast v3, Lcom/google/firebase/remoteconfig/o/f; + + iput-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + if-eqz v1, :cond_7 + + .line 33 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + invoke-virtual {v1, v3}, Lcom/google/protobuf/GeneratedMessageLite$b;->b(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$b; + + .line 34 + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite$b;->b()Lcom/google/protobuf/GeneratedMessageLite; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/f; + + iput-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + .line 35 + :cond_7 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + or-int/2addr v1, v2 + + iput v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + goto :goto_1 + + .line 36 + :cond_8 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v2, 0x4 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_9 + + .line 37 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite;->b()Lcom/google/protobuf/GeneratedMessageLite$b; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/b$a; + + goto :goto_3 + + :cond_9 + move-object v1, v0 + + .line 38 + :goto_3 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/b;->p()Lcom/google/protobuf/v; + + move-result-object v3 + + invoke-virtual {p2, v3, p3}, Lcom/google/protobuf/e;->a(Lcom/google/protobuf/v;Lcom/google/protobuf/g;)Lcom/google/protobuf/s; + + move-result-object v3 + + check-cast v3, Lcom/google/firebase/remoteconfig/o/b; + + iput-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + if-eqz v1, :cond_a + + .line 39 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v1, v3}, Lcom/google/protobuf/GeneratedMessageLite$b;->b(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$b; + + .line 40 + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite$b;->b()Lcom/google/protobuf/GeneratedMessageLite; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/b; + + iput-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + .line 41 + :cond_a + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + or-int/2addr v1, v2 + + iput v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + goto/16 :goto_1 + + .line 42 + :cond_b + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v2, 0x2 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_c + + .line 43 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite;->b()Lcom/google/protobuf/GeneratedMessageLite$b; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/b$a; + + goto :goto_4 + + :cond_c + move-object v1, v0 + + .line 44 + :goto_4 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/b;->p()Lcom/google/protobuf/v; + + move-result-object v3 + + invoke-virtual {p2, v3, p3}, Lcom/google/protobuf/e;->a(Lcom/google/protobuf/v;Lcom/google/protobuf/g;)Lcom/google/protobuf/s; + + move-result-object v3 + + check-cast v3, Lcom/google/firebase/remoteconfig/o/b; + + iput-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + if-eqz v1, :cond_d + + .line 45 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v1, v3}, Lcom/google/protobuf/GeneratedMessageLite$b;->b(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$b; + + .line 46 + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite$b;->b()Lcom/google/protobuf/GeneratedMessageLite; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/b; + + iput-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + .line 47 + :cond_d + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + or-int/2addr v1, v2 + + iput v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + goto/16 :goto_1 + + .line 48 + :cond_e + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_f + + .line 49 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite;->b()Lcom/google/protobuf/GeneratedMessageLite$b; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/b$a; + + goto :goto_5 + + :cond_f + move-object v1, v0 + + .line 50 + :goto_5 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/b;->p()Lcom/google/protobuf/v; + + move-result-object v3 + + invoke-virtual {p2, v3, p3}, Lcom/google/protobuf/e;->a(Lcom/google/protobuf/v;Lcom/google/protobuf/g;)Lcom/google/protobuf/s; + + move-result-object v3 + + check-cast v3, Lcom/google/firebase/remoteconfig/o/b; + + iput-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + if-eqz v1, :cond_10 + + .line 51 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + invoke-virtual {v1, v3}, Lcom/google/protobuf/GeneratedMessageLite$b;->b(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$b; + + .line 52 + invoke-virtual {v1}, Lcom/google/protobuf/GeneratedMessageLite$b;->b()Lcom/google/protobuf/GeneratedMessageLite; + + move-result-object v1 + + check-cast v1, Lcom/google/firebase/remoteconfig/o/b; + + iput-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + .line 53 + :cond_10 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + or-int/2addr v1, v2 + + iput v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + :try_end_1 + .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_1 .. :try_end_1} :catch_1 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 + .catchall {:try_start_1 .. :try_end_1} :catchall_1 + + goto/16 :goto_1 + + :cond_11 + :goto_6 + const/4 p1, 0x1 + + goto/16 :goto_1 + + :catchall_1 + move-exception p1 + + goto :goto_7 + + :catch_0 + move-exception p1 + + .line 54 + :try_start_2 + new-instance p2, Ljava/lang/RuntimeException; + + new-instance p3, Lcom/google/protobuf/InvalidProtocolBufferException; + + .line 55 + invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {p3, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;->(Ljava/lang/String;)V + + invoke-virtual {p3, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + + :catch_1 + move-exception p1 + + .line 56 + new-instance p2, Ljava/lang/RuntimeException; + + invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_1 + + .line 57 + :goto_7 + throw p1 + + .line 58 + :cond_12 + :pswitch_2 + sget-object p1, Lcom/google/firebase/remoteconfig/o/j;->C:Lcom/google/firebase/remoteconfig/o/j; + + return-object p1 + + .line 59 + :pswitch_3 + check-cast p2, Lcom/google/protobuf/GeneratedMessageLite$i; + + .line 60 + check-cast p3, Lcom/google/firebase/remoteconfig/o/j; + + .line 61 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + invoke-interface {p2, p1, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/s;Lcom/google/protobuf/s;)Lcom/google/protobuf/s; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/o/b; + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + .line 62 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + invoke-interface {p2, p1, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/s;Lcom/google/protobuf/s;)Lcom/google/protobuf/s; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/o/b; + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + .line 63 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + invoke-interface {p2, p1, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/s;Lcom/google/protobuf/s;)Lcom/google/protobuf/s; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/o/b; + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + .line 64 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + invoke-interface {p2, p1, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/s;Lcom/google/protobuf/s;)Lcom/google/protobuf/s; + + move-result-object p1 + + check-cast p1, Lcom/google/firebase/remoteconfig/o/f; + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + .line 65 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + iget-object v0, p3, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + invoke-interface {p2, p1, v0}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(Lcom/google/protobuf/o$c;Lcom/google/protobuf/o$c;)Lcom/google/protobuf/o$c; + + move-result-object p1 + + iput-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + .line 66 + sget-object p1, Lcom/google/protobuf/GeneratedMessageLite$h;->a:Lcom/google/protobuf/GeneratedMessageLite$h; + + if-ne p2, p1, :cond_13 + + .line 67 + iget p1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + iget p2, p3, Lcom/google/firebase/remoteconfig/o/j;->d:I + + or-int/2addr p1, p2 + + iput p1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + :cond_13 + return-object p0 + + .line 68 + :pswitch_4 + new-instance p1, Lcom/google/firebase/remoteconfig/o/j$a; + + invoke-direct {p1, v0}, Lcom/google/firebase/remoteconfig/o/j$a;->(Lcom/google/firebase/remoteconfig/o/a;)V + + return-object p1 + + .line 69 + :pswitch_5 + iget-object p1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + invoke-interface {p1}, Lcom/google/protobuf/o$c;->q0()V + + return-object v0 + + .line 70 + :pswitch_6 + sget-object p1, Lcom/google/firebase/remoteconfig/o/j;->C:Lcom/google/firebase/remoteconfig/o/j; + + return-object p1 + + .line 71 + :pswitch_7 + new-instance p1, Lcom/google/firebase/remoteconfig/o/j; + + invoke-direct {p1}, Lcom/google/firebase/remoteconfig/o/j;->()V + + return-object p1 + + :pswitch_data_0 + .packed-switch 0x1 + :pswitch_7 + :pswitch_6 + :pswitch_5 + :pswitch_4 + :pswitch_3 + :pswitch_1 + :pswitch_2 + :pswitch_0 + .end packed-switch +.end method + +.method public a(Lcom/google/protobuf/CodedOutputStream;)V + .locals 3 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + .line 2 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->l()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/s;)V + + .line 3 + :cond_0 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v1, 0x2 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_1 + + .line 4 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->j()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/s;)V + + .line 5 + :cond_1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v1, 0x4 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_2 + + const/4 v0, 0x3 + + .line 6 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->k()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v2 + + invoke-virtual {p1, v0, v2}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/s;)V + + .line 7 + :cond_2 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/16 v2, 0x8 + + and-int/2addr v0, v2 + + if-ne v0, v2, :cond_3 + + .line 8 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->m()Lcom/google/firebase/remoteconfig/o/f; + + move-result-object v0 + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/s;)V + + :cond_3 + const/4 v0, 0x0 + + .line 9 + :goto_0 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + invoke-interface {v1}, Ljava/util/List;->size()I + + move-result v1 + + if-ge v0, v1, :cond_4 + + const/4 v1, 0x5 + + .line 10 + iget-object v2, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v2 + + check-cast v2, Lcom/google/protobuf/s; + + invoke-virtual {p1, v1, v2}, Lcom/google/protobuf/CodedOutputStream;->a(ILcom/google/protobuf/s;)V + + add-int/lit8 v0, v0, 0x1 + + goto :goto_0 + + .line 11 + :cond_4 + iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v0, p1}, Lcom/google/protobuf/a0;->a(Lcom/google/protobuf/CodedOutputStream;)V + + return-void +.end method + +.method public c()I + .locals 5 + + .line 1 + iget v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + const/4 v1, -0x1 + + if-eq v0, v1, :cond_0 + + return v0 + + .line 2 + :cond_0 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + const/4 v2, 0x0 + + if-ne v0, v1, :cond_1 + + .line 3 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->l()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + invoke-static {v1, v0}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/s;)I + + move-result v0 + + add-int/2addr v0, v2 + + goto :goto_0 + + :cond_1 + const/4 v0, 0x0 + + .line 4 + :goto_0 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v3, 0x2 + + and-int/2addr v1, v3 + + if-ne v1, v3, :cond_2 + + .line 5 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->j()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v1 + + invoke-static {v3, v1}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/s;)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 6 + :cond_2 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/4 v3, 0x4 + + and-int/2addr v1, v3 + + if-ne v1, v3, :cond_3 + + const/4 v1, 0x3 + + .line 7 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->k()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v4 + + invoke-static {v1, v4}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/s;)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 8 + :cond_3 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/j;->d:I + + const/16 v4, 0x8 + + and-int/2addr v1, v4 + + if-ne v1, v4, :cond_4 + + .line 9 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/j;->m()Lcom/google/firebase/remoteconfig/o/f; + + move-result-object v1 + + invoke-static {v3, v1}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/s;)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 10 + :cond_4 + :goto_1 + iget-object v1, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + invoke-interface {v1}, Ljava/util/List;->size()I + + move-result v1 + + if-ge v2, v1, :cond_5 + + const/4 v1, 0x5 + + .line 11 + iget-object v3, p0, Lcom/google/firebase/remoteconfig/o/j;->B:Lcom/google/protobuf/o$c; + + .line 12 + invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object; + + move-result-object v3 + + check-cast v3, Lcom/google/protobuf/s; + + invoke-static {v1, v3}, Lcom/google/protobuf/CodedOutputStream;->b(ILcom/google/protobuf/s;)I + + move-result v1 + + add-int/2addr v0, v1 + + add-int/lit8 v2, v2, 0x1 + + goto :goto_1 + + .line 13 + :cond_5 + iget-object v1, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v1}, Lcom/google/protobuf/a0;->b()I + + move-result v1 + + add-int/2addr v0, v1 + + .line 14 + iput v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + return v0 +.end method + +.method public j()Lcom/google/firebase/remoteconfig/o/b; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/j;->f:Lcom/google/firebase/remoteconfig/o/b; + + if-nez v0, :cond_0 + + invoke-static {}, Lcom/google/firebase/remoteconfig/o/b;->o()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + :cond_0 + return-object v0 +.end method + +.method public k()Lcom/google/firebase/remoteconfig/o/b; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/j;->g:Lcom/google/firebase/remoteconfig/o/b; + + if-nez v0, :cond_0 + + invoke-static {}, Lcom/google/firebase/remoteconfig/o/b;->o()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + :cond_0 + return-object v0 +.end method + +.method public l()Lcom/google/firebase/remoteconfig/o/b; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/j;->e:Lcom/google/firebase/remoteconfig/o/b; + + if-nez v0, :cond_0 + + invoke-static {}, Lcom/google/firebase/remoteconfig/o/b;->o()Lcom/google/firebase/remoteconfig/o/b; + + move-result-object v0 + + :cond_0 + return-object v0 +.end method + +.method public m()Lcom/google/firebase/remoteconfig/o/f; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/j;->h:Lcom/google/firebase/remoteconfig/o/f; + + if-nez v0, :cond_0 + + invoke-static {}, Lcom/google/firebase/remoteconfig/o/f;->n()Lcom/google/firebase/remoteconfig/o/f; + + move-result-object v0 + + :cond_0 + return-object v0 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/k.smali b/smali/smali/com/google/firebase/remoteconfig/o/k.smali new file mode 100644 index 000000000..a19a9520a --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/k.smali @@ -0,0 +1,6 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/o/k; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/protobuf/t; diff --git a/smali/smali/com/google/firebase/remoteconfig/o/l$a.smali b/smali/smali/com/google/firebase/remoteconfig/o/l$a.smali new file mode 100644 index 000000000..014fc2b07 --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/l$a.smali @@ -0,0 +1,51 @@ +.class public final Lcom/google/firebase/remoteconfig/o/l$a; +.super Lcom/google/protobuf/GeneratedMessageLite$b; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/m; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingClass; + value = Lcom/google/firebase/remoteconfig/o/l; +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x19 + name = "a" +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite$b<", + "Lcom/google/firebase/remoteconfig/o/l;", + "Lcom/google/firebase/remoteconfig/o/l$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/m;" + } +.end annotation + + +# direct methods +.method private constructor ()V + .locals 1 + + .line 2 + invoke-static {}, Lcom/google/firebase/remoteconfig/o/l;->n()Lcom/google/firebase/remoteconfig/o/l; + + move-result-object v0 + + invoke-direct {p0, v0}, Lcom/google/protobuf/GeneratedMessageLite$b;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + return-void +.end method + +.method synthetic constructor (Lcom/google/firebase/remoteconfig/o/a;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lcom/google/firebase/remoteconfig/o/l$a;->()V + + return-void +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/l.smali b/smali/smali/com/google/firebase/remoteconfig/o/l.smali new file mode 100644 index 000000000..94fab4dea --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/l.smali @@ -0,0 +1,709 @@ +.class public final Lcom/google/firebase/remoteconfig/o/l; +.super Lcom/google/protobuf/GeneratedMessageLite; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/firebase/remoteconfig/o/m; + + +# annotations +.annotation system Ldalvik/annotation/MemberClasses; + value = { + Lcom/google/firebase/remoteconfig/o/l$a; + } +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/GeneratedMessageLite<", + "Lcom/google/firebase/remoteconfig/o/l;", + "Lcom/google/firebase/remoteconfig/o/l$a;", + ">;", + "Lcom/google/firebase/remoteconfig/o/m;" + } +.end annotation + + +# static fields +.field private static volatile B:Lcom/google/protobuf/v; + .annotation system Ldalvik/annotation/Signature; + value = { + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/l;", + ">;" + } + .end annotation +.end field + +.field private static final h:Lcom/google/firebase/remoteconfig/o/l; + + +# instance fields +.field private d:I + +.field private e:I + +.field private f:J + +.field private g:Ljava/lang/String; + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Lcom/google/firebase/remoteconfig/o/l; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/o/l;->()V + + sput-object v0, Lcom/google/firebase/remoteconfig/o/l;->h:Lcom/google/firebase/remoteconfig/o/l; + + .line 2 + sget-object v0, Lcom/google/firebase/remoteconfig/o/l;->h:Lcom/google/firebase/remoteconfig/o/l; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->g()V + + return-void +.end method + +.method private constructor ()V + .locals 1 + + .line 1 + invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;->()V + + const-string v0, "" + + .line 2 + iput-object v0, p0, Lcom/google/firebase/remoteconfig/o/l;->g:Ljava/lang/String; + + return-void +.end method + +.method static synthetic n()Lcom/google/firebase/remoteconfig/o/l; + .locals 1 + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/l;->h:Lcom/google/firebase/remoteconfig/o/l; + + return-object v0 +.end method + +.method public static o()Lcom/google/protobuf/v; + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "()", + "Lcom/google/protobuf/v<", + "Lcom/google/firebase/remoteconfig/o/l;", + ">;" + } + .end annotation + + .line 1 + sget-object v0, Lcom/google/firebase/remoteconfig/o/l;->h:Lcom/google/firebase/remoteconfig/o/l; + + invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->d()Lcom/google/protobuf/v; + + move-result-object v0 + + return-object v0 +.end method + + +# virtual methods +.method protected final a(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + .locals 7 + + .line 8 + sget-object v0, Lcom/google/firebase/remoteconfig/o/a;->a:[I + + invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I + + move-result p1 + + aget p1, v0, p1 + + const/4 v0, 0x0 + + packed-switch p1, :pswitch_data_0 + + .line 9 + new-instance p1, Ljava/lang/UnsupportedOperationException; + + invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;->()V + + throw p1 + + .line 10 + :pswitch_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/l;->B:Lcom/google/protobuf/v; + + if-nez p1, :cond_1 + + const-class p1, Lcom/google/firebase/remoteconfig/o/l; + + monitor-enter p1 + + .line 11 + :try_start_0 + sget-object p2, Lcom/google/firebase/remoteconfig/o/l;->B:Lcom/google/protobuf/v; + + if-nez p2, :cond_0 + + .line 12 + new-instance p2, Lcom/google/protobuf/GeneratedMessageLite$c; + + sget-object p3, Lcom/google/firebase/remoteconfig/o/l;->h:Lcom/google/firebase/remoteconfig/o/l; + + invoke-direct {p2, p3}, Lcom/google/protobuf/GeneratedMessageLite$c;->(Lcom/google/protobuf/GeneratedMessageLite;)V + + sput-object p2, Lcom/google/firebase/remoteconfig/o/l;->B:Lcom/google/protobuf/v; + + .line 13 + :cond_0 + monitor-exit p1 + + goto :goto_0 + + :catchall_0 + move-exception p2 + + monitor-exit p1 + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + throw p2 + + .line 14 + :cond_1 + :goto_0 + sget-object p1, Lcom/google/firebase/remoteconfig/o/l;->B:Lcom/google/protobuf/v; + + return-object p1 + + .line 15 + :pswitch_1 + check-cast p2, Lcom/google/protobuf/e; + + .line 16 + check-cast p3, Lcom/google/protobuf/g; + + const/4 p1, 0x0 + + :cond_2 + :goto_1 + if-nez p1, :cond_7 + + .line 17 + :try_start_1 + invoke-virtual {p2}, Lcom/google/protobuf/e;->s()I + + move-result p3 + + const/4 v0, 0x1 + + if-eqz p3, :cond_6 + + const/16 v1, 0x8 + + if-eq p3, v1, :cond_5 + + const/16 v1, 0x11 + + if-eq p3, v1, :cond_4 + + const/16 v1, 0x1a + + if-eq p3, v1, :cond_3 + + .line 18 + invoke-virtual {p0, p3, p2}, Lcom/google/protobuf/GeneratedMessageLite;->a(ILcom/google/protobuf/e;)Z + + move-result p3 + + if-nez p3, :cond_2 + + goto :goto_2 + + .line 19 + :cond_3 + invoke-virtual {p2}, Lcom/google/protobuf/e;->q()Ljava/lang/String; + + move-result-object p3 + + .line 20 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + or-int/lit8 v0, v0, 0x4 + + iput v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + .line 21 + iput-object p3, p0, Lcom/google/firebase/remoteconfig/o/l;->g:Ljava/lang/String; + + goto :goto_1 + + .line 22 + :cond_4 + iget p3, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + or-int/lit8 p3, p3, 0x2 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + .line 23 + invoke-virtual {p2}, Lcom/google/protobuf/e;->g()J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/o/l;->f:J + + goto :goto_1 + + .line 24 + :cond_5 + iget p3, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + or-int/2addr p3, v0 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + .line 25 + invoke-virtual {p2}, Lcom/google/protobuf/e;->i()I + + move-result p3 + + iput p3, p0, Lcom/google/firebase/remoteconfig/o/l;->e:I + :try_end_1 + .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_1 .. :try_end_1} :catch_1 + .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0 + .catchall {:try_start_1 .. :try_end_1} :catchall_1 + + goto :goto_1 + + :cond_6 + :goto_2 + const/4 p1, 0x1 + + goto :goto_1 + + :catchall_1 + move-exception p1 + + goto :goto_3 + + :catch_0 + move-exception p1 + + .line 26 + :try_start_2 + new-instance p2, Ljava/lang/RuntimeException; + + new-instance p3, Lcom/google/protobuf/InvalidProtocolBufferException; + + .line 27 + invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String; + + move-result-object p1 + + invoke-direct {p3, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;->(Ljava/lang/String;)V + + invoke-virtual {p3, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + + :catch_1 + move-exception p1 + + .line 28 + new-instance p2, Ljava/lang/RuntimeException; + + invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->a(Lcom/google/protobuf/s;)Lcom/google/protobuf/InvalidProtocolBufferException; + + move-result-object p1 + + invoke-direct {p2, p1}, Ljava/lang/RuntimeException;->(Ljava/lang/Throwable;)V + + throw p2 + :try_end_2 + .catchall {:try_start_2 .. :try_end_2} :catchall_1 + + .line 29 + :goto_3 + throw p1 + + .line 30 + :cond_7 + :pswitch_2 + sget-object p1, Lcom/google/firebase/remoteconfig/o/l;->h:Lcom/google/firebase/remoteconfig/o/l; + + return-object p1 + + .line 31 + :pswitch_3 + move-object p1, p2 + + check-cast p1, Lcom/google/protobuf/GeneratedMessageLite$i; + + .line 32 + check-cast p3, Lcom/google/firebase/remoteconfig/o/l; + + .line 33 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/l;->m()Z + + move-result p2 + + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->e:I + + .line 34 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/l;->m()Z + + move-result v1 + + iget v2, p3, Lcom/google/firebase/remoteconfig/o/l;->e:I + + .line 35 + invoke-interface {p1, p2, v0, v1, v2}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZIZI)I + + move-result p2 + + iput p2, p0, Lcom/google/firebase/remoteconfig/o/l;->e:I + + .line 36 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/l;->k()Z + + move-result v1 + + iget-wide v2, p0, Lcom/google/firebase/remoteconfig/o/l;->f:J + + .line 37 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/l;->k()Z + + move-result v4 + + iget-wide v5, p3, Lcom/google/firebase/remoteconfig/o/l;->f:J + + move-object v0, p1 + + .line 38 + invoke-interface/range {v0 .. v6}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZJZJ)J + + move-result-wide v0 + + iput-wide v0, p0, Lcom/google/firebase/remoteconfig/o/l;->f:J + + .line 39 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/l;->l()Z + + move-result p2 + + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/l;->g:Ljava/lang/String; + + .line 40 + invoke-virtual {p3}, Lcom/google/firebase/remoteconfig/o/l;->l()Z + + move-result v1 + + iget-object v2, p3, Lcom/google/firebase/remoteconfig/o/l;->g:Ljava/lang/String; + + .line 41 + invoke-interface {p1, p2, v0, v1, v2}, Lcom/google/protobuf/GeneratedMessageLite$i;->a(ZLjava/lang/String;ZLjava/lang/String;)Ljava/lang/String; + + move-result-object p2 + + iput-object p2, p0, Lcom/google/firebase/remoteconfig/o/l;->g:Ljava/lang/String; + + .line 42 + sget-object p2, Lcom/google/protobuf/GeneratedMessageLite$h;->a:Lcom/google/protobuf/GeneratedMessageLite$h; + + if-ne p1, p2, :cond_8 + + .line 43 + iget p1, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + iget p2, p3, Lcom/google/firebase/remoteconfig/o/l;->d:I + + or-int/2addr p1, p2 + + iput p1, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + :cond_8 + return-object p0 + + .line 44 + :pswitch_4 + new-instance p1, Lcom/google/firebase/remoteconfig/o/l$a; + + invoke-direct {p1, v0}, Lcom/google/firebase/remoteconfig/o/l$a;->(Lcom/google/firebase/remoteconfig/o/a;)V + + return-object p1 + + :pswitch_5 + return-object v0 + + .line 45 + :pswitch_6 + sget-object p1, Lcom/google/firebase/remoteconfig/o/l;->h:Lcom/google/firebase/remoteconfig/o/l; + + return-object p1 + + .line 46 + :pswitch_7 + new-instance p1, Lcom/google/firebase/remoteconfig/o/l; + + invoke-direct {p1}, Lcom/google/firebase/remoteconfig/o/l;->()V + + return-object p1 + + :pswitch_data_0 + .packed-switch 0x1 + :pswitch_7 + :pswitch_6 + :pswitch_5 + :pswitch_4 + :pswitch_3 + :pswitch_1 + :pswitch_2 + :pswitch_0 + .end packed-switch +.end method + +.method public a(Lcom/google/protobuf/CodedOutputStream;)V + .locals 4 + .annotation system Ldalvik/annotation/Throws; + value = { + Ljava/io/IOException; + } + .end annotation + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + .line 2 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->e:I + + invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->c(II)V + + .line 3 + :cond_0 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v1, 0x2 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_1 + + .line 4 + iget-wide v2, p0, Lcom/google/firebase/remoteconfig/o/l;->f:J + + invoke-virtual {p1, v1, v2, v3}, Lcom/google/protobuf/CodedOutputStream;->a(IJ)V + + .line 5 + :cond_1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v1, 0x4 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_2 + + const/4 v0, 0x3 + + .line 6 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/l;->j()Ljava/lang/String; + + move-result-object v1 + + invoke-virtual {p1, v0, v1}, Lcom/google/protobuf/CodedOutputStream;->a(ILjava/lang/String;)V + + .line 7 + :cond_2 + iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v0, p1}, Lcom/google/protobuf/a0;->a(Lcom/google/protobuf/CodedOutputStream;)V + + return-void +.end method + +.method public c()I + .locals 5 + + .line 1 + iget v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + const/4 v1, -0x1 + + if-eq v0, v1, :cond_0 + + return v0 + + :cond_0 + const/4 v0, 0x0 + + .line 2 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v2, 0x1 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_1 + + .line 3 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/l;->e:I + + .line 4 + invoke-static {v2, v1}, Lcom/google/protobuf/CodedOutputStream;->g(II)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 5 + :cond_1 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v2, 0x2 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_2 + + .line 6 + iget-wide v3, p0, Lcom/google/firebase/remoteconfig/o/l;->f:J + + .line 7 + invoke-static {v2, v3, v4}, Lcom/google/protobuf/CodedOutputStream;->d(IJ)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 8 + :cond_2 + iget v1, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v2, 0x4 + + and-int/2addr v1, v2 + + if-ne v1, v2, :cond_3 + + const/4 v1, 0x3 + + .line 9 + invoke-virtual {p0}, Lcom/google/firebase/remoteconfig/o/l;->j()Ljava/lang/String; + + move-result-object v2 + + invoke-static {v1, v2}, Lcom/google/protobuf/CodedOutputStream;->b(ILjava/lang/String;)I + + move-result v1 + + add-int/2addr v0, v1 + + .line 10 + :cond_3 + iget-object v1, p0, Lcom/google/protobuf/GeneratedMessageLite;->b:Lcom/google/protobuf/a0; + + invoke-virtual {v1}, Lcom/google/protobuf/a0;->b()I + + move-result v1 + + add-int/2addr v0, v1 + + .line 11 + iput v0, p0, Lcom/google/protobuf/GeneratedMessageLite;->c:I + + return v0 +.end method + +.method public j()Ljava/lang/String; + .locals 1 + + .line 1 + iget-object v0, p0, Lcom/google/firebase/remoteconfig/o/l;->g:Ljava/lang/String; + + return-object v0 +.end method + +.method public k()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v1, 0x2 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + const/4 v0, 0x1 + + goto :goto_0 + + :cond_0 + const/4 v0, 0x0 + + :goto_0 + return v0 +.end method + +.method public l()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v1, 0x4 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + const/4 v0, 0x1 + + goto :goto_0 + + :cond_0 + const/4 v0, 0x0 + + :goto_0 + return v0 +.end method + +.method public m()Z + .locals 2 + + .line 1 + iget v0, p0, Lcom/google/firebase/remoteconfig/o/l;->d:I + + const/4 v1, 0x1 + + and-int/2addr v0, v1 + + if-ne v0, v1, :cond_0 + + goto :goto_0 + + :cond_0 + const/4 v1, 0x0 + + :goto_0 + return v1 +.end method diff --git a/smali/smali/com/google/firebase/remoteconfig/o/m.smali b/smali/smali/com/google/firebase/remoteconfig/o/m.smali new file mode 100644 index 000000000..3eab3716c --- /dev/null +++ b/smali/smali/com/google/firebase/remoteconfig/o/m.smali @@ -0,0 +1,6 @@ +.class public interface abstract Lcom/google/firebase/remoteconfig/o/m; +.super Ljava/lang/Object; +.source "com.google.firebase:firebase-config@@19.0.3" + +# interfaces +.implements Lcom/google/protobuf/t; diff --git a/smali/smali_classes2/com/vk/core/network/proxy/NetworkProxy.smali b/smali/smali_classes2/com/vk/core/network/proxy/NetworkProxy.smali index 25b0f8e0e..05aa4ce90 100644 --- a/smali/smali_classes2/com/vk/core/network/proxy/NetworkProxy.smali +++ b/smali/smali_classes2/com/vk/core/network/proxy/NetworkProxy.smali @@ -1162,7 +1162,16 @@ :try_start_0 iput-object p1, p0, Lcom/vk/core/network/proxy/NetworkProxy;->c:Lcom/vk/core/network/proxy/NetworkProxy$c; - const p1, 0x0 + .line 7 + sget-object p1, Lb/h/q/d/FirebaseHelper;->c:Lb/h/q/d/FirebaseHelper; + + invoke-virtual {p1}, Lb/h/q/d/FirebaseHelper;->a()Lb/h/q/d/Firebase; + + move-result-object p1 + + invoke-virtual {p1}, Lb/h/q/d/Firebase;->b()Z + + move-result p1 if-eqz p1, :cond_1 diff --git a/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost$a.smali b/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost$a.smali index 0e7c5659b..9fd90cb3d 100644 --- a/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost$a.smali +++ b/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost$a.smali @@ -52,6 +52,19 @@ } .end annotation + .line 1 + sget-object p1, Lb/h/q/d/FirebaseHelper;->c:Lb/h/q/d/FirebaseHelper; + + invoke-virtual {p1}, Lb/h/q/d/FirebaseHelper;->a()Lb/h/q/d/Firebase; + + move-result-object p1 + + new-instance v0, Lcom/vk/core/network/proxy/ProxyHost$a$a; + + invoke-direct {v0, p0}, Lcom/vk/core/network/proxy/ProxyHost$a$a;->(Lcom/vk/core/network/proxy/ProxyHost$a;)V + + invoke-virtual {p1, v0}, Lb/h/q/d/Firebase;->a(Ljava/lang/Runnable;)V + return-void .end method diff --git a/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost.smali b/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost.smali index c3bf7a65c..adad5e445 100644 --- a/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost.smali +++ b/smali/smali_classes2/com/vk/core/network/proxy/ProxyHost.smali @@ -687,9 +687,27 @@ .method public i()V .locals 3 - const-string v1, "" + .line 1 + sget-object v0, Lb/h/q/d/FirebaseHelper;->c:Lb/h/q/d/FirebaseHelper; - const-string v0, "" + invoke-virtual {v0}, Lb/h/q/d/FirebaseHelper;->a()Lb/h/q/d/Firebase; + + move-result-object v0 + + invoke-virtual {v0}, Lb/h/q/d/Firebase;->d()Ljava/lang/String; + + move-result-object v0 + + .line 2 + sget-object v1, Lb/h/q/d/FirebaseHelper;->c:Lb/h/q/d/FirebaseHelper; + + invoke-virtual {v1}, Lb/h/q/d/FirebaseHelper;->a()Lb/h/q/d/Firebase; + + move-result-object v1 + + invoke-virtual {v1}, Lb/h/q/d/Firebase;->c()Ljava/lang/String; + + move-result-object v1 .line 3 iget-object v2, p0, Lcom/vk/core/network/proxy/ProxyHost;->d:Lcom/vk/core/network/proxy/ProxySettings; diff --git a/smali/smali_classes3/b/h/q/d/Firebase$a.smali b/smali/smali_classes3/b/h/q/d/Firebase$a.smali new file mode 100644 index 000000000..5e821ab47 --- /dev/null +++ b/smali/smali_classes3/b/h/q/d/Firebase$a.smali @@ -0,0 +1,141 @@ +.class final Lb/h/q/d/Firebase$a; +.super Ljava/lang/Object; +.source "Firebase.kt" + +# interfaces +.implements Lcom/google/android/gms/tasks/c; + + +# annotations +.annotation system Ldalvik/annotation/EnclosingMethod; + value = Lb/h/q/d/Firebase;->a(Ljava/lang/Runnable;)V +.end annotation + +.annotation system Ldalvik/annotation/InnerClass; + accessFlags = 0x18 + name = null +.end annotation + +.annotation system Ldalvik/annotation/Signature; + value = { + "", + "Ljava/lang/Object;", + "Lcom/google/android/gms/tasks/c<", + "Ljava/lang/Void;", + ">;" + } +.end annotation + + +# instance fields +.field final synthetic a:Lb/h/q/d/Firebase; + +.field final synthetic b:Ljava/lang/Runnable; + + +# direct methods +.method constructor (Lb/h/q/d/Firebase;Ljava/lang/Runnable;)V + .locals 0 + + iput-object p1, p0, Lb/h/q/d/Firebase$a;->a:Lb/h/q/d/Firebase; + + iput-object p2, p0, Lb/h/q/d/Firebase$a;->b:Ljava/lang/Runnable; + + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + + +# virtual methods +.method public final onComplete(Lcom/google/android/gms/tasks/g;)V + .locals 1 + .annotation system Ldalvik/annotation/Signature; + value = { + "(", + "Lcom/google/android/gms/tasks/g<", + "Ljava/lang/Void;", + ">;)V" + } + .end annotation + + .line 1 + invoke-virtual {p1}, Lcom/google/android/gms/tasks/g;->e()Z + + move-result p1 + + if-eqz p1, :cond_1 + + .line 2 + iget-object p1, p0, Lb/h/q/d/Firebase$a;->a:Lb/h/q/d/Firebase; + + invoke-static {p1}, Lb/h/q/d/Firebase;->a(Lb/h/q/d/Firebase;)Lcom/google/firebase/remoteconfig/g; + + move-result-object p1 + + if-eqz p1, :cond_0 + + invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/g;->b()Z + + .line 3 + iget-object p1, p0, Lb/h/q/d/Firebase$a;->a:Lb/h/q/d/Firebase; + + invoke-static {p1}, Lb/h/q/d/Firebase;->e(Lb/h/q/d/Firebase;)V + + .line 4 + iget-object p1, p0, Lb/h/q/d/Firebase$a;->a:Lb/h/q/d/Firebase; + + invoke-static {p1}, Lb/h/q/d/Firebase;->d(Lb/h/q/d/Firebase;)V + + .line 5 + iget-object p1, p0, Lb/h/q/d/Firebase$a;->a:Lb/h/q/d/Firebase; + + invoke-static {p1}, Lb/h/q/d/Firebase;->c(Lb/h/q/d/Firebase;)V + + goto :goto_0 + + .line 6 + :cond_0 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + const/4 p1, 0x0 + + throw p1 + + .line 7 + :cond_1 + :goto_0 + iget-object p1, p0, Lb/h/q/d/Firebase$a;->b:Ljava/lang/Runnable; + + if-eqz p1, :cond_2 + + .line 8 + new-instance p1, Landroid/os/Handler; + + invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper; + + move-result-object v0 + + invoke-direct {p1, v0}, Landroid/os/Handler;->(Landroid/os/Looper;)V + + .line 9 + iget-object v0, p0, Lb/h/q/d/Firebase$a;->b:Ljava/lang/Runnable; + + invoke-virtual {p1, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z + + .line 10 + :cond_2 + iget-object p1, p0, Lb/h/q/d/Firebase$a;->a:Lb/h/q/d/Firebase; + + invoke-static {p1}, Lb/h/q/d/Firebase;->b(Lb/h/q/d/Firebase;)Ljava/util/concurrent/atomic/AtomicBoolean; + + move-result-object p1 + + const/4 v0, 0x0 + + invoke-virtual {p1, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V + + return-void +.end method diff --git a/smali/smali_classes3/b/h/q/d/Firebase.smali b/smali/smali_classes3/b/h/q/d/Firebase.smali new file mode 100644 index 000000000..387d79beb --- /dev/null +++ b/smali/smali_classes3/b/h/q/d/Firebase.smali @@ -0,0 +1,595 @@ +.class public final Lb/h/q/d/Firebase; +.super Ljava/lang/Object; +.source "Firebase.kt" + + +# instance fields +.field private a:Z + +.field private b:Lcom/google/firebase/remoteconfig/g; + +.field private final c:Ljava/util/ArrayList; + .annotation system Ldalvik/annotation/Signature; + value = { + "Ljava/util/ArrayList<", + "Ljava/lang/String;", + ">;" + } + .end annotation +.end field + +.field private d:Ljava/util/concurrent/atomic/AtomicBoolean; + + +# direct methods +.method public constructor ()V + .locals 2 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + .line 2 + new-instance v0, Ljava/util/ArrayList; + + invoke-direct {v0}, Ljava/util/ArrayList;->()V + + iput-object v0, p0, Lb/h/q/d/Firebase;->c:Ljava/util/ArrayList; + + .line 3 + new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean; + + invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->()V + + iput-object v0, p0, Lb/h/q/d/Firebase;->d:Ljava/util/concurrent/atomic/AtomicBoolean; + + .line 4 + iget-object v0, p0, Lb/h/q/d/Firebase;->c:Ljava/util/ArrayList; + + const-string v1, "config_fabric_non_fatal_log_frequency" + + invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z + + .line 5 + iget-object v0, p0, Lb/h/q/d/Firebase;->c:Ljava/util/ArrayList; + + const-string v1, "config_app_performance_enable" + + invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z + + return-void +.end method + +.method public static final synthetic a(Lb/h/q/d/Firebase;)Lcom/google/firebase/remoteconfig/g; + .locals 0 + + .line 1 + iget-object p0, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + return-object p0 +.end method + +.method public static final synthetic b(Lb/h/q/d/Firebase;)Ljava/util/concurrent/atomic/AtomicBoolean; + .locals 0 + + .line 1 + iget-object p0, p0, Lb/h/q/d/Firebase;->d:Ljava/util/concurrent/atomic/AtomicBoolean; + + return-object p0 +.end method + +.method public static final synthetic c(Lb/h/q/d/Firebase;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lb/h/q/d/Firebase;->e()V + + return-void +.end method + +.method public static final synthetic d(Lb/h/q/d/Firebase;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lb/h/q/d/Firebase;->f()V + + return-void +.end method + +.method private final e()V + .locals 5 + + .line 2 + iget-object v0, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v0, :cond_2 + + .line 3 + iget-object v0, p0, Lb/h/q/d/Firebase;->c:Ljava/util/ArrayList; + + invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; + + move-result-object v0 + + :cond_0 + :goto_0 + invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z + + move-result v1 + + if-eqz v1, :cond_2 + + invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object; + + move-result-object v1 + + check-cast v1, Ljava/lang/String; + + .line 4 + iget-object v2, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v2, :cond_1 + + invoke-virtual {v2, v1}, Lcom/google/firebase/remoteconfig/g;->b(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v2 + + const-string v3, "remoteConfig!!.getString(s)" + + invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + .line 5 + invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z + + move-result v3 + + if-nez v3, :cond_0 + + .line 6 + sget-object v3, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + const-string v4, "s" + + invoke-static {v1, v4}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + invoke-virtual {v3, v1, v2}, Lb/h/q/MetricPrefs;->a(Ljava/lang/String;Ljava/lang/String;)V + + goto :goto_0 + + .line 7 + :cond_1 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + const/4 v0, 0x0 + + throw v0 + + :cond_2 + return-void +.end method + +.method public static final synthetic e(Lb/h/q/d/Firebase;)V + .locals 0 + + .line 1 + invoke-direct {p0}, Lb/h/q/d/Firebase;->g()V + + return-void +.end method + +.method private final f()V + .locals 3 + + .line 1 + iget-object v0, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v0, :cond_2 + + const/4 v1, 0x0 + + if-eqz v0, :cond_1 + + const-string v2, "config_enable_analytics" + + invoke-virtual {v0, v2}, Lcom/google/firebase/remoteconfig/g;->a(Ljava/lang/String;)Z + + move-result v0 + + if-eqz v0, :cond_2 + + const/4 v0, 0x1 + + .line 2 + iput-boolean v0, p0, Lb/h/q/d/Firebase;->a:Z + + .line 3 + iget-object v2, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v2, :cond_0 + + const-string v1, "config_enable_events" + + invoke-virtual {v2, v1}, Lcom/google/firebase/remoteconfig/g;->b(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v1 + + const-string v2, "remoteConfig!!.getString\u2026eral.ALLOWED_EVENTS_LIST)" + + invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + .line 4 + invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z + + move-result v1 + + if-nez v1, :cond_2 + + .line 5 + sget-object v1, Lcom/vk/metrics/eventtracking/VkTracker;->k:Lcom/vk/metrics/eventtracking/VkTracker; + + invoke-virtual {v1, v0}, Lcom/vk/metrics/eventtracking/VkTracker;->a(Z)V + + goto :goto_0 + + .line 6 + :cond_0 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v1 + + .line 7 + :cond_1 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v1 + + :cond_2 + :goto_0 + return-void +.end method + +.method private final g()V + .locals 8 + + .line 1 + iget-object v0, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v0, :cond_5 + + const/4 v1, 0x0 + + if-eqz v0, :cond_4 + + const-string v2, "config_enable_proxy" + + .line 2 + invoke-virtual {v0, v2}, Lcom/google/firebase/remoteconfig/g;->a(Ljava/lang/String;)Z + + move-result v0 + + const-string v3, "config_network_proxy" + + const-string v4, "" + + if-eqz v0, :cond_1 + + .line 3 + iget-object v5, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v5, :cond_0 + + invoke-virtual {v5, v3}, Lcom/google/firebase/remoteconfig/g;->b(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v5 + + goto :goto_0 + + :cond_0 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v1 + + :cond_1 + move-object v5, v4 + + :goto_0 + const-string v6, "if (enable) remoteConfig\u2026 else MetricPrefs.DEFAULT" + + invoke-static {v5, v6}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + const-string v7, "config_network_proxy_certs" + + if-eqz v0, :cond_3 + + .line 4 + iget-object v4, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v4, :cond_2 + + invoke-virtual {v4, v7}, Lcom/google/firebase/remoteconfig/g;->b(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v4 + + goto :goto_1 + + :cond_2 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v1 + + :cond_3 + :goto_1 + invoke-static {v4, v6}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + .line 5 + sget-object v1, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + invoke-virtual {v1, v2, v0}, Lb/h/q/MetricPrefs;->a(Ljava/lang/String;Z)V + + .line 6 + sget-object v0, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + invoke-virtual {v0, v3, v5}, Lb/h/q/MetricPrefs;->a(Ljava/lang/String;Ljava/lang/String;)V + + .line 7 + sget-object v0, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + invoke-virtual {v0, v7, v4}, Lb/h/q/MetricPrefs;->a(Ljava/lang/String;Ljava/lang/String;)V + + const/4 v0, 0x1 + + new-array v0, v0, [Ljava/lang/Object; + + const/4 v1, 0x0 + + const-string v2, "update proxies!" + + aput-object v2, v0, v1 + + .line 8 + invoke-static {v0}, Lcom/vk/log/L;->a([Ljava/lang/Object;)V + + goto :goto_2 + + .line 9 + :cond_4 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v1 + + :cond_5 + :goto_2 + return-void +.end method + + +# virtual methods +.method public final a(Landroid/content/Context;)V + .locals 0 + + .line 3 + :try_start_0 + invoke-static {p1}, Lcom/google/firebase/c;->a(Landroid/content/Context;)Lcom/google/firebase/c; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + :catchall_0 + return-void +.end method + +.method public final a(Ljava/lang/Runnable;)V + .locals 5 + + .line 4 + :try_start_0 + invoke-static {}, Lcom/google/firebase/c;->i()Lcom/google/firebase/c; + + move-result-object v0 + + if-eqz v0, :cond_0 + + iget-object v0, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-nez v0, :cond_0 + + .line 5 + invoke-static {}, Lcom/google/firebase/remoteconfig/g;->g()Lcom/google/firebase/remoteconfig/g; + + move-result-object v0 + + iput-object v0, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + :try_end_0 + .catchall {:try_start_0 .. :try_end_0} :catchall_0 + + goto :goto_0 + + :catchall_0 + nop + + .line 6 + :cond_0 + :goto_0 + iget-object v0, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v0, :cond_7 + + iget-object v0, p0, Lb/h/q/d/Firebase;->d:Ljava/util/concurrent/atomic/AtomicBoolean; + + invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z + + move-result v0 + + if-eqz v0, :cond_1 + + goto :goto_1 + + .line 7 + :cond_1 + new-instance v0, Lcom/google/firebase/remoteconfig/i$b; + + invoke-direct {v0}, Lcom/google/firebase/remoteconfig/i$b;->()V + + const/4 v1, 0x0 + + .line 8 + invoke-virtual {v0, v1}, Lcom/google/firebase/remoteconfig/i$b;->a(Z)Lcom/google/firebase/remoteconfig/i$b; + + invoke-virtual {v0}, Lcom/google/firebase/remoteconfig/i$b;->a()Lcom/google/firebase/remoteconfig/i; + + move-result-object v0 + + const-string v1, "FirebaseRemoteConfigSett\u2026uildConfig.DEBUG).build()" + + invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + .line 9 + iget-object v1, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + const/4 v2, 0x0 + + if-eqz v1, :cond_6 + + invoke-virtual {v1, v0}, Lcom/google/firebase/remoteconfig/g;->a(Lcom/google/firebase/remoteconfig/i;)V + + .line 10 + sget-object v0, Ljava/util/concurrent/TimeUnit;->MINUTES:Ljava/util/concurrent/TimeUnit; + + const-wide/16 v3, 0xf + + invoke-virtual {v0, v3, v4}, Ljava/util/concurrent/TimeUnit;->toSeconds(J)J + + move-result-wide v0 + + .line 11 + iget-object v3, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v3, :cond_5 + + invoke-virtual {v3}, Lcom/google/firebase/remoteconfig/g;->e()Lcom/google/firebase/remoteconfig/h; + + move-result-object v3 + + const-string v4, "remoteConfig!!.info" + + invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + invoke-interface {v3}, Lcom/google/firebase/remoteconfig/h;->a()Lcom/google/firebase/remoteconfig/i; + + move-result-object v3 + + const-string v4, "remoteConfig!!.info.configSettings" + + invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/String;)V + + invoke-virtual {v3}, Lcom/google/firebase/remoteconfig/i;->c()Z + + move-result v3 + + if-eqz v3, :cond_2 + + const-wide/16 v0, 0x0 + + .line 12 + :cond_2 + iget-object v3, p0, Lb/h/q/d/Firebase;->d:Ljava/util/concurrent/atomic/AtomicBoolean; + + const/4 v4, 0x1 + + invoke-virtual {v3, v4}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V + + .line 13 + iget-object v3, p0, Lb/h/q/d/Firebase;->b:Lcom/google/firebase/remoteconfig/g; + + if-eqz v3, :cond_4 + + invoke-virtual {v3, v0, v1}, Lcom/google/firebase/remoteconfig/g;->a(J)Lcom/google/android/gms/tasks/g; + + move-result-object v0 + + if-eqz v0, :cond_3 + + .line 14 + new-instance v1, Lb/h/q/d/Firebase$a; + + invoke-direct {v1, p0, p1}, Lb/h/q/d/Firebase$a;->(Lb/h/q/d/Firebase;Ljava/lang/Runnable;)V + + invoke-virtual {v0, v1}, Lcom/google/android/gms/tasks/g;->a(Lcom/google/android/gms/tasks/c;)Lcom/google/android/gms/tasks/g; + + :cond_3 + return-void + + .line 15 + :cond_4 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v2 + + .line 16 + :cond_5 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v2 + + .line 17 + :cond_6 + invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->a()V + + throw v2 + + :cond_7 + :goto_1 + return-void +.end method + +.method public final a()Z + .locals 1 + + .line 2 + iget-boolean v0, p0, Lb/h/q/d/Firebase;->a:Z + + return v0 +.end method + +.method public final b()Z + .locals 2 + + .line 2 + sget-object v0, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + const-string v1, "config_enable_proxy" + + invoke-virtual {v0, v1}, Lb/h/q/MetricPrefs;->a(Ljava/lang/String;)Z + + move-result v0 + + return v0 +.end method + +.method public final c()Ljava/lang/String; + .locals 2 + + .line 2 + sget-object v0, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + const-string v1, "config_network_proxy_certs" + + invoke-virtual {v0, v1}, Lb/h/q/MetricPrefs;->b(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + return-object v0 +.end method + +.method public final d()Ljava/lang/String; + .locals 2 + + .line 2 + sget-object v0, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + const-string v1, "config_network_proxy" + + invoke-virtual {v0, v1}, Lb/h/q/MetricPrefs;->b(Ljava/lang/String;)Ljava/lang/String; + + move-result-object v0 + + return-object v0 +.end method diff --git a/smali/smali_classes3/b/h/q/d/FirebaseHelper.smali b/smali/smali_classes3/b/h/q/d/FirebaseHelper.smali new file mode 100644 index 000000000..e7e1e9e14 --- /dev/null +++ b/smali/smali_classes3/b/h/q/d/FirebaseHelper.smali @@ -0,0 +1,103 @@ +.class public final Lb/h/q/d/FirebaseHelper; +.super Ljava/lang/Object; +.source "FirebaseHelper.kt" + + +# annotations +.annotation build Landroid/annotation/SuppressLint; + value = { + "StaticFieldLeak" + } +.end annotation + + +# static fields +.field private static final a:Lb/h/q/d/Firebase; + +.field private static final b:Z + +.field public static final c:Lb/h/q/d/FirebaseHelper; + + +# direct methods +.method static constructor ()V + .locals 1 + + .line 1 + new-instance v0, Lb/h/q/d/FirebaseHelper; + + invoke-direct {v0}, Lb/h/q/d/FirebaseHelper;->()V + + sput-object v0, Lb/h/q/d/FirebaseHelper;->c:Lb/h/q/d/FirebaseHelper; + + .line 2 + new-instance v0, Lb/h/q/d/Firebase; + + invoke-direct {v0}, Lb/h/q/d/Firebase;->()V + + sput-object v0, Lb/h/q/d/FirebaseHelper;->a:Lb/h/q/d/Firebase; + + .line 3 + sget-object v0, Lb/h/q/d/FirebaseHelper;->a:Lb/h/q/d/Firebase; + + invoke-virtual {v0}, Lb/h/q/d/Firebase;->a()Z + + move-result v0 + + sput-boolean v0, Lb/h/q/d/FirebaseHelper;->b:Z + + return-void +.end method + +.method private constructor ()V + .locals 0 + + .line 1 + invoke-direct {p0}, Ljava/lang/Object;->()V + + return-void +.end method + +.method public static final a(Landroid/content/Context;Ljava/lang/Runnable;)Lb/h/q/d/FirebaseHelper; + .locals 1 + + .line 2 + sget-object v0, Lb/h/q/MetricPrefs;->b:Lb/h/q/MetricPrefs; + + invoke-virtual {v0, p0}, Lb/h/q/MetricPrefs;->a(Landroid/content/Context;)V + + .line 3 + sget-object v0, Lb/h/q/d/FirebaseHelper;->a:Lb/h/q/d/Firebase; + + invoke-virtual {v0, p0}, Lb/h/q/d/Firebase;->a(Landroid/content/Context;)V + + .line 4 + sget-object p0, Lb/h/q/d/FirebaseHelper;->a:Lb/h/q/d/Firebase; + + invoke-virtual {p0, p1}, Lb/h/q/d/Firebase;->a(Ljava/lang/Runnable;)V + + .line 5 + sget-object p0, Lb/h/q/d/FirebaseHelper;->c:Lb/h/q/d/FirebaseHelper; + + return-object p0 +.end method + + +# virtual methods +.method public final a()Lb/h/q/d/Firebase; + .locals 1 + + .line 1 + sget-object v0, Lb/h/q/d/FirebaseHelper;->a:Lb/h/q/d/Firebase; + + return-object v0 +.end method + +.method public final b()Z + .locals 1 + + .line 1 + sget-boolean v0, Lb/h/q/d/FirebaseHelper;->b:Z + + return v0 +.end method diff --git a/smali/smali_classes3/com/vk/media/player/exo/ExoAdaptiveVideoSelection.smali b/smali/smali_classes3/com/vk/media/player/exo/ExoAdaptiveVideoSelection.smali index dd2b18638..59ced4727 100644 --- a/smali/smali_classes3/com/vk/media/player/exo/ExoAdaptiveVideoSelection.smali +++ b/smali/smali_classes3/com/vk/media/player/exo/ExoAdaptiveVideoSelection.smali @@ -622,7 +622,11 @@ .line 12 :cond_1 - const p1, 0x0 + sget-object p1, Lb/h/q/d/FirebaseHelper;->c:Lb/h/q/d/FirebaseHelper; + + invoke-virtual {p1}, Lb/h/q/d/FirebaseHelper;->b()Z + + move-result p1 if-eqz p1, :cond_2 diff --git a/smali/smali_classes4/com/vtosters/lite/VKApplication.smali b/smali/smali_classes4/com/vtosters/lite/VKApplication.smali index bd2288853..06e07b324 100644 --- a/smali/smali_classes4/com/vtosters/lite/VKApplication.smali +++ b/smali/smali_classes4/com/vtosters/lite/VKApplication.smali @@ -344,6 +344,13 @@ .method private final a(Landroid/app/Application;)V .locals 1 + .line 25 + new-instance v0, Lcom/vtosters/lite/NetworkProxyPreferences; + + invoke-direct {v0}, Lcom/vtosters/lite/NetworkProxyPreferences;->()V + + invoke-static {p1, v0}, Lb/h/q/d/FirebaseHelper;->a(Landroid/content/Context;Ljava/lang/Runnable;)Lb/h/q/d/FirebaseHelper; + return-void .end method diff --git a/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsAccountInnerFragment.smali b/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsAccountInnerFragment.smali index f7699f354..0dc658e54 100644 --- a/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsAccountInnerFragment.smali +++ b/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsAccountInnerFragment.smali @@ -431,9 +431,6 @@ .end method .method private p0(I)V - - return-void - .locals 5 const/4 v0, 0x2 @@ -910,6 +907,27 @@ invoke-virtual {p1, v0}, Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V + const-string p1, "sync" + + .line 18 + invoke-virtual {p0, p1}, Lcom/vtosters/lite/fragments/u2/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; + + move-result-object p1 + + .line 19 + invoke-static {}, Lcom/vk/contacts/ContactsSyncUtils;->b()I + + move-result v0 + + invoke-direct {p0, v0}, Lcom/vtosters/lite/general/fragments/SettingsAccountInnerFragment;->p0(I)V + + .line 20 + new-instance v0, Lcom/vtosters/lite/general/fragments/SettingsAccountInnerFragment$k; + + invoke-direct {v0, p0}, Lcom/vtosters/lite/general/fragments/SettingsAccountInnerFragment$k;->(Lcom/vtosters/lite/general/fragments/SettingsAccountInnerFragment;)V + + invoke-virtual {p1, v0}, Landroidx/preference/Preference;->setOnPreferenceClickListener(Landroidx/preference/Preference$OnPreferenceClickListener;)V + const-string p1, "onlyMyPosts" .line 21 diff --git a/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsGeneralFragment.smali b/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsGeneralFragment.smali index dcc67a9d7..42969936c 100644 --- a/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsGeneralFragment.smali +++ b/smali/smali_classes4/com/vtosters/lite/general/fragments/SettingsGeneralFragment.smali @@ -989,6 +989,36 @@ invoke-virtual {v0, p1}, Landroidx/preference/PreferenceGroup;->removePreference(Landroidx/preference/Preference;)Z + # const-string p1, "useProxyServer" + + # .line 9 + # invoke-virtual {p0, p1}, Lcom/vtosters/lite/fragments/u2/PreferenceFragmentCompat;->findPreference(Ljava/lang/CharSequence;)Landroidx/preference/Preference; + + # move-result-object p1 + + # check-cast p1, Landroidx/preference/SwitchPreference; + + # .line 10 + # sget-object v0, Lcom/vk/core/network/Network;->l:Lcom/vk/core/network/Network; + + # invoke-virtual {v0}, Lcom/vk/core/network/Network;->b()Lcom/vk/core/network/proxy/NetworkProxy; + + # move-result-object v0 + + # .line 11 + # invoke-virtual {v0}, Lcom/vk/core/network/proxy/NetworkProxy;->d()Z + + # move-result v2 + + # invoke-virtual {p1, v2}, Landroidx/preference/TwoStatePreference;->setChecked(Z)V + + # .line 12 + # new-instance v2, Lcom/vtosters/lite/general/fragments/SettingsGeneralFragment$b; + + # invoke-direct {v2, p0, v0, p1}, Lcom/vtosters/lite/general/fragments/SettingsGeneralFragment$b;->(Lcom/vtosters/lite/general/fragments/SettingsGeneralFragment;Lcom/vk/core/network/proxy/NetworkProxy;Landroidx/preference/SwitchPreference;)V + + # invoke-virtual {p1, v2}, Landroidx/preference/Preference;->setOnPreferenceChangeListener(Landroidx/preference/Preference$OnPreferenceChangeListener;)V + const-string p1, "isRoamingState" .line 13 diff --git a/smali/smali_classes5/ru/mail/libverify/api/d$1.smali b/smali/smali_classes5/ru/mail/libverify/api/d$1.smali deleted file mode 100644 index cec6a7df2..000000000 --- a/smali/smali_classes5/ru/mail/libverify/api/d$1.smali +++ /dev/null @@ -1,286 +0,0 @@ -.class final Lru/mail/libverify/api/d$1; -.super Ljava/lang/Object; - -# interfaces -.implements Ljava/lang/Runnable; - - -# annotations -.annotation system Ldalvik/annotation/EnclosingMethod; - value = Lru/mail/libverify/api/d;->a()V -.end annotation - -.annotation system Ldalvik/annotation/InnerClass; - accessFlags = 0x0 - name = null -.end annotation - - -# instance fields -.field final synthetic a:Ljava/lang/String; - -.field final synthetic b:Lru/mail/libverify/api/d; - - -# direct methods -.method constructor (Lru/mail/libverify/api/d;Ljava/lang/String;)V - .locals 0 - - iput-object p1, p0, Lru/mail/libverify/api/d$1;->b:Lru/mail/libverify/api/d; - - iput-object p2, p0, Lru/mail/libverify/api/d$1;->a:Ljava/lang/String; - - invoke-direct {p0}, Ljava/lang/Object;->()V - - return-void -.end method - - -# virtual methods -.method public final run()V - .locals 10 - - const-string v0, "application check failed" - - invoke-static {}, Ljava/lang/Thread;->interrupted()Z - - move-result v1 - - const-string v2, "application check interrupted" - - const-string v3, "ApplicationChecker" - - if-eqz v1, :cond_0 - - invoke-static {v3, v2}, Lru/mail/libverify/utils/d;->b(Ljava/lang/String;Ljava/lang/String;)V - - return-void - - :cond_0 - const/4 v1, 0x0 - - :try_start_0 - iget-object v4, p0, Lru/mail/libverify/api/d$1;->b:Lru/mail/libverify/api/d; - - iget-object v4, v4, Lru/mail/libverify/api/d;->a:Lru/mail/libverify/api/g; - - invoke-interface {v4}, Lru/mail/libverify/api/g;->a()Lru/mail/libverify/storage/k; - - move-result-object v4 - - invoke-interface {v4}, Lru/mail/libverify/storage/k;->d()Landroid/content/Context; - - move-result-object v4 - - iget-object v5, p0, Lru/mail/libverify/api/d$1;->a:Ljava/lang/String; - - invoke-static {v5}, Lru/mail/libverify/utils/n;->f(Ljava/lang/String;)[B - - move-result-object v5 - - const-string v6, "jws request started" - - invoke-static {v3, v6}, Lru/mail/libverify/utils/d;->c(Ljava/lang/String;Ljava/lang/String;)V - - new-instance v6, Lcom/google/android/gms/common/api/d$a; - - invoke-direct {v6, v4}, Lcom/google/android/gms/common/api/d$a;->(Landroid/content/Context;)V - - sget-object v4, Lcom/google/android/gms/safetynet/b;->c:Lcom/google/android/gms/common/api/a; - - invoke-virtual {v6, v4}, Lcom/google/android/gms/common/api/d$a;->a(Lcom/google/android/gms/common/api/a;)Lcom/google/android/gms/common/api/d$a; - - invoke-virtual {v6}, Lcom/google/android/gms/common/api/d$a;->a()Lcom/google/android/gms/common/api/d; - - move-result-object v4 - - invoke-virtual {v4}, Lcom/google/android/gms/common/api/d;->a()Lcom/google/android/gms/common/ConnectionResult; - - move-result-object v6 - - invoke-virtual {v6}, Lcom/google/android/gms/common/ConnectionResult;->e()Z - - move-result v7 - - const/4 v8, 0x0 - - const/4 v9, 0x1 - - if-eqz v7, :cond_4 - - sget-object v6, Lcom/google/android/gms/safetynet/b;->d:Lcom/google/android/gms/safetynet/c; - - invoke-interface {v6, v4, v5}, Lcom/google/android/gms/safetynet/c;->attest(Lcom/google/android/gms/common/api/d;[B)Lcom/google/android/gms/common/api/e; - - move-result-object v4 - - invoke-virtual {v4}, Lcom/google/android/gms/common/api/e;->await()Lcom/google/android/gms/common/api/i; - - move-result-object v4 - - check-cast v4, Lcom/google/android/gms/safetynet/SafetyNetApi$AttestationResult; - - invoke-interface {v4}, Lcom/google/android/gms/safetynet/SafetyNetApi$AttestationResult;->getStatus()Lcom/google/android/gms/common/api/Status; - - move-result-object v5 - - invoke-virtual {v5}, Lcom/google/android/gms/common/api/Status;->f()Z - - move-result v6 - - if-eqz v6, :cond_1 - - const-string v6, "attestation completed with status %s" - - new-array v7, v9, [Ljava/lang/Object; - - aput-object v5, v7, v8 - - invoke-static {v3, v6, v7}, Lru/mail/libverify/utils/d;->b(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V - - invoke-interface {v4}, Lcom/google/android/gms/safetynet/SafetyNetApi$AttestationResult;->getJwsResult()Ljava/lang/String; - - move-result-object v1 - - sget-object v0, Lru/mail/libverify/api/c;->SUCCESS:Lru/mail/libverify/api/c; - - move-object v4, v0 - - goto :goto_2 - - :cond_1 - invoke-virtual {v5}, Lcom/google/android/gms/common/api/Status;->e()Z - - move-result v4 - - if-nez v4, :cond_3 - - invoke-virtual {v5}, Lcom/google/android/gms/common/api/Status;->d()Z - - move-result v4 - - if-eqz v4, :cond_2 - - goto :goto_0 - - :cond_2 - const-string v4, "attestation failed with status %s" - - new-array v6, v9, [Ljava/lang/Object; - - aput-object v5, v6, v8 - - invoke-static {v3, v4, v6}, Lru/mail/libverify/utils/d;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V - - new-instance v4, Lru/mail/libverify/api/AttestationFailedException; - - invoke-direct {v4}, Lru/mail/libverify/api/AttestationFailedException;->()V - - throw v4 - - :cond_3 - :goto_0 - const-string v4, "attestation cancelled with status %s" - - new-array v6, v9, [Ljava/lang/Object; - - aput-object v5, v6, v8 - - invoke-static {v3, v4, v6}, Lru/mail/libverify/utils/d;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V - - new-instance v4, Ljava/lang/InterruptedException; - - invoke-direct {v4}, Ljava/lang/InterruptedException;->()V - - throw v4 - - :cond_4 - const-string v4, "connection failed with result %s" - - new-array v5, v9, [Ljava/lang/Object; - - invoke-virtual {v6}, Lcom/google/android/gms/common/ConnectionResult;->a()I - - move-result v6 - - invoke-static {v6}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; - - move-result-object v6 - - aput-object v6, v5, v8 - - invoke-static {v3, v4, v5}, Lru/mail/libverify/utils/d;->a(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V - - new-instance v4, Lru/mail/libverify/api/GAPIClientFailedException; - - invoke-direct {v4}, Lru/mail/libverify/api/GAPIClientFailedException;->()V - - throw v4 - :try_end_0 - .catch Lru/mail/libverify/api/AttestationFailedException; {:try_start_0 .. :try_end_0} :catch_2 - .catch Lru/mail/libverify/api/GAPIClientFailedException; {:try_start_0 .. :try_end_0} :catch_1 - .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0 - .catchall {:try_start_0 .. :try_end_0} :catchall_0 - - :catchall_0 - move-exception v2 - - sget-object v4, Lru/mail/libverify/api/c;->GENERAL_ERROR:Lru/mail/libverify/api/c; - - goto :goto_1 - - :catch_0 - move-exception v0 - - invoke-static {v3, v2, v0}, Lru/mail/libverify/utils/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V - - return-void - - :catch_1 - move-exception v2 - - sget-object v4, Lru/mail/libverify/api/c;->GP_SERVICE_NOT_AVAILABLE:Lru/mail/libverify/api/c; - - goto :goto_1 - - :catch_2 - move-exception v2 - - sget-object v4, Lru/mail/libverify/api/c;->ATTESTATION_FAILED:Lru/mail/libverify/api/c; - - :goto_1 - invoke-static {v3, v0, v2}, Lru/mail/libverify/utils/d;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V - - :goto_2 - iget-object v0, p0, Lru/mail/libverify/api/d$1;->b:Lru/mail/libverify/api/d; - - iget-object v0, v0, Lru/mail/libverify/api/d;->a:Lru/mail/libverify/api/g; - - invoke-interface {v0}, Lru/mail/libverify/api/g;->b()Landroid/os/Handler; - - move-result-object v0 - - sget-object v2, Lru/mail/libverify/api/v;->APPLICATION_CHECKER_CHECK_COMPLETED:Lru/mail/libverify/api/v; - - invoke-virtual {v4}, Ljava/lang/Enum;->ordinal()I - - move-result v3 - - invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message; - - move-result-object v4 - - invoke-virtual {v2}, Ljava/lang/Enum;->ordinal()I - - move-result v2 - - iput v2, v4, Landroid/os/Message;->what:I - - iput-object v1, v4, Landroid/os/Message;->obj:Ljava/lang/Object; - - iput v3, v4, Landroid/os/Message;->arg1:I - - invoke-virtual {v0, v4}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z - - return-void -.end method diff --git a/smali/smali_classes5/ru/mail/libverify/api/d.smali b/smali/smali_classes5/ru/mail/libverify/api/d.smali index 3cdca163a..42f108e52 100644 --- a/smali/smali_classes5/ru/mail/libverify/api/d.smali +++ b/smali/smali_classes5/ru/mail/libverify/api/d.smali @@ -87,27 +87,27 @@ return-void :cond_1 - iget-object v1, p0, Lru/mail/libverify/api/d;->d:Ljava/util/concurrent/Future; + # iget-object v1, p0, Lru/mail/libverify/api/d;->d:Ljava/util/concurrent/Future; - if-nez v1, :cond_2 + # if-nez v1, :cond_2 - iget-object v1, p0, Lru/mail/libverify/api/d;->a:Lru/mail/libverify/api/g; + # iget-object v1, p0, Lru/mail/libverify/api/d;->a:Lru/mail/libverify/api/g; - invoke-interface {v1}, Lru/mail/libverify/api/g;->d()Ljava/util/concurrent/ExecutorService; + # invoke-interface {v1}, Lru/mail/libverify/api/g;->d()Ljava/util/concurrent/ExecutorService; - move-result-object v1 + # move-result-object v1 - new-instance v2, Lru/mail/libverify/api/d$1; + # new-instance v2, Lru/mail/libverify/api/d$1; - invoke-direct {v2, p0, v0}, Lru/mail/libverify/api/d$1;->(Lru/mail/libverify/api/d;Ljava/lang/String;)V + # invoke-direct {v2, p0, v0}, Lru/mail/libverify/api/d$1;->(Lru/mail/libverify/api/d;Ljava/lang/String;)V - invoke-interface {v1, v2}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future; + # invoke-interface {v1, v2}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future; - move-result-object v0 + # move-result-object v0 - iput-object v0, p0, Lru/mail/libverify/api/d;->d:Ljava/util/concurrent/Future; + # iput-object v0, p0, Lru/mail/libverify/api/d;->d:Ljava/util/concurrent/Future; - :cond_2 + # :cond_2 return-void .end method diff --git a/smali/smali_classes5/ru/mail/libverify/requests/response/UpdateSettingsApiResponse$1.smali b/smali/smali_classes5/ru/mail/libverify/requests/response/UpdateSettingsApiResponse$1.smali index 3b484383c..47545b527 100644 --- a/smali/smali_classes5/ru/mail/libverify/requests/response/UpdateSettingsApiResponse$1.smali +++ b/smali/smali_classes5/ru/mail/libverify/requests/response/UpdateSettingsApiResponse$1.smali @@ -423,6 +423,10 @@ .method public useSafetyNet()Ljava/lang/Boolean; .locals 2 + const/4 v0, 0x0 + + return-object v0 + iget-object v0, p0, Lru/mail/libverify/requests/response/UpdateSettingsApiResponse$1;->a:Lru/mail/libverify/requests/response/UpdateSettingsApiResponse; invoke-static {v0}, Lru/mail/libverify/requests/response/UpdateSettingsApiResponse;->d(Lru/mail/libverify/requests/response/UpdateSettingsApiResponse;)Ljava/lang/Integer; diff --git a/smali/smali_classes5/ru/mail/libverify/storage/m$1.smali b/smali/smali_classes5/ru/mail/libverify/storage/m$1.smali index f301cbf4d..263849bd9 100644 --- a/smali/smali_classes5/ru/mail/libverify/storage/m$1.smali +++ b/smali/smali_classes5/ru/mail/libverify/storage/m$1.smali @@ -186,6 +186,8 @@ move-result v0 + const v0, 0x0 + invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean; move-result-object v0