Offset 7, 15 lines modifiedOffset 7, 14 lines modified
7 import·android.net.wifi.ScanResult;7 import·android.net.wifi.ScanResult;
8 import·android.net.wifi.WifiInfo;8 import·android.net.wifi.WifiInfo;
9 import·android.net.KeepalivePacketData;9 import·android.net.KeepalivePacketData;
10 import·com.android.wifi.x.android.net.DhcpResultsParcelable;10 import·com.android.wifi.x.android.net.DhcpResultsParcelable;
11 import·com.android.wifi.x.android.net.TcpKeepalivePacketData;11 import·com.android.wifi.x.android.net.TcpKeepalivePacketData;
12 import·android.net.NattKeepalivePacketData;12 import·android.net.NattKeepalivePacketData;
13 import·com.android.wifi.x.com.android.internal.util.IState;13 import·com.android.wifi.x.com.android.internal.util.IState;
14 import·java.util.Objects; 
15 import·android.os.Message;14 import·android.os.Message;
16 import·android.net.NetworkCapabilities;15 import·android.net.NetworkCapabilities;
17 import·android.net.NetworkAgentConfig;16 import·android.net.NetworkAgentConfig;
18 import·android.net.wifi.WifiConfiguration;17 import·android.net.wifi.WifiConfiguration;
19 import·android.net.NetworkAgent;18 import·android.net.NetworkAgent;
20 import·android.util.Log;19 import·android.util.Log;
21 import·android.net.NetworkAgentConfig$Builder;20 import·android.net.NetworkAgentConfig$Builder;
Offset 30, 25 lines modifiedOffset 29, 25 lines modified
30 ····ClientModeImpl$L2ConnectedState(final·ClientModeImpl·this$0)·{29 ····ClientModeImpl$L2ConnectedState(final·ClientModeImpl·this$0)·{
31 ········this.this$0·=·this$0;30 ········this.this$0·=·this$0;
32 ········this.mRssiEventHandler·=·new·ClientModeImpl$L2ConnectedState$RssiEventHandler(this);31 ········this.mRssiEventHandler·=·new·ClientModeImpl$L2ConnectedState$RssiEventHandler(this);
33 ····}32 ····}
34 ····33 ····
35 ····private·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal()·{34 ····private·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal()·{
36 ········final·WifiLinkLayerStats·wifiLinkLayerStats·=·this.this$0.getWifiLinkLayerStats();35 ········final·WifiLinkLayerStats·wifiLinkLayerStats·=·this.this$0.getWifiLinkLayerStats();
37 ········ClientModeImpl.access$11100(this.this$0);36 ········ClientModeImpl.access$10900(this.this$0);
38 ········ClientModeImpl.access$1700(this.this$0).calculateAndReportScore();37 ········ClientModeImpl.access$1700(this.this$0).calculateAndReportScore();
39 ········return·wifiLinkLayerStats;38 ········return·wifiLinkLayerStats;
40 ····}39 ····}
41 ····40 ····
42 ····public·void·enter()·{41 ····public·void·enter()·{
43 ········ClientModeImpl.access$8608(this.this$0);42 ········ClientModeImpl.access$8508(this.this$0);
44 ········if·(ClientModeImpl.access$1500(this.this$0))·{43 ········if·(ClientModeImpl.access$1500(this.this$0))·{
45 ············ClientModeImpl.access$8700(this.this$0).resetOnNewConnection();44 ············ClientModeImpl.access$8600(this.this$0).resetOnNewConnection();
46 ············final·ClientModeImpl·this$0·=·this.this$0;45 ············final·ClientModeImpl·this$0·=·this.this$0;
47 ············((StateMachine)this$0).sendMessage(131155,·ClientModeImpl.access$8600(this$0),·0);46 ············((StateMachine)this$0).sendMessage(131155,·ClientModeImpl.access$8500(this$0),·0);
48 ········}47 ········}
49 ········ClientModeImpl.access$3800(this.this$0,·NetworkInfo$DetailedState.CONNECTING);48 ········ClientModeImpl.access$3800(this.this$0,·NetworkInfo$DetailedState.CONNECTING);
50 ········final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();49 ········final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();
51 ········boolean·checkNetworkSettingsPermission;50 ········boolean·checkNetworkSettingsPermission;
52 ········if·(this.this$0.shouldEvaluateWhetherToSendExplicitlySelected(currentWifiConfiguration))·{51 ········if·(this.this$0.shouldEvaluateWhetherToSendExplicitlySelected(currentWifiConfiguration))·{
53 ············checkNetworkSettingsPermission·=·ClientModeImpl.access$6500(this.this$0).checkNetworkSettingsPermission(currentWifiConfiguration.lastConnectUid);52 ············checkNetworkSettingsPermission·=·ClientModeImpl.access$6500(this.this$0).checkNetworkSettingsPermission(currentWifiConfiguration.lastConnectUid);
54 ············if·(ClientModeImpl.access$900(this.this$0))·{53 ············if·(ClientModeImpl.access$900(this.this$0))·{
Offset 77, 28 lines modifiedOffset 76, 28 lines modified
77 ········int·n·=·1;76 ········int·n·=·1;
78 ········final·NetworkAgentConfig$Builder·setExplicitlySelected·=·networkAgentConfig$Builder.setLegacyType(n).setLegacyTypeName("WIFI").setExplicitlySelected(checkNetworkSettingsPermission);77 ········final·NetworkAgentConfig$Builder·setExplicitlySelected·=·networkAgentConfig$Builder.setLegacyType(n).setLegacyTypeName("WIFI").setExplicitlySelected(checkNetworkSettingsPermission);
79 ········if·(!checkNetworkSettingsPermission·||·!currentWifiConfiguration.noInternetAccessExpected)·{78 ········if·(!checkNetworkSettingsPermission·||·!currentWifiConfiguration.noInternetAccessExpected)·{
80 ············n·=·0;79 ············n·=·0;
81 ········}80 ········}
82 ········final·NetworkAgentConfig·build·=·setExplicitlySelected.setUnvalidatedConnectivityAcceptable((boolean)(n·!=·0)).setPartialConnectivityAcceptable(currentWifiConfiguration.noInternetAccessExpected).build();81 ········final·NetworkAgentConfig·build·=·setExplicitlySelected.setUnvalidatedConnectivityAcceptable((boolean)(n·!=·0)).setPartialConnectivityAcceptable(currentWifiConfiguration.noInternetAccessExpected).build();
83 ········final·ClientModeImpl·this$4·=·this.this$0;82 ········final·ClientModeImpl·this$4·=·this.this$0;
84 ········final·NetworkCapabilities·access$8800·=·ClientModeImpl.access$8800(this$4,·this$4.getCurrentWifiConfiguration());83 ········final·NetworkCapabilities·access$8700·=·ClientModeImpl.access$8700(this$4,·this$4.getCurrentWifiConfiguration());
85 ········if·(ClientModeImpl.access$3200(this.this$0)·!=·null)·{84 ········if·(ClientModeImpl.access$3200(this.this$0)·!=·null)·{
86 ············final·StringBuilder·sb3·=·new·StringBuilder();85 ············final·StringBuilder·sb3·=·new·StringBuilder();
87 ············sb3.append("mNetworkAgent·is·not·null:·");86 ············sb3.append("mNetworkAgent·is·not·null:·");
88 ············sb3.append(ClientModeImpl.access$3200(this.this$0));87 ············sb3.append(ClientModeImpl.access$3200(this.this$0));
89 ············Log.wtf("WifiClientModeImpl",·sb3.toString());88 ············Log.wtf("WifiClientModeImpl",·sb3.toString());
90 ············((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).unregister();89 ············((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).unregister();
91 ········}90 ········}
92 ········final·ClientModeImpl·this$5·=·this.this$0;91 ········final·ClientModeImpl·this$5·=·this.this$0;
93 ········final·ClientModeImpl·this$6·=·this.this$0;92 ········final·ClientModeImpl·this$6·=·this.this$0;
94 ········ClientModeImpl.access$3202(this$5,·new·ClientModeImpl$WifiNetworkAgent(this$6,·ClientModeImpl.access$8900(this$6),·((StateMachine)this.this$0).getHandler().getLooper(),·"WifiNetworkAgent",·access$8800,·ClientModeImpl.access$9000(this.this$0),·60,·build,·((NetworkFactory)ClientModeImpl.access$3900(this.this$0)).getProvider()));93 ········ClientModeImpl.access$3202(this$5,·new·ClientModeImpl$WifiNetworkAgent(this$6,·ClientModeImpl.access$8800(this$6),·((StateMachine)this.this$0).getHandler().getLooper(),·"WifiNetworkAgent",·access$8700,·ClientModeImpl.access$8900(this.this$0),·60,·build,·((NetworkFactory)ClientModeImpl.access$3900(this.this$0)).getProvider()));
95 ········ClientModeImpl.access$1700(this.this$0).setNetworkAgent((NetworkAgent)ClientModeImpl.access$3200(this.this$0));94 ········ClientModeImpl.access$1700(this.this$0).setNetworkAgent((NetworkAgent)ClientModeImpl.access$3200(this.this$0));
96 ········this.this$0.clearTargetBssid("L2ConnectedState");95 ········this.this$0.clearTargetBssid("L2ConnectedState");
97 ········ClientModeImpl.access$9100(this.this$0).setReadyForChange(false);96 ········ClientModeImpl.access$9000(this.this$0).setReadyForChange(false);
98 ········ClientModeImpl.access$300(this.this$0).setWifiState(3);97 ········ClientModeImpl.access$300(this.this$0).setWifiState(3);
99 ········ClientModeImpl.access$4000(this.this$0).noteNetworkAgentCreated(ClientModeImpl.access$800(this.this$0),·((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).getNetwork().getNetId());98 ········ClientModeImpl.access$4000(this.this$0).noteNetworkAgentCreated(ClientModeImpl.access$800(this.this$0),·((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).getNetwork().getNetId());
100 ········ClientModeImpl.access$700(this.this$0).handleBssidConnectionSuccess(ClientModeImpl.access$5400(this.this$0),·((WifiInfo)ClientModeImpl.access$800(this.this$0)).getSSID());99 ········ClientModeImpl.access$700(this.this$0).handleBssidConnectionSuccess(ClientModeImpl.access$5400(this.this$0),·((WifiInfo)ClientModeImpl.access$800(this.this$0)).getSSID());
101 ····}100 ····}
102 ····101 ····
103 ····public·void·exit()·{102 ····public·void·exit()·{
104 ········if·(ClientModeImpl.access$900(this.this$0))·{103 ········if·(ClientModeImpl.access$900(this.this$0))·{
Offset 108, 81 lines modifiedOffset 107, 79 lines modified
108 ············sb2.append(Integer.toString(ClientModeImpl.access$500(this.this$0)));107 ············sb2.append(Integer.toString(ClientModeImpl.access$500(this.this$0)));
109 ············sb.append(sb2.toString());108 ············sb.append(sb2.toString());
110 ············if·(ClientModeImpl.access$5400(this.this$0)·!=·null)·{109 ············if·(ClientModeImpl.access$5400(this.this$0)·!=·null)·{
111 ················sb.append("·");110 ················sb.append("·");
112 ················sb.append(ClientModeImpl.access$5400(this.this$0));111 ················sb.append(ClientModeImpl.access$5400(this.this$0));
113 ············}112 ············}
114 ········}113 ········}
115 ········ClientModeImpl.access$9100(this.this$0).setReadyForChange(true);114 ········ClientModeImpl.access$9000(this.this$0).setReadyForChange(true);
116 ········final·WifiMetrics·access$300·=·ClientModeImpl.access$300(this.this$0);115 ········final·WifiMetrics·access$300·=·ClientModeImpl.access$300(this.this$0);
117 ········final·int·wifiState·=·2;116 ········final·int·wifiState·=·2;
118 ········access$300.setWifiState(wifiState);117 ········access$300.setWifiState(wifiState);
119 ········ClientModeImpl.access$9200(this.this$0).updateState(wifiState);118 ········ClientModeImpl.access$9100(this.this$0).updateState(wifiState);
120 ········ClientModeImpl.access$3700(this.this$0).getWifiLockManager().updateWifiClientConnected(false);119 ········ClientModeImpl.access$3700(this.this$0).getWifiLockManager().updateWifiClientConnected(false);
121 ····}120 ····}
122 ····121 ····
123 ····public·boolean·processMessage(final·Message·message)·{122 ····public·boolean·processMessage(final·Message·message)·{
124 ········final·int·what·=·message.what;123 ········final·int·what·=·message.what;
125 ········final·int·n·=·131155;124 ········final·int·n·=·131155;
126 ········final·int·n2·=·3;125 ········final·int·n2·=·3;
127 ········final·int·n3·=·6;126 ········final·int·n3·=·6;
128 ········final·int·n4·=·5;127 ········final·int·n4·=·5;
129 ········final·int·n5·=·15;128 ········final·int·n5·=·15;
130 ········final·int·n6·=·2;129 ········final·int·n6·=·2;
131 ········final·int·n7·=·-1;130 ········final·int·n7·=·-1;
132 ········boolean·b·=·false;131 ········boolean·b·=·false;
133 ········final·int·n8·=·1;132 ········final·int·n8·=·1;
134 ········Label_2687:·{133 ········Label_2627:·{
135 ············switch·(what)·{134 ············switch·(what)·{
136 ················default:·{135 ················default:·{
137 ····················break·Label_2687;136 ····················break·Label_2627;
138 ················}137 ················}
139 ················case·147501:·{138 ················case·147501:·{
140 ····················final·Object·obj·=·message.obj;139 ····················final·Object·obj·=·message.obj;
141 ····················if·(obj·==·null)·{140 ····················if·(obj·==·null)·{
142 ························ClientModeImpl.access$11200(this.this$0,·"Associated·command·w/o·BSSID");141 ························ClientModeImpl.access$11000(this.this$0,·"Associated·command·w/o·BSSID");
143 ························break;142 ························break;
144 ····················}143 ····················}
145 ····················ClientModeImpl.access$5402(this.this$0,·(String)obj);144 ····················ClientModeImpl.access$5402(this.this$0,·(String)obj);
146 ····················if·(ClientModeImpl.access$5400(this.this$0)·!=·null·&&·(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getBSSID()·==·null·||·!ClientModeImpl.access$5400(this.this$0).equals(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getBSSID())))·{145 ····················if·(ClientModeImpl.access$5400(this.this$0)·==·null·||·(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getBSSID()·!=·null·&&·ClientModeImpl.access$5400(this.this$0).equals(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getBSSID())))·{
 146 ························break;
 147 ····················}
147 ························((WifiInfo)ClientModeImpl.access$800(this.this$0)).setBSSID(ClientModeImpl.access$5400(this.this$0));148 ····················ClientModeImpl.access$800(this.this$0).setBSSID(ClientModeImpl.access$5400(this.this$0));
148 ························final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();149 ····················final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();
149 ························if·(currentWifiConfiguration·!=·null)·{150 ····················if·(currentWifiConfiguration·==·null)·{
 151 ························break;
 152 ····················}
150 ····························final·ScanDetailCache·scanDetailCacheForNetwork·=·ClientModeImpl.access$4700(this.this$0).getScanDetailCacheForNetwork(currentWifiConfiguration.networkId);153 ····················final·ScanDetailCache·scanDetailCacheForNetwork·=·ClientModeImpl.access$4700(this.this$0).getScanDetailCacheForNetwork(currentWifiConfiguration.networkId);
151 ····························if·(scanDetailCacheForNetwork·!=·null)·{154 ····················if·(scanDetailCacheForNetwork·==·null)·{
 155 ························break;
 156 ····················}
152 ································final·ScanResult·scanResult·=·scanDetailCacheForNetwork.getScanResult(ClientModeImpl.access$5400(this.this$0));157 ····················final·ScanResult·scanResult·=·scanDetailCacheForNetwork.getScanResult(ClientModeImpl.access$5400(this.this$0));
153 ································if·(scanResult·!=·null)·{158 ····················if·(scanResult·!=·null)·{
154 ····································((WifiInfo)ClientModeImpl.access$800(this.this$0)).setFrequency(scanResult.frequency);159 ························ClientModeImpl.access$800(this.this$0).setFrequency(scanResult.frequency);
155 ································} 
156 ····························} 
157 ························} 
158 ························ClientModeImpl.access$9400(this.this$0); 
159 ························break;160 ························break;
160 ····················}161 ····················}
161 ····················break;162 ····················break;
162 ················}163 ················}
163 ················case·147459:·{164 ················case·147459:·{
164 ····················((WifiInfo)ClientModeImpl.access$800(this.this$0)).setBSSID((String)message.obj);165 ····················ClientModeImpl.access$800(this.this$0).setBSSID((String)message.obj);
165 ····················ClientModeImpl.access$502(this.this$0,·message.arg1);166 ····················ClientModeImpl.access$502(this.this$0,·message.arg1);
166 ····················((WifiInfo)ClientModeImpl.access$800(this.this$0)).setNetworkId(ClientModeImpl.access$500(this.this$0));167 ····················ClientModeImpl.access$800(this.this$0).setNetworkId(ClientModeImpl.access$500(this.this$0));
167 ····················((WifiInfo)ClientModeImpl.access$800(this.this$0)).setMacAddress(ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2400(this.this$0)));168 ····················ClientModeImpl.access$800(this.this$0).setMacAddress(ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2400(this.this$0)));
168 ····················if·(!Objects.equals(ClientModeImpl.access$5400(this.this$0),·message.obj))·{ 
169 ························ClientModeImpl.access$5402(this.this$0,·(String)message.obj);169 ····················ClientModeImpl.access$5402(this.this$0,·(String)message.obj);
170 ························ClientModeImpl.access$9400(this.this$0); 
171 ························break; 
172 ····················} 
173 ····················break;170 ····················break;
174 ················}171 ················}
175 ················case·143372:·{172 ················case·143372:·{
176 ····················if·(message.arg1·==·n8)·{173 ····················if·(message.arg1·==·n8)·{
177 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n4);174 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n4);
178 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));175 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));
179 ························ClientModeImpl.access$2702(this.this$0,·(boolean)(n8·!=·0));176 ························ClientModeImpl.access$2702(this.this$0,·(boolean)(n8·!=·0));
180 ························final·ClientModeImpl·this$0·=·this.this$0;177 ························final·ClientModeImpl·this$0·=·this.this$0;
181 ························((StateMachine)this$0).transitionTo((IState)ClientModeImpl.access$9600(this$0));178 ························((StateMachine)this$0).transitionTo((IState)ClientModeImpl.access$9400(this$0));
182 ························break;179 ························break;
183 ····················}180 ····················}
184 ····················break;181 ····················break;
185 ················}182 ················}
186 ················case·131329:·{183 ················case·131329:·{
187 ····················this.this$0.handlePostDhcpSetup();184 ····················this.this$0.handlePostDhcpSetup();
188 ····················break;185 ····················break;
Offset 218, 44 lines modifiedOffset 215, 43 lines modified
218 ····················if·(obj2·instanceof·TcpKeepalivePacketData)·{215 ····················if·(obj2·instanceof·TcpKeepalivePacketData)·{
219 ························ClientModeImpl.access$200(this.this$0).addKeepalivePacketFilter(arg1,·(TcpKeepalivePacketData)obj2);216 ························ClientModeImpl.access$200(this.this$0).addKeepalivePacketFilter(arg1,·(TcpKeepalivePacketData)obj2);
220 ························break;217 ························break;
221 ····················}218 ····················}
222 ····················break;219 ····················break;
223 ················}220 ················}
224 ················case·131273:·{221 ················case·131273:·{
225 ····················ClientModeImpl.access$9500(this.this$0);222 ····················ClientModeImpl.access$9300(this.this$0);
226 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog·=·ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog();223 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog·=·ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog();
227 ····················final·String·access$4900·=·ClientModeImpl.access$4900(this.this$0);224 ····················final·String·access$4900·=·ClientModeImpl.access$4900(this.this$0);
228 ····················String·s;225 ····················String·s;
229 ····················if·(ClientModeImpl.access$5400(this.this$0)·==·null)·{226 ····················if·(ClientModeImpl.access$5400(this.this$0)·==·null)·{
230 ························s·=·ClientModeImpl.access$4600(this.this$0);227 ························s·=·ClientModeImpl.access$4600(this.this$0);
231 ····················}228 ····················}
232 ····················else·{229 ····················else·{
233 ························s·=·ClientModeImpl.access$5400(this.this$0);230 ························s·=·ClientModeImpl.access$5400(this.this$0);
234 ····················}231 ····················}
235 ····················wifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(access$4900,·s,·n2);232 ····················wifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(access$4900,·s,·n2);
236 ····················break;233 ····················break;
237 ················}234 ················}
238 ················case·131272:·{235 ················case·131272:·{
239 ····················ClientModeImpl.access$9300(this.this$0,·(DhcpResultsParcelable)message.obj);236 ····················ClientModeImpl.access$9200(this.this$0,·(DhcpResultsParcelable)message.obj);
240 ····················ClientModeImpl.access$9400(this.this$0); 
241 ····················break;237 ····················break;
242 ················}238 ················}
243 ················case·131235:·{239 ················case·131235:·{
244 ····················ClientModeImpl.access$11400(this.this$0);240 ····················ClientModeImpl.access$11200(this.this$0);
245 ····················break;241 ····················break;
246 ················}242 ················}
247 ················case·131234:243 ················case·131234:
248 ················case·131236:·{244 ················case·131236:·{
249 ····················ClientModeImpl.access$11300(this.this$0,·(byte)message.arg1,·what,·(WifiNative$WifiRssiEventHandler)this.mRssiEventHandler);245 ····················ClientModeImpl.access$11100(this.this$0,·(byte)message.arg1,·what,·(WifiNative$WifiRssiEventHandler)this.mRssiEventHandler);
250 ····················break;246 ····················break;
251 ················}247 ················}
252 ················case·131232:·{248 ················case·131232:·{
253 ····················final·int·arg2·=·message.arg1;249 ····················final·int·arg2·=·message.arg1;
254 ····················final·int·access$4901·=·ClientModeImpl.access$11500(this.this$0,·arg2,·(KeepalivePacketData)message.obj,·message.arg2);250 ····················final·int·access$4901·=·ClientModeImpl.access$11300(this.this$0,·arg2,·(KeepalivePacketData)message.obj,·message.arg2);
255 ····················if·(ClientModeImpl.access$3200(this.this$0)·!=·null)·{251 ····················if·(ClientModeImpl.access$3200(this.this$0)·!=·null)·{
256 ························((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).sendSocketKeepaliveEvent(arg2,·access$4901);252 ························((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).sendSocketKeepaliveEvent(arg2,·access$4901);
257 ························break;253 ························break;
258 ····················}254 ····················}
259 ····················break;255 ····················break;
260 ················}256 ················}
261 ················case·131221:·{257 ················case·131221:·{
Offset 264, 144 lines modifiedOffset 260, 144 lines modified
264 ························if·(obj3·!=·null)·{260 ························if·(obj3·!=·null)·{
265 ····························this.this$0.log((String)obj3);261 ····························this.this$0.log((String)obj3);
266 ························}262 ························}
267 ····················}263 ····················}
268 ····················ClientModeImpl.access$3300(this.this$0).captureBugReportData(9);264 ····················ClientModeImpl.access$3300(this.this$0).captureBugReportData(9);
269 ····················ClientModeImpl.access$300(this.this$0).logWifiIsUnusableEvent(n4);265 ····················ClientModeImpl.access$300(this.this$0).logWifiIsUnusableEvent(n4);
270 ····················ClientModeImpl.access$300(this.this$0).addToWifiUsabilityStatsList(n6,·n4,·n7);266 ····················ClientModeImpl.access$300(this.this$0).addToWifiUsabilityStatsList(n6,·n4,·n7);
271 ····················if·(ClientModeImpl.access$10100(this.this$0))·{267 ····················if·(ClientModeImpl.access$9900(this.this$0))·{
272 ························ClientModeImpl.access$10200(this.this$0);268 ························ClientModeImpl.access$10000(this.this$0);
273 ························final·ClientModeImpl·this$2·=·this.this$0;269 ························final·ClientModeImpl·this$2·=·this.this$0;
274 ························((StateMachine)this$2).transitionTo((IState)ClientModeImpl.access$9600(this$2));270 ························((StateMachine)this$2).transitionTo((IState)ClientModeImpl.access$9400(this$2));
275 ························break;271 ························break;
276 ····················}272 ····················}
277 ····················this.this$0.logd("CMD_IP_REACHABILITY_LOST·but·disconnect·disabled·--·ignore");273 ····················this.this$0.logd("CMD_IP_REACHABILITY_LOST·but·disconnect·disabled·--·ignore");
278 ····················break;274 ····················break;
279 ················}275 ················}
280 ················case·131211:·{276 ················case·131211:·{
281 ····················this.this$0.getWifiLinkLayerStats();277 ····················this.this$0.getWifiLinkLayerStats();
282 ····················ClientModeImpl.access$10000(this.this$0);278 ····················ClientModeImpl.access$9800(this.this$0);
283 ····················ClientModeImpl.access$4800(this.this$0,·10,·n8,·0);279 ····················ClientModeImpl.access$4800(this.this$0,·10,·n8,·0);
284 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog2·=·ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog();280 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog2·=·ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog();
285 ····················final·String·access$4902·=·ClientModeImpl.access$4900(this.this$0);281 ····················final·String·access$4902·=·ClientModeImpl.access$4900(this.this$0);
286 ····················String·s2;282 ····················String·s2;
287 ····················if·(ClientModeImpl.access$5400(this.this$0)·==·null)·{283 ····················if·(ClientModeImpl.access$5400(this.this$0)·==·null)·{
288 ························s2·=·ClientModeImpl.access$4600(this.this$0);284 ························s2·=·ClientModeImpl.access$4600(this.this$0);
289 ····················}285 ····················}
290 ····················else·{286 ····················else·{
291 ························s2·=·ClientModeImpl.access$5400(this.this$0);287 ························s2·=·ClientModeImpl.access$5400(this.this$0);
292 ····················}288 ····················}
293 ····················wifiLastResortWatchdog2.noteConnectionFailureAndTriggerIfNeeded(access$4902,·s2,·n2);289 ····················wifiLastResortWatchdog2.noteConnectionFailureAndTriggerIfNeeded(access$4902,·s2,·n2);
294 ····················final·ClientModeImpl·this$3·=·this.this$0;290 ····················final·ClientModeImpl·this$3·=·this.this$0;
295 ····················((StateMachine)this$3).transitionTo((IState)ClientModeImpl.access$9600(this$3));291 ····················((StateMachine)this$3).transitionTo((IState)ClientModeImpl.access$9400(this$3));
296 ····················break;292 ····················break;
297 ················}293 ················}
298 ················case·131210:·{294 ················case·131210:·{
299 ····················if·(this.this$0.getCurrentWifiConfiguration()·==·null)·{295 ····················if·(this.this$0.getCurrentWifiConfiguration()·==·null)·{
300 ························ClientModeImpl.access$4800(this.this$0,·n3,·n8,·0);296 ························ClientModeImpl.access$4800(this.this$0,·n3,·n8,·0);
301 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));297 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));
302 ························final·ClientModeImpl·this$4·=·this.this$0;298 ························final·ClientModeImpl·this$4·=·this.this$0;
303 ························((StateMachine)this$4).transitionTo((IState)ClientModeImpl.access$9600(this$4));299 ························((StateMachine)this$4).transitionTo((IState)ClientModeImpl.access$9400(this$4));
304 ························break;300 ························break;
305 ····················}301 ····················}
306 ····················ClientModeImpl.access$9700(this.this$0);302 ····················ClientModeImpl.access$9500(this.this$0);
307 ····················ClientModeImpl.access$9800(this.this$0);303 ····················ClientModeImpl.access$9600(this.this$0);
308 ····················final·ClientModeImpl·this$5·=·this.this$0;304 ····················final·ClientModeImpl·this$5·=·this.this$0;
309 ····················((StateMachine)this$5).transitionTo((IState)ClientModeImpl.access$9900(this$5));305 ····················((StateMachine)this$5).transitionTo((IState)ClientModeImpl.access$9700(this$5));
310 ····················break;306 ····················break;
311 ················}307 ················}
312 ················case·131173:·{308 ················case·131173:·{
313 ····················if·(message.arg1·==·n8·||·ClientModeImpl.access$500(this.this$0)·==·n7)·{309 ····················if·(message.arg1·==·n8·||·ClientModeImpl.access$500(this.this$0)·==·n7)·{
314 ························break·Label_2687;310 ························break·Label_2627;
315 ····················}311 ····················}
316 ····················final·WifiConfiguration·configuredNetwork·=·ClientModeImpl.access$4700(this.this$0).getConfiguredNetwork(ClientModeImpl.access$500(this.this$0));312 ····················final·WifiConfiguration·configuredNetwork·=·ClientModeImpl.access$4700(this.this$0).getConfiguredNetwork(ClientModeImpl.access$500(this.this$0));
317 ····················if·(configuredNetwork·!=·null)·{313 ····················if·(configuredNetwork·!=·null)·{
318 ························if·(message.arg1·!=·n6·||·configuredNetwork.carrierId·==·n7)·{314 ························if·(message.arg1·!=·n6·||·configuredNetwork.carrierId·==·n7)·{
319 ····························final·WifiEnterpriseConfig·enterpriseConfig·=·configuredNetwork.enterpriseConfig;315 ····························final·WifiEnterpriseConfig·enterpriseConfig·=·configuredNetwork.enterpriseConfig;
320 ····························if·(enterpriseConfig·==·null·||·!enterpriseConfig.isAuthenticationSimBased()·||·ClientModeImpl.access$5900(this.this$0).isSimPresent(ClientModeImpl.access$7500(this.this$0)))·{316 ····························if·(enterpriseConfig·==·null·||·!enterpriseConfig.isAuthenticationSimBased()·||·ClientModeImpl.access$5900(this.this$0).isSimPresent(ClientModeImpl.access$7400(this.this$0)))·{
321 ································break·Label_2687;317 ································break·Label_2627;
322 ····························}318 ····························}
323 ························}319 ························}
324 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n3);320 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n3);
325 ························ClientModeImpl.access$600(this.this$0).removeNetworkCachedData(ClientModeImpl.access$500(this.this$0));321 ························ClientModeImpl.access$600(this.this$0).removeNetworkCachedData(ClientModeImpl.access$500(this.this$0));
326 ························ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2400(this.this$0));322 ························ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2400(this.this$0));
327 ························ClientModeImpl.access$7900(this.this$0).showSimRequiredNotification(configuredNetwork,·ClientModeImpl.access$7600(this.this$0));323 ························ClientModeImpl.access$7800(this.this$0).showSimRequiredNotification(configuredNetwork,·ClientModeImpl.access$7500(this.this$0));
328 ························final·ClientModeImpl·this$6·=·this.this$0;324 ························final·ClientModeImpl·this$6·=·this.this$0;
329 ························((StateMachine)this$6).transitionTo((IState)ClientModeImpl.access$9600(this$6));325 ························((StateMachine)this$6).transitionTo((IState)ClientModeImpl.access$9400(this$6));
330 ····················}326 ····················}
331 ····················break·Label_2687;327 ····················break·Label_2627;
332 ················}328 ················}
333 ················case·131156:·{329 ················case·131156:·{
334 ····················if·(!ClientModeImpl.access$1500(this.this$0))·{330 ····················if·(!ClientModeImpl.access$1500(this.this$0))·{
335 ························this.updateLinkLayerStatsRssiAndScoreReportInternal();331 ························this.updateLinkLayerStatsRssiAndScoreReportInternal();
336 ························break;332 ························break;
337 ····················}333 ····················}
338 ····················break;334 ····················break;
339 ················}335 ················}
340 ················case·131155:·{336 ················case·131155:·{
341 ····················if·(message.arg1·==·ClientModeImpl.access$8600(this.this$0))·{337 ····················if·(message.arg1·==·ClientModeImpl.access$8500(this.this$0))·{
342 ························final·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal·=·this.updateLinkLayerStatsRssiAndScoreReportInternal();338 ························final·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal·=·this.updateLinkLayerStatsRssiAndScoreReportInternal();
343 ························ClientModeImpl.access$300(this.this$0).updateWifiUsabilityStatsEntries((WifiInfo)ClientModeImpl.access$800(this.this$0),·updateLinkLayerStatsRssiAndScoreReportInternal);339 ························ClientModeImpl.access$300(this.this$0).updateWifiUsabilityStatsEntries((WifiInfo)ClientModeImpl.access$800(this.this$0),·updateLinkLayerStatsRssiAndScoreReportInternal);
344 ························if·(ClientModeImpl.access$1700(this.this$0).shouldCheckIpLayer())·{340 ························if·(ClientModeImpl.access$1700(this.this$0).shouldCheckIpLayer())·{
345 ····························if·(ClientModeImpl.access$200(this.this$0)·!=·null)·{341 ····························if·(ClientModeImpl.access$200(this.this$0)·!=·null)·{
346 ································ClientModeImpl.access$200(this.this$0).confirmConfiguration();342 ································ClientModeImpl.access$200(this.this$0).confirmConfiguration();
347 ····························}343 ····························}
348 ····························ClientModeImpl.access$1700(this.this$0).noteIpCheck();344 ····························ClientModeImpl.access$1700(this.this$0).noteIpCheck();
349 ························}345 ························}
350 ························final·int·checkDataStallAndThroughputSufficiency·=·ClientModeImpl.access$4200(this.this$0).checkDataStallAndThroughputSufficiency(ClientModeImpl.access$10300(this.this$0),·updateLinkLayerStatsRssiAndScoreReportInternal,·(WifiInfo)ClientModeImpl.access$800(this.this$0));346 ························final·int·checkDataStallAndThroughputSufficiency·=·ClientModeImpl.access$4200(this.this$0).checkDataStallAndThroughputSufficiency(ClientModeImpl.access$10100(this.this$0),·updateLinkLayerStatsRssiAndScoreReportInternal,·(WifiInfo)ClientModeImpl.access$800(this.this$0));
351 ························final·long·access$4903·=·ClientModeImpl.access$10400(this.this$0);347 ························final·long·access$4903·=·ClientModeImpl.access$10200(this.this$0);
352 ························final·long·n9·=·(long)(-1);348 ························final·long·n9·=·(long)(-1);
353 ························if·(access$4903·==·n9·&&·checkDataStallAndThroughputSufficiency·!=·0)·{349 ························if·(access$4903·==·n9·&&·checkDataStallAndThroughputSufficiency·!=·0)·{
354 ····························final·ClientModeImpl·this$7·=·this.this$0;350 ····························final·ClientModeImpl·this$7·=·this.this$0;
355 ····························ClientModeImpl.access$10402(this$7,·ClientModeImpl.access$6200(this$7).getElapsedSinceBootMillis());351 ····························ClientModeImpl.access$10202(this$7,·ClientModeImpl.access$6200(this$7).getElapsedSinceBootMillis());
356 ····························ClientModeImpl.access$10502(this.this$0,·checkDataStallAndThroughputSufficiency);352 ····························ClientModeImpl.access$10302(this.this$0,·checkDataStallAndThroughputSufficiency);
357 ························}353 ························}
358 ························if·(ClientModeImpl.access$10400(this.this$0)·!=·n9·&&·ClientModeImpl.access$6200(this.this$0).getElapsedSinceBootMillis()·-·ClientModeImpl.access$10400(this.this$0)·>=·30000L)·{354 ························if·(ClientModeImpl.access$10200(this.this$0)·!=·n9·&&·ClientModeImpl.access$6200(this.this$0).getElapsedSinceBootMillis()·-·ClientModeImpl.access$10200(this.this$0)·>=·30000L)·{
359 ····························ClientModeImpl.access$10402(this.this$0,·n9);355 ····························ClientModeImpl.access$10202(this.this$0,·n9);
360 ····························ClientModeImpl.access$300(this.this$0).addToWifiUsabilityStatsList(n6,·ClientModeImpl.access$10600(ClientModeImpl.access$10500(this.this$0)),·n7);356 ····························ClientModeImpl.access$300(this.this$0).addToWifiUsabilityStatsList(n6,·ClientModeImpl.access$10400(ClientModeImpl.access$10300(this.this$0)),·n7);
361 ····························ClientModeImpl.access$10502(this.this$0,·0);357 ····························ClientModeImpl.access$10302(this.this$0,·0);
362 ························}358 ························}
363 ························ClientModeImpl.access$300(this.this$0).incrementWifiLinkLayerUsageStats(updateLinkLayerStatsRssiAndScoreReportInternal);359 ························ClientModeImpl.access$300(this.this$0).incrementWifiLinkLayerUsageStats(updateLinkLayerStatsRssiAndScoreReportInternal);
364 ························ClientModeImpl.access$10302(this.this$0,·updateLinkLayerStatsRssiAndScoreReportInternal);360 ························ClientModeImpl.access$10102(this.this$0,·updateLinkLayerStatsRssiAndScoreReportInternal);
365 ························ClientModeImpl.access$4000(this.this$0).noteSignalPoll(ClientModeImpl.access$800(this.this$0));361 ························ClientModeImpl.access$4000(this.this$0).noteSignalPoll(ClientModeImpl.access$800(this.this$0));
366 ························ClientModeImpl.access$8700(this.this$0).updateConnectionStats((WifiInfo)ClientModeImpl.access$800(this.this$0),·ClientModeImpl.access$2400(this.this$0));362 ························ClientModeImpl.access$8600(this.this$0).updateConnectionStats((WifiInfo)ClientModeImpl.access$800(this.this$0),·ClientModeImpl.access$2400(this.this$0));
367 ························final·ClientModeImpl·this$8·=·this.this$0;363 ························final·ClientModeImpl·this$8·=·this.this$0;
368 ························((StateMachine)this$8).sendMessageDelayed(((StateMachine)this$8).obtainMessage(n,·ClientModeImpl.access$8600(this$8),·0),·(long)this.this$0.getPollRssiIntervalMsecs());364 ························((StateMachine)this$8).sendMessageDelayed(((StateMachine)this$8).obtainMessage(n,·ClientModeImpl.access$8500(this$8),·0),·(long)this.this$0.getPollRssiIntervalMsecs());
369 ························if·(ClientModeImpl.access$900(this.this$0))·{365 ························if·(ClientModeImpl.access$900(this.this$0))·{
370 ····························final·ClientModeImpl·this$9·=·this.this$0;366 ····························final·ClientModeImpl·this$9·=·this.this$0;
371 ····························ClientModeImpl.access$10700(this$9,·((WifiInfo)ClientModeImpl.access$800(this$9)).getRssi());367 ····························ClientModeImpl.access$10500(this$9,·((WifiInfo)ClientModeImpl.access$800(this$9)).getRssi());
372 ························}368 ························}
373 ························ClientModeImpl.access$10800(this.this$0).notifyOnDataActivity(((WifiInfo)ClientModeImpl.access$800(this.this$0)).txSuccess,·((WifiInfo)ClientModeImpl.access$800(this.this$0)).rxSuccess);369 ························ClientModeImpl.access$10600(this.this$0).notifyOnDataActivity(ClientModeImpl.access$800(this.this$0).txSuccess,·ClientModeImpl.access$800(this.this$0).rxSuccess);
374 ························break;370 ························break;
375 ····················}371 ····················}
376 ····················break;372 ····················break;
377 ················}373 ················}
378 ················case·131154:·{374 ················case·131154:·{
379 ····················ClientModeImpl.access$10900(this.this$0);375 ····················ClientModeImpl.access$10700(this.this$0);
380 ····················ClientModeImpl.access$1502(this.this$0,·message.arg1·==·n8·&&·n8);376 ····················ClientModeImpl.access$1502(this.this$0,·message.arg1·==·n8·&&·n8);
381 ····················ClientModeImpl.access$8608(this.this$0);377 ····················ClientModeImpl.access$8508(this.this$0);
382 ····················if·(ClientModeImpl.access$1500(this.this$0))·{378 ····················if·(ClientModeImpl.access$1500(this.this$0))·{
383 ························ClientModeImpl.access$11002(this.this$0,·n7);379 ························ClientModeImpl.access$10802(this.this$0,·n7);
384 ························ClientModeImpl.access$8700(this.this$0).resetOnScreenTurnedOn();380 ························ClientModeImpl.access$8600(this.this$0).resetOnScreenTurnedOn();
385 ························ClientModeImpl.access$11100(this.this$0);381 ························ClientModeImpl.access$10900(this.this$0);
386 ························final·ClientModeImpl·this$10·=·this.this$0;382 ························final·ClientModeImpl·this$10·=·this.this$0;
387 ························((StateMachine)this$10).sendMessageDelayed(((StateMachine)this$10).obtainMessage(n,·ClientModeImpl.access$8600(this$10),·0),·(long)this.this$0.getPollRssiIntervalMsecs());383 ························((StateMachine)this$10).sendMessageDelayed(((StateMachine)this$10).obtainMessage(n,·ClientModeImpl.access$8500(this$10),·0),·(long)this.this$0.getPollRssiIntervalMsecs());
388 ························break;384 ························break;
389 ····················}385 ····················}
390 ····················break;386 ····················break;
391 ················}387 ················}
392 ················case·131146:·{388 ················case·131146:·{
393 ····················this.this$0.log("·Ignore·CMD_RECONNECT·request·because·wifi·is·already·connected");389 ····················this.this$0.log("·Ignore·CMD_RECONNECT·request·because·wifi·is·already·connected");
394 ····················break;390 ····················break;
395 ················}391 ················}
396 ················case·131145:·{392 ················case·131145:·{
397 ····················ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n6);393 ····················ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n6);
398 ····················ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));394 ····················ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));
399 ····················final·ClientModeImpl·this$11·=·this.this$0;395 ····················final·ClientModeImpl·this$11·=·this.this$0;
400 ····················((StateMachine)this$11).transitionTo((IState)ClientModeImpl.access$9600(this$11));396 ····················((StateMachine)this$11).transitionTo((IState)ClientModeImpl.access$9400(this$11));
401 ····················break;397 ····················break;
402 ················}398 ················}
403 ············}399 ············}
404 ············b·=·(n8·!=·0);400 ············b·=·(n8·!=·0);
405 ········}401 ········}
406 ········if·((b·?·1·:·0)·==·n8)·{402 ········if·((b·?·1·:·0)·==·n8)·{
407 ············ClientModeImpl.access$3400(this.this$0,·message,·(State)this);403 ············ClientModeImpl.access$3400(this.this$0,·message,·(State)this);