APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:For S9
版本号:4.5
包名称:com.jb.gokeyboard.theme.emojiztfors9.getjar

MD5 校验值:27cf44ec6e0720408f5ef017a90a3331

反编译源代码说明

AdSdkRequestHeader.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package com.jiubang.commerce.ad.http;

import android.content.Context;
import android.os.Build;
import android.support.v4.app.NotificationCompat;
import android.text.TextUtils;
import com.jb.ga0.commerce.util.LogUtils;
import com.jiubang.commerce.ad.AdSdkApi;
import com.jiubang.commerce.ad.avoid.AdAvoider;
import com.jiubang.commerce.ad.avoid.CountryDetector;
import com.jiubang.commerce.ad.manager.AdSdkManager;
import com.jiubang.commerce.ad.params.AdSdkParamsBuilder;
import com.jiubang.commerce.ad.params.UserTagParams;
import com.jiubang.commerce.ad.url.AdRedirectUrlUtils;
import com.jiubang.commerce.mopub.dilute.MopubDiluteCfg;
import com.jiubang.commerce.product.Product;
import com.jiubang.commerce.utils.AppUtils;
import com.jiubang.commerce.utils.GoogleMarketUtils;
import com.jiubang.commerce.utils.NetworkUtils;
import com.jiubang.commerce.utils.StringUtils;
import com.jiubang.commerce.utils.SystemUtils;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;

public class AdSdkRequestHeader {
    public static final String ABTEST_SERVER_URL = "http://abtest.goforandroid.com/abtestcenter/config";
    public static final String ANDROID_ID = "aid";
    public static final String BUY_CHANNEL = "buychannel";
    public static final String BUY_CHANNEL_TYPE_REQUEST_URL = "http://newstoredata.goforandroid.com/newstore/usertype";
    public static final String DEFAULT_BUY_CHANNEL = "buychannel-none";
    public static final String FB_REPLACE_SERVER_URL = "http://newstoredis.goforandroid.com/newstore_dis/";
    public static final String FB_REPLACE_TEST_SERVER_URL = "http://newstoredis.3g.net.cn/newstore_dis/";
    public static final String INTELLIGENT_REQUEST_URL = "http://adviap.goforandroid.com/adv_iap/smartload";
    public static final boolean IS_INNER = true;
    public static final String ONLINE_AD_ACCESSKEY = "accessKey";
    public static final int ONLINE_AD_NET_DATA_CONNECTION_TIME_OUT = 15000;
    public static final int ONLINE_AD_NET_DATA_READ_TIME_OUT = 15000;
    public static final String ONLINE_AD_PRODKEY = "prodKey";
    public static final String ONLINE_AD_REQUEST_URL = "http://advs2sonline.goforandroid.com/s2sadv";
    public static final String PRODUCT_ID = "cid";
    public static final int PVERSION = 21;
    public static final String RESPONSE_RESULT = "result";
    public static final String RESPONSE_STATUS = "status";
    public static final int RESPONSE_STATUS_ERROR_CODE_0 = 0;
    public static final int RESPONSE_STATUS_ERROR_CODE_1 = -1;
    public static final int RESPONSE_STATUS_ERROR_CODE_2 = -2;
    public static final int RESPONSE_STATUS_OK = 1;
    public static final String SEARCH_PRESOLVE_REQUEST_URL = "http://advsearch.goforandroid.com/adv_search/search";
    public static final String SERVER_URL_SIT = "http://gotest.3g.net.cn/newstore/";
    public static final String SIMB_REQUEST_URL = "http://adviap.goforandroid.com/adv_iap/smartload_install";
    public static final String URL_PREFIX = "config?funid=";
    public static final String USERTAG_AD_REQUEST_URL = "http://adviap.goforandroid.com/adv_iap/userTag";
    public static boolean sIS_TEST_SERVER = false;
    public static String sSERVER_URL = "http://newstoredata.goforandroid.com/newstore/";

    public static class S2SParams {
        public String mApplovinPlacement = null;
    }

    public static void setTestServer(boolean z) {
        sIS_TEST_SERVER = z;
    }

    public static String getUrl(String str) {
        return (sIS_TEST_SERVER ? SERVER_URL_SIT : sSERVER_URL) + URL_PREFIX + str + "&rd=" + System.currentTimeMillis();
    }

    public static String getABTestUrl() {
        return sIS_TEST_SERVER ? ABTEST_SERVER_URL : ABTEST_SERVER_URL;
    }

    public static String getOnlineAdUrl() {
        return ONLINE_AD_REQUEST_URL;
    }

    public static String getUserTagUrl() {
        return USERTAG_AD_REQUEST_URL;
    }

    public static String getBuyChannelTypeUrl() {
        return BUY_CHANNEL_TYPE_REQUEST_URL;
    }

    public static String getFbReplaceUrl() {
        return sIS_TEST_SERVER ? "http://newstoredis.3g.net.cn/newstore_dis/common?funid=3&rd=" + System.currentTimeMillis() : "http://newstoredis.goforandroid.com/newstore_dis/common?funid=3&rd=" + System.currentTimeMillis();
    }

    public static JSONObject createPhead(Context context, AdSdkParamsBuilder adSdkParamsBuilder) {
        AdSdkManager adSdkManager = AdSdkManager.getInstance();
        return createPhead(context, adSdkManager.getGoId(), adSdkManager.getGoogleId(), adSdkManager.getCid(), adSdkManager.getChannel(), adSdkManager.getDataChannel(), adSdkManager.getEntranceId(), adSdkParamsBuilder);
    }

    private static JSONObject createPhead(Context context, String str, String str2, String str3, String str4, String str5, String str6, AdSdkParamsBuilder adSdkParamsBuilder) {
        String upperCase;
        if (context == null) {
            return null;
        }
        try {
            String str7 = adSdkParamsBuilder.mBuyuserchannel;
            Integer num = adSdkParamsBuilder.mCdays;
            Integer num2 = adSdkParamsBuilder.mUserFrom;
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("pversion", 21);
            jSONObject.put("aid", StringUtils.toString(SystemUtils.getAndroidId(context)));
            jSONObject.put(PRODUCT_ID, str3);
            jSONObject.put("cversion", "2".equals(StringUtils.toString(str6)) ? "99" : Integer.valueOf(AppUtils.getAppVersionCode(context, context.getPackageName())));
            jSONObject.put("cversionname", AppUtils.getAppVersionName(context, context.getPackageName()));
            jSONObject.put("gadid", str2);
            jSONObject.put("goid", str);
            jSONObject.put("channel", str4);
            if (adSdkParamsBuilder.mDetectVpn) {
                boolean isVpnConnected = NetworkUtils.isVpnConnected();
                LogUtils.d("Ad_SDK", "Open Vpn detect:" + isVpnConnected);
                upperCase = isVpnConnected ? CountryDetector.AVOID_COUNTRY_CODE : StringUtils.toUpperCase(SystemUtils.getLocal(context));
            } else {
                LogUtils.d("Ad_SDK", "Close Vpn detect!");
                upperCase = StringUtils.toUpperCase(SystemUtils.getLocal(context));
            }
            jSONObject.put(AdSdkRequestDataUtils.RESPONSE_JOSN_TAG_IP_LOCAL, upperCase);
            jSONObject.put("lang", StringUtils.toLowerCase(SystemUtils.getLanguage(context)));
            jSONObject.put("sdk", Build.VERSION.SDK_INT);
            jSONObject.put(NotificationCompat.CATEGORY_SYSTEM, Build.VERSION.RELEASE);
            jSONObject.put("model", Build.MODEL);
            jSONObject.put("requesttime", new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
            jSONObject.put("entranceId", str6);
            jSONObject.put("hasmarket", GoogleMarketUtils.isMarketExist(context) ? 1 : 0);
            jSONObject.put("net", NetworkUtils.buildNetworkState(context));
            jSONObject.put("dpi", SystemUtils.getDisplay(context));
            jSONObject.put("dataChannel", str5);
            jSONObject.put(BUY_CHANNEL, TextUtils.isEmpty(str7) ? DEFAULT_BUY_CHANNEL : str7);
            int i = 1;
            if (num != null) {
                i = Math.max(num.intValue(), 1);
            }
            jSONObject.put("cdays", i);
            jSONObject.put("pkgname", context.getPackageName());
            if (num2 != null) {
                jSONObject.put("user_from", num2.intValue());
            }
            AdAvoider adAvoider = AdAvoider.getInstance(context);
            if (adAvoider.shouldAvoid()) {
                jSONObject.put("iscn", 1);
            } else {
                jSONObject.put("iscn", 2);
            }
            jSONObject.put("isvpn", adAvoider.isVpnCon() ? 1 : 2);
            return jSONObject;
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }

    public static JSONObject createPheadForOnlineFromParams(Context context, UserTagParams userTagParams, boolean z) {
        String str;
        if (z) {
            str = "new";
        } else {
            str = "old";
        }
        return createPheadForUserTag(context, userTagParams.mGoId, userTagParams.mGoogleId, userTagParams.mChannel, str);
    }

    public static JSONObject createPheadForFbReplace(Context context) {
        if (context == null) {
            return null;
        }
        AdSdkManager adSdkManager = AdSdkManager.getInstance();
        String cid = adSdkManager.getCid();
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("pkgname", context.getPackageName());
            jSONObject.put("aid", StringUtils.toString(SystemUtils.getAndroidId(context)));
            jSONObject.put(PRODUCT_ID, cid);
            jSONObject.put("entranceId", adSdkManager.getEntranceId());
            jSONObject.put("cversion", AppUtils.getAppVersionCode(context, context.getPackageName()));
            jSONObject.put("dataChannel", adSdkManager.getDataChannel());
            jSONObject.put(AdSdkRequestDataUtils.RESPONSE_JOSN_TAG_IP_LOCAL, StringUtils.toUpperCase(SystemUtils.getLocal(context)));
            jSONObject.put("lang", StringUtils.toLowerCase(SystemUtils.getLanguage(context)));
            jSONObject.put("utm_source", "buyuserchannel");
            return jSONObject;
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }

    public static JSONObject createPheadForOnline(Context context, int i, int i2, S2SParams s2SParams) {
        AdSdkManager adSdkManager = AdSdkManager.getInstance();
        return createPheadForOnline(context, adSdkManager.getGoId(), adSdkManager.getGoogleId(), adSdkManager.getChannel(), i, i2, s2SParams);
    }

    public static JSONObject createPheadForOnline(Context context, String str, String str2, String str3, int i, int i2, S2SParams s2SParams) {
        if (context == null) {
            return null;
        }
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("advposids", String.valueOf(i2));
            jSONObject.put("channel", str3);
            jSONObject.put("vcode", AppUtils.getAppVersionCode(context, context.getPackageName()));
            jSONObject.put("vname", AppUtils.getAppVersionName(context, context.getPackageName()));
            jSONObject.put(MopubDiluteCfg.COUNTRY, StringUtils.toUpperCase(SystemUtils.getLocal(context)));
            jSONObject.put("lang", StringUtils.toLowerCase(SystemUtils.getLanguage(context)));
            jSONObject.put("goid", str);
            jSONObject.put("aid", StringUtils.toString(SystemUtils.getAndroidId(context)));
            jSONObject.put(NotificationCompat.CATEGORY_SYSTEM, Build.VERSION.RELEASE);
            jSONObject.put("sdk", Build.VERSION.SDK_INT);
            jSONObject.put("net", NetworkUtils.buildNetworkState(context));
            jSONObject.put("sbuy", 0);
            jSONObject.put("hasmarket", GoogleMarketUtils.isMarketExist(context) ? 1 : 0);
            jSONObject.put("dpi", SystemUtils.getDpi(context));
            jSONObject.put("resolution", SystemUtils.getDisplay(context));
            jSONObject.put(MopubDiluteCfg.ADID, str2);
            jSONObject.put("count", i);
            jSONObject.put("cip", "");
            jSONObject.put("ua", AdRedirectUrlUtils.getUserAgent(context));
            jSONObject.put("model", Build.MODEL);
            jSONObject.put("modelbrand", Build.BRAND);
            if (s2SParams != null) {
                jSONObject.put("placement", s2SParams.mApplovinPlacement);
            }
            return jSONObject;
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }

    public static JSONObject createPheadForUserTag(Context context, String str, String str2, String str3, String str4) {
        if (context == null) {
            return null;
        }
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("channel", str3);
            jSONObject.put("vcode", AppUtils.getAppVersionCode(context, context.getPackageName()));
            jSONObject.put("vname", AppUtils.getAppVersionName(context, context.getPackageName()));
            jSONObject.put(MopubDiluteCfg.COUNTRY, StringUtils.toUpperCase(SystemUtils.getLocal(context)));
            jSONObject.put("lang", StringUtils.toLowerCase(SystemUtils.getLanguage(context)));
            jSONObject.put("goid", str);
            jSONObject.put("aid", StringUtils.toString(SystemUtils.getAndroidId(context)));
            jSONObject.put(NotificationCompat.CATEGORY_SYSTEM, Build.VERSION.RELEASE);
            jSONObject.put("sdk", Build.VERSION.SDK_INT);
            jSONObject.put("net", NetworkUtils.buildNetworkState(context));
            jSONObject.put("sbuy", 0);
            jSONObject.put("hasmarket", GoogleMarketUtils.isMarketExist(context) ? 1 : 0);
            jSONObject.put("dpi", SystemUtils.getDpi(context));
            jSONObject.put("resolution", SystemUtils.getDisplay(context));
            jSONObject.put(MopubDiluteCfg.ADID, str2);
            jSONObject.put("ua", AdRedirectUrlUtils.getUserAgent(context));
            jSONObject.put("usertype", str4);
            return jSONObject;
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }

    public static JSONObject createPheadForIntelligent(Context context, int i) {
        if (context == null) {
            return null;
        }
        AdSdkManager adSdkManager = AdSdkManager.getInstance();
        String goId = adSdkManager.getGoId();
        String googleId = adSdkManager.getGoogleId();
        String channel = adSdkManager.getChannel();
        String cid = adSdkManager.getCid();
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("advposid", String.valueOf(i));
            jSONObject.put("channel", channel);
            jSONObject.put("vcode", AppUtils.getAppVersionCode(context, context.getPackageName()));
            jSONObject.put("vname", AppUtils.getAppVersionName(context, context.getPackageName()));
            jSONObject.put(MopubDiluteCfg.COUNTRY, StringUtils.toUpperCase(SystemUtils.getLocal(context)));
            jSONObject.put("lang", StringUtils.toLowerCase(SystemUtils.getLanguage(context)));
            jSONObject.put("goid", goId);
            jSONObject.put("aid", StringUtils.toString(SystemUtils.getAndroidId(context)));
            jSONObject.put(NotificationCompat.CATEGORY_SYSTEM, Build.VERSION.RELEASE);
            jSONObject.put("sdk", Build.VERSION.SDK_INT);
            jSONObject.put("net", NetworkUtils.buildNetworkState(context));
            jSONObject.put("sbuy", 0);
            jSONObject.put("hasmarket", GoogleMarketUtils.isMarketExist(context) ? 1 : 0);
            jSONObject.put("dpi", SystemUtils.getDpi(context));
            jSONObject.put("resolution", SystemUtils.getDisplay(context));
            jSONObject.put(MopubDiluteCfg.ADID, googleId);
            if (LogUtils.isShowLog()) {
                LogUtils.i("Ad_SDK", "[Intelligent:" + i + "]gaid=" + googleId);
            }
            jSONObject.put("ua", AdRedirectUrlUtils.getUserAgent(context));
            jSONObject.put(PRODUCT_ID, cid);
            jSONObject.put("pversion", 21);
            return jSONObject;
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }

    public static JSONObject createPheadForSearchPresolve(Context context, int i) {
        if (context == null) {
            return null;
        }
        AdSdkManager adSdkManager = AdSdkManager.getInstance();
        String goId = adSdkManager.getGoId();
        String googleId = adSdkManager.getGoogleId();
        String channel = adSdkManager.getChannel();
        String cid = adSdkManager.getCid();
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("advposid", String.valueOf(i));
            jSONObject.put("channel", channel);
            jSONObject.put("vcode", AppUtils.getAppVersionCode(context, context.getPackageName()));
            jSONObject.put("vname", AppUtils.getAppVersionName(context, context.getPackageName()));
            jSONObject.put(MopubDiluteCfg.COUNTRY, StringUtils.toUpperCase(SystemUtils.getLocal(context)));
            jSONObject.put("lang", StringUtils.toLowerCase(SystemUtils.getLanguage(context)));
            jSONObject.put("goid", goId);
            jSONObject.put("aid", StringUtils.toString(SystemUtils.getAndroidId(context)));
            jSONObject.put(NotificationCompat.CATEGORY_SYSTEM, Build.VERSION.RELEASE);
            jSONObject.put("sdk", Build.VERSION.SDK_INT);
            jSONObject.put("net", NetworkUtils.buildNetworkState(context));
            jSONObject.put("sbuy", 0);
            jSONObject.put("hasmarket", GoogleMarketUtils.isMarketExist(context) ? 1 : 0);
            jSONObject.put("dpi", SystemUtils.getDpi(context));
            jSONObject.put("resolution", SystemUtils.getDisplay(context));
            jSONObject.put(MopubDiluteCfg.ADID, googleId);
            jSONObject.put("ua", AdRedirectUrlUtils.getUserAgent(context));
            jSONObject.put(PRODUCT_ID, cid);
            return jSONObject;
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }

    public static JSONObject createPheadForSIMB(Context context, int i) {
        if (context == null) {
            return null;
        }
        AdSdkManager adSdkManager = AdSdkManager.getInstance();
        String goId = adSdkManager.getGoId();
        String googleId = adSdkManager.getGoogleId();
        String channel = adSdkManager.getChannel();
        adSdkManager.getCid();
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("advposid", String.valueOf(i));
            jSONObject.put("channel", channel);
            jSONObject.put("vcode", AppUtils.getAppVersionCode(context, context.getPackageName()));
            jSONObject.put("vname", AppUtils.getAppVersionName(context, context.getPackageName()));
            jSONObject.put(MopubDiluteCfg.COUNTRY, StringUtils.toUpperCase(SystemUtils.getLocal(context)));
            jSONObject.put("lang", StringUtils.toLowerCase(SystemUtils.getLanguage(context)));
            jSONObject.put("goid", goId);
            jSONObject.put("aid", StringUtils.toString(SystemUtils.getAndroidId(context)));
            jSONObject.put(NotificationCompat.CATEGORY_SYSTEM, Build.VERSION.RELEASE);
            jSONObject.put("sdk", Build.VERSION.SDK_INT);
            jSONObject.put("net", NetworkUtils.buildNetworkState(context));
            jSONObject.put("sbuy", 0);
            jSONObject.put("hasmarket", GoogleMarketUtils.isMarketExist(context) ? 1 : 0);
            jSONObject.put("dpi", SystemUtils.getDpi(context));
            jSONObject.put("resolution", SystemUtils.getDisplay(context));
            jSONObject.put(MopubDiluteCfg.ADID, googleId);
            jSONObject.put("ua", AdRedirectUrlUtils.getUserAgent(context));
            return jSONObject;
        } catch (JSONException e) {
            e.printStackTrace();
            return null;
        }
    }

    public static Map<String, String> getOnlineAdRequestParameKey() {
        HashMap hashMap = new HashMap();
        Product product = AdSdkManager.getInstance().getProduct();
        if (product.isNewInit()) {
            hashMap.put(ONLINE_AD_PRODKEY, product.getAdRequestProductKey());
            hashMap.put(ONLINE_AD_ACCESSKEY, product.getAdRequestAccessKey());
        } else {
            String cid = AdSdkManager.getInstance().getCid();
            if (TextUtils.isEmpty(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "QI1ORHMZK7Q58R0Y7FCH0Z9S");
                hashMap.put(ONLINE_AD_ACCESSKEY, "BFEJ0NGAJTXAANYHHEIC7BIFC456ZAXJ");
            } else if ("8".equals(cid) || "22".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "E52B8QOI0EL3WWN1W3303F0E");
                hashMap.put(ONLINE_AD_ACCESSKEY, "GQ6ZO3H6E08VKSYT5JH5GRX54D8STTCR");
            } else if ("11".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "QYT61Y5YD2SQFKVZ1J5LQ0V3");
                hashMap.put(ONLINE_AD_ACCESSKEY, "KQOE2K47M5WXRBTIGGR52U4YHPQZNUXA");
            } else if ("6".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "669IO7IIH1LVEGMY1V7MM29Z");
                hashMap.put(ONLINE_AD_ACCESSKEY, "8ZW4DQF9KXYSD4SY01TFW4O3FTU3IAQ8");
            } else if ("7".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "7WARFBXAFC7VA35FWHDDN6I9");
                hashMap.put(ONLINE_AD_ACCESSKEY, "ZOIG12T0XCAAWXTRX5FN0GBF52EBCK9H");
            } else if ("5".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "QNRUVO790PNQNGCM65TU387I");
                hashMap.put(ONLINE_AD_ACCESSKEY, "4EP7066V6ZQ3KCWZD33I3R04RW3JVL66");
            } else if ("9".equals(cid) || "4".equals(cid) || "31".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "8YZN10M5Y87YMR8QYM73SWSM");
                hashMap.put(ONLINE_AD_ACCESSKEY, "94HYC3NQ5PFIE38YT85Z8SCVZBWRJVG4");
            } else if ("12".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "PTE0ICLOEGNIOOLS08LJPTVR");
                hashMap.put(ONLINE_AD_ACCESSKEY, "Q1BGHV5DTEHRT87FIB0LCE7K61N0W58Z");
            } else if ("13".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "6U267MSOA2F6S896QJO0NYDJ");
                hashMap.put(ONLINE_AD_ACCESSKEY, "FVMRFDZDD3ZO9YGRIH2063KOS6QMGZMZ");
            } else if ("15".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "27LYD9AGENAJPCU3O0XV9WLF");
                hashMap.put(ONLINE_AD_ACCESSKEY, "YO0FINC2I0JSPDMB2KWMLZRJ94BHT6IA");
            } else if ("16".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "QYWXEZGVND26KHVYF9SF7NGK");
                hashMap.put(ONLINE_AD_ACCESSKEY, "28J3ZCJLXTW06HJYEPOEKOSVVQADNNML");
            } else if ("19".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "I6140ZNLO7SHXTUQ4QD20FSD");
                hashMap.put(ONLINE_AD_ACCESSKEY, "D4PILZZL2QDKQU8882XZ6O9KCR2KHTQS");
            } else if ("20".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "OOXT0131V6M6WICWLF9TSV6I");
                hashMap.put(ONLINE_AD_ACCESSKEY, "JXLK1Z8CIF9Z58BSCPP8LL734VL0LI77");
            } else if ("10".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "N7XKESY5GTK3UIO981SE43P6");
                hashMap.put(ONLINE_AD_ACCESSKEY, "HPJOVTREZ28LWF51WWA1YI6KUDY7C1SF");
            } else if ("21".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "7G59NTHN7UBHXSSXI4QCMN35");
                hashMap.put(ONLINE_AD_ACCESSKEY, "3VX5LRSDBKSPFWF78MQ9DOL83ZUBFIO0");
            } else if ("23".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "64YUVPYFS1LWBYAW239XM1WD");
                hashMap.put(ONLINE_AD_ACCESSKEY, "VN0MA5ZN2VRJY44JKO5GUJO3PHTI7NKX");
            } else if (AdSdkApi.PRODUCT_ID_NEXT_BROWSER.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "ME7F79ED4WCSSR0JK26A383K");
                hashMap.put(ONLINE_AD_ACCESSKEY, "IOHOHJ6UNRAJLG1NM07NWWAS3PYWV99C");
            } else if ("33".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "319LT8R7X1D5P0UAUJI785ZR");
                hashMap.put(ONLINE_AD_ACCESSKEY, "LJB685VL4CV0EOJEGAZUMKAFFV2ZLZ8T");
            } else if ("34".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "A2JTFB32PHJWSRIYB5RQLVII");
                hashMap.put(ONLINE_AD_ACCESSKEY, "UQS68UJL5FZQLYWE5EEVJLBVEDX7Q1YN");
            } else if ("35".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "CXPNA5TBWRRPXGJOJP2Y29LI");
                hashMap.put(ONLINE_AD_ACCESSKEY, "OOUNXPE2XMQFUNZ5WT2COYAT0JDDD2YY");
            } else if ("36".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "SL9AKA7QZYRPY7R86NGS2NDI");
                hashMap.put(ONLINE_AD_ACCESSKEY, "CU7HLLYG2BC800BROMLJ1TU229ZFFNXJ");
            } else if ("37".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "GD5VJ2YC7FDW6NC3QUE0BT1M");
                hashMap.put(ONLINE_AD_ACCESSKEY, "BWCJH13C3BV3LXZL7P5X5E6TEA9TJTP5");
            } else if ("38".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "Z8V3B7LJR2NYHVWPCTC99KQ6");
                hashMap.put(ONLINE_AD_ACCESSKEY, "79FJ6VTO03QULVOH2P70ANUAO0YLR083");
            } else if ("39".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "JTRMXDWHW2XNHP0DUV5SABEA");
                hashMap.put(ONLINE_AD_ACCESSKEY, "8PL66OYSQW17XHSNCXM7MUUG4DZSCC6N");
            } else if ("40".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "HVNJREFZRWLC42GXWDW2KMIL");
                hashMap.put(ONLINE_AD_ACCESSKEY, "YHOFOOJ9YWBZHS7MWZ8MT913DHJTKH7C");
            } else if ("42".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "XYTMDSPT6B4UGME8DV81MQ1N");
                hashMap.put(ONLINE_AD_ACCESSKEY, "DSJ3Y7C5CC0Y7Z4EXE25U9KLDMR7KDQF");
            } else if ("41".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "45H0IFU7FPCRYLL5BBDZJI1K");
                hashMap.put(ONLINE_AD_ACCESSKEY, "XOOIVECU55DXTTFDM4PKR0VF1787DC98");
            } else if ("43".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "K1X2H5IKBSPACU19EG2RW4LF");
                hashMap.put(ONLINE_AD_ACCESSKEY, "1BAY3NYD96DP2IBCCEB1SPSGLUWKTPOX");
            } else if ("44".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "2KLX0761R3ZI878QS07YEUFT");
                hashMap.put(ONLINE_AD_ACCESSKEY, "TOHE0GC78R8027PXAGE2N1KLU4HZJ5CC");
            } else if ("45".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "XM6US68JL1YIGHAHWXRDU9OE");
                hashMap.put(ONLINE_AD_ACCESSKEY, "T39WSC9SG1JDJ379YJLGQOH38YHN2JS5");
            } else if ("46".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "FEX7T4JJ5QV9KHV83OH66BJH");
                hashMap.put(ONLINE_AD_ACCESSKEY, "OP0GKB1SSQ7NNAP6HLUI7O4LNICZRI4D");
            } else if ("47".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "Q0ONNHDWJ87VW70092FBSPYZ");
                hashMap.put(ONLINE_AD_ACCESSKEY, "TZ8Z8Q4SEACARB1AAEV1ARDZ8JCI6T82");
            } else if ("48".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "9UMQUN988XM5V8V5E2A78WDP");
                hashMap.put(ONLINE_AD_ACCESSKEY, "IS2KU051538ZL3CHXKYJGF515380250E");
            } else if ("49".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "KY5GFQULX8TWG75ARKGNGRYJ");
                hashMap.put(ONLINE_AD_ACCESSKEY, "WE972EQZZ0HLLBB7WM0P9KE3799Z47O0");
            } else if ("50".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "J1DNSCU6M1KF3ZOP24WNAW8I");
                hashMap.put(ONLINE_AD_ACCESSKEY, "00CL5EQ620ICFK7GFG212Z56HS1Q260M");
            } else if ("51".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "8BUBM75LZY5LE1AEE8RO12OS");
                hashMap.put(ONLINE_AD_ACCESSKEY, "G32DWNMRH04Z4HK9NREE68UN6UIRL2TV");
            } else if ("52".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "XR04XN25K1N4589O1PM3CSV7");
                hashMap.put(ONLINE_AD_ACCESSKEY, "Y4FYBIPZFMM988LTU2IHOBH415DAJS0K");
            } else if ("53".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "NPYWQ94RB3HCBW6KZA2065AF");
                hashMap.put(ONLINE_AD_ACCESSKEY, "IFSZRV560EGWZ3IVR10G1W8HWT5T67UV");
            } else if ("54".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "0W1PO081T9690NL7I0DMED7D");
                hashMap.put(ONLINE_AD_ACCESSKEY, "A6WSNI5AV9TUQ35L9JPLYWP0ONMVKQFM");
            } else if ("57".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "4PEF9TYL0AB1HC5KR0GPC23H");
                hashMap.put(ONLINE_AD_ACCESSKEY, "WD6T8OPDTJTOZVKG0J18XUE0PE7288OQ");
            } else if ("56".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "WOA4THF3ZCCW6ROBKRPB3SOI");
                hashMap.put(ONLINE_AD_ACCESSKEY, "JXE4TDASEI0RFY60PJED5K99HL7KAM7F");
            } else if ("55".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "LXFK8QBLH00CIZ3JRGJ9295U");
                hashMap.put(ONLINE_AD_ACCESSKEY, "2D4WXO9PTRQYZ4QQYHO8GXDMO5TVBQYK");
            } else if ("58".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "GH0SBKA8DZGSY5MJGV02ASVY");
                hashMap.put(ONLINE_AD_ACCESSKEY, "5ZWOWLUPO199C6BC0HE4XWT2WM84RG3C");
            } else if ("59".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "VFS4TIXIUB5S4V0JMATOWI3Q");
                hashMap.put(ONLINE_AD_ACCESSKEY, "KCMV96HABW4K1FD2JGSR0H3V5JP31CVG");
            } else if ("60".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "EY7MZEEWKXEQTENBK10GZV8B");
                hashMap.put(ONLINE_AD_ACCESSKEY, "63OFBR5S75KFZP509CLJJBGZGI3QNKGF");
            } else if ("61".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "W7Y8GCQKITAYGM9MLQRWIANW");
                hashMap.put(ONLINE_AD_ACCESSKEY, "MB22ORYZKIBVJLJYOK7NV6HVT6LBRHPP");
            } else if (AdSdkApi.PRODUCT_ID_ALPHA_SECURITY.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "KY947Y1O3EZM2P6JXQP159L2");
                hashMap.put(ONLINE_AD_ACCESSKEY, "G0K3Q045FDUMZ2TLT7R9QAKKYW6HPPA7");
            } else if (AdSdkApi.PRODUCT_ID_LETS_CLEAN.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "WLU3YIW5667PCHZQ1QJPDRYR");
                hashMap.put(ONLINE_AD_ACCESSKEY, "AOFIBR2OHY4QTCUVWFJ5FKKTIY6UD078");
            } else if (AdSdkApi.PRODUCT_ID_ACE_SECURITY_PLUS.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "NRY4FU4KL5BSY4NX9UUVJLMZ");
                hashMap.put(ONLINE_AD_ACCESSKEY, "7X05HIAWY2C05CYMXT264CLBK1XDWX7W");
            } else if (AdSdkApi.PRODUCT_ID_DOOM_RACING.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "ZG9QE7FR95VCJFWJ4ZDBTC8B");
                hashMap.put(ONLINE_AD_ACCESSKEY, "N6L631UBCXFUGOJYUGHLMJ69W9F5IT7L");
            } else if (AdSdkApi.PRODUCT_ID_BLUE_BATTERY.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "485IGVHXRY1HWAU4N9VJ6MC0");
                hashMap.put(ONLINE_AD_ACCESSKEY, "EGIFNV479IFVYZF4XOHV2IXDMTLDY4TT");
            } else if (AdSdkApi.PRODUCT_ID_BUBBLE_FISH.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "8R6TNFMBR7LE1SW8N8QSB3UO");
                hashMap.put(ONLINE_AD_ACCESSKEY, "4LKZRZAD1NN7HIN4TG6J5JR6QMHB2HPX");
            } else if ("68".equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "XQLUQU8TO8M737AK5X1TS8ZA");
                hashMap.put(ONLINE_AD_ACCESSKEY, "XO6T0U2H09OK0WHS7XA2DAIRF3WYWFMU");
            } else if (AdSdkApi.PRODUCT_ID_SUPER_SECURITY.equals(cid)) {
                hashMap.put(ONLINE_AD_PRODKEY, "TEX3VG7Q43DHZVIRNTGULW8H");
                hashMap.put(ONLINE_AD_ACCESSKEY, "BBHBC2VQ3M8T2E96OOZ9T5Q929ECGB80");
            } else {
                hashMap.put(ONLINE_AD_PRODKEY, "QI1ORHMZK7Q58R0Y7FCH0Z9S");
                hashMap.put(ONLINE_AD_ACCESSKEY, "BFEJ0NGAJTXAANYHHEIC7BIFC456ZAXJ");
            }
        }
        return hashMap;
    }
}