49 lines
1.2 KiB
Java
49 lines
1.2 KiB
Java
|
package com.huawei.hms.hatool;
|
||
|
|
||
|
import java.util.List;
|
||
|
import java.util.Map;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public class f implements g {
|
||
|
private byte[] a;
|
||
|
private String b;
|
||
|
private String c;
|
||
|
private String d;
|
||
|
private String e;
|
||
|
private List<b1> f;
|
||
|
|
||
|
@Override // java.lang.Runnable
|
||
|
public void run() {
|
||
|
v.c("hmsSdk", "send data running");
|
||
|
int b = a(a()).b();
|
||
|
if (b != 200) {
|
||
|
b();
|
||
|
return;
|
||
|
}
|
||
|
StringBuilder sb = new StringBuilder("events PostRequest sendevent TYPE : %s, TAG : %s, resultCode: %d ,reqID:");
|
||
|
sb.append(this.d);
|
||
|
v.b("hmsSdk", sb.toString(), this.e, this.c, Integer.valueOf(b));
|
||
|
}
|
||
|
|
||
|
private void b() {
|
||
|
b0.c().a(new d1(this.f, this.c, this.d, this.e));
|
||
|
}
|
||
|
|
||
|
private Map<String, String> a() {
|
||
|
return k.b(this.c, this.e, this.d);
|
||
|
}
|
||
|
|
||
|
private n0 a(Map<String, String> map) {
|
||
|
return w.a(this.b, this.a, map);
|
||
|
}
|
||
|
|
||
|
public f(byte[] bArr, String str, String str2, String str3, String str4, List<b1> list) {
|
||
|
this.a = (byte[]) bArr.clone();
|
||
|
this.b = str;
|
||
|
this.c = str2;
|
||
|
this.e = str3;
|
||
|
this.d = str4;
|
||
|
this.f = list;
|
||
|
}
|
||
|
}
|