public void a(List<PackageInfo> paramList) { JSONArray localJSONArray1; try { localJSONArray1 = new JSONArray(); Iterator localIterator = paramList.iterator(); while (localIterator.hasNext()) { PackageInfo localPackageInfo = (PackageInfo) localIterator.next(); JSONObject localJSONObject = new JSONObject(); localJSONObject.put("name", localPackageInfo.packageName); JSONArray localJSONArray2 = new JSONArray(); PermissionInfo[] arrayOfPermissionInfo = localPackageInfo.permissions; int i = arrayOfPermissionInfo.length; for (int j = 0; j < i; j++) localJSONArray2.put(arrayOfPermissionInfo[j].name); localJSONObject.put("permissions", localJSONArray2); localJSONArray1.put(localJSONObject); } } catch (JSONException localJSONException) { BLog.e("MalwareDetector", localJSONException.getMessage()); } while (true) { return; HoneyClientEvent localHoneyClientEvent = new HoneyClientEvent("android_malware_detected_event"); localHoneyClientEvent.d("malware_detector"); localHoneyClientEvent.b("description", localJSONArray1.toString()); this.b.b(localHoneyClientEvent); } }
private void M() { HoneyClientEvent localHoneyClientEvent = new HoneyClientEvent("delete_thread"); if ((l() instanceof AnalyticsActivity)) localHoneyClientEvent.d(((AnalyticsActivity)l()).a()); localHoneyClientEvent.b("thread_id", this.Z); this.ab.a(localHoneyClientEvent); }