手机管家 v6.0.0版本的 MD5 值为:bf0bca2cb03f766137fe9ecf7383a634
以下内容为反编译后的 xx.java 源代码,内容仅作参考
package tcs;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.HandlerThread;
import android.os.Looper;
import android.text.TextUtils;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.Socket;
import tcs.uh;
import tmsdk.common.TMSDKContext;
public class xx {
protected static final String TAG = "SharkHelper";
public static boolean erx = false;
public static boolean ery = false;
private static Looper cmg = null;
private static Looper dbx = null;
private static boolean bDx = false;
private static String erz = null;
private static boolean erA = false;
private static boolean erB = false;
private static boolean erC = false;
private static aiz erD = null;
private static agm dsR = null;
public static Looper getLooper() {
if (cmg == null) {
synchronized (xx.class) {
if (cmg == null) {
HandlerThread mu = nf.DM().mu("Shark-Looper");
mu.start();
cmg = mu.getLooper();
}
}
}
return cmg;
}
public static Looper rv() {
if (dbx == null) {
synchronized (xx.class) {
if (dbx == null) {
HandlerThread mu = nf.DM().mu("Shark-Lite-Looper");
mu.start();
dbx = mu.getLooper();
}
}
}
return dbx;
}
public static boolean fi(String str) {
if (ae.by != tz.KA()) {
return false;
}
String str2 = null;
try {
str2 = uh.a(new uh.a() {
@Override
public void d(boolean z, boolean z2) {
}
});
} catch (qn e) {
}
return !TextUtils.isEmpty(str2);
}
public static boolean fj(String str) {
Socket socket;
boolean z = false;
System.currentTimeMillis();
Socket socket2 = null;
try {
InetSocketAddress inetSocketAddress = new InetSocketAddress(InetAddress.getByName("www.qq.com"), 80);
socket = new Socket();
try {
socket.setSoLinger(false, 0);
socket.connect(inetSocketAddress, 5000);
z = true;
if (socket != null) {
try {
if (socket.isConnected()) {
socket.close();
}
} catch (Throwable th) {
th.printStackTrace();
}
}
} catch (IOException e) {
if (socket != null) {
try {
if (socket.isConnected()) {
socket.close();
}
} catch (Throwable th2) {
th2.printStackTrace();
}
}
return z;
} catch (Throwable th3) {
th = th3;
socket2 = socket;
if (socket2 != null) {
try {
if (socket2.isConnected()) {
socket2.close();
}
} catch (Throwable th4) {
th4.printStackTrace();
}
}
throw th;
}
} catch (IOException e2) {
socket = null;
} catch (Throwable th5) {
th = th5;
}
return z;
}
public static boolean P(byte[] bArr) {
return bArr != null && bArr.length == 1;
}
public static boolean Q(byte[] bArr) {
return bArr != null && bArr.length == 1;
}
public static boolean dI(int i) {
return i == 152 || i == 1;
}
public static boolean hg(int i) {
return i == 997 || i == 999;
}
public static void u(boolean z) {
bDx = z;
}
public static boolean ls() {
return bDx;
}
public static void gV(String str) {
erz = str;
}
public static String zF() {
return erz;
}
public static void ay(boolean z) {
erA = z;
}
public static boolean nJ() {
return erA;
}
public static void az(boolean z) {
erB = z;
}
public static boolean pH() {
return erB;
}
public static void aA(boolean z) {
erC = z;
}
public static boolean zG() {
return erC;
}
public static void a(aiz aizVar) {
erD = aizVar;
}
public static aiz zH() {
if (erD == null) {
synchronized (aja.class) {
erD = new aja(RQ());
}
}
return erD;
}
private static long RQ() {
int i = 1;
if (1 != TMSDKContext.processType()) {
i = 2 == TMSDKContext.processType() ? 2 : 3;
}
return tmsdk.common.g.b(i, 4294967296L);
}
public static void c(agm agmVar) {
dsR = agmVar;
}
public static agm zI() {
return dsR;
}
public static void b(Context context, int i, Bundle bundle) {
try {
Intent intent = new Intent(String.format("action.d.a:%s", context.getPackageName()));
intent.setPackage(context.getPackageName());
intent.putExtra("k.sa", i);
if (bundle != null) {
intent.putExtras(bundle);
}
context.sendBroadcast(intent);
} catch (Throwable th) {
}
}
}