VMOS Pro v2.9.9版本的 MD5 值为:42f292af86d02c1a08555cf2d3982a52
以下内容为反编译后的 NetworkUtils.java 源代码,内容仅作参考
package com.blankj.utilcode.util;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.net.wifi.ScanResult;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
import android.text.format.Formatter;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresPermission;
import com.blankj.utilcode.util.C0996;
import java.lang.reflect.Method;
import java.net.InetAddress;
import java.net.InterfaceAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.CopyOnWriteArraySet;
public final class NetworkUtils {
public static final Set<C0996.InterfaceC1001<C0925>> f3911 = new CopyOnWriteArraySet();
public static Timer f3912 = null;
public static C0925 f3913 = null;
public static final long f3914 = 3000;
public static final class NetworkChangedReceiver extends BroadcastReceiver {
public Set<InterfaceC0924> f3915 = new HashSet();
public EnumC0923 f3916;
public static class C0911 {
public static final NetworkChangedReceiver f3917 = new NetworkChangedReceiver();
private C0911() {
}
}
public class RunnableC0912 implements Runnable {
public final InterfaceC0924 f3918;
public RunnableC0912(InterfaceC0924 interfaceC0924) {
this.f3918 = interfaceC0924;
}
@Override
@RequiresPermission(be0.f1935)
public void run() {
int size = NetworkChangedReceiver.this.f3915.size();
NetworkChangedReceiver.this.f3915.add(this.f3918);
if (size == 0 && NetworkChangedReceiver.this.f3915.size() == 1) {
NetworkChangedReceiver.this.f3916 = NetworkUtils.m6228();
C0996.m6898().registerReceiver(NetworkChangedReceiver.m6286(), new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE"));
}
}
}
public class RunnableC0913 implements Runnable {
public final InterfaceC0924 f3920;
public RunnableC0913(InterfaceC0924 interfaceC0924) {
this.f3920 = interfaceC0924;
}
@Override
public void run() {
int size = NetworkChangedReceiver.this.f3915.size();
NetworkChangedReceiver.this.f3915.remove(this.f3920);
if (size == 1 && NetworkChangedReceiver.this.f3915.size() == 0) {
C0996.m6898().unregisterReceiver(NetworkChangedReceiver.m6286());
}
}
}
public class RunnableC0914 implements Runnable {
public RunnableC0914() {
}
@Override
@RequiresPermission(be0.f1935)
public void run() {
EnumC0923 m6228 = NetworkUtils.m6228();
if (NetworkChangedReceiver.this.f3916 == m6228) {
return;
}
NetworkChangedReceiver.this.f3916 = m6228;
if (m6228 == EnumC0923.NETWORK_NO) {
for (InterfaceC0924 interfaceC0924 : NetworkChangedReceiver.this.f3915) {
interfaceC0924.m6297();
}
return;
}
for (InterfaceC0924 interfaceC09242 : NetworkChangedReceiver.this.f3915) {
interfaceC09242.m6296(m6228);
}
}
}
public static NetworkChangedReceiver m6285() {
return C0911.f3917;
}
public static NetworkChangedReceiver m6286() {
return m6285();
}
@Override
public void onReceive(Context context, Intent intent) {
if ("android.net.conn.CONNECTIVITY_CHANGE".equals(intent.getAction())) {
C1008.m7020(new RunnableC0914(), 1000L);
}
}
public void m6287(InterfaceC0924 interfaceC0924) {
if (interfaceC0924 == null) {
return;
}
C1008.m7017(new RunnableC0913(interfaceC0924));
}
public boolean m6288(InterfaceC0924 interfaceC0924) {
if (interfaceC0924 == null) {
return false;
}
return this.f3915.contains(interfaceC0924);
}
@RequiresPermission(be0.f1935)
public void m6289(InterfaceC0924 interfaceC0924) {
if (interfaceC0924 == null) {
return;
}
C1008.m7017(new RunnableC0912(interfaceC0924));
}
}
public static class C0915 extends C0996.AbstractC0999<Boolean> {
public C0915(C0996.InterfaceC1001 interfaceC1001) {
super(interfaceC1001);
}
@Override
@RequiresPermission(allOf = {"android.permission.ACCESS_WIFI_STATE", "android.permission.INTERNET"})
public Boolean mo6291() {
return Boolean.valueOf(NetworkUtils.m6267());
}
}
public static class C0916 extends C0996.AbstractC0999<String> {
public final boolean f3923;
public C0916(C0996.InterfaceC1001 interfaceC1001, boolean z) {
super(interfaceC1001);
this.f3923 = z;
}
@Override
@RequiresPermission("android.permission.INTERNET")
public String mo6291() {
return NetworkUtils.m6257(this.f3923);
}
}
public static class C0917 extends C0996.AbstractC0999<String> {
public final String f3924;
public C0917(C0996.InterfaceC1001 interfaceC1001, String str) {
super(interfaceC1001);
this.f3924 = str;
}
@Override
@RequiresPermission("android.permission.INTERNET")
public String mo6291() {
return NetworkUtils.m6240(this.f3924);
}
}
public static class RunnableC0918 implements Runnable {
public final C0996.InterfaceC1001 f3925;
public RunnableC0918(C0996.InterfaceC1001 interfaceC1001) {
this.f3925 = interfaceC1001;
}
@Override
public void run() {
if (NetworkUtils.f3911.isEmpty()) {
NetworkUtils.f3911.add(this.f3925);
NetworkUtils.m6278();
return;
}
this.f3925.accept(NetworkUtils.f3913);
NetworkUtils.f3911.add(this.f3925);
}
}
public static class C0919 extends C0996.AbstractC0999<Boolean> {
public C0919(C0996.InterfaceC1001 interfaceC1001) {
super(interfaceC1001);
}
@Override
@RequiresPermission("android.permission.INTERNET")
public Boolean mo6291() {
return Boolean.valueOf(NetworkUtils.m6238());
}
}
public static class C0920 extends TimerTask {
public class RunnableC0921 implements Runnable {
public RunnableC0921() {
}
@Override
public void run() {
for (C0996.InterfaceC1001 interfaceC1001 : NetworkUtils.f3911) {
interfaceC1001.accept(NetworkUtils.f3913);
}
}
}
@Override
@RequiresPermission(allOf = {"android.permission.ACCESS_WIFI_STATE", "android.permission.CHANGE_WIFI_STATE", "android.permission.ACCESS_COARSE_LOCATION"})
public void run() {
NetworkUtils.m6279();
C0925 m6234 = NetworkUtils.m6234();
if (NetworkUtils.m6262(NetworkUtils.f3913.f3938, m6234.f3938)) {
return;
}
C0925 unused = NetworkUtils.f3913 = m6234;
C1008.m7017(new RunnableC0921());
}
}
public static class RunnableC0922 implements Runnable {
public final C0996.InterfaceC1001 f3927;
public RunnableC0922(C0996.InterfaceC1001 interfaceC1001) {
this.f3927 = interfaceC1001;
}
@Override
public void run() {
NetworkUtils.f3911.remove(this.f3927);
if (NetworkUtils.f3911.isEmpty()) {
NetworkUtils.m6280();
}
}
}
public enum EnumC0923 {
NETWORK_ETHERNET,
NETWORK_WIFI,
NETWORK_5G,
NETWORK_4G,
NETWORK_3G,
NETWORK_2G,
NETWORK_UNKNOWN,
NETWORK_NO
}
public interface InterfaceC0924 {
void m6296(EnumC0923 enumC0923);
void m6297();
}
public static final class C0925 {
public List<ScanResult> f3938 = new ArrayList();
public List<ScanResult> f3937 = new ArrayList();
public static List<ScanResult> m6298(List<ScanResult> list) {
ScanResult scanResult;
if (list != null && !list.isEmpty()) {
LinkedHashMap linkedHashMap = new LinkedHashMap(list.size());
for (ScanResult scanResult2 : list) {
if (!TextUtils.isEmpty(scanResult2.SSID) && ((scanResult = (ScanResult) linkedHashMap.get(scanResult2.SSID)) == null || scanResult.level < scanResult2.level)) {
linkedHashMap.put(scanResult2.SSID, scanResult2);
}
}
return new ArrayList(linkedHashMap.values());
}
return new ArrayList();
}
public List<ScanResult> m6300() {
return this.f3938;
}
public List<ScanResult> m6301() {
return this.f3937;
}
public void m6302(List<ScanResult> list) {
this.f3938 = list;
this.f3937 = m6298(list);
}
}
public static class C0926 extends C0996.AbstractC0999<Boolean> {
public final String f3939;
public C0926(C0996.InterfaceC1001 interfaceC1001, String str) {
super(interfaceC1001);
this.f3939 = str;
}
@Override
@RequiresPermission("android.permission.INTERNET")
public Boolean mo6291() {
return Boolean.valueOf(NetworkUtils.m6248(this.f3939));
}
}
public static class C0927 extends C0996.AbstractC0999<Boolean> {
public final String f3940;
public C0927(C0996.InterfaceC1001 interfaceC1001, String str) {
super(interfaceC1001);
this.f3940 = str;
}
@Override
@RequiresPermission("android.permission.INTERNET")
public Boolean mo6291() {
return Boolean.valueOf(NetworkUtils.m6243(this.f3940));
}
}
private NetworkUtils() {
throw new UnsupportedOperationException("u can't instantiate me...");
}
@RequiresPermission(allOf = {"android.permission.ACCESS_WIFI_STATE", "android.permission.CHANGE_WIFI_STATE", "android.permission.ACCESS_COARSE_LOCATION"})
public static void m6227(C0996.InterfaceC1001<C0925> interfaceC1001) {
if (interfaceC1001 == null) {
return;
}
C1008.m7017(new RunnableC0918(interfaceC1001));
}
@RequiresPermission(be0.f1935)
public static EnumC0923 m6228() {
if (m6256()) {
return EnumC0923.NETWORK_ETHERNET;
}
NetworkInfo m6229 = m6229();
if (m6229 != null && m6229.isAvailable()) {
if (m6229.getType() == 1) {
return EnumC0923.NETWORK_WIFI;
}
if (m6229.getType() == 0) {
switch (m6229.getSubtype()) {
case 1:
case 2:
case 4:
case 7:
case 11:
case 16:
return EnumC0923.NETWORK_2G;
case 3:
case 5:
case 6:
case 8:
case 9:
case 10:
case 12:
case 14:
case 15:
case 17:
return EnumC0923.NETWORK_3G;
case 13:
case 18:
return EnumC0923.NETWORK_4G;
case 19:
default:
String subtypeName = m6229.getSubtypeName();
if (!subtypeName.equalsIgnoreCase("TD-SCDMA") && !subtypeName.equalsIgnoreCase("WCDMA") && !subtypeName.equalsIgnoreCase("CDMA2000")) {
return EnumC0923.NETWORK_UNKNOWN;
}
return EnumC0923.NETWORK_3G;
case 20:
return EnumC0923.NETWORK_5G;
}
}
return EnumC0923.NETWORK_UNKNOWN;
}
return EnumC0923.NETWORK_NO;
}
@RequiresPermission(be0.f1935)
public static NetworkInfo m6229() {
ConnectivityManager connectivityManager = (ConnectivityManager) C0996.m6898().getSystemService("connectivity");
if (connectivityManager == null) {
return null;
}
return connectivityManager.getActiveNetworkInfo();
}
@RequiresPermission("android.permission.ACCESS_WIFI_STATE")
public static String m6230() {
WifiInfo connectionInfo;
WifiManager wifiManager = (WifiManager) C0996.m6898().getApplicationContext().getSystemService("wifi");
if (wifiManager == null || (connectionInfo = wifiManager.getConnectionInfo()) == null) {
return "";
}
String ssid = connectionInfo.getSSID();
return TextUtils.isEmpty(ssid) ? "" : (ssid.length() > 2 && ssid.charAt(0) == '\"' && ssid.charAt(ssid.length() - 1) == '\"') ? ssid.substring(1, ssid.length() - 1) : ssid;
}
public static String m6231() {
try {
Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces();
new LinkedList();
while (networkInterfaces.hasMoreElements()) {
NetworkInterface nextElement = networkInterfaces.nextElement();
if (nextElement.isUp() && !nextElement.isLoopback()) {
List<InterfaceAddress> interfaceAddresses = nextElement.getInterfaceAddresses();
int size = interfaceAddresses.size();
for (int i = 0; i < size; i++) {
InetAddress broadcast = interfaceAddresses.get(i).getBroadcast();
if (broadcast != null) {
return broadcast.getHostAddress();
}
}
continue;
}
}
return "";
} catch (SocketException e) {
e.printStackTrace();
return "";
}
}
@RequiresPermission("android.permission.ACCESS_WIFI_STATE")
public static String m6232() {
WifiManager wifiManager = (WifiManager) C0996.m6898().getSystemService("wifi");
return wifiManager == null ? "" : Formatter.formatIpAddress(wifiManager.getDhcpInfo().serverAddress);
}
@RequiresPermission("android.permission.ACCESS_WIFI_STATE")
public static boolean m6233() {
WifiManager wifiManager = (WifiManager) C0996.m6898().getSystemService("wifi");
if (wifiManager == null) {
return false;
}
return wifiManager.isWifiEnabled();
}
@RequiresPermission(allOf = {"android.permission.ACCESS_WIFI_STATE", "android.permission.ACCESS_COARSE_LOCATION"})
public static C0925 m6234() {
List<ScanResult> scanResults;
C0925 c0925 = new C0925();
if (m6233() && (scanResults = ((WifiManager) C0996.m6898().getSystemService("wifi")).getScanResults()) != null) {
c0925.m6302(scanResults);
}
return c0925;
}
@RequiresPermission(be0.f1935)
public static boolean m6235() {
NetworkInfo m6229 = m6229();
return m6229 != null && m6229.isAvailable() && m6229.getSubtype() == 13;
}
@RequiresPermission(be0.f1935)
public static boolean m6236() {
NetworkInfo m6229 = m6229();
return m6229 != null && m6229.isAvailable() && m6229.getSubtype() == 20;
}
@RequiresPermission("android.permission.INTERNET")
public static boolean m6238() {
return m6241() || m6248(null);
}
@RequiresPermission("android.permission.INTERNET")
public static C0996.AbstractC0999<Boolean> m6239(@NonNull C0996.InterfaceC1001<Boolean> interfaceC1001) {
return C1008.m6950(new C0919(interfaceC1001));
}
@RequiresPermission("android.permission.INTERNET")
public static String m6240(String str) {
try {
return InetAddress.getByName(str).getHostAddress();
} catch (UnknownHostException e) {
e.printStackTrace();
return "";
}
}
@RequiresPermission("android.permission.INTERNET")
public static boolean m6241() {
return m6243("");
}
@RequiresPermission("android.permission.INTERNET")
public static boolean m6243(String str) {
if (TextUtils.isEmpty(str)) {
str = "www.baidu.com";
}
try {
return InetAddress.getByName(str) != null;
} catch (UnknownHostException e) {
e.printStackTrace();
return false;
}
}
@RequiresPermission("android.permission.INTERNET")
public static C0996.AbstractC0999 m6244(String str, @NonNull C0996.InterfaceC1001<Boolean> interfaceC1001) {
return C1008.m6950(new C0927(interfaceC1001, str));
}
@RequiresPermission("android.permission.INTERNET")
public static C0996.AbstractC0999<String> m6245(String str, @NonNull C0996.InterfaceC1001<String> interfaceC1001) {
return C1008.m6950(new C0917(interfaceC1001, str));
}
@RequiresPermission("android.permission.INTERNET")
public static void m6246(C0996.InterfaceC1001<Boolean> interfaceC1001) {
m6244("", interfaceC1001);
}
@RequiresPermission("android.permission.INTERNET")
public static boolean m6247() {
return m6248("");
}
@RequiresPermission("android.permission.INTERNET")
public static boolean m6248(String str) {
if (TextUtils.isEmpty(str)) {
str = "223.5.5.5";
}
return C0975.m6787(String.format("ping -c 1 %s", str), false).f4194 == 0;
}
@RequiresPermission("android.permission.INTERNET")
public static C0996.AbstractC0999<Boolean> m6250(String str, @NonNull C0996.InterfaceC1001<Boolean> interfaceC1001) {
return C1008.m6950(new C0926(interfaceC1001, str));
}
@RequiresPermission("android.permission.INTERNET")
public static void m6251(C0996.InterfaceC1001<Boolean> interfaceC1001) {
m6250("", interfaceC1001);
}
public static boolean m6253() {
return (System.getProperty("http.proxyHost") == null || System.getProperty("http.proxyPort") == null) ? false : true;
}
@RequiresPermission(be0.f1935)
public static boolean m6254() {
NetworkInfo m6229 = m6229();
return m6229 != null && m6229.isConnected();
}
@RequiresPermission("android.permission.ACCESS_WIFI_STATE")
public static String m6255() {
WifiManager wifiManager = (WifiManager) C0996.m6898().getSystemService("wifi");
return wifiManager == null ? "" : Formatter.formatIpAddress(wifiManager.getDhcpInfo().gateway);
}
@RequiresPermission(be0.f1935)
public static boolean m6256() {
NetworkInfo networkInfo;
NetworkInfo.State state;
ConnectivityManager connectivityManager = (ConnectivityManager) C0996.m6898().getSystemService("connectivity");
if (connectivityManager == null || (networkInfo = connectivityManager.getNetworkInfo(9)) == null || (state = networkInfo.getState()) == null) {
return false;
}
return state == NetworkInfo.State.CONNECTED || state == NetworkInfo.State.CONNECTING;
}
@RequiresPermission("android.permission.INTERNET")
public static String m6257(boolean z) {
try {
Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces();
LinkedList linkedList = new LinkedList();
while (networkInterfaces.hasMoreElements()) {
NetworkInterface nextElement = networkInterfaces.nextElement();
if (nextElement.isUp() && !nextElement.isLoopback()) {
Enumeration<InetAddress> inetAddresses = nextElement.getInetAddresses();
while (inetAddresses.hasMoreElements()) {
linkedList.addFirst(inetAddresses.nextElement());
}
}
}
Iterator it = linkedList.iterator();
while (it.hasNext()) {
InetAddress inetAddress = (InetAddress) it.next();
if (!inetAddress.isLoopbackAddress()) {
String hostAddress = inetAddress.getHostAddress();
boolean z2 = hostAddress.indexOf(58) < 0;
if (z) {
if (z2) {
return hostAddress;
}
} else if (!z2) {
int indexOf = hostAddress.indexOf(37);
if (indexOf < 0) {
return hostAddress.toUpperCase();
}
return hostAddress.substring(0, indexOf).toUpperCase();
}
}
}
return "";
} catch (SocketException e) {
e.printStackTrace();
return "";
}
}
@RequiresPermission(be0.f1935)
public static boolean m6258() {
NetworkInfo m6229 = m6229();
return m6229 != null && m6229.isAvailable() && m6229.getType() == 0;
}
public static boolean m6259(InterfaceC0924 interfaceC0924) {
return NetworkChangedReceiver.m6286().m6288(interfaceC0924);
}
public static boolean m6261(ScanResult scanResult, ScanResult scanResult2) {
return scanResult != null && scanResult2 != null && C1008.m6964(scanResult.BSSID, scanResult2.BSSID) && C1008.m6964(scanResult.SSID, scanResult2.SSID) && C1008.m6964(scanResult.capabilities, scanResult2.capabilities) && scanResult.level == scanResult2.level;
}
public static boolean m6262(List<ScanResult> list, List<ScanResult> list2) {
if (list == null && list2 == null) {
return true;
}
if (list == null || list2 == null || list.size() != list2.size()) {
return false;
}
for (int i = 0; i < list.size(); i++) {
if (!m6261(list.get(i), list2.get(i))) {
return false;
}
}
return true;
}
public static boolean m6263() {
ConnectivityManager connectivityManager = (ConnectivityManager) C0996.m6898().getSystemService("connectivity");
if (Build.VERSION.SDK_INT >= 28) {
return connectivityManager.getNetworkInfo(17).isConnectedOrConnecting();
}
return connectivityManager.getNetworkInfo(4).isConnectedOrConnecting();
}
public static C0996.AbstractC0999<String> m6264(boolean z, @NonNull C0996.InterfaceC1001<String> interfaceC1001) {
return C1008.m6950(new C0916(interfaceC1001, z));
}
@RequiresPermission("android.permission.ACCESS_WIFI_STATE")
public static String m6265() {
WifiManager wifiManager = (WifiManager) C0996.m6898().getSystemService("wifi");
return wifiManager == null ? "" : Formatter.formatIpAddress(wifiManager.getDhcpInfo().ipAddress);
}
public static boolean m6266() {
TelephonyManager telephonyManager;
try {
telephonyManager = (TelephonyManager) C0996.m6898().getSystemService("phone");
} catch (Exception e) {
e.printStackTrace();
}
if (telephonyManager == null) {
return false;
}
if (Build.VERSION.SDK_INT >= 26) {
return telephonyManager.isDataEnabled();
}
Method declaredMethod = telephonyManager.getClass().getDeclaredMethod("getDataEnabled", new Class[0]);
if (declaredMethod != null) {
return ((Boolean) declaredMethod.invoke(telephonyManager, new Object[0])).booleanValue();
}
return false;
}
@RequiresPermission(allOf = {"android.permission.ACCESS_WIFI_STATE", "android.permission.INTERNET"})
public static boolean m6267() {
return m6233() && m6238();
}
@RequiresPermission("android.permission.ACCESS_WIFI_STATE")
public static String m6269() {
WifiManager wifiManager = (WifiManager) C0996.m6898().getSystemService("wifi");
return wifiManager == null ? "" : Formatter.formatIpAddress(wifiManager.getDhcpInfo().netmask);
}
@RequiresPermission(allOf = {"android.permission.ACCESS_WIFI_STATE", "android.permission.INTERNET"})
public static C0996.AbstractC0999<Boolean> m6271(@NonNull C0996.InterfaceC1001<Boolean> interfaceC1001) {
return C1008.m6950(new C0915(interfaceC1001));
}
@RequiresPermission(be0.f1935)
public static boolean m6272() {
NetworkInfo activeNetworkInfo;
ConnectivityManager connectivityManager = (ConnectivityManager) C0996.m6898().getSystemService("connectivity");
return (connectivityManager == null || (activeNetworkInfo = connectivityManager.getActiveNetworkInfo()) == null || activeNetworkInfo.getType() != 1) ? false : true;
}
public static String m6273() {
TelephonyManager telephonyManager = (TelephonyManager) C0996.m6898().getSystemService("phone");
return telephonyManager == null ? "" : telephonyManager.getNetworkOperatorName();
}
public static void m6274() {
C0996.m6898().startActivity(new Intent("android.settings.WIRELESS_SETTINGS").setFlags(268435456));
}
@RequiresPermission(be0.f1935)
public static void m6275(InterfaceC0924 interfaceC0924) {
NetworkChangedReceiver.m6286().m6289(interfaceC0924);
}
public static void m6276(C0996.InterfaceC1001<C0925> interfaceC1001) {
if (interfaceC1001 == null) {
return;
}
C1008.m7017(new RunnableC0922(interfaceC1001));
}
@RequiresPermission("android.permission.CHANGE_WIFI_STATE")
public static void m6277(boolean z) {
WifiManager wifiManager = (WifiManager) C0996.m6898().getSystemService("wifi");
if (wifiManager == null || z == wifiManager.isWifiEnabled()) {
return;
}
wifiManager.setWifiEnabled(z);
}
public static void m6278() {
f3913 = new C0925();
Timer timer = new Timer();
f3912 = timer;
timer.schedule(new C0920(), 0L, 3000L);
}
@RequiresPermission(allOf = {"android.permission.ACCESS_WIFI_STATE", "android.permission.CHANGE_WIFI_STATE"})
public static void m6279() {
if (m6233()) {
((WifiManager) C0996.m6898().getSystemService("wifi")).startScan();
}
}
public static void m6280() {
Timer timer = f3912;
if (timer != null) {
timer.cancel();
f3912 = null;
}
}
public static void m6281(InterfaceC0924 interfaceC0924) {
NetworkChangedReceiver.m6286().m6287(interfaceC0924);
}
}