public void confirmCredentials( IAccountManagerResponse response, Account account, Bundle options, boolean expectActivityLaunch) throws RemoteException { int i = Stub.TRANSACTION_getPassword; Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); _data.writeStrongBinder(response != null ? response.asBinder() : null); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } if (options != null) { _data.writeInt(Stub.TRANSACTION_getPassword); options.writeToParcel(_data, 0); } else { _data.writeInt(0); } if (!expectActivityLaunch) { i = 0; } _data.writeInt(i); this.mRemote.transact(Stub.TRANSACTION_confirmCredentials, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }
public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) throws RemoteException { int i = Stub.TRANSACTION_getPassword; Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } _data.writeString(authTokenType); _data.writeInt(uid); if (!value) { i = 0; } _data.writeInt(i); this.mRemote.transact(Stub.TRANSACTION_updateAppPermission, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }
public boolean addAccount(Account account, String password, Bundle extras) throws RemoteException { boolean _result = true; Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } _data.writeString(password); if (extras != null) { _data.writeInt(Stub.TRANSACTION_getPassword); extras.writeToParcel(_data, 0); } else { _data.writeInt(0); } this.mRemote.transact(Stub.TRANSACTION_addAccount, _data, _reply, 0); _reply.readException(); if (_reply.readInt() == 0) { _result = false; } _reply.recycle(); _data.recycle(); return _result; } catch (Throwable th) { _reply.recycle(); _data.recycle(); } }
public void clearPassword(Account account) throws RemoteException { Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } this.mRemote.transact(Stub.TRANSACTION_clearPassword, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }
public boolean onTransact( int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2) { switch (paramInt1) { default: return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2); case 1598968902: paramParcel2.writeString("com.google.android.gms.common.internal.IAccountAccessor"); return true; } paramParcel1.enforceInterface("com.google.android.gms.common.internal.IAccountAccessor"); Account localAccount = a(); paramParcel2.writeNoException(); if (localAccount != null) { paramParcel2.writeInt(1); localAccount.writeToParcel(paramParcel2, 1); return true; } paramParcel2.writeInt(0); return true; }
public void setUserData(Account account, String key, String value) throws RemoteException { Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } _data.writeString(key); _data.writeString(value); this.mRemote.transact(Stub.TRANSACTION_setUserData, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }
public void removeAccount(IAccountManagerResponse response, Account account) throws RemoteException { Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); _data.writeStrongBinder(response != null ? response.asBinder() : null); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } this.mRemote.transact(Stub.TRANSACTION_removeAccount, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }
public String peekAuthToken(Account account, String authTokenType) throws RemoteException { Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } _data.writeString(authTokenType); this.mRemote.transact(Stub.TRANSACTION_peekAuthToken, _data, _reply, 0); _reply.readException(); String _result = _reply.readString(); return _result; } finally { _reply.recycle(); _data.recycle(); } }
public void getAuthToken( IAccountManagerResponse response, Account account, String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch, Bundle options) throws RemoteException { int i = Stub.TRANSACTION_getPassword; Parcel _data = Parcel.obtain(); Parcel _reply = Parcel.obtain(); try { _data.writeInterfaceToken(Stub.DESCRIPTOR); _data.writeStrongBinder(response != null ? response.asBinder() : null); if (account != null) { _data.writeInt(Stub.TRANSACTION_getPassword); account.writeToParcel(_data, 0); } else { _data.writeInt(0); } _data.writeString(authTokenType); _data.writeInt(notifyOnAuthFailure ? Stub.TRANSACTION_getPassword : 0); if (!expectActivityLaunch) { i = 0; } _data.writeInt(i); if (options != null) { _data.writeInt(Stub.TRANSACTION_getPassword); options.writeToParcel(_data, 0); } else { _data.writeInt(0); } this.mRemote.transact(Stub.TRANSACTION_getAuthToken, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }