本文整理汇总了Java中com.google.android.gms.common.api.Api.zzc方法的典型用法代码示例。如果您正苦于以下问题:Java Api.zzc方法的具体用法?Java Api.zzc怎么用?Java Api.zzc使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.google.android.gms.common.api.Api
的用法示例。
在下文中一共展示了Api.zzc方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: zznf
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public zznf(Context paramContext, zznd paramzznd, Lock paramLock, Looper paramLooper, GoogleApiAvailability paramGoogleApiAvailability, Map<Api.zzc<?>, Api.zzb> paramMap, zzf paramzzf, Map<Api<?>, Integer> paramMap1, Api.zza<? extends zzwz, zzxa> paramzza, ArrayList<zzmw> paramArrayList, zznj.zza paramzza1)
{
this.mContext = paramContext;
this.zzXP = paramLock;
this.zzaon = paramGoogleApiAvailability;
this.zzapQ = paramMap;
this.zzapu = paramzzf;
this.zzapv = paramMap1;
this.zzaoo = paramzza;
this.zzaoR = paramzznd;
this.zzaqn = paramzza1;
Iterator localIterator = paramArrayList.iterator();
while (localIterator.hasNext()) {
((zzmw)localIterator.next()).zzaoQ = this;
}
this.zzaqi = new zzb(paramLooper);
this.zzaqh = paramLock.newCondition();
this.zzaqk = new zznc(this);
}
示例2: zzoX
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
final void zzoX()
{
ArrayList localArrayList = new ArrayList();
this.zzapi = 3;
this.zzapk = this.zzape.zzapQ.size();
Iterator localIterator = this.zzape.zzapQ.keySet().iterator();
while (localIterator.hasNext())
{
Api.zzc localzzc = (Api.zzc)localIterator.next();
if (this.zzape.zzaqj.containsKey(localzzc))
{
if (zzoT()) {
zzoY();
}
}
else {
localArrayList.add(this.zzape.zzapQ.get(localzzc));
}
}
if (!localArrayList.isEmpty()) {
this.zzapw.add(zzng.zzpp().submit(new zzf(localArrayList)));
}
}
示例3: zzoU
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
final void zzoU()
{
if (this.zzapk != 0) {}
ArrayList localArrayList;
do
{
do
{
return;
if (!this.zzapp) {
break;
}
} while (!this.zzapq);
localArrayList = new ArrayList();
this.zzapi = 1;
this.zzapk = this.zzape.zzapQ.size();
Iterator localIterator = this.zzape.zzapQ.keySet().iterator();
while (localIterator.hasNext())
{
Api.zzc localzzc = (Api.zzc)localIterator.next();
if (this.zzape.zzaqj.containsKey(localzzc))
{
if (zzoT()) {
zzoW();
}
}
else {
localArrayList.add(this.zzape.zzapQ.get(localzzc));
}
}
} while (localArrayList.isEmpty());
this.zzapw.add(zzng.zzpp().submit(new zzh(localArrayList)));
return;
zzoX();
}
示例4: zzoZ
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
final void zzoZ()
{
this.zzapp = false;
this.zzape.zzaoR.zzapR = Collections.emptySet();
Iterator localIterator = this.zzapm.iterator();
while (localIterator.hasNext())
{
Api.zzc localzzc = (Api.zzc)localIterator.next();
if (!this.zzape.zzaqj.containsKey(localzzc)) {
this.zzape.zzaqj.put(localzzc, new ConnectionResult(17, null));
}
}
}
示例5: zznd
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public zznd(Context paramContext, Lock paramLock, Looper paramLooper, zzf paramzzf, GoogleApiAvailability paramGoogleApiAvailability, Api.zza<? extends zzwz, zzxa> paramzza, Map<Api<?>, Integer> paramMap, List<GoogleApiClient.ConnectionCallbacks> paramList, List<GoogleApiClient.OnConnectionFailedListener> paramList1, Map<Api.zzc<?>, Api.zzb> paramMap1, int paramInt1, int paramInt2, ArrayList<zzmw> paramArrayList)
{
this.mContext = paramContext;
this.zzXP = paramLock;
this.zzapI = new zzk(paramLooper, this.zzapX);
this.zzoD = paramLooper;
this.zzapO = new zza(paramLooper);
this.zzaon = paramGoogleApiAvailability;
this.zzaol = paramInt1;
if (this.zzaol >= 0) {
this.zzapV = Integer.valueOf(paramInt2);
}
this.zzapv = paramMap;
this.zzapQ = paramMap1;
this.zzapU = paramArrayList;
Iterator localIterator1 = paramList.iterator();
while (localIterator1.hasNext())
{
GoogleApiClient.ConnectionCallbacks localConnectionCallbacks = (GoogleApiClient.ConnectionCallbacks)localIterator1.next();
this.zzapI.registerConnectionCallbacks(localConnectionCallbacks);
}
Iterator localIterator2 = paramList1.iterator();
while (localIterator2.hasNext())
{
GoogleApiClient.OnConnectionFailedListener localOnConnectionFailedListener = (GoogleApiClient.OnConnectionFailedListener)localIterator2.next();
this.zzapI.registerConnectionFailedListener(localOnConnectionFailedListener);
}
this.zzapu = paramzzf;
this.zzaoo = paramzza;
}
示例6: zza
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <C extends Api.zzb> C zza(Api.zzc<C> paramzzc)
{
Api.zzb localzzb = (Api.zzb)this.zzapQ.get(paramzzc);
zzx.zzb(localzzb, "Appropriate Api was not requested.");
return localzzb;
}
示例7: zzc
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
private boolean zzc(zzmu.zza<? extends Result, ? extends Api.zzb> paramzza)
{
Api.zzc localzzc = paramzza.zzalR;
zzx.zzb(this.zzaoU.containsKey(localzzc), "GoogleApiClient is not configured to use the API required for this call.");
return ((zznf)this.zzaoU.get(localzzc)).equals(this.zzaoT);
}
示例8: zzor
import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public abstract Api.zzc<A> zzor();