Offset 30, 44 lines modifiedOffset 30, 44 lines modified
30 ········this.this$0·=·this$0;30 ········this.this$0·=·this$0;
31 ········this.mRssiEventHandler·=·new·ClientModeImpl$L2ConnectedState$RssiEventHandler(this);31 ········this.mRssiEventHandler·=·new·ClientModeImpl$L2ConnectedState$RssiEventHandler(this);
32 ····}32 ····}
33 ····33 ····
34 ····private·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal()·{34 ····private·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal()·{
35 ········final·WifiLinkLayerStats·wifiLinkLayerStats·=·this.this$0.getWifiLinkLayerStats();35 ········final·WifiLinkLayerStats·wifiLinkLayerStats·=·this.this$0.getWifiLinkLayerStats();
36 ········ClientModeImpl.access$10900(this.this$0);36 ········ClientModeImpl.access$10900(this.this$0);
37 ········ClientModeImpl.access$1600(this.this$0).calculateAndReportScore();37 ········ClientModeImpl.access$1700(this.this$0).calculateAndReportScore();
38 ········return·wifiLinkLayerStats;38 ········return·wifiLinkLayerStats;
39 ····}39 ····}
40 ····40 ····
41 ····public·void·enter()·{41 ····public·void·enter()·{
42 ········ClientModeImpl.access$8508(this.this$0);42 ········ClientModeImpl.access$8508(this.this$0);
43 ········if·(ClientModeImpl.access$1400(this.this$0))·{43 ········if·(ClientModeImpl.access$1500(this.this$0))·{
44 ············ClientModeImpl.access$8600(this.this$0).resetOnNewConnection();44 ············ClientModeImpl.access$8600(this.this$0).resetOnNewConnection();
45 ············final·ClientModeImpl·this$0·=·this.this$0;45 ············final·ClientModeImpl·this$0·=·this.this$0;
46 ············((StateMachine)this$0).sendMessage(131155,·ClientModeImpl.access$8500(this$0),·0);46 ············((StateMachine)this$0).sendMessage(131155,·ClientModeImpl.access$8500(this$0),·0);
47 ········}47 ········}
48 ········ClientModeImpl.access$3700(this.this$0,·NetworkInfo$DetailedState.CONNECTING);48 ········ClientModeImpl.access$3800(this.this$0,·NetworkInfo$DetailedState.CONNECTING);
49 ········final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();49 ········final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();
50 ········boolean·checkNetworkSettingsPermission;50 ········boolean·checkNetworkSettingsPermission;
51 ········if·(this.this$0.shouldEvaluateWhetherToSendExplicitlySelected(currentWifiConfiguration))·{51 ········if·(this.this$0.shouldEvaluateWhetherToSendExplicitlySelected(currentWifiConfiguration))·{
52 ············checkNetworkSettingsPermission·=·ClientModeImpl.access$6400(this.this$0).checkNetworkSettingsPermission(currentWifiConfiguration.lastConnectUid);52 ············checkNetworkSettingsPermission·=·ClientModeImpl.access$6500(this.this$0).checkNetworkSettingsPermission(currentWifiConfiguration.lastConnectUid);
53 ············if·(ClientModeImpl.access$800(this.this$0))·{53 ············if·(ClientModeImpl.access$900(this.this$0))·{
54 ················final·ClientModeImpl·this$2·=·this.this$0;54 ················final·ClientModeImpl·this$2·=·this.this$0;
55 ················final·StringBuilder·sb·=·new·StringBuilder();55 ················final·StringBuilder·sb·=·new·StringBuilder();
56 ················sb.append("Network·selected·by·UID·");56 ················sb.append("Network·selected·by·UID·");
57 ················sb.append(currentWifiConfiguration.lastConnectUid);57 ················sb.append(currentWifiConfiguration.lastConnectUid);
58 ················sb.append("·explicitlySelected=");58 ················sb.append("·explicitlySelected=");
59 ················sb.append(checkNetworkSettingsPermission);59 ················sb.append(checkNetworkSettingsPermission);
60 ················this$2.log(sb.toString());60 ················this$2.log(sb.toString());
61 ············}61 ············}
62 ········}62 ········}
63 ········else·{63 ········else·{
64 ············checkNetworkSettingsPermission·=·false;64 ············checkNetworkSettingsPermission·=·false;
65 ········}65 ········}
66 ········if·(ClientModeImpl.access$800(this.this$0))·{66 ········if·(ClientModeImpl.access$900(this.this$0))·{
67 ············final·ClientModeImpl·this$3·=·this.this$0;67 ············final·ClientModeImpl·this$3·=·this.this$0;
68 ············final·StringBuilder·sb2·=·new·StringBuilder();68 ············final·StringBuilder·sb2·=·new·StringBuilder();
69 ············sb2.append("explicitlySelected=");69 ············sb2.append("explicitlySelected=");
70 ············sb2.append(checkNetworkSettingsPermission);70 ············sb2.append(checkNetworkSettingsPermission);
71 ············sb2.append("·acceptUnvalidated=");71 ············sb2.append("·acceptUnvalidated=");
72 ············sb2.append(currentWifiConfiguration.noInternetAccessExpected);72 ············sb2.append(currentWifiConfiguration.noInternetAccessExpected);
73 ············this$3.log(sb2.toString());73 ············this$3.log(sb2.toString());
Offset 77, 111 lines modifiedOffset 77, 107 lines modified
77 ········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);
78 ········if·(!checkNetworkSettingsPermission·||·!currentWifiConfiguration.noInternetAccessExpected)·{78 ········if·(!checkNetworkSettingsPermission·||·!currentWifiConfiguration.noInternetAccessExpected)·{
79 ············n·=·0;79 ············n·=·0;
80 ········}80 ········}
81 ········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();
82 ········final·ClientModeImpl·this$4·=·this.this$0;82 ········final·ClientModeImpl·this$4·=·this.this$0;
83 ········final·NetworkCapabilities·access$8700·=·ClientModeImpl.access$8700(this$4,·this$4.getCurrentWifiConfiguration());83 ········final·NetworkCapabilities·access$8700·=·ClientModeImpl.access$8700(this$4,·this$4.getCurrentWifiConfiguration());
84 ········if·(ClientModeImpl.access$3100(this.this$0)·!=·null)·{84 ········if·(ClientModeImpl.access$3200(this.this$0)·!=·null)·{
85 ············final·StringBuilder·sb3·=·new·StringBuilder();85 ············final·StringBuilder·sb3·=·new·StringBuilder();
86 ············sb3.append("mNetworkAgent·is·not·null:·");86 ············sb3.append("mNetworkAgent·is·not·null:·");
87 ············sb3.append(ClientModeImpl.access$3100(this.this$0));87 ············sb3.append(ClientModeImpl.access$3200(this.this$0));
88 ············Log.wtf("WifiClientModeImpl",·sb3.toString());88 ············Log.wtf("WifiClientModeImpl",·sb3.toString());
89 ············((NetworkAgent)ClientModeImpl.access$3100(this.this$0)).unregister();89 ············((NetworkAgent)ClientModeImpl.access$3200(this.this$0)).unregister();
90 ········}90 ········}
91 ········final·ClientModeImpl·this$5·=·this.this$0;91 ········final·ClientModeImpl·this$5·=·this.this$0;
92 ········final·ClientModeImpl·this$6·=·this.this$0;92 ········final·ClientModeImpl·this$6·=·this.this$0;
93 ········ClientModeImpl.access$3102(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$3800(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()));
94 ········ClientModeImpl.access$1600(this.this$0).setNetworkAgent((NetworkAgent)ClientModeImpl.access$3100(this.this$0));94 ········ClientModeImpl.access$1700(this.this$0).setNetworkAgent((NetworkAgent)ClientModeImpl.access$3200(this.this$0));
95 ········this.this$0.clearTargetBssid("L2ConnectedState");95 ········this.this$0.clearTargetBssid("L2ConnectedState");
96 ········ClientModeImpl.access$9000(this.this$0).setReadyForChange(false);96 ········ClientModeImpl.access$9000(this.this$0).setReadyForChange(false);
97 ········ClientModeImpl.access$300(this.this$0).setWifiState(3);97 ········ClientModeImpl.access$300(this.this$0).setWifiState(3);
98 ········ClientModeImpl.access$3900(this.this$0).noteNetworkAgentCreated(ClientModeImpl.access$700(this.this$0),·((NetworkAgent)ClientModeImpl.access$3100(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());
99 ········ClientModeImpl.access$6600(this.this$0).handleBssidConnectionSuccess(ClientModeImpl.access$5300(this.this$0),·((WifiInfo)ClientModeImpl.access$700(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());
100 ····}100 ····}
101 ····101 ····
102 ····public·void·exit()·{102 ····public·void·exit()·{
103 ········if·(ClientModeImpl.access$800(this.this$0))·{103 ········if·(ClientModeImpl.access$900(this.this$0))·{
104 ············final·StringBuilder·sb·=·new·StringBuilder();104 ············final·StringBuilder·sb·=·new·StringBuilder();
105 ············final·StringBuilder·sb2·=·new·StringBuilder();105 ············final·StringBuilder·sb2·=·new·StringBuilder();
106 ············sb2.append("leaving·L2ConnectedState·state·nid=");106 ············sb2.append("leaving·L2ConnectedState·state·nid=");
107 ············sb2.append(Integer.toString(ClientModeImpl.access$500(this.this$0)));107 ············sb2.append(Integer.toString(ClientModeImpl.access$500(this.this$0)));
108 ············sb.append(sb2.toString());108 ············sb.append(sb2.toString());
109 ············if·(ClientModeImpl.access$5300(this.this$0)·!=·null)·{109 ············if·(ClientModeImpl.access$5400(this.this$0)·!=·null)·{
110 ················sb.append("·");110 ················sb.append("·");
111 ················sb.append(ClientModeImpl.access$5300(this.this$0));111 ················sb.append(ClientModeImpl.access$5400(this.this$0));
112 ············}112 ············}
113 ········}113 ········}
114 ········ClientModeImpl.access$9000(this.this$0).setReadyForChange(true);114 ········ClientModeImpl.access$9000(this.this$0).setReadyForChange(true);
115 ········final·WifiMetrics·access$300·=·ClientModeImpl.access$300(this.this$0);115 ········final·WifiMetrics·access$300·=·ClientModeImpl.access$300(this.this$0);
116 ········final·int·wifiState·=·2;116 ········final·int·wifiState·=·2;
117 ········access$300.setWifiState(wifiState);117 ········access$300.setWifiState(wifiState);
118 ········ClientModeImpl.access$9100(this.this$0).updateState(wifiState);118 ········ClientModeImpl.access$9100(this.this$0).updateState(wifiState);
119 ········ClientModeImpl.access$3600(this.this$0).getWifiLockManager().updateWifiClientConnected(false);119 ········ClientModeImpl.access$3700(this.this$0).getWifiLockManager().updateWifiClientConnected(false);
120 ····}120 ····}
121 ····121 ····
122 ····public·boolean·processMessage(final·Message·message)·{122 ····public·boolean·processMessage(final·Message·message)·{
123 ········final·int·what·=·message.what;123 ········final·int·what·=·message.what;
124 ········final·int·n·=·131155;124 ········final·int·n·=·131155;
125 ········final·int·n2·=·3;125 ········final·int·n2·=·3;
126 ········final·int·n3·=·6;126 ········final·int·n3·=·6;
127 ········final·int·n4·=·5;127 ········final·int·n4·=·5;
128 ········final·int·n5·=·15;128 ········final·int·n5·=·15;
129 ········final·int·n6·=·2;129 ········final·int·n6·=·2;
130 ········final·int·n7·=·-1;130 ········final·int·n7·=·-1;
131 ········boolean·b·=·false;131 ········boolean·b·=·false;
132 ········final·int·n8·=·1;132 ········final·int·n8·=·1;
133 ········Label_2657:·{133 ········Label_2627:·{
134 ············switch·(what)·{134 ············switch·(what)·{
135 ················default:·{135 ················default:·{
136 ····················break·Label_2657;136 ····················break·Label_2627;
137 ················}137 ················}
138 ················case·147501:·{138 ················case·147501:·{
139 ····················final·Object·obj·=·message.obj;139 ····················final·Object·obj·=·message.obj;
140 ····················if·(obj·==·null)·{140 ····················if·(obj·==·null)·{
141 ························ClientModeImpl.access$11000(this.this$0,·"Associated·command·w/o·BSSID");141 ························ClientModeImpl.access$11000(this.this$0,·"Associated·command·w/o·BSSID");
142 ························break;142 ························break;
143 ····················}143 ····················}
144 ····················ClientModeImpl.access$5302(this.this$0,·(String)obj);144 ····················ClientModeImpl.access$5402(this.this$0,·(String)obj);
145 ····················if·(ClientModeImpl.access$5300(this.this$0)·==·null·||·(((WifiInfo)ClientModeImpl.access$700(this.this$0)).getBSSID()·!=·null·&&·ClientModeImpl.access$5300(this.this$0).equals(((WifiInfo)ClientModeImpl.access$700(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;146 ························break;
147 ····················}147 ····················}
148 ····················ClientModeImpl.access$700(this.this$0).setBSSID(ClientModeImpl.access$5300(this.this$0));148 ····················ClientModeImpl.access$800(this.this$0).setBSSID(ClientModeImpl.access$5400(this.this$0));
149 ····················final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();149 ····················final·WifiConfiguration·currentWifiConfiguration·=·this.this$0.getCurrentWifiConfiguration();
150 ····················if·(currentWifiConfiguration·==·null)·{150 ····················if·(currentWifiConfiguration·==·null)·{
151 ························break;151 ························break;
152 ····················}152 ····················}
153 ····················final·ScanDetailCache·scanDetailCacheForNetwork·=·ClientModeImpl.access$4600(this.this$0).getScanDetailCacheForNetwork(currentWifiConfiguration.networkId);153 ····················final·ScanDetailCache·scanDetailCacheForNetwork·=·ClientModeImpl.access$4700(this.this$0).getScanDetailCacheForNetwork(currentWifiConfiguration.networkId);
154 ····················if·(scanDetailCacheForNetwork·==·null)·{154 ····················if·(scanDetailCacheForNetwork·==·null)·{
155 ························break;155 ························break;
156 ····················}156 ····················}
157 ····················final·ScanResult·scanResult·=·scanDetailCacheForNetwork.getScanResult(ClientModeImpl.access$5300(this.this$0));157 ····················final·ScanResult·scanResult·=·scanDetailCacheForNetwork.getScanResult(ClientModeImpl.access$5400(this.this$0));
158 ····················if·(scanResult·!=·null)·{158 ····················if·(scanResult·!=·null)·{
159 ························ClientModeImpl.access$700(this.this$0).setFrequency(scanResult.frequency);159 ························ClientModeImpl.access$800(this.this$0).setFrequency(scanResult.frequency);
160 ························break;160 ························break;
161 ····················}161 ····················}
162 ····················break;162 ····················break;
163 ················}163 ················}
164 ················case·147459:164 ················case·147459:·{
165 ················case·147518:·{165 ····················ClientModeImpl.access$800(this.this$0).setBSSID((String)message.obj);
166 ····················ClientModeImpl.access$700(this.this$0).setBSSID((String)message.obj); 
167 ····················ClientModeImpl.access$502(this.this$0,·message.arg1);166 ····················ClientModeImpl.access$502(this.this$0,·message.arg1);
168 ····················ClientModeImpl.access$700(this.this$0).setNetworkId(ClientModeImpl.access$500(this.this$0));167 ····················ClientModeImpl.access$800(this.this$0).setNetworkId(ClientModeImpl.access$500(this.this$0));
169 ····················ClientModeImpl.access$700(this.this$0).setMacAddress(ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2300(this.this$0)));168 ····················ClientModeImpl.access$800(this.this$0).setMacAddress(ClientModeImpl.access$600(this.this$0).getMacAddress(ClientModeImpl.access$2400(this.this$0)));
170 ····················if·(!ClientModeImpl.access$5300(this.this$0).equals(message.obj))·{169 ····················ClientModeImpl.access$5402(this.this$0,·(String)message.obj);
171 ························ClientModeImpl.access$5302(this.this$0,·(String)message.obj); 
172 ························break; 
173 ····················} 
174 ····················break;170 ····················break;
175 ················}171 ················}
176 ················case·143372:·{172 ················case·143372:·{
177 ····················if·(message.arg1·==·n8)·{173 ····················if·(message.arg1·==·n8)·{
178 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n4);174 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n4);
179 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2300(this.this$0));175 ························ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));
180 ························ClientModeImpl.access$2602(this.this$0,·(boolean)(n8·!=·0));176 ························ClientModeImpl.access$2702(this.this$0,·(boolean)(n8·!=·0));
181 ························final·ClientModeImpl·this$0·=·this.this$0;177 ························final·ClientModeImpl·this$0·=·this.this$0;
182 ························((StateMachine)this$0).transitionTo((IState)ClientModeImpl.access$9400(this$0));178 ························((StateMachine)this$0).transitionTo((IState)ClientModeImpl.access$9400(this$0));
183 ························break;179 ························break;
184 ····················}180 ····················}
185 ····················break;181 ····················break;
186 ················}182 ················}
187 ················case·131329:·{183 ················case·131329:·{
Offset 220, 24 lines modifiedOffset 216, 24 lines modified
220 ························ClientModeImpl.access$200(this.this$0).addKeepalivePacketFilter(arg1,·(TcpKeepalivePacketData)obj2);216 ························ClientModeImpl.access$200(this.this$0).addKeepalivePacketFilter(arg1,·(TcpKeepalivePacketData)obj2);
221 ························break;217 ························break;
222 ····················}218 ····················}
223 ····················break;219 ····················break;
224 ················}220 ················}
225 ················case·131273:·{221 ················case·131273:·{
226 ····················ClientModeImpl.access$9300(this.this$0);222 ····················ClientModeImpl.access$9300(this.this$0);
227 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog·=·ClientModeImpl.access$3600(this.this$0).getWifiLastResortWatchdog();223 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog·=·ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog();
228 ····················final·String·access$4800·=·ClientModeImpl.access$4800(this.this$0);224 ····················final·String·access$4900·=·ClientModeImpl.access$4900(this.this$0);
229 ····················String·s;225 ····················String·s;
230 ····················if·(ClientModeImpl.access$5300(this.this$0)·==·null)·{226 ····················if·(ClientModeImpl.access$5400(this.this$0)·==·null)·{
231 ························s·=·ClientModeImpl.access$4500(this.this$0);227 ························s·=·ClientModeImpl.access$4600(this.this$0);
232 ····················}228 ····················}
233 ····················else·{229 ····················else·{
234 ························s·=·ClientModeImpl.access$5300(this.this$0);230 ························s·=·ClientModeImpl.access$5400(this.this$0);
235 ····················}231 ····················}
236 ····················wifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(access$4800,·s,·n2);232 ····················wifiLastResortWatchdog.noteConnectionFailureAndTriggerIfNeeded(access$4900,·s,·n2);
237 ····················break;233 ····················break;
238 ················}234 ················}
239 ················case·131272:·{235 ················case·131272:·{
240 ····················ClientModeImpl.access$9200(this.this$0,·(DhcpResultsParcelable)message.obj);236 ····················ClientModeImpl.access$9200(this.this$0,·(DhcpResultsParcelable)message.obj);
241 ····················break;237 ····················break;
242 ················}238 ················}
243 ················case·131235:·{239 ················case·131235:·{
Offset 247, 140 lines modifiedOffset 243, 143 lines modified
247 ················case·131234:243 ················case·131234:
248 ················case·131236:·{244 ················case·131236:·{
249 ····················ClientModeImpl.access$11100(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$4801·=·ClientModeImpl.access$11300(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$3100(this.this$0)·!=·null)·{251 ····················if·(ClientModeImpl.access$3200(this.this$0)·!=·null)·{
256 ························((NetworkAgent)ClientModeImpl.access$3100(this.this$0)).sendSocketKeepaliveEvent(arg2,·access$4801);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:·{
262 ····················if·(ClientModeImpl.access$800(this.this$0))·{258 ····················if·(ClientModeImpl.access$900(this.this$0))·{
263 ························final·Object·obj3·=·message.obj;259 ························final·Object·obj3·=·message.obj;
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$3200(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$9900(this.this$0))·{267 ····················if·(ClientModeImpl.access$9900(this.this$0))·{
272 ························ClientModeImpl.access$10000(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$9400(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$9800(this.this$0);278 ····················ClientModeImpl.access$9800(this.this$0);
283 ····················ClientModeImpl.access$4700(this.this$0,·10,·n8,·0);279 ····················ClientModeImpl.access$4800(this.this$0,·10,·n8,·0);
284 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog2·=·ClientModeImpl.access$3600(this.this$0).getWifiLastResortWatchdog();280 ····················final·WifiLastResortWatchdog·wifiLastResortWatchdog2·=·ClientModeImpl.access$3700(this.this$0).getWifiLastResortWatchdog();
285 ····················final·String·access$4802·=·ClientModeImpl.access$4800(this.this$0);281 ····················final·String·access$4902·=·ClientModeImpl.access$4900(this.this$0);
286 ····················String·s2;282 ····················String·s2;
287 ····················if·(ClientModeImpl.access$5300(this.this$0)·==·null)·{283 ····················if·(ClientModeImpl.access$5400(this.this$0)·==·null)·{
288 ························s2·=·ClientModeImpl.access$4500(this.this$0);284 ························s2·=·ClientModeImpl.access$4600(this.this$0);
289 ····················}285 ····················}
290 ····················else·{286 ····················else·{
291 ························s2·=·ClientModeImpl.access$5300(this.this$0);287 ························s2·=·ClientModeImpl.access$5400(this.this$0);
292 ····················}288 ····················}
293 ····················wifiLastResortWatchdog2.noteConnectionFailureAndTriggerIfNeeded(access$4802,·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$9400(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$4700(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$2300(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$9400(this$4));299 ························((StateMachine)this$4).transitionTo((IState)ClientModeImpl.access$9400(this$4));
304 ························break;300 ························break;
305 ····················}301 ····················}
306 ····················ClientModeImpl.access$9500(this.this$0);302 ····················ClientModeImpl.access$9500(this.this$0);
307 ····················ClientModeImpl.access$9600(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$9700(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 ························final·WifiConfiguration·configuredNetwork·=·ClientModeImpl.access$4600(this.this$0).getConfiguredNetwork(ClientModeImpl.access$500(this.this$0));310 ························break·Label_2627;
 311 ····················}
 312 ····················final·WifiConfiguration·configuredNetwork·=·ClientModeImpl.access$4700(this.this$0).getConfiguredNetwork(ClientModeImpl.access$500(this.this$0));
 313 ····················if·(configuredNetwork·!=·null)·{
315 ························if·(message.arg1·!=·n6·||·configuredNetwork.carrierId·==·n7)·{314 ························if·(message.arg1·!=·n6·||·configuredNetwork.carrierId·==·n7)·{
316 ····························final·WifiEnterpriseConfig·enterpriseConfig·=·configuredNetwork.enterpriseConfig;315 ····························final·WifiEnterpriseConfig·enterpriseConfig·=·configuredNetwork.enterpriseConfig;
317 ····························if·(enterpriseConfig·==·null·||·!enterpriseConfig.isAuthenticationSimBased()·||·ClientModeImpl.access$5800(this.this$0).isSimPresent(ClientModeImpl.access$7400(this.this$0)))·{316 ····························if·(enterpriseConfig·==·null·||·!enterpriseConfig.isAuthenticationSimBased()·||·ClientModeImpl.access$5900(this.this$0).isSimPresent(ClientModeImpl.access$7400(this.this$0)))·{
318 ································break·Label_2657;317 ································break·Label_2627;
319 ····························}318 ····························}
320 ························}319 ························}
321 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n3);320 ························ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n3);
322 ························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));
323 ························ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2300(this.this$0));322 ························ClientModeImpl.access$600(this.this$0).removeAllNetworks(ClientModeImpl.access$2400(this.this$0));
324 ························ClientModeImpl.access$7800(this.this$0).showSimRequiredNotification(configuredNetwork,·ClientModeImpl.access$7500(this.this$0));323 ························ClientModeImpl.access$7800(this.this$0).showSimRequiredNotification(configuredNetwork,·ClientModeImpl.access$7500(this.this$0));
325 ························final·ClientModeImpl·this$6·=·this.this$0;324 ························final·ClientModeImpl·this$6·=·this.this$0;
326 ························((StateMachine)this$6).transitionTo((IState)ClientModeImpl.access$9400(this$6));325 ························((StateMachine)this$6).transitionTo((IState)ClientModeImpl.access$9400(this$6));
327 ····················}326 ····················}
328 ····················break·Label_2657;327 ····················break·Label_2627;
329 ················}328 ················}
330 ················case·131156:·{329 ················case·131156:·{
331 ····················if·(!ClientModeImpl.access$1400(this.this$0))·{330 ····················if·(!ClientModeImpl.access$1500(this.this$0))·{
332 ························this.updateLinkLayerStatsRssiAndScoreReportInternal();331 ························this.updateLinkLayerStatsRssiAndScoreReportInternal();
333 ························break;332 ························break;
334 ····················}333 ····················}
335 ····················break;334 ····················break;
336 ················}335 ················}
337 ················case·131155:·{336 ················case·131155:·{
338 ····················if·(message.arg1·==·ClientModeImpl.access$8500(this.this$0))·{337 ····················if·(message.arg1·==·ClientModeImpl.access$8500(this.this$0))·{
339 ························final·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal·=·this.updateLinkLayerStatsRssiAndScoreReportInternal();338 ························final·WifiLinkLayerStats·updateLinkLayerStatsRssiAndScoreReportInternal·=·this.updateLinkLayerStatsRssiAndScoreReportInternal();
340 ························ClientModeImpl.access$300(this.this$0).updateWifiUsabilityStatsEntries((WifiInfo)ClientModeImpl.access$700(this.this$0),·updateLinkLayerStatsRssiAndScoreReportInternal);339 ························ClientModeImpl.access$300(this.this$0).updateWifiUsabilityStatsEntries((WifiInfo)ClientModeImpl.access$800(this.this$0),·updateLinkLayerStatsRssiAndScoreReportInternal);
341 ························if·(ClientModeImpl.access$1600(this.this$0).shouldCheckIpLayer())·{340 ························if·(ClientModeImpl.access$1700(this.this$0).shouldCheckIpLayer())·{
342 ····························if·(ClientModeImpl.access$200(this.this$0)·!=·null)·{341 ····························if·(ClientModeImpl.access$200(this.this$0)·!=·null)·{
343 ································ClientModeImpl.access$200(this.this$0).confirmConfiguration();342 ································ClientModeImpl.access$200(this.this$0).confirmConfiguration();
344 ····························}343 ····························}
345 ····························ClientModeImpl.access$1600(this.this$0).noteIpCheck();344 ····························ClientModeImpl.access$1700(this.this$0).noteIpCheck();
346 ························}345 ························}
347 ························final·int·checkDataStallAndThroughputSufficiency·=·ClientModeImpl.access$4100(this.this$0).checkDataStallAndThroughputSufficiency(ClientModeImpl.access$10100(this.this$0),·updateLinkLayerStatsRssiAndScoreReportInternal,·(WifiInfo)ClientModeImpl.access$700(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));
348 ························final·long·access$4803·=·ClientModeImpl.access$10200(this.this$0);347 ························final·long·access$4903·=·ClientModeImpl.access$10200(this.this$0);
349 ························final·long·n9·=·(long)(-1);348 ························final·long·n9·=·(long)(-1);
350 ························if·(access$4803·==·n9·&&·checkDataStallAndThroughputSufficiency·!=·0)·{349 ························if·(access$4903·==·n9·&&·checkDataStallAndThroughputSufficiency·!=·0)·{
351 ····························final·ClientModeImpl·this$7·=·this.this$0;350 ····························final·ClientModeImpl·this$7·=·this.this$0;
352 ····························ClientModeImpl.access$10202(this$7,·ClientModeImpl.access$6100(this$7).getElapsedSinceBootMillis());351 ····························ClientModeImpl.access$10202(this$7,·ClientModeImpl.access$6200(this$7).getElapsedSinceBootMillis());
353 ····························ClientModeImpl.access$10302(this.this$0,·checkDataStallAndThroughputSufficiency);352 ····························ClientModeImpl.access$10302(this.this$0,·checkDataStallAndThroughputSufficiency);
354 ························}353 ························}
355 ························if·(ClientModeImpl.access$10200(this.this$0)·!=·n9·&&·ClientModeImpl.access$6100(this.this$0).getElapsedSinceBootMillis()·-·ClientModeImpl.access$10200(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)·{
356 ····························ClientModeImpl.access$10202(this.this$0,·n9);355 ····························ClientModeImpl.access$10202(this.this$0,·n9);
357 ····························ClientModeImpl.access$300(this.this$0).addToWifiUsabilityStatsList(n6,·ClientModeImpl.access$10400(ClientModeImpl.access$10300(this.this$0)),·n7);356 ····························ClientModeImpl.access$300(this.this$0).addToWifiUsabilityStatsList(n6,·ClientModeImpl.access$10400(ClientModeImpl.access$10300(this.this$0)),·n7);
358 ····························ClientModeImpl.access$10302(this.this$0,·0);357 ····························ClientModeImpl.access$10302(this.this$0,·0);
359 ························}358 ························}
360 ························ClientModeImpl.access$300(this.this$0).incrementWifiLinkLayerUsageStats(updateLinkLayerStatsRssiAndScoreReportInternal);359 ························ClientModeImpl.access$300(this.this$0).incrementWifiLinkLayerUsageStats(updateLinkLayerStatsRssiAndScoreReportInternal);
361 ························ClientModeImpl.access$10102(this.this$0,·updateLinkLayerStatsRssiAndScoreReportInternal);360 ························ClientModeImpl.access$10102(this.this$0,·updateLinkLayerStatsRssiAndScoreReportInternal);
362 ························ClientModeImpl.access$3900(this.this$0).noteSignalPoll(ClientModeImpl.access$700(this.this$0));361 ························ClientModeImpl.access$4000(this.this$0).noteSignalPoll(ClientModeImpl.access$800(this.this$0));
363 ························ClientModeImpl.access$8600(this.this$0).updateConnectionStats((WifiInfo)ClientModeImpl.access$700(this.this$0),·ClientModeImpl.access$2300(this.this$0));362 ························ClientModeImpl.access$8600(this.this$0).updateConnectionStats((WifiInfo)ClientModeImpl.access$800(this.this$0),·ClientModeImpl.access$2400(this.this$0));
364 ························final·ClientModeImpl·this$8·=·this.this$0;363 ························final·ClientModeImpl·this$8·=·this.this$0;
365 ························((StateMachine)this$8).sendMessageDelayed(((StateMachine)this$8).obtainMessage(n,·ClientModeImpl.access$8500(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());
366 ························if·(ClientModeImpl.access$800(this.this$0))·{365 ························if·(ClientModeImpl.access$900(this.this$0))·{
367 ····························final·ClientModeImpl·this$9·=·this.this$0;366 ····························final·ClientModeImpl·this$9·=·this.this$0;
368 ····························ClientModeImpl.access$10500(this$9,·((WifiInfo)ClientModeImpl.access$700(this$9)).getRssi());367 ····························ClientModeImpl.access$10500(this$9,·((WifiInfo)ClientModeImpl.access$800(this$9)).getRssi());
369 ························}368 ························}
370 ························ClientModeImpl.access$10600(this.this$0).notifyOnDataActivity(ClientModeImpl.access$700(this.this$0).txSuccess,·ClientModeImpl.access$700(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);
371 ························break;370 ························break;
372 ····················}371 ····················}
373 ····················break;372 ····················break;
374 ················}373 ················}
375 ················case·131154:·{374 ················case·131154:·{
376 ····················ClientModeImpl.access$10700(this.this$0);375 ····················ClientModeImpl.access$10700(this.this$0);
377 ····················ClientModeImpl.access$1402(this.this$0,·message.arg1·==·n8·&&·n8);376 ····················ClientModeImpl.access$1502(this.this$0,·message.arg1·==·n8·&&·n8);
378 ····················ClientModeImpl.access$8508(this.this$0);377 ····················ClientModeImpl.access$8508(this.this$0);
379 ····················if·(ClientModeImpl.access$1400(this.this$0))·{378 ····················if·(ClientModeImpl.access$1500(this.this$0))·{
380 ························ClientModeImpl.access$10802(this.this$0,·n7);379 ························ClientModeImpl.access$10802(this.this$0,·n7);
381 ························ClientModeImpl.access$8600(this.this$0).resetOnScreenTurnedOn();380 ························ClientModeImpl.access$8600(this.this$0).resetOnScreenTurnedOn();
382 ························ClientModeImpl.access$10900(this.this$0);381 ························ClientModeImpl.access$10900(this.this$0);
383 ························final·ClientModeImpl·this$10·=·this.this$0;382 ························final·ClientModeImpl·this$10·=·this.this$0;
384 ························((StateMachine)this$10).sendMessageDelayed(((StateMachine)this$10).obtainMessage(n,·ClientModeImpl.access$8500(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());
385 ························break;384 ························break;
386 ····················}385 ····················}
Offset 388, 21 lines modifiedOffset 387, 21 lines modified
388 ················}387 ················}
389 ················case·131146:·{388 ················case·131146:·{
390 ····················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");
391 ····················break;390 ····················break;
392 ················}391 ················}
393 ················case·131145:·{392 ················case·131145:·{
394 ····················ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n6);393 ····················ClientModeImpl.access$300(this.this$0).logStaEvent(n5,·n6);
395 ····················ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2300(this.this$0));394 ····················ClientModeImpl.access$600(this.this$0).disconnect(ClientModeImpl.access$2400(this.this$0));
396 ····················final·ClientModeImpl·this$11·=·this.this$0;395 ····················final·ClientModeImpl·this$11·=·this.this$0;
397 ····················((StateMachine)this$11).transitionTo((IState)ClientModeImpl.access$9400(this$11));396 ····················((StateMachine)this$11).transitionTo((IState)ClientModeImpl.access$9400(this$11));
398 ····················break;397 ····················break;
399 ················}398 ················}
400 ············}399 ············}
401 ············b·=·(n8·!=·0);400 ············b·=·(n8·!=·0);
402 ········}401 ········}
403 ········if·((b·?·1·:·0)·==·n8)·{402 ········if·((b·?·1·:·0)·==·n8)·{
404 ············ClientModeImpl.access$3300(this.this$0,·message,·(State)this);403 ············ClientModeImpl.access$3400(this.this$0,·message,·(State)this);
405 ········}404 ········}
406 ········return·b;405 ········return·b;
407 ····}406 ····}
408 }407 }