il$a.java
1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import com.google.android.gms.common.internal.zzac;
import com.google.android.gms.internal.zzsp;
import com.google.android.gms.internal.zzsz;
import com.google.android.gms.internal.zztd;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
final class il$a
{
int a;
ByteArrayOutputStream b = new ByteArrayOutputStream();
public il$a(il paramil) {}
public final boolean a(zzsz paramzzsz)
{
zzac.zzw(paramzzsz);
if (this.a + 1 > this.c.zznT().zzph()) {
return false;
}
Object localObject = this.c.a(paramzzsz, false);
if (localObject == null)
{
this.c.zznS().zza(paramzzsz, "Error formatting hit");
return true;
}
localObject = ((String)localObject).getBytes();
int j = localObject.length;
if (j > this.c.zznT().zzoZ())
{
this.c.zznS().zza(paramzzsz, "Hit size exceeds the maximum size limit");
return true;
}
int i = j;
if (this.b.size() > 0) {
i = j + 1;
}
if (i + this.b.size() > this.c.zznT().zzpb()) {
return false;
}
try
{
if (this.b.size() > 0) {
this.b.write(il.b());
}
this.b.write((byte[])localObject);
this.a += 1;
return true;
}
catch (IOException paramzzsz)
{
this.c.zze("Failed to write payload when batching hits", paramzzsz);
}
return true;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/il$a.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/