zztb.java
1.29 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
package com.google.android.gms.internal;
import com.google.android.gms.common.util.zze;
public class zztb
{
private final long a;
private final int b;
private double c;
private long d;
private final Object e = new Object();
private final String f;
private final zze g;
public zztb(int paramInt, long paramLong, String paramString, zze paramzze)
{
this.b = paramInt;
this.c = this.b;
this.a = paramLong;
this.f = paramString;
this.g = paramzze;
}
public zztb(String paramString, zze paramzze)
{
this(60, 2000L, paramString, paramzze);
}
public boolean zzpV()
{
synchronized (this.e)
{
long l = this.g.currentTimeMillis();
if (this.c < this.b)
{
double d1 = (l - this.d) / this.a;
if (d1 > 0.0D) {
this.c = Math.min(this.b, d1 + this.c);
}
}
this.d = l;
if (this.c >= 1.0D)
{
this.c -= 1.0D;
return true;
}
String str = this.f;
zztc.zzbh(String.valueOf(str).length() + 34 + "Excessive " + str + " detected; call ignored.");
return false;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/google/android/gms/internal/zztb.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/