导航菜单

页面标题

页面副标题

OVO v3.139.0 - xu6.java 源代码

正在查看: OVO v3.139.0 应用的 xu6.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package o.i;

import android.text.TextUtils;
import co.hyperverge.hypersnapsdk.b.f.d;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import o.i.az4;
import o.i.pxh;
import okhttp3.Cache;
import retrofit2.Response;

public final class xu6 {

    public static zu6 f6575b = new zu6();
    public static xu6 c;
    public static th6 d;
    public static Cache e;
    public boolean a = false;

    public class a implements pxh.a {
        @Override
        public final void a(ph6 ph6Var) {
            zu6 zu6Var = xu6.f6575b;
            ph6Var.getErrorMessage();
            djj e = djj.e();
            List<az4> singletonList = Collections.singletonList(new az4("camera2", false, Arrays.asList(new az4.b("huawei", true, new ArrayList(), new ArrayList(), new ArrayList()), new az4.b("infinix", true, new ArrayList(), new ArrayList(), new ArrayList()), new az4.b("tecno", true, new ArrayList(), new ArrayList(), new ArrayList()), new az4.b("motorola", true, Arrays.asList("xt2201-1", "motorola edge 30 pro", "xt-2201", "motorola edge 30 ultra", "pakf0002in"), new ArrayList(), new ArrayList()), new az4.b("comio", true, Collections.singletonList("comio x1"), new ArrayList(), new ArrayList()), new az4.b("lg", true, new ArrayList(), new ArrayList(), new ArrayList()), new az4.b("google", true, Arrays.asList("nexus", "pixel 6", "pixel 6 pro", "pixel 6a", "pixel 7", "gx7as", "gb62z", "g1azg", "pixel 7 pro"), new ArrayList(), new ArrayList()), new az4.b("xiaomi", true, Arrays.asList("poco x3", "2201123G", "2201122G", "M1903F11I", "2201123G", "2201123C", "22071212AG", "21121210C", "M2004J19C", "M2004J19G", "22081212C"), new ArrayList(), new ArrayList()), new az4.b("samsung", true, Arrays.asList("sm-a315f", "sm-a505f", "sm-e025f", "sm-a305f", "sm-a037f", "sm-a336e", "sm-m315f", "sm-a105f", "sm-a105g", "sm-a105m", "sm-m536b", "sm-m115f", "sm-a105fn"), new ArrayList(), new ArrayList()), new az4.b("oneplus", true, Arrays.asList("ac2001", "a5010", "iv2201", "ne2210", "ne2211", "ne2213", "ne2215", "ne2217", "cph2413", "pbh110", "a6010", "cph2487"), new ArrayList(), new ArrayList()), new az4.b("realme", true, Arrays.asList("rmx2202", "rmx3301"), new ArrayList(), new ArrayList()), new az4.b("vivo", true, Arrays.asList("v2047", "v2145", "v2117", "v1806", "v2230"), new ArrayList(), new ArrayList()), new az4.b("oppo", true, Collections.singletonList("CPH2001"), new ArrayList(), new ArrayList()), new az4.b("tcl", true, Collections.singletonList("v2117"), new ArrayList(), new ArrayList()))));
            ArrayList arrayList = new ArrayList();
            Objects.toString(singletonList);
            Objects.toString(arrayList);
            HashMap hashMap = new HashMap();
            for (az4 az4Var : singletonList) {
                az4Var.c();
                hashMap.put(az4Var.a(), az4Var);
            }
            Iterator it = arrayList.iterator();
            while (it.hasNext()) {
                az4 az4Var2 = (az4) it.next();
                az4Var2.c();
                hashMap.put(az4Var2.a(), az4Var2);
            }
            hashMap.toString();
            e.k = hashMap;
            djj.e().l = true;
        }

        @Override
        public final void onSuccess() {
            djj.e().l = true;
        }
    }

    public xu6() {
        d = new th6();
    }

    public static void a() {
        Cache cache = e;
        if (pxh.d == null) {
            pxh.d = new pxh(cache);
        }
        final pxh pxhVar = pxh.d;
        final a aVar = new a();
        pxhVar.getClass();
        djj.e().getClass();
        final String str = "https://s3.ap-south-1.amazonaws.com/hv-sdk-device-configs/hypersnap/android/" + String.format("%s.json", "3.8.1");
        if (pxhVar.c) {
            return;
        }
        pxhVar.a.submit(new Runnable() {
            @Override
            public final void run() {
                String str2 = str;
                pxh.a aVar2 = aVar;
                pxh pxhVar2 = pxh.this;
                pxhVar2.getClass();
                try {
                    pxhVar2.c = true;
                    d a2 = afh.a(pxhVar2.f4819b);
                    Response execute = a2.a("https://s3.ap-south-1.amazonaws.com/hv-sdk-device-configs/hypersnap/android/sdk.json").execute();
                    Response execute2 = a2.a(str2).execute();
                    if (execute.isSuccessful() && execute2.isSuccessful()) {
                        List<az4> a3 = ((bz4) execute.body()).a();
                        List<az4> a5 = ((bz4) execute2.body()).a();
                        Objects.toString(a3);
                        Objects.toString(a5);
                        HashMap hashMap = new HashMap();
                        for (az4 az4Var : a3) {
                            az4Var.c();
                            hashMap.put(az4Var.a(), az4Var);
                        }
                        for (az4 az4Var2 : a5) {
                            az4Var2.c();
                            hashMap.put(az4Var2.a(), az4Var2);
                        }
                        hashMap.toString();
                        djj.e().k = hashMap;
                        aVar2.onSuccess();
                    } else {
                        aVar2.a(new ph6(12, pxh.a(execute) + "\n" + pxh.a(execute2)));
                    }
                } catch (Exception e2) {
                    aVar2.a(new ph6(12, fvi.d(e2)));
                }
                pxhVar2.c = false;
            }
        });
    }

    public static void b() {
        if (d()) {
            mjj.d().remove(mjj.h());
            mjj.d().remove("transactionId");
            mjj.d().clear();
            mjj.d().commit();
            if (!djj.e().i() || djj.e().h == null) {
                return;
            }
            djj.e().h.b();
        }
    }

    public static xu6 c() {
        if (c == null) {
            c = new xu6();
        }
        return c;
    }

    public static boolean d() {
        if (c().a) {
            return !TextUtils.isEmpty(mjj.h());
        }
        return false;
    }
}