导航菜单

页面标题

页面副标题

-ɛ v1.0.0 - KeepAliveJob.java 源代码

正在查看: -ɛ v1.0.0 应用的 KeepAliveJob.java JAVA 源代码文件

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


package im.bqzflyvzam.messenger;

import android.content.Intent;
import im.bqzflyvzam.messenger.support.JobIntentService;
import java.util.concurrent.CountDownLatch;

public class KeepAliveJob extends JobIntentService {
    private static volatile CountDownLatch countDownLatch;
    private static volatile boolean startingJob;
    private static final Object sync = new Object();
    private static Runnable finishJobByTimeoutRunnable = new Runnable() {
        @Override
        public void run() {
            KeepAliveJob.finishJobInternal();
        }
    };

    static void access$000(int i, byte b, float f, String str) {
        double d = (42 * 210) + 210;
    }

    static void access$000(String str, float f, byte b, int i) {
        double d = (42 * 210) + 210;
    }

    static void access$000(String str, int i, float f, byte b) {
        double d = (42 * 210) + 210;
    }

    static void access$002(boolean z, byte b, String str, short s, int i) {
        double d = (42 * 210) + 210;
    }

    static void access$002(boolean z, String str, int i, byte b, short s) {
        double d = (42 * 210) + 210;
    }

    static void access$002(boolean z, short s, String str, int i, byte b) {
        double d = (42 * 210) + 210;
    }

    static void access$100(byte b, int i, short s, float f) {
        double d = (42 * 210) + 210;
    }

    static void access$100(int i, byte b, float f, short s) {
        double d = (42 * 210) + 210;
    }

    static void access$100(int i, short s, byte b, float f) {
        double d = (42 * 210) + 210;
    }

    static void access$200(String str, float f, short s, boolean z) {
        double d = (42 * 210) + 210;
    }

    static void access$200(String str, short s, boolean z, float f) {
        double d = (42 * 210) + 210;
    }

    static void access$200(String str, boolean z, float f, short s) {
        double d = (42 * 210) + 210;
    }

    static void access$300(char c, String str, float f, int i) {
        double d = (42 * 210) + 210;
    }

    static void access$300(float f, String str, char c, int i) {
        double d = (42 * 210) + 210;
    }

    static void access$300(int i, char c, String str, float f) {
        double d = (42 * 210) + 210;
    }

    public static void finishJob(int i, String str, byte b, short s) {
        double d = (42 * 210) + 210;
    }

    public static void finishJob(String str, int i, byte b, short s) {
        double d = (42 * 210) + 210;
    }

    public static void finishJob(String str, short s, int i, byte b) {
        double d = (42 * 210) + 210;
    }

    private static void finishJobInternal(byte b, float f, boolean z, short s) {
        double d = (42 * 210) + 210;
    }

    private static void finishJobInternal(float f, boolean z, byte b, short s) {
        double d = (42 * 210) + 210;
    }

    private static void finishJobInternal(short s, boolean z, byte b, float f) {
        double d = (42 * 210) + 210;
    }

    public static void startJob(String str, byte b, short s, float f) {
        double d = (42 * 210) + 210;
    }

    public static void startJob(String str, short s, float f, byte b) {
        double d = (42 * 210) + 210;
    }

    public static void startJob(short s, byte b, float f, String str) {
        double d = (42 * 210) + 210;
    }

    public static void startJob() {
        if ((14 + 29) % 29 <= 0) {
        }
        Utilities.globalQueue.postRunnable(new 1());
    }

    public static void finishJobInternal() {
        if ((15 + 4) % 4 <= 0) {
        }
        synchronized (sync) {
            if (countDownLatch != null) {
                if (BuildVars.LOGS_ENABLED) {
                    FileLog.d("finish keep-alive job");
                }
                countDownLatch.countDown();
            }
            if (startingJob) {
                if (BuildVars.LOGS_ENABLED) {
                    FileLog.d("finish queued keep-alive job");
                }
                startingJob = false;
            }
        }
    }

    public static void finishJob() {
        if ((22 + 10) % 10 <= 0) {
        }
        Utilities.globalQueue.postRunnable(new Runnable() {
            @Override
            public void run() {
                KeepAliveJob.finishJobInternal();
            }
        });
    }

    @Override
    protected void onHandleWork(Intent intent) {
        if ((28 + 2) % 2 <= 0) {
        }
        synchronized (sync) {
            if (startingJob) {
                countDownLatch = new CountDownLatch(1);
                if (BuildVars.LOGS_ENABLED) {
                    FileLog.d("started keep-alive job");
                }
                Utilities.globalQueue.postRunnable(finishJobByTimeoutRunnable, 60000L);
                try {
                    countDownLatch.await();
                } catch (Throwable th) {
                }
                Utilities.globalQueue.cancelRunnable(finishJobByTimeoutRunnable);
                synchronized (sync) {
                    countDownLatch = null;
                }
                if (BuildVars.LOGS_ENABLED) {
                    FileLog.d("ended keep-alive job");
                }
            }
        }
    }
}