what-the-bank/sources/com/huawei/hms/hatool/u0.java

65 lines
2.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.huawei.hms.hatool;
import android.os.Build;
import android.text.TextUtils;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes2.dex */
public class u0 {
/* JADX INFO: Access modifiers changed from: protected */
public static Map<String, String> c(String str, String str2) {
HashMap hashMap = new HashMap();
hashMap.put("App-Id", q0.f());
hashMap.put("App-Ver", q0.g());
hashMap.put("Sdk-Name", "hianalytics");
hashMap.put("Sdk-Ver", "2.2.0.314");
hashMap.put("Device-Type", Build.MODEL);
hashMap.put("servicetag", str);
v.a("hmsSdk", "sendData RequestId : %s", str2);
hashMap.put("Request-Id", str2);
return hashMap;
}
/* JADX INFO: Access modifiers changed from: protected */
public static h1 b(String str, String str2) {
v.c("hmsSdk", "generate UploadData EventModelHandlerBase");
m1.d().a(str, str2);
if (!TextUtils.isEmpty(m1.d().a())) {
return new h1(m1.d().c());
}
v.f("hmsSdk", "event chifer is empty");
return null;
}
/* JADX INFO: Access modifiers changed from: protected */
public static y0 a(String str, String str2, String str3) {
y0 y0Var = new y0();
y0Var.c(q0.j());
y0Var.e(q0.l());
y0Var.a(str3);
y0Var.b(j.a().b(str2, str));
return y0Var;
}
/* JADX INFO: Access modifiers changed from: protected */
public static l a(String str, String str2) {
l lVar = new l();
lVar.a(j.a().a(str, str2));
return lVar;
}
/* JADX INFO: Access modifiers changed from: protected */
public static f0 a(String str, String str2, String str3, String str4) {
f0 f0Var = new f0();
f0Var.a(str);
f0Var.b(q0.f());
f0Var.e(str2);
f0Var.c(str4);
StringBuffer stringBuffer = new StringBuffer("hmshi");
stringBuffer.append(str3).append("qrt");
f0Var.d(stringBuffer.toString());
return f0Var;
}
}