翰林优商.apk(点击下载) / p.java


package com.kwai.filedownloader;

import android.os.IBinder;
import android.os.RemoteException;
import com.kwai.filedownloader.b.a;
import com.kwai.filedownloader.b.b;
import com.kwai.filedownloader.message.MessageSnapshot;
import com.kwai.filedownloader.message.e;

/* access modifiers changed from: package-private */
public final class p extends com.kwai.filedownloader.services.a<a, b> {

    /* access modifiers changed from: protected */
    public static class a extends a.AbstractBinderC0183a {
        protected a() {
        }

        @Override // com.kwai.filedownloader.b.a
        public final void q(MessageSnapshot messageSnapshot) {
            e.ade().s(messageSnapshot);
        }
    }

    p(Class<?> cls) {
        super(cls);
    }

    private static b a(IBinder iBinder) {
        return b.a.a(iBinder);
    }

    private static void a(b bVar, a aVar) {
        bVar.a(aVar);
    }

    private static a abU() {
        return new a();
    }

    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [android.os.IInterface, android.os.Binder] */
    @Override // com.kwai.filedownloader.services.a
    public final /* bridge */ /* synthetic */ void a(b bVar, a aVar) {
        a(bVar, aVar);
    }

    @Override // com.kwai.filedownloader.u
    public final boolean a(String str, String str2, boolean z, int i, int i2, int i3, boolean z2, com.kwai.filedownloader.c.b bVar, boolean z3) {
        if (!isConnected()) {
            return com.kwai.filedownloader.e.a.m(str, str2, z);
        }
        try {
            ((b) ado()).b(str, str2, z, i, i2, i3, z2, bVar, z3);
            return true;
        } catch (RemoteException e) {
            e.printStackTrace();
            return false;
        }
    }

    /* Return type fixed from 'android.os.Binder' to match base method */
    @Override // com.kwai.filedownloader.services.a
    public final /* synthetic */ a abV() {
        return abU();
    }

    /* Return type fixed from 'android.os.IInterface' to match base method */
    @Override // com.kwai.filedownloader.services.a
    public final /* synthetic */ b b(IBinder iBinder) {
        return a(iBinder);
    }

    @Override // com.kwai.filedownloader.u
    public final byte eA(int i) {
        if (!isConnected()) {
            return com.kwai.filedownloader.e.a.eA(i);
        }
        try {
            return ((b) ado()).eA(i);
        } catch (RemoteException e) {
            e.printStackTrace();
            return 0;
        }
    }

    @Override // com.kwai.filedownloader.u
    public final boolean eB(int i) {
        if (!isConnected()) {
            return com.kwai.filedownloader.e.a.eB(i);
        }
        try {
            return ((b) ado()).eB(i);
        } catch (RemoteException e) {
            e.printStackTrace();
            return false;
        }
    }

    @Override // com.kwai.filedownloader.u
    public final boolean ez(int i) {
        if (!isConnected()) {
            return com.kwai.filedownloader.e.a.ez(i);
        }
        try {
            return ((b) ado()).ez(i);
        } catch (RemoteException e) {
            e.printStackTrace();
            return false;
        }
    }
}