当前位置: 首页>>代码示例>>Java>>正文


Java Api.zzb方法代码示例

本文整理汇总了Java中com.google.android.gms.common.api.Api.zzb方法的典型用法代码示例。如果您正苦于以下问题:Java Api.zzb方法的具体用法?Java Api.zzb怎么用?Java Api.zzb使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.google.android.gms.common.api.Api的用法示例。


在下文中一共展示了Api.zzb方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:20,代码来源:zznf.java

示例2: zzb

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, T extends zzmu.zza<? extends Result, A>> T zzb(T paramT)
{
  try
  {
    this.zzape.zzaoR.zzb(paramT);
    Api.zzb localzzb = this.zzape.zzaoR.zza(paramT.zzor());
    if ((!localzzb.isConnected()) && (this.zzape.zzaqj.containsKey(paramT.zzor())))
    {
      paramT.zzE(new Status(17));
      return paramT;
    }
    paramT.zzb(localzzb);
    return paramT;
  }
  catch (DeadObjectException localDeadObjectException)
  {
    this.zzape.zza(new zznf.zza(this)
    {
      public final void zzoS()
      {
        zzna.this.onConnectionSuspended(1);
      }
    });
  }
  return paramT;
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:27,代码来源:zzna.java

示例3: if

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public static int zza$251b1977(Iterable<Api.zzb> paramIterable)
{
  Iterator localIterator = paramIterable.iterator();
  int i = 0;
  if (localIterator.hasNext()) {
    if (!((Api.zzb)localIterator.next()).zzkc()) {
      break label50;
    }
  }
  label50:
  for (int j = 1;; j = i)
  {
    i = j;
    break;
    if (i != 0) {
      return 1;
    }
    return 3;
  }
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:21,代码来源:zznd.java

示例4: begin

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final void begin()
{
  this.zzape.zzaqj.clear();
  this.zzapj = false;
  this.zzapp = false;
  this.zzapg = null;
  this.zzapi = 0;
  this.zzapo = 2;
  this.zzapq = false;
  this.zzaps = false;
  HashMap localHashMap = new HashMap();
  Iterator localIterator = this.zzapv.keySet().iterator();
  while (localIterator.hasNext())
  {
    Api localApi = (Api)localIterator.next();
    Api.zzb localzzb = (Api.zzb)this.zzape.zzapQ.get(localApi.zzor());
    int i = ((Integer)this.zzapv.get(localApi)).intValue();
    localApi.zzop();
    if (localzzb.zzkc())
    {
      this.zzapp = true;
      if (i < this.zzapo) {
        this.zzapo = i;
      }
      if (i != 0) {
        this.zzapm.add(localApi.zzor());
      }
    }
    localHashMap.put(localzzb, new zzd(this, localApi, i));
  }
  if (this.zzapp)
  {
    this.zzapu.zzaty = Integer.valueOf(System.identityHashCode(this.zzape.zzaoR));
    zzg localzzg = new zzg((byte)0);
    this.zzapn = ((zzwz)this.zzaoo.zza(this.mContext, this.zzape.zzaoR.zzoD, this.zzapu, this.zzapu.zzaor, localzzg, localzzg));
  }
  this.zzapk = this.zzape.zzapQ.size();
  this.zzapw.add(zzng.zzpp().submit(new zze(localHashMap)));
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:40,代码来源:zznb.java

示例5: zzb

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, T extends zzmu.zza<? extends Result, A>> T zzb(T paramT)
{
  if (zzc(paramT))
  {
    if (zzoP())
    {
      paramT.zzE(new Status(4, null, zzoQ()));
      return paramT;
    }
    return this.zzaoT.zzb(paramT);
  }
  return this.zzaoS.zzb(paramT);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:14,代码来源:zzmx.java

示例6: zzoS

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final void zzoS()
{
  int i = GoogleApiAvailability.isGooglePlayServicesAvailable(zznb.this.mContext);
  if (i != 0)
  {
    final ConnectionResult localConnectionResult = new ConnectionResult(i, null);
    zznb.this.zzape.zza(new zznf.zza(zznb.this)
    {
      public final void zzoS()
      {
        zznb.this.zzi(localConnectionResult);
      }
    });
  }
  for (;;)
  {
    return;
    if (zznb.this.zzapp) {
      zznb.this.zzapn.connect();
    }
    Iterator localIterator = this.zzapE.keySet().iterator();
    while (localIterator.hasNext())
    {
      Api.zzb localzzb = (Api.zzb)localIterator.next();
      localzzb.zza((GoogleApiClient.zza)this.zzapE.get(localzzb));
    }
  }
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:29,代码来源:zznb.java

示例7: 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;
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:31,代码来源:zznd.java

示例8: zza

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, R extends Result, T extends zzmu.zza<R, A>> T zza(T paramT)
{
  boolean bool;
  if (paramT.zzalR != null) {
    bool = true;
  }
  for (;;)
  {
    zzx.zzb(bool, "This task can not be enqueued (it's probably a Batch or malformed)");
    zzx.zzb(this.zzapQ.containsKey(paramT.zzalR), "GoogleApiClient is not configured to use the API required for this call.");
    this.zzXP.lock();
    try
    {
      if (this.zzapJ == null)
      {
        this.zzapK.add(paramT);
        return paramT;
        bool = false;
        continue;
      }
      zzmu.zza localzza = this.zzapJ.zza(paramT);
      return localzza;
    }
    finally
    {
      this.zzXP.unlock();
    }
  }
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:30,代码来源:zznd.java

示例9: zza

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, R extends Result, T extends zzmu.zza<R, A>> T zza(T paramT)
{
  if (zzc(paramT))
  {
    if (zzoP())
    {
      paramT.zzE(new Status(4, null, zzoQ()));
      return paramT;
    }
    return this.zzaoT.zza(paramT);
  }
  return this.zzaoS.zza(paramT);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:14,代码来源:zzmx.java

示例10: zza

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, R extends Result, T extends zzmu.zza<R, A>> T zza(T paramT)
{
  return this.zzaqk.zza(paramT);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:5,代码来源:zznf.java

示例11: zzb

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, T extends zzmu.zza<? extends Result, A>> T zzb(T paramT)
{
  return this.zzaqk.zzb(paramT);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:5,代码来源:zznf.java

示例12: zza

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, R extends Result, T extends zzmu.zza<R, A>> T zza(T paramT)
{
  this.zzape.zzaoR.zzapK.add(paramT);
  return paramT;
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:6,代码来源:zznc.java

示例13: zzb

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, T extends zzmu.zza<? extends Result, A>> T zzb(T paramT)
{
  throw new IllegalStateException("GoogleApiClient is not connected yet.");
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:5,代码来源:zznc.java

示例14: zza

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
public final <A extends Api.zzb, R extends Result, T extends zzmu.zza<R, A>> T zza(T paramT)
{
  return zzb(paramT);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:5,代码来源:zzna.java

示例15: zzb

import com.google.android.gms.common.api.Api; //导入方法依赖的package包/类
final <A extends Api.zzb> void zzb(zze<A> paramzze)
{
  this.zzapS.add(paramzze);
  paramzze.zza(this.zzapW);
}
 
开发者ID:ChiangC,项目名称:FMTech,代码行数:6,代码来源:zznd.java


注:本文中的com.google.android.gms.common.api.Api.zzb方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。