360手机助手 v3.3.0版本的 MD5 值为:127c345ad16bbebee6e347381328afd0
以下内容为反编译后的 y.java 源代码,内容仅作参考
package com.qihoo.appstore.http;
import android.os.SystemClock;
import com.qihoo.appstore.utils.bk;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import java.util.concurrent.atomic.AtomicInteger;
public final class y implements Runnable {
final String f1720a;
final long f1721b;
final long c;
final long d;
final boolean e;
final String f;
final String g;
public y(String str, long j, long j2, long j3, boolean z, String str2, String str3) {
this.f1720a = str;
this.f1721b = j;
this.c = j2;
this.d = j3;
this.e = z;
this.f = str2;
this.g = str3;
}
@Override
public void run() {
AtomicInteger atomicInteger;
try {
String e = com.qihoo.appstore.r.g.e();
StringBuilder sb = new StringBuilder();
long elapsedRealtime = SystemClock.elapsedRealtime();
sb.append("&intfurl=").append(URLEncoder.encode(this.f1720a)).append("&total=").append(this.f1721b).append("&cnt=").append(this.c).append("&spd=").append(this.d).append("&server_ip=").append(com.qihoo.appstore.e.d.n.a(this.f1720a)).append("&dnsct=").append(SystemClock.elapsedRealtime() - elapsedRealtime).append("&suc=").append(this.e ? "1" : "0").append("&extinfo=").append(this.f == null ? "null" : URLEncoder.encode(this.f)).append("&svrt=").append(this.g == null ? "null" : URLEncoder.encode(this.g)).append("&dns1=").append(URLEncoder.encode(com.qihoo.appstore.e.d.n.a())).append("&dns2=").append(URLEncoder.encode(com.qihoo.appstore.e.d.n.b())).append("&snt=").append(com.qihoo.appstore.r.g.b());
String str = "http://openbox.mobilem.360.cn/AppStore/speed?" + e + sb.toString();
if (com.qihoo360.mobilesafe.a.a.f5313a) {
bk.b("SpeedMonitor", "startUploadStatLog: " + str);
}
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(str).openConnection();
httpURLConnection.setRequestMethod("GET");
httpURLConnection.getResponseCode();
atomicInteger = x.c;
com.qihoo.appstore.utils.f.a("Upload_Speed_Num", atomicInteger.get());
} catch (Exception e2) {
e2.printStackTrace();
}
}
}