package d.f.a.p2.u0;

import android.hardware.usb.UsbDevice;
import java.util.ArrayList;
import java.util.List;

/* JADX INFO: compiled from: TouchDeviceManager.java */
/* JADX INFO: loaded from: classes.dex */
public class a {
    public static a a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public List<UsbDevice> f3059b = new ArrayList();

    public static synchronized a b() {
        if (a == null) {
            a = new a();
        }
        return a;
    }

    public final boolean a(int i2, int i3) {
        for (UsbDevice usbDevice : this.f3059b) {
            if (usbDevice.getProductId() == i2 && usbDevice.getVendorId() == i3) {
                return true;
            }
        }
        return false;
    }
}
