package com.tencent.mm.plugin.ipcall.a.c;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.sdk.platformtools.ab;
import com.tencent.mm.sdk.platformtools.bo;
import com.tencent.ytcommon.BuildConfig;

public final class b {
    public String countryCode = BuildConfig.FLAVOR;
    public String gyD = BuildConfig.FLAVOR;
    public long nvh = 0;
    public int nwu = 0;
    public long nwv = 0;
    public int nwx = 0;
    public int nxE = 0;
    public int nxF = 0;
    public int nxG = 0;
    public int nxH = 0;
    public int nxI = 0;
    public long nxJ = 0;
    public long nxK = 0;
    public int nxL = 0;
    public long nxM = 0;
    public int nxN = 0;
    public long nxO = 0;
    public int nxP = 0;
    public String nxQ = BuildConfig.FLAVOR;
    public long nxR = 0;
    public long nxS = 0;
    public long nxT = 0;
    public long nxU = 0;
    public String nxV = BuildConfig.FLAVOR;
    public String nxW = BuildConfig.FLAVOR;
    public String nxX = BuildConfig.FLAVOR;
    public long nxY = 0;
    public long nxZ = 0;
    public long nya = 0;
    public int nyb = 0;
    public int nyc = 0;
    public int nyd = 0;
    public int nye = 0;

    public final void setCountryCode(String str) {
        AppMethodBeat.i(21829);
        ab.d("MicroMsg.IPCallReportHelper", "setCountryCode: %s", new Object[]{str});
        if (!bo.isNullOrNil(str)) {
            this.countryCode = str;
        }
        AppMethodBeat.o(21829);
    }

    public final void ep(int i, int i2) {
        AppMethodBeat.i(21830);
        if (this.nwx == i) {
            ab.d("MicroMsg.IPCallReportHelper", "setInviteCgiRet: %d", new Object[]{Integer.valueOf(i2)});
            this.nxP = i2;
        }
        AppMethodBeat.o(21830);
    }

    public final void bHN() {
        AppMethodBeat.i(21831);
        ab.i("MicroMsg.IPCallReportHelper", "selfShutdown");
        this.nxI = 1;
        AppMethodBeat.o(21831);
    }

    public final void bHO() {
        AppMethodBeat.i(21832);
        ab.i("MicroMsg.IPCallReportHelper", "selfCancel");
        this.nxH = 1;
        if (this.nya == 0 && this.nxR != 0) {
            this.nya = System.currentTimeMillis() - this.nxR;
            ab.d("MicroMsg.IPCallReportHelper", "cancelTime: %d", new Object[]{Long.valueOf(this.nya)});
        }
        AppMethodBeat.o(21832);
    }

    public final void bHP() {
        AppMethodBeat.i(21833);
        ab.i("MicroMsg.IPCallReportHelper", "channelConnect");
        this.nxL = 1;
        AppMethodBeat.o(21833);
    }

    public final void bHQ() {
        if (this.nyd == 0) {
            this.nyd = 1;
        }
    }

    public final void bHR() {
        AppMethodBeat.i(21834);
        ab.d("MicroMsg.IPCallReportHelper", "markConnect");
        if (this.nxY == 0) {
            this.nxY = System.currentTimeMillis();
            this.nxZ = this.nxY - this.nxR;
            ab.d("MicroMsg.IPCallReportHelper", "connectTime: %d", new Object[]{Long.valueOf(this.nxZ)});
        }
        AppMethodBeat.o(21834);
    }

    public final void bHS() {
        AppMethodBeat.i(21835);
        ab.d("MicroMsg.IPCallReportHelper", "markStartTalk");
        if (this.nxT == 0) {
            this.nxT = System.currentTimeMillis();
        }
        AppMethodBeat.o(21835);
    }
}
