Offset 25, 69 lines modifiedOffset 25, 69 lines modified
25 ········this.this$0·=·this$0;25 ········this.this$0·=·this$0;
26 ········super(context,·looper,·s,·networkCapabilities,·linkProperties,·n,·networkAgentConfig,·networkProvider);26 ········super(context,·looper,·s,·networkCapabilities,·linkProperties,·n,·networkAgentConfig,·networkProvider);
27 ········this.mLastNetworkStatus·=·-1;27 ········this.mLastNetworkStatus·=·-1;
28 ········this.register();28 ········this.register();
29 ····}29 ····}
30 ····30 ····
31 ····public·void·onAddKeepalivePacketFilter(final·int·n,·final·KeepalivePacketData·keepalivePacketData)·{31 ····public·void·onAddKeepalivePacketFilter(final·int·n,·final·KeepalivePacketData·keepalivePacketData)·{
32 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{32 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
33 ············return;33 ············return;
34 ········}34 ········}
35 ········((StateMachine)this.this$0).sendMessage(131281,·n,·0,·(Object)keepalivePacketData);35 ········((StateMachine)this.this$0).sendMessage(131281,·n,·0,·(Object)keepalivePacketData);
36 ····}36 ····}
37 ····37 ····
38 ····public·void·onAutomaticReconnectDisabled()·{38 ····public·void·onAutomaticReconnectDisabled()·{
39 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{39 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
40 ············return;40 ············return;
41 ········}41 ········}
42 ········this.this$0.unwantedNetwork(2);42 ········this.this$0.unwantedNetwork(2);
43 ····}43 ····}
44 ····44 ····
45 ····public·void·onNetworkUnwanted()·{45 ····public·void·onNetworkUnwanted()·{
46 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{46 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
47 ············return;47 ············return;
48 ········}48 ········}
49 ········if·(ClientModeImpl.access$800(this.this$0))·{49 ········if·(ClientModeImpl.access$900(this.this$0))·{
50 ············final·ClientModeImpl·this$0·=·this.this$0;50 ············final·ClientModeImpl·this$0·=·this.this$0;
51 ············final·StringBuilder·sb·=·new·StringBuilder();51 ············final·StringBuilder·sb·=·new·StringBuilder();
52 ············sb.append("WifiNetworkAgent·->·Wifi·unwanted·score·");52 ············sb.append("WifiNetworkAgent·->·Wifi·unwanted·score·");
53 ············sb.append(Integer.toString(((WifiInfo)ClientModeImpl.access$700(this.this$0)).getScore()));53 ············sb.append(Integer.toString(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getScore()));
54 ············this$0.logd(sb.toString());54 ············this$0.logd(sb.toString());
55 ········}55 ········}
56 ········this.this$0.unwantedNetwork(0);56 ········this.this$0.unwantedNetwork(0);
57 ····}57 ····}
58 ····58 ····
59 ····public·void·onRemoveKeepalivePacketFilter(final·int·n)·{59 ····public·void·onRemoveKeepalivePacketFilter(final·int·n)·{
60 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{60 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
61 ············return;61 ············return;
62 ········}62 ········}
63 ········((StateMachine)this.this$0).sendMessage(131282,·n);63 ········((StateMachine)this.this$0).sendMessage(131282,·n);
64 ····}64 ····}
65 ····65 ····
66 ····public·void·onSaveAcceptUnvalidated(final·boolean·b)·{66 ····public·void·onSaveAcceptUnvalidated(final·boolean·b)·{
67 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{67 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
68 ············return;68 ············return;
69 ········}69 ········}
70 ········((StateMachine)this.this$0).sendMessage(131225,·(int)(b·?·1·:·0));70 ········((StateMachine)this.this$0).sendMessage(131225,·(int)(b·?·1·:·0));
71 ····}71 ····}
72 ····72 ····
73 ····public·void·onSignalStrengthThresholdsUpdated(int[]·copy)·{73 ····public·void·onSignalStrengthThresholdsUpdated(int[]·copy)·{
74 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{74 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
75 ············return;75 ············return;
76 ········}76 ········}
77 ········final·ClientModeImpl·this$0·=·this.this$0;77 ········final·ClientModeImpl·this$0·=·this.this$0;
78 ········final·StringBuilder·sb·=·new·StringBuilder();78 ········final·StringBuilder·sb·=·new·StringBuilder();
79 ········sb.append("Received·signal·strength·thresholds:·");79 ········sb.append("Received·signal·strength·thresholds:·");
80 ········sb.append(Arrays.toString(copy));80 ········sb.append(Arrays.toString(copy));
81 ········this$0.logd(sb.toString());81 ········this$0.logd(sb.toString());
82 ········final·int·length·=·copy.length;82 ········final·int·length·=·copy.length;
83 ········final·int·n·=·131235;83 ········final·int·n·=·131235;
84 ········if·(length·==·0)·{84 ········if·(length·==·0)·{
85 ············final·ClientModeImpl·this$2·=·this.this$0;85 ············final·ClientModeImpl·this$2·=·this.this$0;
86 ············((StateMachine)this$2).sendMessage(n,·((WifiInfo)ClientModeImpl.access$700(this$2)).getRssi());86 ············((StateMachine)this$2).sendMessage(n,·((WifiInfo)ClientModeImpl.access$800(this$2)).getRssi());
87 ············return;87 ············return;
88 ········}88 ········}
89 ········copy·=·Arrays.copyOf(copy,·copy.length·+·2);89 ········copy·=·Arrays.copyOf(copy,·copy.length·+·2);
90 ········final·int·n2·=·copy.length·-·2;90 ········final·int·n2·=·copy.length·-·2;
91 ········final·int·n3·=·-128;91 ········final·int·n3·=·-128;
92 ········copy[n2]·=·n3;92 ········copy[n2]·=·n3;
93 ········final·int·n4·=·copy.length·-·1;93 ········final·int·n4·=·copy.length·-·1;
Offset 101, 65 lines modifiedOffset 101, 65 lines modified
101 ················final·StringBuilder·sb2·=·new·StringBuilder();101 ················final·StringBuilder·sb2·=·new·StringBuilder();
102 ················sb2.append("Illegal·value·");102 ················sb2.append("Illegal·value·");
103 ················sb2.append(n6);103 ················sb2.append(n6);
104 ················sb2.append("·for·RSSI·thresholds:·");104 ················sb2.append("·for·RSSI·thresholds:·");
105 ················sb2.append(Arrays.toString(copy));105 ················sb2.append(Arrays.toString(copy));
106 ················Log.e("WifiClientModeImpl",·sb2.toString());106 ················Log.e("WifiClientModeImpl",·sb2.toString());
107 ················final·ClientModeImpl·this$3·=·this.this$0;107 ················final·ClientModeImpl·this$3·=·this.this$0;
108 ················((StateMachine)this$3).sendMessage(n,·((WifiInfo)ClientModeImpl.access$700(this$3)).getRssi());108 ················((StateMachine)this$3).sendMessage(n,·((WifiInfo)ClientModeImpl.access$800(this$3)).getRssi());
109 ················return;109 ················return;
110 ············}110 ············}
111 ············array[i]·=·(byte)n6;111 ············array[i]·=·(byte)n6;
112 ········}112 ········}
113 ········ClientModeImpl.access$8402(this.this$0,·array);113 ········ClientModeImpl.access$8402(this.this$0,·array);
114 ········final·ClientModeImpl·this$4·=·this.this$0;114 ········final·ClientModeImpl·this$4·=·this.this$0;
115 ········((StateMachine)this$4).sendMessage(131234,·((WifiInfo)ClientModeImpl.access$700(this$4)).getRssi());115 ········((StateMachine)this$4).sendMessage(131234,·((WifiInfo)ClientModeImpl.access$800(this$4)).getRssi());
116 ····}116 ····}
117 ····117 ····
118 ····public·void·onStartSocketKeepalive(final·int·n,·final·Duration·duration,·final·KeepalivePacketData·keepalivePacketData)·{118 ····public·void·onStartSocketKeepalive(final·int·n,·final·Duration·duration,·final·KeepalivePacketData·keepalivePacketData)·{
119 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{119 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
120 ············return;120 ············return;
121 ········}121 ········}
122 ········((StateMachine)this.this$0).sendMessage(131232,·n,·(int)duration.getSeconds(),·(Object)keepalivePacketData);122 ········((StateMachine)this.this$0).sendMessage(131232,·n,·(int)duration.getSeconds(),·(Object)keepalivePacketData);
123 ····}123 ····}
124 ····124 ····
125 ····public·void·onStopSocketKeepalive(final·int·n)·{125 ····public·void·onStopSocketKeepalive(final·int·n)·{
126 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{126 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
127 ············return;127 ············return;
128 ········}128 ········}
129 ········((StateMachine)this.this$0).sendMessage(131233,·n);129 ········((StateMachine)this.this$0).sendMessage(131233,·n);
130 ····}130 ····}
131 ····131 ····
132 ····public·void·onValidationStatus(int·access$800,·final·Uri·uri)·{132 ····public·void·onValidationStatus(int·access$900,·final·Uri·uri)·{
133 ········if·(this·!=·ClientModeImpl.access$3100(this.this$0))·{133 ········if·(this·!=·ClientModeImpl.access$3200(this.this$0))·{
134 ············return;134 ············return;
135 ········}135 ········}
136 ········if·(access$800·==·this.mLastNetworkStatus)·{136 ········if·(access$900·==·this.mLastNetworkStatus)·{
137 ············return;137 ············return;
138 ········}138 ········}
139 ········this.mLastNetworkStatus·=·access$800;139 ········this.mLastNetworkStatus·=·access$900;
140 ········final·int·n·=·2;140 ········final·int·n·=·2;
141 ········final·int·n2·=·1;141 ········final·int·n2·=·1;
142 ········if·(access$800·==·n)·{142 ········if·(access$900·==·n)·{
143 ············access$800·=·(ClientModeImpl.access$800(this.this$0)·?·1·:·0);143 ············access$900·=·(ClientModeImpl.access$900(this.this$0)·?·1·:·0);
144 ············if·(access$800·!=·0)·{144 ············if·(access$900·!=·0)·{
145 ················final·ClientModeImpl·this$0·=·this.this$0;145 ················final·ClientModeImpl·this$0·=·this.this$0;
146 ················final·StringBuilder·sb·=·new·StringBuilder();146 ················final·StringBuilder·sb·=·new·StringBuilder();
147 ················sb.append("WifiNetworkAgent·->·Wifi·networkStatus·invalid,·score=");147 ················sb.append("WifiNetworkAgent·->·Wifi·networkStatus·invalid,·score=");
148 ················sb.append(Integer.toString(((WifiInfo)ClientModeImpl.access$700(this.this$0)).getScore()));148 ················sb.append(Integer.toString(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getScore()));
149 ················this$0.logd(sb.toString());149 ················this$0.logd(sb.toString());
150 ············}150 ············}
151 ············this.this$0.unwantedNetwork(n2);151 ············this.this$0.unwantedNetwork(n2);
152 ········}152 ········}
153 ········else·if·(access$800·==·n2)·{153 ········else·if·(access$900·==·n2)·{
154 ············if·(ClientModeImpl.access$800(this.this$0))·{154 ············if·(ClientModeImpl.access$900(this.this$0))·{
155 ················final·ClientModeImpl·this$2·=·this.this$0;155 ················final·ClientModeImpl·this$2·=·this.this$0;
156 ················final·StringBuilder·sb2·=·new·StringBuilder();156 ················final·StringBuilder·sb2·=·new·StringBuilder();
157 ················sb2.append("WifiNetworkAgent·->·Wifi·networkStatus·valid,·score=·");157 ················sb2.append("WifiNetworkAgent·->·Wifi·networkStatus·valid,·score=·");
158 ················sb2.append(Integer.toString(((WifiInfo)ClientModeImpl.access$700(this.this$0)).getScore()));158 ················sb2.append(Integer.toString(((WifiInfo)ClientModeImpl.access$800(this.this$0)).getScore()));
159 ················this$2.logd(sb2.toString());159 ················this$2.logd(sb2.toString());
160 ············}160 ············}
161 ············ClientModeImpl.access$300(this.this$0).logStaEvent(14);161 ············ClientModeImpl.access$300(this.this$0).logStaEvent(14);
162 ············this.this$0.doNetworkStatus(access$800);162 ············this.this$0.doNetworkStatus(access$900);
163 ········}163 ········}
164 ····}164 ····}
165 }165 }