导航菜单

页面标题

页面副标题

北京退费客服端 v1.0.0 - KeepAliveJob.java 源代码

正在查看: 北京退费客服端 v1.0.0 应用的 KeepAliveJob.java JAVA 源代码文件

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


package im.amwhusedvt.messenger;

import android.content.Intent;
import im.amwhusedvt.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(float f, char c, int i, short s) {
        double d = (42 * 210) + 210;
    }

    static void access$000(short s, float f, char c, int i) {
        double d = (42 * 210) + 210;
    }

    static void access$000(short s, float f, int i, char c) {
        double d = (42 * 210) + 210;
    }

    static void access$002(boolean z, char c, int i, short s, boolean z2) {
        double d = (42 * 210) + 210;
    }

    static void access$002(boolean z, char c, boolean z2, int i, short s) {
        double d = (42 * 210) + 210;
    }

    static void access$002(boolean z, boolean z2, int i, char c, short s) {
        double d = (42 * 210) + 210;
    }

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

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

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

    static void access$200(byte b, String str, char c, short s) {
        double d = (42 * 210) + 210;
    }

    static void access$200(byte b, short s, char c, String str) {
        double d = (42 * 210) + 210;
    }

    static void access$200(String str, char c, short s, byte b) {
        double d = (42 * 210) + 210;
    }

    static void access$300(String str, float f, byte b, boolean z) {
        double d = (42 * 210) + 210;
    }

    static void access$300(String str, float f, boolean z, byte b) {
        double d = (42 * 210) + 210;
    }

    static void access$300(boolean z, byte b, float f, String str) {
        double d = (42 * 210) + 210;
    }

    public static void finishJob(char c, int i, boolean z, float f) {
        double d = (42 * 210) + 210;
    }

    public static void finishJob(float f, char c, int i, boolean z) {
        double d = (42 * 210) + 210;
    }

    public static void finishJob(boolean z, int i, char c, float f) {
        double d = (42 * 210) + 210;
    }

    private static void finishJobInternal(byte b, String str, short s, char c) {
        double d = (42 * 210) + 210;
    }

    private static void finishJobInternal(String str, short s, byte b, char c) {
        double d = (42 * 210) + 210;
    }

    private static void finishJobInternal(short s, String str, byte b, char c) {
        double d = (42 * 210) + 210;
    }

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

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

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

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

    public static void finishJobInternal() {
        if ((27 + 21) % 21 <= 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 ((19 + 30) % 30 <= 0) {
        }
        Utilities.globalQueue.postRunnable(new Runnable() {
            @Override
            public void run() {
                KeepAliveJob.finishJobInternal();
            }
        });
    }

    @Override
    protected void onHandleWork(Intent intent) {
        if ((8 + 19) % 19 <= 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");
                }
            }
        }
    }
}