正在查看: OVO v3.139.0 应用的 AFb1mSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OVO v3.139.0 应用的 AFb1mSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.annotation.VisibleForTesting;
import com.appsflyer.AFLogger;
import com.appsflyer.internal.AFe1dSDK;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Observable;
import java.util.Observer;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
public final class AFb1mSDK extends AFe1sSDK {
@VisibleForTesting
private static String AFVersionDeclaration = "https://%sdlsdk.%s/v1.0/android/";
public static long getLevel;
private final CountDownLatch AFLogger$LogLevel;
private final AFe1vSDK AppsFlyer2dXConversionCallback;
private final List<AFe1dSDK> afErrorLogForExcManagerOnly;
private final ExecutorService init;
private final AFe1aSDK onAppOpenAttributionNative;
private int onAttributionFailureNative;
private int onDeepLinkingNative;
private final AFd1fSDK onInstallConversionDataLoadedNative;
private final AFc1ySDK onInstallConversionFailureNative;
private boolean onResponseErrorNative;
private int onResponseNative;
public static class AnonymousClass4 {
static final int[] AFInAppEventParameterName;
static {
int[] iArr = new int[AFe1dSDK.AFa1zSDK.values().length];
AFInAppEventParameterName = iArr;
try {
iArr[AFe1dSDK.AFa1zSDK.FINISHED.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
AFInAppEventParameterName[AFe1dSDK.AFa1zSDK.STARTED.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
}
}
public AFb1mSDK(Context context, AFb1aSDK aFb1aSDK) {
super(null, AFVersionDeclaration, Boolean.FALSE, Boolean.TRUE, null, context);
this.afErrorLogForExcManagerOnly = new ArrayList();
this.AFLogger$LogLevel = new CountDownLatch(1);
this.AppsFlyer2dXConversionCallback = aFb1aSDK.AFLogger();
this.onInstallConversionFailureNative = aFb1aSDK.values();
this.onInstallConversionDataLoadedNative = aFb1aSDK.AFLogger$LogLevel();
this.onAppOpenAttributionNative = aFb1aSDK.AFVersionDeclaration();
this.init = aFb1aSDK.AFKeystoreWrapper();
}
@Nullable
private Map<String, Object> AFInAppEventParameterName(final AFa1rSDK aFa1rSDK) {
Boolean bool;
boolean z = false;
if (aFa1rSDK != null && aFa1rSDK.AFKeystoreWrapper != null && ((bool = aFa1rSDK.values) == null || !bool.booleanValue())) {
z = true;
}
if (z) {
return new HashMap<String, Object>() {
{
put("type", "unhashed");
put("value", AFa1rSDK.this.AFKeystoreWrapper);
}
};
}
return null;
}
private static boolean AFInAppEventType(AFe1dSDK aFe1dSDK) {
Long l = (Long) aFe1dSDK.AFKeystoreWrapper.get("click_ts");
return l != null && System.currentTimeMillis() - TimeUnit.SECONDS.toMillis(l.longValue()) < TimeUnit.DAYS.toMillis(1L);
}
public void AFKeystoreWrapper(AFe1dSDK aFe1dSDK) {
if (AFInAppEventType(aFe1dSDK)) {
this.afErrorLogForExcManagerOnly.add(aFe1dSDK);
this.AFLogger$LogLevel.countDown();
AFLogger.afDebugLog("[DDL] Added non-organic ".concat(aFe1dSDK.getClass().getSimpleName()));
} else {
int i = this.onAttributionFailureNative + 1;
this.onAttributionFailureNative = i;
if (i == this.onDeepLinkingNative) {
this.AFLogger$LogLevel.countDown();
}
}
}
public void AFLogger$LogLevel() {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFb1mSDK.AFLogger$LogLevel():void");
}
private boolean afWarnLog() {
List list = (List) this.AFInAppEventType.get("referrers");
return (list != null ? list.size() : 0) < this.onDeepLinkingNative && !this.AFInAppEventType.containsKey("referrers");
}
public final com.appsflyer.deeplink.DeepLinkResult afErrorLog() {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFb1mSDK.afErrorLog():com.appsflyer.deeplink.DeepLinkResult");
}
public static void AFInAppEventType(AFb1mSDK aFb1mSDK) {
ArrayList arrayList = new ArrayList();
for (AFe1dSDK aFe1dSDK : aFb1mSDK.onAppOpenAttributionNative.valueOf()) {
if (aFe1dSDK != null && aFe1dSDK.afErrorLog != AFe1dSDK.AFa1zSDK.NOT_STARTED) {
arrayList.add(aFe1dSDK);
}
}
aFb1mSDK.onDeepLinkingNative = arrayList.size();
Iterator it = arrayList.iterator();
while (it.hasNext()) {
final AFe1dSDK aFe1dSDK2 = (AFe1dSDK) it.next();
int i = AnonymousClass4.AFInAppEventParameterName[aFe1dSDK2.afErrorLog.ordinal()];
if (i == 1) {
StringBuilder sb = new StringBuilder("[DDL] ");
sb.append(aFe1dSDK2.AFKeystoreWrapper.get("source"));
sb.append(" referrer collected earlier");
AFLogger.afDebugLog(sb.toString());
aFb1mSDK.AFKeystoreWrapper(aFe1dSDK2);
} else if (i == 2) {
aFe1dSDK2.addObserver(new Observer() {
@Override
public final void update(Observable observable, Object obj) {
StringBuilder sb2 = new StringBuilder("[DDL] ");
sb2.append(aFe1dSDK2.AFKeystoreWrapper.get("source"));
sb2.append(" referrer collected via observer");
AFLogger.afDebugLog(sb2.toString());
AFb1mSDK.this.AFKeystoreWrapper((AFe1dSDK) observable);
}
});
}
}
}
@Override
public final AFc1fSDK AFKeystoreWrapper() {
return AFc1fSDK.DLSDK;
}
public static com.appsflyer.deeplink.DeepLinkResult AFInAppEventType(com.appsflyer.internal.AFb1mSDK r12, android.content.Context r13) throws java.io.IOException, org.json.JSONException, java.lang.InterruptedException {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFb1mSDK.AFInAppEventType(com.appsflyer.internal.AFb1mSDK, android.content.Context):com.appsflyer.deeplink.DeepLinkResult");
}
}