package o;

import android.telephony.TelephonyManager;
import android.telephony.TelephonyManager$UssdResponseCallback;
import java.util.concurrent.CountDownLatch;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class BB extends TelephonyManager$UssdResponseCallback {
    public final /* synthetic */ B10 a;
    public final /* synthetic */ C2773w10 b;
    public final /* synthetic */ CountDownLatch c;

    public BB(B10 b10, C2773w10 c2773w10, CountDownLatch countDownLatch) {
        this.a = b10;
        this.b = c2773w10;
        this.c = countDownLatch;
    }

    public final void onReceiveUssdResponse(TelephonyManager telephonyManager, String str, CharSequence charSequence) {
        this.a.l = charSequence.toString();
        this.b.l = true;
        this.c.countDown();
    }

    public final void onReceiveUssdResponseFailed(TelephonyManager telephonyManager, String str, int i) {
        this.a.l = "اجرا نشد";
        this.b.l = false;
        this.c.countDown();
    }
}
