package c.t.m.g; /* compiled from: TML */ public class es { private String a; private fg b; public void a() { } public boolean a(byte[] bArr) { if (bArr != null) { try { if (bArr.length != 0) { byte[] a2 = fj.a(bArr, fj.a("m_log_key", ff.p)); if (a2 != null) { if (a2.length != 0) { if (ey.a) { String str = this.a; ey.a(str, "encData size:" + a2.length); } byte[] a3 = fc.a("https://analytics.map.qq.com/tr?mllc", a2); if (a3 == null) { if (ey.a) { ey.b(this.a, "upload buffer faild"); } this.b.a(a2); } else if (ey.a) { String str2 = this.a; ey.b(str2, "upload buffer result:" + new String(a3)); } return false; } } if (ey.a) { ey.a(this.a, "upload data enc is null"); } return true; } } catch (Throwable th) { if (ey.a) { ey.a(this.a, "upload exception", th); } return false; } } if (ey.a) { ey.a(this.a, "upload data is null"); } return true; } }