package K.K.ʬ;

import android.app.ActivityManager;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.provider.Settings;
import android.support.v4.media.session.PlaybackStateCompat;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
import com.facebook.appevents.AppEventsConstants;
import com.facebook.appevents.codeless.CodelessMatcher;
import com.facebook.internal.ServerProtocol;
import com.facebook.internal.instrument.InstrumentData;
import com.facebook.places.PlaceManager;
import com.facebook.places.model.PlaceFields;
import com.google.android.material.progressindicator.BaseProgressIndicator;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONObject;
import K.K.ῲ.C2364;
import K.K.K.ʬ.C2369;

/* renamed from: K.K.ʬ.ⁱ  reason: contains not printable characters */
public class C2358 extends AbstractC2357 {

    /* renamed from: 㳳  reason: contains not printable characters */
    public C2364 f8172;

    public C2358(Context context, String str, String str2) {
        super(context, str, str2);
        this.f8172 = new C2364(context);
    }

    @Override // K.K.ʬ.AbstractC2357
    /* renamed from: ʬ  reason: contains not printable characters */
    public String m6185() {
        return AppEventsConstants.EVENT_PARAM_VALUE_NO;
    }

    @Override // K.K.ʬ.AbstractC2357
    /* renamed from: ඓ  reason: contains not printable characters */
    public String m6186() {
        return AppEventsConstants.EVENT_PARAM_VALUE_NO;
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public void m6187(List<ScanResult> list) {
        JSONArray jSONArray = new JSONArray();
        try {
            if (C2369.m6286(this.f44, "android.permission.ACCESS_WIFI_STATE")) {
                WifiInfo connectionInfo = ((WifiManager) this.f44.getApplicationContext().getSystemService(PlaceManager.PARAM_WIFI)).getConnectionInfo();
                String bssid = connectionInfo == null ? null : connectionInfo.getBSSID();
                if (list != null) {
                    Iterator it2 = new ArrayList(list).iterator();
                    while (it2.hasNext()) {
                        ScanResult scanResult = (ScanResult) it2.next();
                        JSONObject jSONObject = new JSONObject();
                        try {
                            jSONObject.putOpt("is_current", Boolean.valueOf(TextUtils.equals(scanResult.BSSID, bssid)));
                        } catch (Exception unused) {
                        }
                        try {
                            jSONObject.putOpt("capabilities", scanResult.capabilities);
                        } catch (Exception unused2) {
                        }
                        try {
                            jSONObject.putOpt("level", Integer.valueOf(scanResult.level));
                        } catch (Exception unused3) {
                        }
                        try {
                            jSONObject.putOpt("bssid", scanResult.BSSID);
                        } catch (Exception unused4) {
                        }
                        try {
                            jSONObject.putOpt(PlaceManager.PARAM_SSID, scanResult.SSID);
                        } catch (Exception unused5) {
                        }
                        try {
                            jSONObject.putOpt(PlaceManager.PARAM_FREQUENCY, Integer.valueOf(scanResult.frequency));
                        } catch (Exception unused6) {
                        }
                        int i = Build.VERSION.SDK_INT;
                        try {
                            jSONObject.putOpt("wifi_timestamp", Long.valueOf(scanResult.timestamp));
                        } catch (Exception unused7) {
                        }
                        jSONArray.put(jSONObject);
                    }
                }
            }
        } catch (Exception unused8) {
        }
        super.m6183("wifi_list", jSONArray);
    }

    @Override // K.K.ʬ.AbstractC2357
    /* renamed from: K  reason: contains not printable characters */
    public void m6188(String str, Object obj) {
        if (obj == null) {
            obj = "";
        }
        super.m6183(str, obj);
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m6189(List<BluetoothDevice> list) {
        JSONArray jSONArray = new JSONArray();
        if (C2369.m6286(this.f44, "android.permission.BLUETOOTH") && list != null) {
            Iterator it2 = new ArrayList(list).iterator();
            while (it2.hasNext()) {
                BluetoothDevice bluetoothDevice = (BluetoothDevice) it2.next();
                JSONObject jSONObject = new JSONObject();
                try {
                    jSONObject.putOpt("bond_state", Integer.valueOf(bluetoothDevice.getBondState()));
                } catch (Exception unused) {
                }
                try {
                    jSONObject.putOpt("address", bluetoothDevice.getAddress());
                } catch (Exception unused2) {
                }
                int i = Build.VERSION.SDK_INT;
                try {
                    jSONObject.putOpt("blue_tooth_type", Integer.valueOf(bluetoothDevice.getType()));
                } catch (Exception unused3) {
                }
                boolean z = true;
                try {
                    jSONObject.putOpt("is_bounded", Boolean.valueOf(bluetoothDevice.getBondState() == 12));
                } catch (Exception unused4) {
                }
                if (bluetoothDevice.getBondState() != 11) {
                    z = false;
                }
                try {
                    jSONObject.putOpt("is_bounding", Boolean.valueOf(z));
                } catch (Exception unused5) {
                }
                jSONArray.put(jSONObject);
            }
        }
        super.m6183("ble_list", jSONArray);
    }

    /* JADX WARNING: Removed duplicated region for block: B:101:0x021e  */
    /* JADX WARNING: Removed duplicated region for block: B:104:0x022c  */
    /* JADX WARNING: Removed duplicated region for block: B:107:0x023a  */
    /* JADX WARNING: Removed duplicated region for block: B:110:0x0248  */
    /* JADX WARNING: Removed duplicated region for block: B:113:0x0256  */
    /* JADX WARNING: Removed duplicated region for block: B:116:0x0264  */
    /* JADX WARNING: Removed duplicated region for block: B:119:0x0272  */
    /* JADX WARNING: Removed duplicated region for block: B:122:0x0280  */
    /* JADX WARNING: Removed duplicated region for block: B:125:0x0292  */
    /* JADX WARNING: Removed duplicated region for block: B:128:0x02a0  */
    /* JADX WARNING: Removed duplicated region for block: B:136:0x02c3  */
    /* JADX WARNING: Removed duplicated region for block: B:139:0x02d7  */
    /* JADX WARNING: Removed duplicated region for block: B:142:0x02eb  */
    /* JADX WARNING: Removed duplicated region for block: B:145:0x02ff  */
    /* JADX WARNING: Removed duplicated region for block: B:148:0x0313  */
    /* JADX WARNING: Removed duplicated region for block: B:151:0x0327  */
    /* JADX WARNING: Removed duplicated region for block: B:154:0x0339  */
    /* JADX WARNING: Removed duplicated region for block: B:157:0x034d  */
    /* JADX WARNING: Removed duplicated region for block: B:160:0x035f  */
    /* JADX WARNING: Removed duplicated region for block: B:163:0x0373  */
    /* JADX WARNING: Removed duplicated region for block: B:166:0x0387  */
    /* JADX WARNING: Removed duplicated region for block: B:169:0x0395  */
    /* JADX WARNING: Removed duplicated region for block: B:172:0x03a3  */
    /* JADX WARNING: Removed duplicated region for block: B:175:0x03b1  */
    /* JADX WARNING: Removed duplicated region for block: B:178:0x03c3  */
    /* JADX WARNING: Removed duplicated region for block: B:181:0x03d1  */
    /* JADX WARNING: Removed duplicated region for block: B:184:0x03eb  */
    /* JADX WARNING: Removed duplicated region for block: B:187:0x03fd  */
    /* JADX WARNING: Removed duplicated region for block: B:190:0x040b  */
    /* JADX WARNING: Removed duplicated region for block: B:193:0x041d  */
    /* JADX WARNING: Removed duplicated region for block: B:196:0x042f  */
    /* JADX WARNING: Removed duplicated region for block: B:199:0x043d  */
    /* JADX WARNING: Removed duplicated region for block: B:202:0x044b  */
    /* JADX WARNING: Removed duplicated region for block: B:205:0x0459  */
    /* JADX WARNING: Removed duplicated region for block: B:208:0x046b  */
    /* JADX WARNING: Removed duplicated region for block: B:211:0x0479  */
    /* JADX WARNING: Removed duplicated region for block: B:214:0x048b  */
    /* JADX WARNING: Removed duplicated region for block: B:217:0x0499  */
    /* JADX WARNING: Removed duplicated region for block: B:220:0x04a7  */
    /* JADX WARNING: Removed duplicated region for block: B:223:0x04b9  */
    /* JADX WARNING: Removed duplicated region for block: B:226:0x04cb  */
    /* JADX WARNING: Removed duplicated region for block: B:234:0x04e7  */
    /* JADX WARNING: Removed duplicated region for block: B:240:0x04ff  */
    /* JADX WARNING: Removed duplicated region for block: B:241:0x0502  */
    /* JADX WARNING: Removed duplicated region for block: B:244:0x0515  */
    /* JADX WARNING: Removed duplicated region for block: B:247:0x0527  */
    /* JADX WARNING: Removed duplicated region for block: B:250:0x0539  */
    /* JADX WARNING: Removed duplicated region for block: B:253:0x0547  */
    /* JADX WARNING: Removed duplicated region for block: B:256:0x0559  */
    /* JADX WARNING: Removed duplicated region for block: B:259:0x0567  */
    /* JADX WARNING: Removed duplicated region for block: B:262:0x0575  */
    /* JADX WARNING: Removed duplicated region for block: B:265:0x0583  */
    /* JADX WARNING: Removed duplicated region for block: B:273:0x05ea  */
    /* JADX WARNING: Removed duplicated region for block: B:276:0x05f8  */
    /* JADX WARNING: Removed duplicated region for block: B:66:0x017b  */
    /* JADX WARNING: Removed duplicated region for block: B:69:0x0191  */
    /* JADX WARNING: Removed duplicated region for block: B:71:0x0194  */
    /* JADX WARNING: Removed duplicated region for block: B:74:0x01a2  */
    /* JADX WARNING: Removed duplicated region for block: B:77:0x01b0  */
    /* JADX WARNING: Removed duplicated region for block: B:80:0x01be  */
    /* JADX WARNING: Removed duplicated region for block: B:83:0x01cc  */
    /* JADX WARNING: Removed duplicated region for block: B:86:0x01da  */
    /* JADX WARNING: Removed duplicated region for block: B:89:0x01e8  */
    /* JADX WARNING: Removed duplicated region for block: B:92:0x01f6  */
    /* JADX WARNING: Removed duplicated region for block: B:95:0x0202  */
    /* JADX WARNING: Removed duplicated region for block: B:98:0x0210  */
    /* renamed from: 㴹  reason: contains not printable characters */
    public JSONObject m6190() {
        String str;
        String r0;
        String r02;
        String r03;
        String r04;
        String r05;
        String r06;
        String r07;
        String r08;
        String r09;
        String r010;
        String r011;
        String r012;
        String r013;
        String r014;
        String r015;
        String r016;
        String r017;
        String r018;
        Float valueOf;
        String r019;
        Boolean valueOf2;
        Boolean valueOf3;
        Boolean valueOf4;
        Boolean valueOf5;
        Boolean valueOf6;
        Boolean valueOf7;
        Boolean valueOf8;
        Boolean valueOf9;
        Boolean valueOf10;
        Boolean valueOf11;
        Boolean valueOf12;
        String r020;
        String r021;
        String r022;
        Integer valueOf13;
        String r023;
        String r024;
        Integer valueOf14;
        String r025;
        Long valueOf15;
        Long valueOf16;
        String r026;
        String r027;
        String r028;
        Long valueOf17;
        String r029;
        Boolean valueOf18;
        String r030;
        String r031;
        Boolean valueOf19;
        Long valueOf20;
        int i;
        Integer valueOf21;
        Boolean valueOf22;
        Boolean valueOf23;
        Boolean valueOf24;
        String r032;
        Integer valueOf25;
        String r033;
        String r034;
        String r035;
        WifiManager wifiManager;
        String str2;
        String r036;
        String r037 = this.f8172.m6237();
        if (r037 == null) {
            r037 = "";
        }
        super.m6183("cpu_architecture", r037);
        String r038 = this.f8172.m6225();
        if (r038 == null) {
            r038 = "";
        }
        super.m6183("cpu_hardware", r038);
        String r039 = this.f8172.m6220();
        if (r039 == null) {
            r039 = "";
        }
        super.m6183("cpu_speed", r039);
        String r040 = this.f8172.m6214();
        if (r040 == null) {
            r040 = "";
        }
        super.m6183("cpu_max_freq", r040);
        Integer valueOf26 = Integer.valueOf(this.f8172.m6247());
        if (valueOf26 == null) {
            valueOf26 = "";
        }
        super.m6183("cpu_core_number", valueOf26);
        String r041 = this.f8172.m6234();
        if (r041 == null) {
            r041 = "";
        }
        super.m6183("cpu_min_freq", r041);
        String r042 = this.f8172.m6262();
        if (r042 == null) {
            r042 = "";
        }
        super.m6183("cpu_cur_freq", r042);
        String r043 = this.f8172.m6215();
        if (r043 == null) {
            r043 = "";
        }
        super.m6183("cpu_serial", r043);
        String r044 = this.f8172.m6219();
        if (r044 == null) {
            r044 = "";
        }
        super.m6183("cpu_abi", r044);
        String r045 = this.f8172.m6235();
        if (r045 == null) {
            r045 = "";
        }
        super.m6183("cpu_abi2", r045);
        Long valueOf27 = Long.valueOf(this.f8172.m6254());
        if (valueOf27 == null) {
            valueOf27 = "";
        }
        super.m6183("disk_total_space", valueOf27);
        Long valueOf28 = Long.valueOf(this.f8172.m6201());
        if (valueOf28 == null) {
            valueOf28 = "";
        }
        super.m6183("disk_free_space", valueOf28);
        Long valueOf29 = Long.valueOf(this.f8172.m6241());
        if (valueOf29 == null) {
            valueOf29 = "";
        }
        super.m6183("ram_total_space", valueOf29);
        Long valueOf30 = Long.valueOf(this.f8172.m6238());
        if (valueOf30 == null) {
            valueOf30 = "";
        }
        super.m6183("ram_free_space", valueOf30);
        Long valueOf31 = Long.valueOf(this.f8172.m6241());
        if (valueOf31 == null) {
            valueOf31 = "";
        }
        super.m6183("memory_total_size", valueOf31);
        Long valueOf32 = Long.valueOf(this.f8172.m6238());
        if (valueOf32 == null) {
            valueOf32 = "";
        }
        super.m6183("memory_free_size", valueOf32);
        Long valueOf33 = Long.valueOf(this.f8172.m6240());
        if (valueOf33 == null) {
            valueOf33 = "";
        }
        super.m6183("heap_size", valueOf33);
        ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo();
        ((ActivityManager) this.f8172.f8174.getSystemService("activity")).getMemoryInfo(memoryInfo);
        Boolean valueOf34 = Boolean.valueOf(memoryInfo.lowMemory);
        if (valueOf34 == null) {
            valueOf34 = "";
        }
        super.m6183("is_low_memory", valueOf34);
        ActivityManager.MemoryInfo memoryInfo2 = new ActivityManager.MemoryInfo();
        ((ActivityManager) this.f8172.f8174.getSystemService("activity")).getMemoryInfo(memoryInfo2);
        Long valueOf35 = Long.valueOf(memoryInfo2.threshold / PlaybackStateCompat.ACTION_PLAY_FROM_MEDIA_ID);
        if (valueOf35 == null) {
            valueOf35 = "";
        }
        super.m6183("low_memory_threshold", valueOf35);
        C2364 r046 = this.f8172;
        if (C2369.m6286(r046.f8174, "android.permission.READ_PHONE_STATE")) {
            try {
                TelephonyManager telephonyManager = (TelephonyManager) r046.f8174.getSystemService(PlaceFields.PHONE);
                if (Build.VERSION.SDK_INT >= 26) {
                    str = telephonyManager.getImei();
                    if (str == null) {
                        str = "";
                    }
                    super.m6183("imei", str);
                    r0 = C2360.m6195(this.f8172.f8174);
                    if ("02:00:00:00:00:00".equals(r0)) {
                        r0 = null;
                    }
                    if (r0 == null) {
                        r0 = "";
                    }
                    super.m6183("wifi_mac", r0);
                    r02 = this.f8172.m6229();
                    if (r02 == null) {
                        r02 = "";
                    }
                    super.m6183("android_id", r02);
                    r03 = this.f8172.m6224();
                    if (r03 == null) {
                        r03 = "";
                    }
                    super.m6183("bluetooth_mac", r03);
                    r04 = this.f8172.m6259();
                    if (r04 == null) {
                        r04 = "";
                    }
                    super.m6183("base_brand_version", r04);
                    r05 = this.f8172.m6239();
                    if (r05 == null) {
                        r05 = "";
                    }
                    super.m6183("board", r05);
                    r06 = this.f8172.m6261();
                    if (r06 == null) {
                        r06 = "";
                    }
                    super.m6183("boot_loader", r06);
                    r07 = this.f8172.m6242();
                    if (r07 == null) {
                        r07 = "";
                    }
                    super.m6183("brand", r07);
                    r08 = this.f8172.m6219();
                    if (r08 == null) {
                        r08 = "";
                    }
                    super.m6183("cpu_abi", r08);
                    r09 = this.f8172.m6235();
                    if (r09 == null) {
                        r09 = "";
                    }
                    super.m6183("cpu_abi_2", r09);
                    r010 = this.f8172.m6211();
                    if (r010 == null) {
                        r010 = "";
                    }
                    super.m6183(ServerProtocol.DIALOG_PARAM_DISPLAY, r010);
                    r011 = this.f8172.m6217();
                    if (r011 == null) {
                        r011 = "";
                    }
                    super.m6183("finger_print", r011);
                    r012 = this.f8172.m6258();
                    if (r012 == null) {
                        r012 = "";
                    }
                    super.m6183("hardware", r012);
                    r013 = this.f8172.m6222();
                    if (r013 == null) {
                        r013 = "";
                    }
                    super.m6183("host", r013);
                    r014 = this.f8172.m6244();
                    if (r014 == null) {
                        r014 = "";
                    }
                    super.m6183("id", r014);
                    r015 = this.f8172.m6200();
                    if (r015 == null) {
                        r015 = "";
                    }
                    super.m6183("manufacturer", r015);
                    r016 = this.f8172.m6248();
                    if (r016 == null) {
                        r016 = "";
                    }
                    super.m6183(InstrumentData.PARAM_DEVICE_MODEL, r016);
                    r017 = this.f8172.m6207();
                    if (r017 == null) {
                        r017 = "";
                    }
                    super.m6183("product", r017);
                    r018 = this.f8172.m6227();
                    if (r018 == null) {
                        r018 = "";
                    }
                    super.m6183("resolution", r018);
                    valueOf = Float.valueOf(this.f8172.m6223());
                    if (valueOf == null) {
                        valueOf = "";
                    }
                    super.m6183("screen_density", valueOf);
                    r019 = this.f8172.m6256();
                    if (r019 == null) {
                        r019 = "";
                    }
                    super.m6183("incremental", r019);
                    int simState = ((TelephonyManager) this.f8172.f8174.getSystemService(PlaceFields.PHONE)).getSimState();
                    int i2 = 0;
                    valueOf2 = Boolean.valueOf(simState == 0 && simState != 1);
                    if (valueOf2 == null) {
                        valueOf2 = "";
                    }
                    super.m6183("has_cellular", valueOf2);
                    valueOf3 = Boolean.valueOf(this.f8172.m6233("android.hardware.wifi"));
                    if (valueOf3 == null) {
                        valueOf3 = "";
                    }
                    super.m6183("has_wifi_feature", valueOf3);
                    valueOf4 = Boolean.valueOf(this.f8172.m6233("android.hardware.wifi.direct"));
                    if (valueOf4 == null) {
                        valueOf4 = "";
                    }
                    super.m6183("has_wifi_direct_feature", valueOf4);
                    valueOf5 = Boolean.valueOf(this.f8172.m6233("android.hardware.location.gps"));
                    if (valueOf5 == null) {
                        valueOf5 = "";
                    }
                    super.m6183("has_gps_feature", valueOf5);
                    valueOf6 = Boolean.valueOf(this.f8172.m6233("android.hardware.telephony"));
                    if (valueOf6 == null) {
                        valueOf6 = "";
                    }
                    super.m6183("has_telephony_feature", valueOf6);
                    valueOf7 = Boolean.valueOf(this.f8172.m6233("android.hardware.nfc"));
                    if (valueOf7 == null) {
                        valueOf7 = "";
                    }
                    super.m6183("has_nfc_feature", valueOf7);
                    valueOf8 = Boolean.valueOf(this.f8172.m6210());
                    if (valueOf8 == null) {
                        valueOf8 = "";
                    }
                    super.m6183("has_nfc_host_feature", valueOf8);
                    valueOf9 = Boolean.valueOf(this.f8172.m6233("android.hardware.bluetooth"));
                    if (valueOf9 == null) {
                        valueOf9 = "";
                    }
                    super.m6183("has_bluetooth_feature", valueOf9);
                    valueOf10 = Boolean.valueOf(this.f8172.m6246());
                    if (valueOf10 == null) {
                        valueOf10 = "";
                    }
                    super.m6183("has_bluetooth_LE_feature", valueOf10);
                    valueOf11 = Boolean.valueOf(this.f8172.m6233("android.hardware.usb.host"));
                    if (valueOf11 == null) {
                        valueOf11 = "";
                    }
                    super.m6183("has_OTG", valueOf11);
                    valueOf12 = Boolean.valueOf(this.f8172.m6233("android.hardware.usb.accessory"));
                    if (valueOf12 == null) {
                        valueOf12 = "";
                    }
                    super.m6183("has_AOA", valueOf12);
                    r020 = this.f8172.m6260();
                    if (r020 == null) {
                        r020 = "";
                    }
                    super.m6183("serial", r020);
                    r021 = this.f8172.m6198();
                    if (r021 == null) {
                        r021 = "";
                    }
                    super.m6183("radio_version", r021);
                    r022 = this.f8172.m6226();
                    if (r022 == null) {
                        r022 = "";
                    }
                    super.m6183("battery_charge_plug", r022);
                    valueOf13 = Integer.valueOf(this.f8172.m6251());
                    if (valueOf13 == null) {
                        valueOf13 = "";
                    }
                    super.m6183("battery_level", valueOf13);
                    r023 = this.f8172.m6243();
                    if (r023 == null) {
                        r023 = "";
                    }
                    super.m6183("os_time_zone", r023);
                    this.f8172.m6209();
                    super.m6183("os_type", "Android");
                    r024 = this.f8172.m6213();
                    if (r024 == null) {
                        r024 = "";
                    }
                    super.m6183("os_version", r024);
                    valueOf14 = Integer.valueOf(this.f8172.m6249());
                    if (valueOf14 == null) {
                        valueOf14 = "";
                    }
                    super.m6183("os_version_int", valueOf14);
                    r025 = this.f8172.m6228();
                    if (r025 == null) {
                        r025 = "";
                    }
                    super.m6183("os_internet_type", r025);
                    valueOf15 = Long.valueOf(this.f8172.m6202());
                    if (valueOf15 == null) {
                        valueOf15 = "";
                    }
                    super.m6183("os_boot_times", valueOf15);
                    valueOf16 = Long.valueOf(this.f8172.m6208());
                    if (valueOf16 == null) {
                        valueOf16 = "";
                    }
                    super.m6183("os_up_times", valueOf16);
                    r026 = this.f8172.m6236();
                    if (r026 == null) {
                        r026 = "";
                    }
                    super.m6183("os_user_agent", r026);
                    r027 = this.f8172.m6205();
                    if (r027 == null) {
                        r027 = "";
                    }
                    super.m6183("os_build_device", r027);
                    r028 = this.f8172.m6203();
                    if (r028 == null) {
                        r028 = "";
                    }
                    super.m6183("os_build_tags", r028);
                    valueOf17 = Long.valueOf(this.f8172.m6255());
                    if (valueOf17 == null) {
                        valueOf17 = "";
                    }
                    super.m6183("os_build_time", valueOf17);
                    r029 = this.f8172.m6221();
                    if (r029 == null) {
                        r029 = "";
                    }
                    super.m6183("os_build_type", r029);
                    valueOf18 = Boolean.valueOf(this.f8172.m6216());
                    if (valueOf18 == null) {
                        valueOf18 = "";
                    }
                    super.m6183("os_is_root", valueOf18);
                    r030 = this.f8172.m6252();
                    if (r030 == null) {
                        r030 = "";
                    }
                    super.m6183("os_build_user", r030);
                    r031 = this.f8172.m6199();
                    if (r031 == null) {
                        r031 = "";
                    }
                    super.m6183("os_code_name", r031);
                    valueOf19 = Boolean.valueOf(this.f8172.m6206());
                    if (valueOf19 == null) {
                        valueOf19 = "";
                    }
                    super.m6183("os_is_open_gps", valueOf19);
                    valueOf20 = Long.valueOf(this.f8172.m6245());
                    if (valueOf20 == null) {
                        valueOf20 = "";
                    }
                    super.m6183("os_info_gather_date", valueOf20);
                    i = Settings.System.getInt(this.f8172.f8174.getContentResolver(), "screen_brightness");
                    valueOf21 = Integer.valueOf(i);
                    if (valueOf21 == null) {
                        valueOf21 = "";
                    }
                    super.m6183("os_screen_brightness", valueOf21);
                    i2 = Settings.System.getInt(this.f8172.f8174.getContentResolver(), "screen_brightness_mode");
                    super.m6183("os_screen_manual_mode", i2 != 1 ? "Automatic" : "Manual");
                    valueOf22 = Boolean.valueOf(this.f8172.m6250());
                    if (valueOf22 == null) {
                        valueOf22 = "";
                    }
                    super.m6183("os_is_connect_vpn", valueOf22);
                    valueOf23 = Boolean.valueOf(this.f8172.m6204());
                    if (valueOf23 == null) {
                        valueOf23 = "";
                    }
                    super.m6183("os_is_developer_mode_opened", valueOf23);
                    valueOf24 = Boolean.valueOf(this.f8172.m6232());
                    if (valueOf24 == null) {
                        valueOf24 = "";
                    }
                    super.m6183("app_is_debug_mode", valueOf24);
                    r032 = this.f8172.m6257();
                    if (r032 == null) {
                        r032 = "";
                    }
                    super.m6183("app_name", r032);
                    valueOf25 = Integer.valueOf(this.f8172.m6253());
                    if (valueOf25 == null) {
                        valueOf25 = "";
                    }
                    super.m6183("app_version_code", valueOf25);
                    r033 = this.f8172.m6230();
                    if (r033 == null) {
                        r033 = "";
                    }
                    super.m6183("app_version_name", r033);
                    r034 = this.f8172.m6197();
                    if (r034 == null) {
                        r034 = "";
                    }
                    super.m6183("app_package_name", r034);
                    r035 = this.f8172.m6212();
                    if (r035 == null) {
                        r035 = "";
                    }
                    super.m6183("app_signatures", r035);
                    super.m6183("app_requested_permissions", this.f8172.m6218());
                    C2364 r047 = this.f8172;
                    wifiManager = (WifiManager) r047.f8174.getApplicationContext().getSystemService(PlaceManager.PARAM_WIFI);
                    if (wifiManager != null || !C2369.m6286(r047.f8174, "android.permission.ACCESS_WIFI_STATE")) {
                        str2 = null;
                    } else {
                        int ipAddress = wifiManager.getConnectionInfo().getIpAddress();
                        str2 = (ipAddress & BaseProgressIndicator.MAX_ALPHA) + CodelessMatcher.CURRENT_CLASS_NAME + ((ipAddress >> 8) & BaseProgressIndicator.MAX_ALPHA) + CodelessMatcher.CURRENT_CLASS_NAME + ((ipAddress >> 16) & BaseProgressIndicator.MAX_ALPHA) + CodelessMatcher.CURRENT_CLASS_NAME + ((ipAddress >> 24) & BaseProgressIndicator.MAX_ALPHA);
                    }
                    if (str2 == null) {
                        str2 = "";
                    }
                    super.m6183("eth_ip", str2);
                    r036 = this.f8172.m6231();
                    if (r036 == null) {
                        r036 = "";
                    }
                    super.m6183("true_ip", r036);
                    return m6180(this.f8170);
                }
            } catch (Exception unused) {
            }
        }
        str = null;
        if (str == null) {
        }
        super.m6183("imei", str);
        r0 = C2360.m6195(this.f8172.f8174);
        if ("02:00:00:00:00:00".equals(r0)) {
        }
        if (r0 == null) {
        }
        super.m6183("wifi_mac", r0);
        r02 = this.f8172.m6229();
        if (r02 == null) {
        }
        super.m6183("android_id", r02);
        r03 = this.f8172.m6224();
        if (r03 == null) {
        }
        super.m6183("bluetooth_mac", r03);
        r04 = this.f8172.m6259();
        if (r04 == null) {
        }
        super.m6183("base_brand_version", r04);
        r05 = this.f8172.m6239();
        if (r05 == null) {
        }
        super.m6183("board", r05);
        r06 = this.f8172.m6261();
        if (r06 == null) {
        }
        super.m6183("boot_loader", r06);
        r07 = this.f8172.m6242();
        if (r07 == null) {
        }
        super.m6183("brand", r07);
        r08 = this.f8172.m6219();
        if (r08 == null) {
        }
        super.m6183("cpu_abi", r08);
        r09 = this.f8172.m6235();
        if (r09 == null) {
        }
        super.m6183("cpu_abi_2", r09);
        r010 = this.f8172.m6211();
        if (r010 == null) {
        }
        super.m6183(ServerProtocol.DIALOG_PARAM_DISPLAY, r010);
        r011 = this.f8172.m6217();
        if (r011 == null) {
        }
        super.m6183("finger_print", r011);
        r012 = this.f8172.m6258();
        if (r012 == null) {
        }
        super.m6183("hardware", r012);
        r013 = this.f8172.m6222();
        if (r013 == null) {
        }
        super.m6183("host", r013);
        r014 = this.f8172.m6244();
        if (r014 == null) {
        }
        super.m6183("id", r014);
        r015 = this.f8172.m6200();
        if (r015 == null) {
        }
        super.m6183("manufacturer", r015);
        r016 = this.f8172.m6248();
        if (r016 == null) {
        }
        super.m6183(InstrumentData.PARAM_DEVICE_MODEL, r016);
        r017 = this.f8172.m6207();
        if (r017 == null) {
        }
        super.m6183("product", r017);
        r018 = this.f8172.m6227();
        if (r018 == null) {
        }
        super.m6183("resolution", r018);
        valueOf = Float.valueOf(this.f8172.m6223());
        if (valueOf == null) {
        }
        super.m6183("screen_density", valueOf);
        r019 = this.f8172.m6256();
        if (r019 == null) {
        }
        super.m6183("incremental", r019);
        int simState2 = ((TelephonyManager) this.f8172.f8174.getSystemService(PlaceFields.PHONE)).getSimState();
        int i22 = 0;
        valueOf2 = Boolean.valueOf(simState2 == 0 && simState2 != 1);
        if (valueOf2 == null) {
        }
        super.m6183("has_cellular", valueOf2);
        valueOf3 = Boolean.valueOf(this.f8172.m6233("android.hardware.wifi"));
        if (valueOf3 == null) {
        }
        super.m6183("has_wifi_feature", valueOf3);
        valueOf4 = Boolean.valueOf(this.f8172.m6233("android.hardware.wifi.direct"));
        if (valueOf4 == null) {
        }
        super.m6183("has_wifi_direct_feature", valueOf4);
        valueOf5 = Boolean.valueOf(this.f8172.m6233("android.hardware.location.gps"));
        if (valueOf5 == null) {
        }
        super.m6183("has_gps_feature", valueOf5);
        valueOf6 = Boolean.valueOf(this.f8172.m6233("android.hardware.telephony"));
        if (valueOf6 == null) {
        }
        super.m6183("has_telephony_feature", valueOf6);
        valueOf7 = Boolean.valueOf(this.f8172.m6233("android.hardware.nfc"));
        if (valueOf7 == null) {
        }
        super.m6183("has_nfc_feature", valueOf7);
        valueOf8 = Boolean.valueOf(this.f8172.m6210());
        if (valueOf8 == null) {
        }
        super.m6183("has_nfc_host_feature", valueOf8);
        valueOf9 = Boolean.valueOf(this.f8172.m6233("android.hardware.bluetooth"));
        if (valueOf9 == null) {
        }
        super.m6183("has_bluetooth_feature", valueOf9);
        valueOf10 = Boolean.valueOf(this.f8172.m6246());
        if (valueOf10 == null) {
        }
        super.m6183("has_bluetooth_LE_feature", valueOf10);
        valueOf11 = Boolean.valueOf(this.f8172.m6233("android.hardware.usb.host"));
        if (valueOf11 == null) {
        }
        super.m6183("has_OTG", valueOf11);
        valueOf12 = Boolean.valueOf(this.f8172.m6233("android.hardware.usb.accessory"));
        if (valueOf12 == null) {
        }
        super.m6183("has_AOA", valueOf12);
        r020 = this.f8172.m6260();
        if (r020 == null) {
        }
        super.m6183("serial", r020);
        r021 = this.f8172.m6198();
        if (r021 == null) {
        }
        super.m6183("radio_version", r021);
        r022 = this.f8172.m6226();
        if (r022 == null) {
        }
        super.m6183("battery_charge_plug", r022);
        valueOf13 = Integer.valueOf(this.f8172.m6251());
        if (valueOf13 == null) {
        }
        super.m6183("battery_level", valueOf13);
        r023 = this.f8172.m6243();
        if (r023 == null) {
        }
        super.m6183("os_time_zone", r023);
        this.f8172.m6209();
        super.m6183("os_type", "Android");
        r024 = this.f8172.m6213();
        if (r024 == null) {
        }
        super.m6183("os_version", r024);
        valueOf14 = Integer.valueOf(this.f8172.m6249());
        if (valueOf14 == null) {
        }
        super.m6183("os_version_int", valueOf14);
        r025 = this.f8172.m6228();
        if (r025 == null) {
        }
        super.m6183("os_internet_type", r025);
        valueOf15 = Long.valueOf(this.f8172.m6202());
        if (valueOf15 == null) {
        }
        super.m6183("os_boot_times", valueOf15);
        valueOf16 = Long.valueOf(this.f8172.m6208());
        if (valueOf16 == null) {
        }
        super.m6183("os_up_times", valueOf16);
        r026 = this.f8172.m6236();
        if (r026 == null) {
        }
        super.m6183("os_user_agent", r026);
        r027 = this.f8172.m6205();
        if (r027 == null) {
        }
        super.m6183("os_build_device", r027);
        r028 = this.f8172.m6203();
        if (r028 == null) {
        }
        super.m6183("os_build_tags", r028);
        valueOf17 = Long.valueOf(this.f8172.m6255());
        if (valueOf17 == null) {
        }
        super.m6183("os_build_time", valueOf17);
        r029 = this.f8172.m6221();
        if (r029 == null) {
        }
        super.m6183("os_build_type", r029);
        valueOf18 = Boolean.valueOf(this.f8172.m6216());
        if (valueOf18 == null) {
        }
        super.m6183("os_is_root", valueOf18);
        r030 = this.f8172.m6252();
        if (r030 == null) {
        }
        super.m6183("os_build_user", r030);
        r031 = this.f8172.m6199();
        if (r031 == null) {
        }
        super.m6183("os_code_name", r031);
        valueOf19 = Boolean.valueOf(this.f8172.m6206());
        if (valueOf19 == null) {
        }
        super.m6183("os_is_open_gps", valueOf19);
        valueOf20 = Long.valueOf(this.f8172.m6245());
        if (valueOf20 == null) {
        }
        super.m6183("os_info_gather_date", valueOf20);
        try {
            i = Settings.System.getInt(this.f8172.f8174.getContentResolver(), "screen_brightness");
        } catch (Exception unused2) {
            i = 0;
        }
        valueOf21 = Integer.valueOf(i);
        if (valueOf21 == null) {
        }
        super.m6183("os_screen_brightness", valueOf21);
        try {
            i22 = Settings.System.getInt(this.f8172.f8174.getContentResolver(), "screen_brightness_mode");
        } catch (Exception unused3) {
        }
        super.m6183("os_screen_manual_mode", i22 != 1 ? "Automatic" : "Manual");
        valueOf22 = Boolean.valueOf(this.f8172.m6250());
        if (valueOf22 == null) {
        }
        super.m6183("os_is_connect_vpn", valueOf22);
        valueOf23 = Boolean.valueOf(this.f8172.m6204());
        if (valueOf23 == null) {
        }
        super.m6183("os_is_developer_mode_opened", valueOf23);
        valueOf24 = Boolean.valueOf(this.f8172.m6232());
        if (valueOf24 == null) {
        }
        super.m6183("app_is_debug_mode", valueOf24);
        r032 = this.f8172.m6257();
        if (r032 == null) {
        }
        super.m6183("app_name", r032);
        valueOf25 = Integer.valueOf(this.f8172.m6253());
        if (valueOf25 == null) {
        }
        super.m6183("app_version_code", valueOf25);
        r033 = this.f8172.m6230();
        if (r033 == null) {
        }
        super.m6183("app_version_name", r033);
        r034 = this.f8172.m6197();
        if (r034 == null) {
        }
        super.m6183("app_package_name", r034);
        r035 = this.f8172.m6212();
        if (r035 == null) {
        }
        super.m6183("app_signatures", r035);
        super.m6183("app_requested_permissions", this.f8172.m6218());
        C2364 r0472 = this.f8172;
        wifiManager = (WifiManager) r0472.f8174.getApplicationContext().getSystemService(PlaceManager.PARAM_WIFI);
        if (wifiManager != null) {
        }
        str2 = null;
        if (str2 == null) {
        }
        super.m6183("eth_ip", str2);
        r036 = this.f8172.m6231();
        if (r036 == null) {
        }
        super.m6183("true_ip", r036);
        return m6180(this.f8170);
    }

    @Override // K.K.ʬ.AbstractC2357
    /* renamed from: 㸾  reason: contains not printable characters */
    public String m6191() {
        return AppEventsConstants.EVENT_PARAM_VALUE_NO;
    }
}
