正在查看: Fancy Optimizer v4.6.3 应用的 gc.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 gc.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.inmobi.media;
import androidx.annotation.NonNull;
import androidx.annotation.VisibleForTesting;
import androidx.annotation.WorkerThread;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
@VisibleForTesting(otherwise = 3)
public final class gc extends hc {
private static final String d = "gc";
private static String e = "https://config.inmobi.com/config-server/v1/config/secure.cfg";
private static Map<String, String> u;
int a;
int b;
Map<String, fw> c;
public gc(Map<String, fw> map, jh jhVar, String str, int i, int i2, boolean z, @NonNull String str2) {
this(map, jhVar, str, i, i2, false, z, str2);
}
private String h() {
new fy();
try {
JSONArray jSONArray = new JSONArray();
for (Map.Entry<String, fw> entry : this.c.entrySet()) {
JSONObject jSONObject = new JSONObject();
jSONObject.put("n", entry.getKey());
jSONObject.put("t", entry.getValue().g() == null ? 0L : fy.c(entry.getKey(), entry.getValue().g()));
jSONArray.put(jSONObject);
}
return jSONArray.toString();
} catch (JSONException unused) {
return "";
}
}
@Override
@WorkerThread
public final void a() {
super.a();
this.h.put("p", h());
this.h.put("im-accid", this.s);
Map<String, String> map = u;
if (map != null) {
for (Map.Entry<String, String> entry : map.entrySet()) {
if (!this.f.containsKey(entry.getKey())) {
this.f.put(entry.getKey(), entry.getValue());
}
}
}
}
public final String b() {
return this.s;
}
public gc(Map<String, fw> map, jh jhVar, String str, int i, int i2, boolean z, boolean z2, @NonNull String str2) {
super("POST", ((map.get("root") != null) || str == null || str.trim().length() == 0) ? z ? "https://config.inmobi.com/config-server/v1/config/secure.cfg" : e : str, jhVar, z2, "application/x-www-form-urlencoded");
this.c = map;
this.a = i;
this.b = i2;
this.s = str2;
}
}