package com.ss.android.socialbase.downloader.downloader; import android.app.Notification; import android.os.Binder; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; import com.ss.android.socialbase.downloader.depend.ae; import com.ss.android.socialbase.downloader.depend.aj; import com.ss.android.socialbase.downloader.depend.g; import com.ss.android.socialbase.downloader.depend.i; import com.ss.android.socialbase.downloader.depend.y; import com.ss.android.socialbase.downloader.model.DownloadInfo; import com.ss.android.socialbase.downloader.model.a; import com.ss.android.socialbase.downloader.model.b; import java.util.ArrayList; import java.util.List; /* compiled from: IDownloadAidlService */ public interface i extends IInterface { int a(String str, String str2) throws RemoteException; List<DownloadInfo> a(String str) throws RemoteException; void a() throws RemoteException; void a(int i) throws RemoteException; void a(int i, int i2) throws RemoteException; void a(int i, int i2, int i3, int i4) throws RemoteException; void a(int i, int i2, int i3, long j) throws RemoteException; void a(int i, int i2, long j) throws RemoteException; void a(int i, int i2, com.ss.android.socialbase.downloader.depend.i iVar, int i3, boolean z) throws RemoteException; void a(int i, int i2, com.ss.android.socialbase.downloader.depend.i iVar, int i3, boolean z, boolean z2) throws RemoteException; void a(int i, long j) throws RemoteException; void a(int i, Notification notification) throws RemoteException; void a(int i, y yVar) throws RemoteException; void a(int i, List<b> list) throws RemoteException; void a(int i, boolean z) throws RemoteException; void a(aj ajVar) throws RemoteException; void a(com.ss.android.socialbase.downloader.model.a aVar) throws RemoteException; void a(b bVar) throws RemoteException; void a(List<String> list) throws RemoteException; void a(boolean z) throws RemoteException; boolean a(DownloadInfo downloadInfo) throws RemoteException; DownloadInfo b(String str, String str2) throws RemoteException; List<DownloadInfo> b() throws RemoteException; List<DownloadInfo> b(String str) throws RemoteException; void b(int i, int i2, com.ss.android.socialbase.downloader.depend.i iVar, int i3, boolean z) throws RemoteException; void b(int i, List<b> list) throws RemoteException; void b(int i, boolean z) throws RemoteException; void b(List<String> list) throws RemoteException; boolean b(int i) throws RemoteException; boolean b(DownloadInfo downloadInfo) throws RemoteException; List<DownloadInfo> c(String str) throws RemoteException; void c(int i) throws RemoteException; void c(int i, boolean z) throws RemoteException; boolean c() throws RemoteException; List<DownloadInfo> d(String str) throws RemoteException; void d(int i) throws RemoteException; void d(int i, boolean z) throws RemoteException; boolean d() throws RemoteException; long e(int i) throws RemoteException; List<DownloadInfo> e(String str) throws RemoteException; void e() throws RemoteException; int f(int i) throws RemoteException; boolean f() throws RemoteException; boolean g(int i) throws RemoteException; DownloadInfo h(int i) throws RemoteException; List<b> i(int i) throws RemoteException; void j(int i) throws RemoteException; boolean k(int i) throws RemoteException; void l(int i) throws RemoteException; int m(int i) throws RemoteException; boolean n(int i) throws RemoteException; void o(int i) throws RemoteException; boolean p(int i) throws RemoteException; y q(int i) throws RemoteException; ae r(int i) throws RemoteException; g s(int i) throws RemoteException; /* compiled from: IDownloadAidlService */ public static abstract class a extends Binder implements i { public IBinder asBinder() { return this; } public a() { attachInterface(this, "com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); } public static i a(IBinder iBinder) { if (iBinder == null) { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (queryLocalInterface == null || !(queryLocalInterface instanceof i)) { return new C0302a(iBinder); } return (i) queryLocalInterface; } @Override // android.os.Binder public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { if (i != 1598968902) { DownloadInfo downloadInfo = null; IBinder iBinder = null; IBinder iBinder2 = null; IBinder iBinder3 = null; DownloadInfo downloadInfo2 = null; b bVar = null; Notification notification = null; boolean z = false; switch (i) { case 1: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(a.AbstractBinderC0303a.a(parcel.readStrongBinder())); parcel2.writeNoException(); return true; case 2: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt()); parcel2.writeNoException(); return true; case 3: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int readInt = parcel.readInt(); if (parcel.readInt() != 0) { z = true; } a(readInt, z); parcel2.writeNoException(); return true; case 4: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean b = b(parcel.readInt()); parcel2.writeNoException(); parcel2.writeInt(b ? 1 : 0); return true; case 5: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); c(parcel.readInt()); parcel2.writeNoException(); return true; case 6: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); d(parcel.readInt()); parcel2.writeNoException(); return true; case 7: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(); parcel2.writeNoException(); return true; case 8: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); long e = e(parcel.readInt()); parcel2.writeNoException(); parcel2.writeLong(e); return true; case 9: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int f = f(parcel.readInt()); parcel2.writeNoException(); parcel2.writeInt(f); return true; case 10: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean g = g(parcel.readInt()); parcel2.writeNoException(); parcel2.writeInt(g ? 1 : 0); return true; case 11: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); DownloadInfo h = h(parcel.readInt()); parcel2.writeNoException(); if (h != null) { parcel2.writeInt(1); h.writeToParcel(parcel2, 1); } else { parcel2.writeInt(0); } return true; case 12: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); List<DownloadInfo> a = a(parcel.readString()); parcel2.writeNoException(); parcel2.writeTypedList(a); return true; case 13: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); List<b> i3 = i(parcel.readInt()); parcel2.writeNoException(); parcel2.writeTypedList(i3); return true; case 14: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int a2 = a(parcel.readString(), parcel.readString()); parcel2.writeNoException(); parcel2.writeInt(a2); return true; case 15: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); DownloadInfo b2 = b(parcel.readString(), parcel.readString()); parcel2.writeNoException(); if (b2 != null) { parcel2.writeInt(1); b2.writeToParcel(parcel2, 1); } else { parcel2.writeInt(0); } return true; case 16: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); List<DownloadInfo> b3 = b(parcel.readString()); parcel2.writeNoException(); parcel2.writeTypedList(b3); return true; case 17: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); List<DownloadInfo> c = c(parcel.readString()); parcel2.writeNoException(); parcel2.writeTypedList(c); return true; case 18: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); List<DownloadInfo> d = d(parcel.readString()); parcel2.writeNoException(); parcel2.writeTypedList(d); return true; case 19: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); List<DownloadInfo> b4 = b(); parcel2.writeNoException(); parcel2.writeTypedList(b4); return true; case 20: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.createStringArrayList()); parcel2.writeNoException(); return true; case 21: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); b(parcel.createStringArrayList()); parcel2.writeNoException(); return true; case 22: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int readInt2 = parcel.readInt(); if (parcel.readInt() != 0) { z = true; } b(readInt2, z); parcel2.writeNoException(); return true; case 23: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int readInt3 = parcel.readInt(); if (parcel.readInt() != 0) { z = true; } c(readInt3, z); parcel2.writeNoException(); return true; case 24: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); j(parcel.readInt()); parcel2.writeNoException(); return true; case 25: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.readInt(), i.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readInt() != 0); parcel2.writeNoException(); return true; case 26: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); b(parcel.readInt(), parcel.readInt(), i.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readInt() != 0); parcel2.writeNoException(); return true; case 27: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.readInt(), i.a.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readInt() != 0, parcel.readInt() != 0); parcel2.writeNoException(); return true; case 28: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (parcel.readInt() != 0) { downloadInfo = DownloadInfo.CREATOR.createFromParcel(parcel); } boolean a3 = a(downloadInfo); parcel2.writeNoException(); parcel2.writeInt(a3 ? 1 : 0); return true; case 29: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int readInt4 = parcel.readInt(); if (parcel.readInt() != 0) { notification = (Notification) Notification.CREATOR.createFromParcel(parcel); } a(readInt4, notification); return true; case 30: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (parcel.readInt() != 0) { z = true; } a(z); return true; case 31: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean c2 = c(); parcel2.writeNoException(); parcel2.writeInt(c2 ? 1 : 0); return true; case 32: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); List<DownloadInfo> e2 = e(parcel.readString()); parcel2.writeNoException(); parcel2.writeTypedList(e2); return true; case 33: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean k = k(parcel.readInt()); parcel2.writeNoException(); parcel2.writeInt(k ? 1 : 0); return true; case 34: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); l(parcel.readInt()); parcel2.writeNoException(); return true; case 35: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean d2 = d(); parcel2.writeNoException(); parcel2.writeInt(d2 ? 1 : 0); return true; case 36: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int readInt5 = parcel.readInt(); if (parcel.readInt() != 0) { z = true; } d(readInt5, z); parcel2.writeNoException(); return true; case 37: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); int m = m(parcel.readInt()); parcel2.writeNoException(); parcel2.writeInt(m); return true; case 38: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (parcel.readInt() != 0) { bVar = b.CREATOR.createFromParcel(parcel); } a(bVar); parcel2.writeNoException(); return true; case 39: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (parcel.readInt() != 0) { downloadInfo2 = DownloadInfo.CREATOR.createFromParcel(parcel); } boolean b5 = b(downloadInfo2); parcel2.writeNoException(); parcel2.writeInt(b5 ? 1 : 0); return true; case 40: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean n = n(parcel.readInt()); parcel2.writeNoException(); parcel2.writeInt(n ? 1 : 0); return true; case 41: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); o(parcel.readInt()); parcel2.writeNoException(); return true; case 42: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.readInt(), parcel.readLong()); parcel2.writeNoException(); return true; case 43: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readLong()); parcel2.writeNoException(); return true; case 44: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt()); parcel2.writeNoException(); return true; case 45: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean p = p(parcel.readInt()); parcel2.writeNoException(); parcel2.writeInt(p ? 1 : 0); return true; case 46: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); e(); parcel2.writeNoException(); return true; case 47: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.createTypedArrayList(b.CREATOR)); parcel2.writeNoException(); return true; case 48: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); b(parcel.readInt(), parcel.createTypedArrayList(b.CREATOR)); parcel2.writeNoException(); return true; case 49: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(aj.a.a(parcel.readStrongBinder())); parcel2.writeNoException(); return true; case 50: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.readInt()); parcel2.writeNoException(); return true; case 51: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); y q = q(parcel.readInt()); parcel2.writeNoException(); if (q != null) { iBinder3 = q.asBinder(); } parcel2.writeStrongBinder(iBinder3); return true; case 52: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); ae r = r(parcel.readInt()); parcel2.writeNoException(); if (r != null) { iBinder2 = r.asBinder(); } parcel2.writeStrongBinder(iBinder2); return true; case 53: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), y.a.a(parcel.readStrongBinder())); parcel2.writeNoException(); return true; case 54: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); g s = s(parcel.readInt()); parcel2.writeNoException(); if (s != null) { iBinder = s.asBinder(); } parcel2.writeStrongBinder(iBinder); return true; case 55: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean f2 = f(); parcel2.writeNoException(); parcel2.writeInt(f2 ? 1 : 0); return true; case 56: parcel.enforceInterface("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); a(parcel.readInt(), parcel.readLong()); parcel2.writeNoException(); return true; default: return super.onTransact(i, parcel, parcel2, i2); } } else { parcel2.writeString("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); return true; } } /* access modifiers changed from: private */ /* renamed from: com.ss.android.socialbase.downloader.downloader.i$a$a reason: collision with other inner class name */ /* compiled from: IDownloadAidlService */ public static class C0302a implements i { public static i a; private IBinder b; C0302a(IBinder iBinder) { this.b = iBinder; } public IBinder asBinder() { return this.b; } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(com.ss.android.socialbase.downloader.model.a aVar) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeStrongBinder(aVar != null ? aVar.asBinder() : null); if (this.b.transact(1, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(aVar); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (this.b.transact(2, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, boolean z) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(z ? 1 : 0); if (this.b.transact(3, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, z); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean b(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); boolean z = false; if (!this.b.transact(4, obtain, obtain2, 0) && a.g() != null) { return a.g().b(i); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void c(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (this.b.transact(5, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().c(i); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void d(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (this.b.transact(6, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().d(i); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a() throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (this.b.transact(7, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public long e(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(8, obtain, obtain2, 0) && a.g() != null) { return a.g().e(i); } obtain2.readException(); long readLong = obtain2.readLong(); obtain2.recycle(); obtain.recycle(); return readLong; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public int f(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(9, obtain, obtain2, 0) && a.g() != null) { return a.g().f(i); } obtain2.readException(); int readInt = obtain2.readInt(); obtain2.recycle(); obtain.recycle(); return readInt; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean g(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); boolean z = false; if (!this.b.transact(10, obtain, obtain2, 0) && a.g() != null) { return a.g().g(i); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public DownloadInfo h(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(11, obtain, obtain2, 0) && a.g() != null) { return a.g().h(i); } obtain2.readException(); DownloadInfo createFromParcel = obtain2.readInt() != 0 ? DownloadInfo.CREATOR.createFromParcel(obtain2) : null; obtain2.recycle(); obtain.recycle(); return createFromParcel; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public List<DownloadInfo> a(String str) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeString(str); if (!this.b.transact(12, obtain, obtain2, 0) && a.g() != null) { return a.g().a(str); } obtain2.readException(); ArrayList createTypedArrayList = obtain2.createTypedArrayList(DownloadInfo.CREATOR); obtain2.recycle(); obtain.recycle(); return createTypedArrayList; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public List<b> i(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(13, obtain, obtain2, 0) && a.g() != null) { return a.g().i(i); } obtain2.readException(); ArrayList createTypedArrayList = obtain2.createTypedArrayList(b.CREATOR); obtain2.recycle(); obtain.recycle(); return createTypedArrayList; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public int a(String str, String str2) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeString(str); obtain.writeString(str2); if (!this.b.transact(14, obtain, obtain2, 0) && a.g() != null) { return a.g().a(str, str2); } obtain2.readException(); int readInt = obtain2.readInt(); obtain2.recycle(); obtain.recycle(); return readInt; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public DownloadInfo b(String str, String str2) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeString(str); obtain.writeString(str2); if (!this.b.transact(15, obtain, obtain2, 0) && a.g() != null) { return a.g().b(str, str2); } obtain2.readException(); DownloadInfo createFromParcel = obtain2.readInt() != 0 ? DownloadInfo.CREATOR.createFromParcel(obtain2) : null; obtain2.recycle(); obtain.recycle(); return createFromParcel; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public List<DownloadInfo> b(String str) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeString(str); if (!this.b.transact(16, obtain, obtain2, 0) && a.g() != null) { return a.g().b(str); } obtain2.readException(); ArrayList createTypedArrayList = obtain2.createTypedArrayList(DownloadInfo.CREATOR); obtain2.recycle(); obtain.recycle(); return createTypedArrayList; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public List<DownloadInfo> c(String str) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeString(str); if (!this.b.transact(17, obtain, obtain2, 0) && a.g() != null) { return a.g().c(str); } obtain2.readException(); ArrayList createTypedArrayList = obtain2.createTypedArrayList(DownloadInfo.CREATOR); obtain2.recycle(); obtain.recycle(); return createTypedArrayList; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public List<DownloadInfo> d(String str) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeString(str); if (!this.b.transact(18, obtain, obtain2, 0) && a.g() != null) { return a.g().d(str); } obtain2.readException(); ArrayList createTypedArrayList = obtain2.createTypedArrayList(DownloadInfo.CREATOR); obtain2.recycle(); obtain.recycle(); return createTypedArrayList; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public List<DownloadInfo> b() throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (!this.b.transact(19, obtain, obtain2, 0) && a.g() != null) { return a.g().b(); } obtain2.readException(); ArrayList createTypedArrayList = obtain2.createTypedArrayList(DownloadInfo.CREATOR); obtain2.recycle(); obtain.recycle(); return createTypedArrayList; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(List<String> list) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeStringList(list); if (this.b.transact(20, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(list); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void b(List<String> list) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeStringList(list); if (this.b.transact(21, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().b(list); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void b(int i, boolean z) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(z ? 1 : 0); if (this.b.transact(22, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().b(i, z); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void c(int i, boolean z) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(z ? 1 : 0); if (this.b.transact(23, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().c(i, z); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void j(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (this.b.transact(24, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().j(i); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, int i2, com.ss.android.socialbase.downloader.depend.i iVar, int i3, boolean z) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(i2); obtain.writeStrongBinder(iVar != null ? iVar.asBinder() : null); obtain.writeInt(i3); obtain.writeInt(z ? 1 : 0); if (this.b.transact(25, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, i2, iVar, i3, z); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void b(int i, int i2, com.ss.android.socialbase.downloader.depend.i iVar, int i3, boolean z) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(i2); obtain.writeStrongBinder(iVar != null ? iVar.asBinder() : null); obtain.writeInt(i3); obtain.writeInt(z ? 1 : 0); if (this.b.transact(26, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().b(i, i2, iVar, i3, z); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, int i2, com.ss.android.socialbase.downloader.depend.i iVar, int i3, boolean z, boolean z2) throws RemoteException { Throwable th; Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(i2); obtain.writeStrongBinder(iVar != null ? iVar.asBinder() : null); obtain.writeInt(i3); int i4 = 1; obtain.writeInt(z ? 1 : 0); if (!z2) { i4 = 0; } obtain.writeInt(i4); try { if (this.b.transact(27, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, i2, iVar, i3, z, z2); obtain2.recycle(); obtain.recycle(); } catch (Throwable th2) { th = th2; obtain2.recycle(); obtain.recycle(); throw th; } } catch (Throwable th3) { th = th3; obtain2.recycle(); obtain.recycle(); throw th; } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean a(DownloadInfo downloadInfo) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean z = true; if (downloadInfo != null) { obtain.writeInt(1); downloadInfo.writeToParcel(obtain, 0); } else { obtain.writeInt(0); } if (!this.b.transact(28, obtain, obtain2, 0) && a.g() != null) { return a.g().a(downloadInfo); } obtain2.readException(); if (obtain2.readInt() == 0) { z = false; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, Notification notification) throws RemoteException { Parcel obtain = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (notification != null) { obtain.writeInt(1); notification.writeToParcel(obtain, 0); } else { obtain.writeInt(0); } if (this.b.transact(29, obtain, null, 1) || a.g() == null) { obtain.recycle(); } else { a.g().a(i, notification); } } finally { obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(boolean z) throws RemoteException { Parcel obtain = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(z ? 1 : 0); if (this.b.transact(30, obtain, null, 1) || a.g() == null) { obtain.recycle(); } else { a.g().a(z); } } finally { obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean c() throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean z = false; if (!this.b.transact(31, obtain, obtain2, 0) && a.g() != null) { return a.g().c(); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public List<DownloadInfo> e(String str) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeString(str); if (!this.b.transact(32, obtain, obtain2, 0) && a.g() != null) { return a.g().e(str); } obtain2.readException(); ArrayList createTypedArrayList = obtain2.createTypedArrayList(DownloadInfo.CREATOR); obtain2.recycle(); obtain.recycle(); return createTypedArrayList; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean k(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); boolean z = false; if (!this.b.transact(33, obtain, obtain2, 0) && a.g() != null) { return a.g().k(i); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void l(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (this.b.transact(34, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().l(i); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean d() throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean z = false; if (!this.b.transact(35, obtain, obtain2, 0) && a.g() != null) { return a.g().d(); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void d(int i, boolean z) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(z ? 1 : 0); if (this.b.transact(36, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().d(i, z); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public int m(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(37, obtain, obtain2, 0) && a.g() != null) { return a.g().m(i); } obtain2.readException(); int readInt = obtain2.readInt(); obtain2.recycle(); obtain.recycle(); return readInt; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(b bVar) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (bVar != null) { obtain.writeInt(1); bVar.writeToParcel(obtain, 0); } else { obtain.writeInt(0); } if (this.b.transact(38, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(bVar); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean b(DownloadInfo downloadInfo) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean z = true; if (downloadInfo != null) { obtain.writeInt(1); downloadInfo.writeToParcel(obtain, 0); } else { obtain.writeInt(0); } if (!this.b.transact(39, obtain, obtain2, 0) && a.g() != null) { return a.g().b(downloadInfo); } obtain2.readException(); if (obtain2.readInt() == 0) { z = false; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean n(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); boolean z = false; if (!this.b.transact(40, obtain, obtain2, 0) && a.g() != null) { return a.g().n(i); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void o(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (this.b.transact(41, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().o(i); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, int i2, long j) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(i2); obtain.writeLong(j); if (this.b.transact(42, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, i2, j); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, int i2, int i3, long j) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(i2); obtain.writeInt(i3); obtain.writeLong(j); if (this.b.transact(43, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, i2, i3, j); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, int i2, int i3, int i4) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(i2); obtain.writeInt(i3); obtain.writeInt(i4); if (this.b.transact(44, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, i2, i3, i4); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean p(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); boolean z = false; if (!this.b.transact(45, obtain, obtain2, 0) && a.g() != null) { return a.g().p(i); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void e() throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); if (this.b.transact(46, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().e(); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, List<b> list) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeTypedList(list); if (this.b.transact(47, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, list); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void b(int i, List<b> list) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeTypedList(list); if (this.b.transact(48, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().b(i, list); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(aj ajVar) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeStrongBinder(ajVar != null ? ajVar.asBinder() : null); if (this.b.transact(49, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(ajVar); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, int i2) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeInt(i2); if (this.b.transact(50, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, i2); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public y q(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(51, obtain, obtain2, 0) && a.g() != null) { return a.g().q(i); } obtain2.readException(); y a2 = y.a.a(obtain2.readStrongBinder()); obtain2.recycle(); obtain.recycle(); return a2; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public ae r(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(52, obtain, obtain2, 0) && a.g() != null) { return a.g().r(i); } obtain2.readException(); ae a2 = ae.a.a(obtain2.readStrongBinder()); obtain2.recycle(); obtain.recycle(); return a2; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, y yVar) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeStrongBinder(yVar != null ? yVar.asBinder() : null); if (this.b.transact(53, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, yVar); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public g s(int i) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); if (!this.b.transact(54, obtain, obtain2, 0) && a.g() != null) { return a.g().s(i); } obtain2.readException(); g a2 = g.a.a(obtain2.readStrongBinder()); obtain2.recycle(); obtain.recycle(); return a2; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public boolean f() throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); boolean z = false; if (!this.b.transact(55, obtain, obtain2, 0) && a.g() != null) { return a.g().f(); } obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); return z; } finally { obtain2.recycle(); obtain.recycle(); } } @Override // com.ss.android.socialbase.downloader.downloader.i public void a(int i, long j) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.ss.android.socialbase.downloader.downloader.IDownloadAidlService"); obtain.writeInt(i); obtain.writeLong(j); if (this.b.transact(56, obtain, obtain2, 0) || a.g() == null) { obtain2.readException(); obtain2.recycle(); obtain.recycle(); return; } a.g().a(i, j); } finally { obtain2.recycle(); obtain.recycle(); } } } public static i g() { return C0302a.a; } } }