package com.tencent.mm.plugin.backup.d;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.backup.g.j.a;
import com.tencent.mm.plugin.report.service.h;
import com.tencent.mm.sdk.platformtools.ab;

class c$11 implements a {
    final /* synthetic */ c jtN;

    c$11(c cVar) {
        this.jtN = cVar;
    }

    public final void aTn() {
        AppMethodBeat.i(17256);
        this.jtN.rj(b.aSZ().aSu().jqW);
        AppMethodBeat.o(17256);
    }

    public final void ro(int i) {
        AppMethodBeat.i(17257);
        int i2 = b.aSZ().aSu().jqW;
        if (i == 1) {
            if (i2 == 23) {
                ab.i("MicroMsg.BackupMoveRecoverServer", "speedCallback is weak connect now.");
                b.aSZ().aSu().jqW = 4;
                this.jtN.rj(4);
                h.pYm.e(11789, new Object[]{Integer.valueOf(8)});
                AppMethodBeat.o(17257);
                return;
            }
        } else if (i == 0 && i2 == 4) {
            ab.i("MicroMsg.BackupMoveRecoverServer", "speedCallback is normal speed now.");
            b.aSZ().aSu().jqW = 23;
            this.jtN.rj(23);
            h.pYm.e(11789, new Object[]{Integer.valueOf(9)});
        }
        AppMethodBeat.o(17257);
    }

    public final void aTo() {
        AppMethodBeat.i(17258);
        int i = b.aSZ().aSu().jqW;
        ab.e("MicroMsg.BackupMoveRecoverServer", "speedOverTime callback, backupState[%d]", new Object[]{Integer.valueOf(i)});
        if (i == 23 || i == 4) {
            this.jtN.c(true, false, -4);
            h.pYm.a(485, 43, 1, false);
            this.jtN.rn(4);
            b.aSZ().aTa().stop();
        }
        AppMethodBeat.o(17258);
    }
}
