package ai.advance.liveness.lib;

import ai.advance.core.LServiceParent;
import ai.advance.core.WifiAndBLEScanService;
import android.text.TextUtils;
import java.util.HashMap;
import java.util.Map;
import K.K.K.ʬ.C2369;
import K.K.K.ῲ.C2372;
import K.K.㸾.K.C2383;
import K.K.㸾.K.C2387;

public class LivenessRiskService extends WifiAndBLEScanService {
    /* renamed from: 㗗  reason: contains not printable characters */
    public static void m83() {
        if (!C2387.m6421()) {
            if (LivenessJNI.f90 ? LivenessJNI.OOOOOOooO() : false) {
                C2387.m6417();
                LServiceParent.m30(C2369.f8189, LivenessRiskService.class, 1, (String) null);
            }
        }
    }

    @Override // ai.advance.core.WifiAndBLEScanService
    /* renamed from: Ԕ  reason: contains not printable characters */
    public String m84() {
        return "1.0";
    }

    @Override // ai.advance.core.WifiAndBLEScanService
    /* renamed from: ᕣ  reason: contains not printable characters */
    public String m85() {
        return "LIVENESS_RISK_INFO";
    }

    @Override // ai.advance.core.LServiceParent
    /* renamed from: ⁱ  reason: contains not printable characters */
    public String m86() {
        return ".rsk";
    }

    @Override // ai.advance.core.LServiceParent
    /* renamed from: K  reason: contains not printable characters */
    public String m87(String str, String str2, String str3, String str4, long j, long j2) {
        return C2387.m6416(str, str2, str3, str4, j, j2);
    }

    @Override // ai.advance.core.WifiAndBLEScanService
    /* renamed from: 㑃  reason: contains not printable characters */
    public Map<String, Object> m88() {
        String str;
        HashMap hashMap = new HashMap();
        hashMap.put("liveness_id", C2383.f8244 + "");
        hashMap.put("liveness_success", Boolean.valueOf(C2383.m6384()));
        if (C2383.m6384()) {
            str = null;
        } else {
            str = C2383.f8246;
            if (str == null) {
                C2372 k = C2383.f8242;
                str = (k == null || TextUtils.isEmpty(k.f8212)) ? e.UNDEFINED.toString() : C2383.f8242.f8212;
            }
        }
        hashMap.put("liveness_error_code", str);
        return hashMap;
    }
}
