jo.java
1.35 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
import com.google.android.gms.common.util.zze;
import com.google.android.gms.tagmanager.zzbo;
public final class jo
implements kk
{
private final long a = 900000L;
private final long b = 5000L;
private final int c = 5;
private double d = Math.min(1, 5);
private long e;
private final Object f = new Object();
private final String g;
private final zze h;
public jo(String paramString, zze paramzze)
{
this.g = paramString;
this.h = paramzze;
}
public final boolean a()
{
synchronized (this.f)
{
long l = this.h.currentTimeMillis();
if (l - this.e < this.b)
{
String str1 = this.g;
zzbo.zzbh(String.valueOf(str1).length() + 34 + "Excessive " + str1 + " detected; call ignored.");
return false;
}
if (this.d < this.c)
{
double d1 = (l - this.e) / this.a;
if (d1 > 0.0D) {
this.d = Math.min(this.c, d1 + this.d);
}
}
this.e = l;
if (this.d >= 1.0D)
{
this.d -= 1.0D;
return true;
}
}
String str2 = this.g;
zzbo.zzbh(String.valueOf(str2).length() + 34 + "Excessive " + str2 + " detected; call ignored.");
return false;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/jo.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/