大漢易經書院.apk(点击下载) / a.java


package org.a.b.b.a;

import android.content.Context;
import android.util.Log;
import java.lang.reflect.Method;

/* compiled from: IdentifierManager */
public class a {

    /* renamed from: ʻ  reason: contains not printable characters */
    private static Object f7659;

    /* renamed from: ʼ  reason: contains not printable characters */
    private static Class<?> f7660;

    /* renamed from: ʽ  reason: contains not printable characters */
    private static Method f7661;

    /* renamed from: ʾ  reason: contains not printable characters */
    private static Method f7662;

    /* renamed from: ʿ  reason: contains not printable characters */
    private static Method f7663;

    /* renamed from: ˆ  reason: contains not printable characters */
    private static Method f7664;

    static {
        try {
            Class<?> cls = Class.forName("com.android.id.impl.IdProviderImpl");
            f7660 = cls;
            f7659 = cls.newInstance();
            f7661 = f7660.getMethod("getUDID", Context.class);
            f7662 = f7660.getMethod("getOAID", Context.class);
            f7663 = f7660.getMethod("getVAID", Context.class);
            f7664 = f7660.getMethod("getAAID", Context.class);
        } catch (Exception e) {
            Log.e("IdentifierManager", "reflect exception!", e);
        }
    }

    /* renamed from: ʻ  reason: contains not printable characters */
    public static boolean m9765() {
        return (f7660 == null || f7659 == null) ? false : true;
    }

    /* renamed from: ʻ  reason: contains not printable characters */
    public static String m9763(Context context) {
        return m9764(context, f7662);
    }

    /* renamed from: ʻ  reason: contains not printable characters */
    private static String m9764(Context context, Method method) {
        Object obj = f7659;
        if (obj == null || method == null) {
            return null;
        }
        try {
            Object invoke = method.invoke(obj, context);
            if (invoke != null) {
                return (String) invoke;
            }
            return null;
        } catch (Exception e) {
            Log.e("IdentifierManager", "invoke exception!", e);
            return null;
        }
    }
}