266 lines
10 KiB
Plaintext
266 lines
10 KiB
Plaintext
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <09><><EFBFBD><EFBFBD> <09><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>(<28><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>֮<EFBFBD><D6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㲻<EFBFBD><E3B2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) <09><><EFBFBD><EFBFBD>
|
|||
|
User-Agent <09><>ȡWebViewĬ<77><C4AC>User-Agent<6E>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>豸<EFBFBD><E8B1B8>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>汾<EFBFBD><E6B1BE><EFBFBD><EFBFBD>Ϣ WebSettings.getDefaultUserAgent(context) "Mozilla/5.0 (Linux; Android 10; Pixel Build/QP1A.191005.007.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/135.0.7049.113 Mobile Safari/537.36
|
|||
|
"
|
|||
|
os_ver <09><><EFBFBD>汾<EFBFBD><E6B1BE> Build.VERSION.RELEASE 10
|
|||
|
os_lang <09><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD> locale.getLanguage() zh
|
|||
|
vendor <09>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Build.MANUFACTURER google
|
|||
|
model <09>豸<EFBFBD>ͺ<EFBFBD> Build.MODEL pixel
|
|||
|
dpi <09>豸<EFBFBD><E8B1B8>Ļ<EFBFBD>ܶ<EFBFBD> context.getResources().getDisplayMetrics().density 26
|
|||
|
dpi_f <09>ֱ<EFBFBD><D6B1><EFBFBD> " public static Point d(Context context) {
|
|||
|
try {
|
|||
|
Display defaultDisplay = ((WindowManager) context.getSystemService(""window"")).getDefaultDisplay();
|
|||
|
Point point = new Point();
|
|||
|
defaultDisplay.getRealSize(point);
|
|||
|
return point;
|
|||
|
} catch (Throwable unused) {
|
|||
|
return new Point();
|
|||
|
}
|
|||
|
}
|
|||
|
point.x
|
|||
|
point.y" 411x731
|
|||
|
resolution <09>ֱ<EFBFBD><D6B1><EFBFBD> "
|
|||
|
public static Point d(Context context) {
|
|||
|
try {
|
|||
|
Display defaultDisplay = ((WindowManager) context.getSystemService(""window"")).getDefaultDisplay();
|
|||
|
Point point = new Point();
|
|||
|
defaultDisplay.getRealSize(point);
|
|||
|
return point;
|
|||
|
} catch (Throwable unused) {
|
|||
|
return new Point();
|
|||
|
}
|
|||
|
}
|
|||
|
point.x
|
|||
|
point.y" 1080x1920
|
|||
|
net <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> " public static int a(Context context) {
|
|||
|
if (context == null) {
|
|||
|
return 0;
|
|||
|
}
|
|||
|
try {
|
|||
|
NetworkInfo activeNetworkInfo = ((ConnectivityManager) context.getApplicationContext().getSystemService(""connectivity"")).getActiveNetworkInfo();
|
|||
|
if (activeNetworkInfo == null) {
|
|||
|
return 0;
|
|||
|
}
|
|||
|
int type = activeNetworkInfo.getType();
|
|||
|
if (type == 1) {
|
|||
|
return 3;
|
|||
|
}
|
|||
|
if (type != 0) {
|
|||
|
return 0;
|
|||
|
}
|
|||
|
switch (activeNetworkInfo.getSubtype()) {
|
|||
|
}
|
|||
|
return 0;
|
|||
|
} catch (Throwable th) {
|
|||
|
sg.bigo.ads.common.t.a.a(0, ""NetworkUtil"", ""exception on get network info:"" + th.getMessage());
|
|||
|
return 0;
|
|||
|
}
|
|||
|
}
|
|||
|
" wifi
|
|||
|
tz ʱ<><CAB1> "TimeZone.getDefault().getDisplayName(false, 0, Locale.ENGLISH)" gmt+08:00
|
|||
|
isp "<22><>ʼ<EFBFBD><CABC>ʱΪ<CAB1>գ<EFBFBD><D5A3><EFBFBD>ȡ<EFBFBD><C8A1>READ_PHONE_STATE<54>绰Ȩ<E7BBB0><C8A8>֮<EFBFBD><D6AE>,<2C><>ȡֵΪ<D6B5><CEAA>Ӫ<EFBFBD><D3AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" " public static String d(Context context) {
|
|||
|
if (context == null) {
|
|||
|
return """";
|
|||
|
}
|
|||
|
if (""-1"".equals(d)) {
|
|||
|
d = """";
|
|||
|
if (!sg.bigo.ads.common.utils.c.a(context, ""android.permission.READ_PHONE_STATE"")) {
|
|||
|
return d;
|
|||
|
}
|
|||
|
try {
|
|||
|
d = ((TelephonyManager) context.getSystemService(""phone"")).getSimOperatorName();
|
|||
|
} catch (Exception unused) {
|
|||
|
}
|
|||
|
}
|
|||
|
return d;
|
|||
|
}
|
|||
|
|
|||
|
" """"""
|
|||
|
country <09><><EFBFBD>ң<EFBFBD><D2A3><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>ȡus<75><73>Ϊ<EFBFBD><CEAA><EFBFBD>Ҵ<EFBFBD><D2B4><EFBFBD> locale.getCountry() cn
|
|||
|
gaid <09><><EFBFBD><EFBFBD>id " public static sg.bigo.ads.common.a a(Context context, long j) {
|
|||
|
if (Looper.myLooper() == Looper.getMainLooper()) {
|
|||
|
throw new IllegalStateException(""Google Play Services info can't be accessed from the main thread"");
|
|||
|
}
|
|||
|
try {
|
|||
|
context.getPackageManager().getPackageInfo(""com.android.vending"", 0);
|
|||
|
a aVar = new a(j);
|
|||
|
Intent intent = new Intent(""com.google.android.gms.ads.identifier.service.START"");
|
|||
|
intent.setPackage(""com.google.android.gms"");
|
|||
|
try {
|
|||
|
if (!context.bindService(intent, aVar, 1)) {
|
|||
|
throw new IOException(""Google Play connection failed"");
|
|||
|
}
|
|||
|
try {
|
|||
|
if (aVar.b) {
|
|||
|
throw new IllegalStateException();
|
|||
|
}
|
|||
|
aVar.b = true;
|
|||
|
b bVar = new b(aVar.c.poll(aVar.a, TimeUnit.MILLISECONDS));
|
|||
|
String a2 = bVar.a();
|
|||
|
Boolean b2 = bVar.b();
|
|||
|
if (a2 != null && b2 != null) {
|
|||
|
return new sg.bigo.ads.common.a(a2, b2.booleanValue());
|
|||
|
}
|
|||
|
context.unbindService(aVar);
|
|||
|
return null;
|
|||
|
} catch (Exception e) {
|
|||
|
throw e;
|
|||
|
}
|
|||
|
} finally {
|
|||
|
context.unbindService(aVar);
|
|||
|
}
|
|||
|
} catch (Exception e2) {
|
|||
|
throw e2;
|
|||
|
}
|
|||
|
}
|
|||
|
" 168b51f4-76f0-448a-8a4e-ddd438588338
|
|||
|
hw_id "<22><><EFBFBD>豸<EFBFBD>ǻ<EFBFBD>Ϊʱ,<2C><>ȥ<EFBFBD><C8A5>ȡ<EFBFBD><C8A1>Ϊ<EFBFBD><CEAA>oaid" " private static e a(Context context) {
|
|||
|
boolean bindService;
|
|||
|
e a = e.a(context);
|
|||
|
if (!a.a.isEmpty()) {
|
|||
|
return a;
|
|||
|
}
|
|||
|
Intent intent = new Intent(""com.uodis.opendevice.OPENIDS_SERVICE"");
|
|||
|
intent.setPackage(""com.huawei.hwid"");
|
|||
|
try {
|
|||
|
a.b = true;
|
|||
|
bindService = context.bindService(intent, a, 1);
|
|||
|
} catch (Exception unused) {
|
|||
|
} catch (Throwable th) {
|
|||
|
a.a();
|
|||
|
throw th;
|
|||
|
}
|
|||
|
if (bindService) {
|
|||
|
if (!bindService) {
|
|||
|
a.a();
|
|||
|
}
|
|||
|
return a;
|
|||
|
}
|
|||
|
if (bindService) {
|
|||
|
return null;
|
|||
|
}
|
|||
|
a.a();
|
|||
|
return null;
|
|||
|
}
|
|||
|
" """"""
|
|||
|
fire_id "<22><><EFBFBD>豸<EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѷʱ,<2C><>ȥ<EFBFBD><C8A5>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>ѷ<EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>id" " public static sg.bigo.ads.common.a a(Context context) {
|
|||
|
String str = """";
|
|||
|
boolean z = true;
|
|||
|
if (""Amazon"".equalsIgnoreCase(Build.MANUFACTURER)) {
|
|||
|
try {
|
|||
|
ContentResolver contentResolver = context.getContentResolver();
|
|||
|
if (Settings.Secure.getInt(contentResolver, ""limit_ad_tracking"") == 0) {
|
|||
|
z = false;
|
|||
|
}
|
|||
|
str = Settings.Secure.getString(contentResolver, ""advertising_id"");
|
|||
|
} catch (Settings.SettingNotFoundException unused) {
|
|||
|
}
|
|||
|
}
|
|||
|
return new sg.bigo.ads.common.a(str, z);
|
|||
|
}
|
|||
|
" """"""
|
|||
|
af_id "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>af sdk,<2C><>ȥ<EFBFBD><C8A5>ȡappsflyer uid" " public static String a(Context context) {
|
|||
|
if (!TextUtils.isEmpty(a) || !b) {
|
|||
|
return a;
|
|||
|
}
|
|||
|
try {
|
|||
|
Class<?> cls = Class.forName(""com.appsflyer.AppsFlyerLib"");
|
|||
|
Object invoke = cls.getMethod(""getAppsFlyerUID"", Context.class).invoke(cls.getMethod(""getInstance"", new Class[0]).invoke(null, new Object[0]), context);
|
|||
|
if (invoke instanceof String) {
|
|||
|
a = (String) invoke;
|
|||
|
}
|
|||
|
} catch (Exception unused) {
|
|||
|
b = false;
|
|||
|
}
|
|||
|
return a;
|
|||
|
}
|
|||
|
" """"""
|
|||
|
cpu_core_num <09><>ȡcpu<70><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD> " public static int a() {
|
|||
|
if (a) {
|
|||
|
return c;
|
|||
|
}
|
|||
|
int a2 = sg.bigo.ads.common.x.a.a();
|
|||
|
c = a2;
|
|||
|
if (a2 != 0) {
|
|||
|
a = true;
|
|||
|
return a2;
|
|||
|
}
|
|||
|
try {
|
|||
|
c = new File(""/sys/devices/system/cpu/"").listFiles(new C0058a()).length;
|
|||
|
} catch (Throwable unused) {
|
|||
|
}
|
|||
|
if (c <= 1) {
|
|||
|
c = Runtime.getRuntime().availableProcessors();
|
|||
|
}
|
|||
|
a = true;
|
|||
|
sg.bigo.ads.common.x.a.a(c);
|
|||
|
return c;
|
|||
|
}
|
|||
|
|
|||
|
" 4
|
|||
|
cpu_clock_speed <09><>ȡcpu<70><75><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5> """/sys/devices/system/cpu/cpu"" + i3 + ""/cpufreq/cpuinfo_max_freq""" 2150
|
|||
|
total_memory <09><>ȡϵͳ<CFB5><CDB3><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>С "
|
|||
|
public static long b(Context context) {
|
|||
|
ActivityManager.MemoryInfo d2 = d(context);
|
|||
|
if (d2 == null) {
|
|||
|
return 0L;
|
|||
|
}
|
|||
|
return f.a(d2.totalMem, 3);
|
|||
|
}
|
|||
|
" 3765
|
|||
|
free_memory <09><>ȡϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>С " public static long a(Context context) {
|
|||
|
ActivityManager.MemoryInfo d2 = d(context);
|
|||
|
if (d2 == null) {
|
|||
|
return 0L;
|
|||
|
}
|
|||
|
return f.a(d2.availMem, 3);
|
|||
|
}
|
|||
|
|
|||
|
" 1268
|
|||
|
rom_free_in <09><>ȡ<EFBFBD>ڲ<EFBFBD><DAB2>洢<EFBFBD>ռ<EFBFBD><D5BC>Ŀ<EFBFBD><C4BF>ÿռ<C3BF><D5BC><EFBFBD>С " private static long f() {
|
|||
|
StatFs statFs = new StatFs(Environment.getDataDirectory().getPath());
|
|||
|
return statFs.getBlockSizeLong() * statFs.getAvailableBlocksLong();
|
|||
|
}
|
|||
|
" 16734564352
|
|||
|
rom_free_ext <09><>ȡ<EFBFBD>ⲿ<EFBFBD>洢<EFBFBD>ռ<EFBFBD><D5BC>Ŀ<EFBFBD><C4BF>ÿռ<C3BF><D5BC><EFBFBD>С " StatFs statFs = new StatFs(Environment.getExternalStorageDirectory().getPath());
|
|||
|
return statFs.getBlockSizeLong() * statFs.getAvailableBlocksLong();
|
|||
|
" 16734556160
|
|||
|
sim_country "<22><>ȡ<EFBFBD>豸<EFBFBD><E8B1B8>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><C4B9><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҵ<EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD>գ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡSIM<EFBFBD><EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD>Ҵ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD>ҪREAD_PHONE_STATEȨ<EFBFBD><EFBFBD>" " public static String e(Context context) {
|
|||
|
if (context == null) {
|
|||
|
return """";
|
|||
|
}
|
|||
|
if (""-1"".equals(e)) {
|
|||
|
e = """";
|
|||
|
if (!sg.bigo.ads.common.utils.c.a(context, ""android.permission.READ_PHONE_STATE"")) {
|
|||
|
return e;
|
|||
|
}
|
|||
|
try {
|
|||
|
TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService(""phone"");
|
|||
|
String networkCountryIso = telephonyManager.getNetworkCountryIso();
|
|||
|
e = networkCountryIso;
|
|||
|
if (TextUtils.isEmpty(networkCountryIso)) {
|
|||
|
e = telephonyManager.getSimCountryIso();
|
|||
|
}
|
|||
|
} catch (Exception unused) {
|
|||
|
}
|
|||
|
}
|
|||
|
return e;
|
|||
|
}
|
|||
|
" """"""
|
|||
|
system_country <09><><EFBFBD>Ҵ<EFBFBD><D2B4><EFBFBD> locale.getCountry() cn
|
|||
|
bat_stat "<22><>ȡ<EFBFBD>豸<EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD>״̬
|
|||
|
BatteryManager.BATTERY_STATUS_UNKNOWN<57><4E>1<EFBFBD><31><EFBFBD><EFBFBD>δ֪״̬
|
|||
|
BatteryManager.BATTERY_STATUS_CHARGING<4E><47>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD><DAB3><EFBFBD>
|
|||
|
BatteryManager.BATTERY_STATUS_DISCHARGING<4E><47>3<EFBFBD><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڷŵ<DAB7>
|
|||
|
BatteryManager.BATTERY_STATUS_NOT_CHARGING<4E><47>4<EFBFBD><34><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD><EFBFBD>
|
|||
|
BatteryManager.BATTERY_STATUS_FULL<4C><4C>5<EFBFBD><35><EFBFBD><EFBFBD><EFBFBD>ѳ<EFBFBD><D1B3><EFBFBD>" " registerReceiver = context.registerReceiver(null, new IntentFilter(""android.intent.action.BATTERY_CHANGED""));
|
|||
|
registerReceiver.getIntExtra(""status"", -1)" 2
|
|||
|
bat_num <09><>ȡ<EFBFBD>豸<EFBFBD>ĵ<EFBFBD><C4B5>ص<EFBFBD><D8B5><EFBFBD><EFBFBD>ٷֱ<D9B7>0~100 " registerReceiver = context.registerReceiver(null, new IntentFilter(""android.intent.action.BATTERY_CHANGED""));
|
|||
|
registerReceiver.getIntExtra(""level"", -1)" 76
|
|||
|
bat_scale <09><>ȡ<EFBFBD><C8A1><EFBFBD>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̶<EFBFBD> " registerReceiver = context.registerReceiver(null, new IntentFilter(""android.intent.action.BATTERY_CHANGED""));
|
|||
|
registerReceiver.getIntExtra(""scale"", -1)" 100
|
|||
|
lat_enable <09>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>gaid<69>Ļ<EFBFBD>ȡ <09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡgaid<69>Ĵ<EFBFBD><C4B4><EFBFBD>һ<EFBFBD><D2BB> 0
|
|||
|
hw_lat_enable <09>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>hw_id<69>Ļ<EFBFBD>ȡ 1
|
|||
|
fire_lat_enable <09>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>fire_id<69>Ļ<EFBFBD>ȡ 1
|