导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - C3058a.java 源代码

正在查看: Perplexity v2.48.1 应用的 C3058a.java JAVA 源代码文件

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


package db;

import android.net.Uri;
import android.os.Process;
import android.os.StrictMode;
import android.util.Log;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.HashMap;
import k8.C4768b;

public final class C3058a extends Thread {

    public final int f41162w = 0;

    public final Object f41163x;

    public C3058a(HashMap hashMap) {
        this.f41163x = hashMap;
    }

    @Override
    public final void run() {
        switch (this.f41162w) {
            case 0:
                Process.setThreadPriority(9);
                if (((ThreadFactoryC3059b) this.f41163x).f41165b) {
                    StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectNetwork().penaltyDeath().build());
                }
                try {
                    super.run();
                    return;
                } catch (Throwable th2) {
                    if (Log.isLoggable("GlideExecutor", 6)) {
                        Log.e("GlideExecutor", "Request threw uncaught throwable", th2);
                        return;
                    }
                    return;
                }
            case 1:
                do {
                    try {
                    } catch (InterruptedException e10) {
                        throw new IllegalStateException(e10);
                    }
                } while (((C4768b) this.f41163x).h());
                return;
            default:
                Uri.Builder buildUpon = Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
                HashMap hashMap = (HashMap) this.f41163x;
                for (String str : hashMap.keySet()) {
                    buildUpon.appendQueryParameter(str, (String) hashMap.get(str));
                }
                String uri = buildUpon.build().toString();
                try {
                    HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(uri).openConnection();
                    try {
                        int responseCode = httpURLConnection.getResponseCode();
                        if (responseCode < 200 || responseCode >= 300) {
                            Log.w("HttpUrlPinger", "Received non-success response code " + responseCode + " from pinging URL: " + uri);
                        }
                        httpURLConnection.disconnect();
                        return;
                    } catch (Throwable th3) {
                        httpURLConnection.disconnect();
                        throw th3;
                    }
                } catch (IOException e11) {
                    e = e11;
                    Log.w("HttpUrlPinger", O6.c.g("Error while pinging URL: ", uri, ". ", e.getMessage()), e);
                    return;
                } catch (IndexOutOfBoundsException e12) {
                    Log.w("HttpUrlPinger", O6.c.g("Error while parsing ping URL: ", uri, ". ", e12.getMessage()), e12);
                    return;
                } catch (RuntimeException e13) {
                    e = e13;
                    Log.w("HttpUrlPinger", O6.c.g("Error while pinging URL: ", uri, ". ", e.getMessage()), e);
                    return;
                } finally {
                }
        }
    }

    public C3058a(C4768b c4768b) {
        super("ExoPlayer:SimpleDecoder");
        this.f41163x = c4768b;
    }

    public C3058a(ThreadFactoryC3059b threadFactoryC3059b, Runnable runnable, String str) {
        super(runnable, str);
        this.f41163x = threadFactoryC3059b;
    }
}