This commit is contained in:
eric
2026-04-05 01:00:07 -05:00
parent b94c00fe56
commit 4bd5a33d3a
2607 changed files with 137903 additions and 92 deletions

View File

@@ -0,0 +1,62 @@
package p007;
import android.app.ActivityManager;
import android.content.Context;
import java.util.List;
import p004.C0016;
/* JADX INFO: renamed from: Ԯ.Ԩ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C0022 {
/* JADX INFO: renamed from: Ϳ, reason: contains not printable characters */
public static ActivityManager f20;
/* JADX INFO: renamed from: Ԩ, reason: contains not printable characters */
public static List<ActivityManager.RunningAppProcessInfo> f21;
/* JADX INFO: renamed from: ԩ, reason: contains not printable characters */
public static long f22;
/* JADX INFO: renamed from: Ϳ, reason: contains not printable characters */
public static String m19(Context context, int i, int i2) {
if (i2 != -1) {
String[] packagesForUid = new String[0];
try {
packagesForUid = context.getPackageManager().getPackagesForUid(i2);
} catch (Throwable th) {
th.printStackTrace();
}
if (packagesForUid != null && packagesForUid.length > 0) {
return packagesForUid[0];
}
}
String strM20 = m20(context, i, i2);
return (strM20 == null || !strM20.contains(C0016.m12(new byte[]{-92}, new byte[]{-98, -61, 48, -49, -14, -1, 90, -64}))) ? strM20 : strM20.split(C0016.m12(new byte[]{105}, new byte[]{83, -82, 9, -35, 57, 92, -15, 48}))[0];
}
/* JADX INFO: renamed from: Ԩ, reason: contains not printable characters */
public static String m20(Context context, int i, int i2) {
try {
if (f21 == null || System.currentTimeMillis() - f22 > 5000) {
if (f20 == null) {
f20 = (ActivityManager) context.getSystemService(C0016.m12(new byte[]{-65, 68, 52, 97, 82, 7, -80, 64}, new byte[]{-34, 39, 64, 8, 36, 110, -60, 57}));
}
f21 = f20.getRunningAppProcesses();
f22 = System.currentTimeMillis();
}
List<ActivityManager.RunningAppProcessInfo> list = f21;
if (list == null) {
return null;
}
for (ActivityManager.RunningAppProcessInfo runningAppProcessInfo : list) {
if (runningAppProcessInfo.pid == i || (i == -1 && runningAppProcessInfo.uid == i2)) {
return runningAppProcessInfo.processName;
}
}
return null;
} catch (Throwable unused) {
return null;
}
}
}