360手机助手 v3.3.0版本的 MD5 值为:127c345ad16bbebee6e347381328afd0

以下内容为反编译后的 bz.java 源代码,内容仅作参考


package com.qihoo.appstore.utils;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.IntentFilter;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONObject;

public class bz {

    private static BroadcastReceiver f3784a;

    public static synchronized void a(Context context) {
        synchronized (bz.class) {
            if (com.qihoo360.mobilesafe.a.a.f5313a && f3784a == null) {
                IntentFilter intentFilter = new IntentFilter();
                intentFilter.addAction("com.qihoo.appstore.debug.PrintSlientTask");
                intentFilter.addAction("com.qihoo.appstore.debug.PrintFinishedSlientTask");
                intentFilter.addAction("com.qihoo.appstore.debug.ForceRefreshUpdate");
                intentFilter.addAction("com.qihoo.appstore.debug.RefreshBaoheUpdate");
                intentFilter.addAction("com.qihoo.appstore.debug.RestartAllKouDaiTask");
                intentFilter.addAction("com.qihoo.appstore.debug.PrintNormalTask");
                intentFilter.addAction("com.qihoo.appstore.debug.ShowKouDaiToast");
                intentFilter.addAction("com.qihoo.appstore.debug.ShowKouDaiDialog1");
                intentFilter.addAction("com.qihoo.appstore.debug.ShowKouDaiDialog2");
                intentFilter.addAction("com.qihoo.appstore.debug.sendapk");
                intentFilter.addAction("com.qihoo.appstore.debug.sendtxturl");
                intentFilter.addAction("com.qihoo.appstore.debug.sendmsgtxt");
                intentFilter.addAction("com.qihoo.appstore.debug.send360videourl");
                intentFilter.addAction("com.qihoo.appstore.debug.send3rx");
                intentFilter.addAction("com.qihoo.appstore.debug.group_item");
                intentFilter.addAction("com.qihoo.appstore.debug.showupdatedialog");
                intentFilter.addAction("com.qihoo.appstore.debug.uploadpv");
                intentFilter.addAction("com.qihoo.appstore.debug.showcrashdialog");
                intentFilter.addAction("com.qihoo.appstore.debug.uploaddllog");
                intentFilter.addAction("com.qihoo.appstore.debug.enableNewDL");
                intentFilter.addAction("com.qihoo.appstore.debug.disableNewDL");
                intentFilter.addAction("com.qihoo.appstore.debug.openScreen");
                intentFilter.addAction("com.qihoo.appstore.debug.deepscan");
                intentFilter.addAction("com.qihoo.appstore.debug.throwOOM");
                intentFilter.addAction("com.qihoo.appstore.debug.wap");
                intentFilter.addAction("com.qihoo.appstore.debug.testdl");
                intentFilter.addAction("com.qihoo.appstore.debug.httpreq");
                intentFilter.addAction("com.qihoo.appstore.debug.updatenotification");
                intentFilter.addAction("com.qihoo.appstore.debug.pushnotification");
                intentFilter.addAction("com.qihoo.appstore.debug.silentinstall");
                intentFilter.addAction("com.qihoo.appstore.debug.wapnetwork");
                f3784a = new ca();
                context.getApplicationContext().registerReceiver(f3784a, intentFilter);
            }
        }
    }

    public static List b(String str) {
        ArrayList arrayList = new ArrayList();
        try {
            JSONObject jSONObject = new JSONObject(str);
            if (jSONObject.optInt("errno") == 0) {
                JSONArray jSONArray = jSONObject.getJSONArray("data");
                for (int i = 0; i < jSONArray.length(); i++) {
                    com.qihoo.express.mini.a.c a2 = com.qihoo.express.mini.a.c.a(jSONArray.getJSONObject(i), true);
                    if (a2 != null) {
                        arrayList.add(a2);
                    }
                }
            }
        } catch (Exception e) {
            bk.b("json", e.toString());
        }
        return arrayList;
    }

    public static void b(Context context) {
        new cc(context).c((Object[]) new Void[0]);
    }

    public static void c(Context context) {
        new cd(context).c((Object[]) new Void[0]);
    }

    public static synchronized void d(Context context) {
        synchronized (bz.class) {
            if (com.qihoo360.mobilesafe.a.a.f5313a && f3784a != null) {
                context.getApplicationContext().unregisterReceiver(f3784a);
                f3784a = null;
            }
        }
    }

    public static String f() {
        return "{\"errno\":0,\"errmsg\":\"ok\",\"data\":[{\"msgid\":\"2259\",\"toid\":\"180685148\",\"title\":\"\",\"content\":{\"attach\":[{\"Market_name\":\"\",\"apkid\":\"12391\",\"filedispname\":\"王者之剑1111\",\"filename\":\"一段文字.txt\",\"filesize\":\"8403551814\",\"filethumb\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"filetype\":\"apk\",\"fileurl\":\"http://m.shouji.360tpcdn.com/131113/d719488a61b8780365a8eb371f4203fe/com.lk.wzzj.qh_13.apk\",\"format\":\"\",\"link_type\":\"1\",\"mid\":\"fbf145dfef6546d5ed1517a39260ec34eeaf1a2353a750735750d8f10c\",\"msgsource\":\"手机助手\",\"msgtype\":0,\"ref\":\"other\",\"group_id\":\"840948759314\",\"group_name\":\"文件集合\",\"group_icon\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"group_count\":\"202\",\"version_name\":\"3001\"}]},\"isupload\":\"0\",\"status\":\"0\",\"createtime\":1383726937,\"updatetime\":1383726937,\"flag\":\"0\",\"fromid\":\"0\",\"appid\":\"1\",\"signature\":\"\",\"filename\":\"\",\"fileurl\":\"\",\"filethumb\":\"\",\"fileshorturl\":\"\",\"newSend\":\"1\"}]}";
    }

    public static String g() {
        return "{\"errno\":0,\"errmsg\":\"ok\",\"data\":[{\"msgid\":\"228427839\",\"toid\":\"180685148\",\"title\":\"\",\"content\":{\"attach\":[{\"Market_name\":\"\",\"apkid\":\"123456789112\",\"filedispname\":\"360影视链接\",\"filename\":\"一个影视链接\",\"filesize\":\"84031814\",\"filethumb\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"filetype\":\"360videourl\",\"fileurl\":\"qhvideo://vapp.360.cn/detailpage?cat=2&videoid=R4JubaepRzDtMH&title=王的女人\",\"format\":\"\",\"link_type\":\"1\",\"mid\":\"fbf145dfef6546dc9109f5ed1517a39260ec34eeaf1a2353a750735750d8f10c\",\"msgsource\":\"手机助手\",\"msgtype\":0,\"group_id\":\"840948759314\",\"group_name\":\"????????????\",\"group_icon\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"group_count\":\"202\",\"ref\":\"other\",\"version_name\":\"3001\"}]},\"isupload\":\"0\",\"status\":\"0\",\"createtime\":1383726937,\"updatetime\":1383726937,\"flag\":\"0\",\"fromid\":\"0\",\"appid\":\"1\",\"signature\":\"\",\"filename\":\"\",\"fileurl\":\"\",\"filethumb\":\"\",\"fileshorturl\":\"\",\"newSend\":\"1\"}]}";
    }

    public static String h() {
        return "{\"errno\":0,\"errmsg\":\"ok\",\"data\":[{\"msgid\":\"228427839\",\"toid\":\"180685148\",\"title\":\"\",\"content\":{\"attach\":[{\"Market_name\":\"\",\"apkid\":\"1234567891\",\"filedispname\":\"一段文字\",\"filename\":\"一段文字.txt\",\"filesize\":\"84031814\",\"filethumb\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"filetype\":\"msgtxt\",\"fileurl\":\"http://101.199.109.89/wsdl25.yunpan.cn/share.php?method=Share.download&fhash=f64124aa4c8165de293424bd8e5cc69828e75f17&xqid=53882103&fname=utl.txt&fsize=782&nid=13837356313918431&cqid=cd571fa9c5c1513ffde45bcc60f8466a&st=49fa7df538abb24e7f916bf0613bdca1&e=1383908463&dt=25.ddd42f479825de1cac2e8df76c44d2d4\",\"format\":\"\",\"link_type\":\"1\",\"mid\":\"fbf145dfef6546dc9109f5ed1517a39260ec34eeaf1a2353a750735750d8f10c\",\"msgsource\":\"手机助手\",\"msgtype\":0,\"group_id\":\"840948759314\",\"group_name\":\"????????????\",\"group_icon\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"group_count\":\"202\",\"ref\":\"other\",\"version_name\":\"3001\"}]},\"isupload\":\"0\",\"status\":\"0\",\"createtime\":1383726937,\"updatetime\":1383726937,\"flag\":\"0\",\"fromid\":\"0\",\"appid\":\"1\",\"signature\":\"\",\"filename\":\"\",\"fileurl\":\"\",\"filethumb\":\"\",\"fileshorturl\":\"\",\"newSend\":\"1\"}]}";
    }

    public static String i() {
        return "{\"errno\":0,\"errmsg\":\"ok\",\"data\":[{\"msgid\":\"228427839\",\"toid\":\"180685148\",\"title\":\"\",\"content\":{\"attach\":[{\"Market_name\":\"\",\"apkid\":\"123456789\",\"filedispname\":\"一段文字\",\"filename\":\"一段文字.txt\",\"filesize\":\"84031814\",\"filethumb\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"filetype\":\"txturl\",\"fileurl\":\"http://101.199.109.89/wsdl25.yunpan.cn/share.php?method=Share.download&fhash=f64124aa4c8165de293424bd8e5cc69828e75f17&xqid=53882103&fname=utl.txt&fsize=782&nid=13837356313918431&cqid=cd571fa9c5c1513ffde45bcc60f8466a&st=49fa7df538abb24e7f916bf0613bdca1&e=1383908463&dt=25.ddd42f479825de1cac2e8df76c44d2d4\",\"format\":\"\",\"link_type\":\"1\",\"mid\":\"fbf145dfef6546dc9109f5ed1517a39260ec34eeaf1a2353a750735750d8f10c\",\"msgsource\":\"手机助手\",\"msgtype\":0,\"ref\":\"other\",\"version_name\":\"3001\"}]},\"isupload\":\"0\",\"status\":\"0\",\"createtime\":1383726937,\"updatetime\":1383726937,\"flag\":\"0\",\"fromid\":\"0\",\"appid\":\"1\",\"signature\":\"\",\"filename\":\"\",\"fileurl\":\"\",\"filethumb\":\"\",\"fileshorturl\":\"\",\"newSend\":\"1\"}]}";
    }

    public static String j() {
        return "{\"errno\":0,\"errmsg\":\"ok\",\"data\":[{\"msgid\":\"228427839\",\"toid\":\"180685148\",\"title\":\"\",\"content\":{\"attach\":[{\"Market_name\":\"\",\"apkid\":\"com.locojoy.qihoo360.immt_a_chs\",\"filedispname\":\"我叫MT Online 3.0.0.1\",\"filename\":\"我叫MT Online 3.0.0.1.apk\",\"filesize\":\"84031814\",\"filethumb\":\"http:\\/\\/p0.qhimg.com\\/t018742df36fa0b9483.png\",\"filetype\":\"app\",\"fileurl\":\"http:\\/\\/hot.m.shouji.360tpcdn.com\\/140123\\/0940f719b352a90ea95c34c9805adc2b\\/com.kugou.android_6211.apk\",\"format\":\"apk\",\"link_type\":\"1\",\"mid\":\"fbf145dfef6546dc9109f5ed1517a39260ec34eeaf1a2353a750735750d8f10c\",\"msgsource\":\"手机助手\",\"msgtype\":0,\"ref\":\"other\",\"version_name\":\"3001\"}]},\"isupload\":\"0\",\"status\":\"0\",\"createtime\":1383726937,\"updatetime\":1383726937,\"flag\":\"0\",\"fromid\":\"0\",\"appid\":\"1\",\"signature\":\"\",\"filename\":\"\",\"fileurl\":\"\",\"filethumb\":\"\",\"fileshorturl\":\"\",\"newSend\":\"1\"}]}";
    }
}