private void mappingGripSensor(int p6)
    {
        android.hardware.Sensor v0_0 = 0;
        if (!WIFI.equals(this.mSensorListeners[p6].getGripType())) {
            if ((!AP.equals(this.mSensorListeners[p6].getGripType())) && (!TOUCH.equals(this.mSensorListeners[p6].getGripType()))) {
                if (((SUB.equals(this.mSensorListeners[p6].getGripType())) || (WIFI_SUB.equals(this.mSensorListeners[p6].getGripType()))) && ((this.sensors != null) && (this.sensors.size() >= 2))) {
                    v0_0 = ((android.hardware.Sensor) this.sensors.get(1));
                    this.mSensorListeners[p6].setGripSensor(v0_0);
                }
            } else {
                if ((this.mGripCount < 2) || (this.misWifiSub)) {
                    v0_0 = this.mSensorManager.getDefaultSensor(65560);
                    this.mSensorListeners[p6].setGripSensor(v0_0);
                } else {
                    if ((this.sensors != null) && (this.sensors.size() >= 1)) {
                        v0_0 = ((android.hardware.Sensor) this.sensors.get(0));
                        this.mSensorListeners[p6].setGripSensor(v0_0);
                    }
                }
            }
        } else {
            v0_0 = this.mSensorManager.getDefaultSensor(65575);
            this.mSensorListeners[p6].setGripSensor(v0_0);
        }
        if (v0_0 == null) {
            String v3_3 = new StringBuilder();
            v3_3.append(GripSensor);
            v3_3.append(p6);
            v3_3.append( is NULL);
            com.sec.android.app.hwmoduletest.support.LtUtil.log_e(GripSensorWorkingTest, mappingGripSensor, v3_3.toString());
        }
        return;
    }