public final void registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { eg.f(paramOnConnectionFailedListener); synchronized (this.pw) { if (this.pw.contains(paramOnConnectionFailedListener)) { new StringBuilder("registerConnectionFailedListener(): listener ").append(paramOnConnectionFailedListener).append(" is already registered"); } else { if (this.px) this.pw = new ArrayList(this.pw); this.pw.add(paramOnConnectionFailedListener); } return; } }
public Builder(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.mContext = paramContext; this.Dz = paramConnectionCallbacks; this.jE = paramOnConnectionFailedListener; this.DA = new hv(this.mContext); }
public Builder(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.mContext = paramContext; this.tx = paramContext.getPackageName(); this.jD = paramConnectionCallbacks; this.jE = paramOnConnectionFailedListener; }
public final void a(ConnectionResult paramConnectionResult) { this.mHandler.removeMessages(1); while (true) { int i; synchronized (this.pw) { this.px = true; ArrayList localArrayList2 = this.pw; i = 0; int j = localArrayList2.size(); if (i < j) { if (!this.ps.bp()) return; if (this.pw.contains(localArrayList2.get(i))) ((GooglePlayServicesClient.OnConnectionFailedListener)localArrayList2.get(i)).onConnectionFailed(paramConnectionResult); } else { this.px = false; return; } } i++; } }
public final boolean isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { eg.f(paramOnConnectionFailedListener); synchronized (this.pw) { boolean bool = this.pw.contains(paramOnConnectionFailedListener); return bool; } }
public final void unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { eg.f(paramOnConnectionFailedListener); synchronized (this.pw) { if (this.pw != null) { if (this.px) this.pw = new ArrayList(this.pw); if (!this.pw.remove(paramOnConnectionFailedListener)) new StringBuilder("unregisterConnectionFailedListener(): listener ").append(paramOnConnectionFailedListener).append(" not found"); } return; } }
public Builder(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.mContext = paramContext; this.jD = paramConnectionCallbacks; this.jE = paramOnConnectionFailedListener; this.jF = jC; this.jG = "<<default account>>"; }
private GoogleApiClient(Context paramContext, dt paramdt, Map<Api, ApiOptions> paramMap, Set<ConnectionCallbacks> paramSet, Set<OnConnectionFailedListener> paramSet1) { Iterator localIterator1 = paramSet.iterator(); while (localIterator1.hasNext()) { ConnectionCallbacks localConnectionCallbacks = (ConnectionCallbacks)localIterator1.next(); this.ne.registerConnectionCallbacks(localConnectionCallbacks); } Iterator localIterator2 = paramSet1.iterator(); while (localIterator2.hasNext()) { OnConnectionFailedListener localOnConnectionFailedListener = (OnConnectionFailedListener)localIterator2.next(); this.ne.registerConnectionFailedListener(localOnConnectionFailedListener); } Iterator localIterator3 = paramMap.keySet().iterator(); while (localIterator3.hasNext()) { Api localApi = (Api)localIterator3.next(); final Api.b localb = localApi.bj(); ApiOptions localApiOptions = (ApiOptions)paramMap.get(localApi); this.nl.put(localb, localb.b(paramContext, paramdt, localApiOptions, this.no, new OnConnectionFailedListener() { public void onConnectionFailed(ConnectionResult paramAnonymousConnectionResult) { synchronized (GoogleApiClient.c(GoogleApiClient.this)) { if ((GoogleApiClient.h(GoogleApiClient.this) == null) || (localb.getPriority() < GoogleApiClient.i(GoogleApiClient.this))) { GoogleApiClient.a(GoogleApiClient.this, paramAnonymousConnectionResult); GoogleApiClient.b(GoogleApiClient.this, localb.getPriority()); } GoogleApiClient.f(GoogleApiClient.this); return; } } })); } }
public Builder(Context paramContext, GoogleApiClient.ConnectionCallbacks paramConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this(paramContext); eg.b(paramConnectionCallbacks, "Must provide a connected listener"); this.nx.add(paramConnectionCallbacks); eg.b(paramOnConnectionFailedListener, "Must provide a connection failed listener"); this.ny.add(paramOnConnectionFailedListener); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); locationClient = new LocationClient(this, new ConnectionCallbacks() { @Override public void onConnected(Bundle connectionHint) { if (BuildConfig.DEBUG) Log.i(TAG, "Location onConnected"); MainActivity.this.locationClientConnected = true; } @Override public void onDisconnected() { if (BuildConfig.DEBUG) Log.i(TAG, "Location onDisconnected"); MainActivity.this.locationClientConnected = false; } }, new OnConnectionFailedListener() { @Override public void onConnectionFailed(ConnectionResult result) { if (BuildConfig.DEBUG) Log.i(TAG, "Location onConnectionFailed"); MainActivity.this.locationClientConnected = false; } }); }
@Deprecated public boolean isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { return this.Du.isConnectionFailedListenerRegistered(paramOnConnectionFailedListener); }
@Deprecated public void registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Du.registerConnectionFailedListener(paramOnConnectionFailedListener); }
@Deprecated public void unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Du.unregisterConnectionFailedListener(paramOnConnectionFailedListener); }
private GamesClient(Context paramContext, String paramString1, String paramString2, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener, String[] paramArrayOfString, int paramInt1, View paramView, boolean paramBoolean, int paramInt2) { this.te = new fl(paramContext, paramString1, paramString2, paramConnectionCallbacks, paramOnConnectionFailedListener, paramArrayOfString, paramInt1, paramView, false, paramBoolean, paramInt2); }
@Deprecated public final boolean isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { return this.te.isConnectionFailedListenerRegistered(paramOnConnectionFailedListener); }
@Deprecated public final void registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.te.registerConnectionFailedListener(paramOnConnectionFailedListener); }
@Deprecated public final void unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.te.unregisterConnectionFailedListener(paramOnConnectionFailedListener); }
public gn(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener, String paramString) { super(paramContext, paramConnectionCallbacks, paramOnConnectionFailedListener, new String[0]); this.xX = paramString; this.jG = null; }
public by(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener, int paramInt) { super(paramContext, paramConnectionCallbacks, paramOnConnectionFailedListener, new String[0]); this.hp = paramInt; }
public ActivityRecognitionClient(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.xl = new gn(paramContext, paramConnectionCallbacks, paramOnConnectionFailedListener, "activity_recognition"); }
public boolean isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { return this.xl.isConnectionFailedListenerRegistered(paramOnConnectionFailedListener); }
public void registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.xl.registerConnectionFailedListener(paramOnConnectionFailedListener); }
public void unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.xl.unregisterConnectionFailedListener(paramOnConnectionFailedListener); }
public LocationClient(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.xl = new gn(paramContext, paramConnectionCallbacks, paramOnConnectionFailedListener, "location"); }
private AppStateClient(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener, String paramString, String[] paramArrayOfString) { this.jx = new dc(paramContext, paramConnectionCallbacks, paramOnConnectionFailedListener, paramString, paramArrayOfString); }
@Deprecated public final boolean isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { return this.jx.isConnectionFailedListenerRegistered(paramOnConnectionFailedListener); }
@Deprecated public final void registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.jx.registerConnectionFailedListener(paramOnConnectionFailedListener); }
@Deprecated public final void unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.jx.unregisterConnectionFailedListener(paramOnConnectionFailedListener); }
public PanoramaClient(Context paramContext, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Di = new hm(paramContext, paramConnectionCallbacks, paramOnConnectionFailedListener); }
public boolean isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { return this.Di.isConnectionFailedListenerRegistered(paramOnConnectionFailedListener); }
public void registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Di.registerConnectionFailedListener(paramOnConnectionFailedListener); }
public void unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Di.unregisterConnectionFailedListener(paramOnConnectionFailedListener); }
public WalletClient(Activity paramActivity, int paramInt1, String paramString, int paramInt2, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Hj = new iu(paramActivity, paramConnectionCallbacks, paramOnConnectionFailedListener, paramInt1, paramString, paramInt2); }
public WalletClient(Activity paramActivity, int paramInt, String paramString, GooglePlayServicesClient.ConnectionCallbacks paramConnectionCallbacks, GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this(paramActivity, paramInt, paramString, 0, paramConnectionCallbacks, paramOnConnectionFailedListener); }
public boolean isConnectionFailedListenerRegistered(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { return this.Hj.isConnectionFailedListenerRegistered(paramOnConnectionFailedListener); }
public void registerConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Hj.registerConnectionFailedListener(paramOnConnectionFailedListener); }
public void unregisterConnectionFailedListener(GooglePlayServicesClient.OnConnectionFailedListener paramOnConnectionFailedListener) { this.Hj.unregisterConnectionFailedListener(paramOnConnectionFailedListener); }