| | | |
Offset 1, 67 lines modified | Offset 1, 67 lines modified |
1 | .class·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper; | 1 | .class·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper; |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"Tethering.java" | 3 | .source·"Tethering.java" |
| |
| |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/EnclosingClass; | 5 | .annotation·system·Ldalvik/annotation/EnclosingClass; |
6 | ····value·=·Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 6 | ····value·=·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
7 | .end·annotation | 7 | .end·annotation |
| |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x0 | 9 | ····accessFlags·=·0x0 |
10 | ····name·=·"OffloadWrapper" | 10 | ····name·=·"OffloadWrapper" |
11 | .end·annotation | 11 | .end·annotation |
| |
| |
12 | #·instance·fields | 12 | #·instance·fields |
13 | .field·final·synthetic·this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 13 | .field·final·synthetic·this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
| |
14 | #·direct·methods | 14 | #·direct·methods |
15 | .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V | 15 | .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V |
16 | ····.locals·0 | 16 | ····.locals·0 |
| |
17 | ····.line·1964 | 17 | ····.line·1968 |
18 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 18 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| |
20 | ····return-void | 20 | ····return-void |
21 | .end·method | 21 | .end·method |
| |
22 | .method·private·updateOffloadStatus(I)V | 22 | .method·private·updateOffloadStatus(I)V |
23 | ····.locals·1 | 23 | ····.locals·1 |
| |
24 | ····.line·2037 | 24 | ····.line·2041 |
25 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 25 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
26 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 26 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
27 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$5000(Lcom/android/networkstack/tethering/Tethering;)I | 27 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$5000(Lcom/android/networkstack/tethering/Tethering;)I |
| |
28 | ····move-result·v0 | 28 | ····move-result·v0 |
| |
29 | ····if-ne·p1,·v0,·:cond_0 | 29 | ····if-ne·p1,·v0,·:cond_0 |
| |
30 | ····return-void | 30 | ····return-void |
| |
31 | ····.line·2039 | 31 | ····.line·2043 |
32 | ····:cond_0 | 32 | ····:cond_0 |
33 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 33 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
34 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 34 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
35 | ····invoke-static·{v0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$5002(Lcom/android/networkstack/tethering/Tethering;I)I | 35 | ····invoke-static·{v0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$5002(Lcom/android/networkstack/tethering/Tethering;I)I |
| |
36 | ····.line·2040 | 36 | ····.line·2044 |
37 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 37 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
38 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 38 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
39 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$5000(Lcom/android/networkstack/tethering/Tethering;)I | 39 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$5000(Lcom/android/networkstack/tethering/Tethering;)I |
| |
40 | ····move-result·p1 | 40 | ····move-result·p1 |
| |
41 | ····invoke-static·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$5100(Lcom/android/networkstack/tethering/Tethering;I)V | 41 | ····invoke-static·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$5100(Lcom/android/networkstack/tethering/Tethering;I)V |
| |
Offset 69, 48 lines modified | Offset 69, 48 lines modified |
69 | .end·method | 69 | .end·method |
| |
| |
70 | #·virtual·methods | 70 | #·virtual·methods |
71 | .method·public·excludeDownstreamInterface(Ljava/lang/String;)V | 71 | .method·public·excludeDownstreamInterface(Ljava/lang/String;)V |
72 | ····.locals·0 | 72 | ····.locals·0 |
| |
73 | ····.line·1992 | 73 | ····.line·1996 |
74 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes()V | 74 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes()V |
| |
75 | ····.line·1993 | 75 | ····.line·1997 |
76 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 76 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
77 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 77 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
78 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; | 78 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; |
| |
79 | ····move-result-object·p0 | 79 | ····move-result-object·p0 |
| |
80 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->removeDownstreamInterface(Ljava/lang/String;)V | 80 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->removeDownstreamInterface(Ljava/lang/String;)V |
| |
81 | ····return-void | 81 | ····return-void |
82 | .end·method | 82 | .end·method |
| |
83 | .method·public·sendOffloadExemptPrefixes()V | 83 | .method·public·sendOffloadExemptPrefixes()V |
84 | ····.locals·1 | 84 | ····.locals·1 |
| |
85 | ····.line·1997 | 85 | ····.line·2001 |
86 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 86 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
87 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 87 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
88 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor; | 88 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor; |
| |
89 | ····move-result-object·v0 | 89 | ····move-result-object·v0 |
| |
90 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->getLocalPrefixes()Ljava/util/Set; | 90 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->getLocalPrefixes()Ljava/util/Set; |
| |
91 | ····move-result-object·v0 | 91 | ····move-result-object·v0 |
| |
92 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes(Ljava/util/Set;)V | 92 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes(Ljava/util/Set;)V |
| |
93 | ····return-void | 93 | ····return-void |
94 | .end·method | 94 | .end·method |
| |
95 | .method·public·sendOffloadExemptPrefixes(Ljava/util/Set;)V | 95 | .method·public·sendOffloadExemptPrefixes(Ljava/util/Set;)V |
96 | ····.locals·4 | 96 | ····.locals·4 |
97 | ····.annotation·system·Ldalvik/annotation/Signature; | 97 | ····.annotation·system·Ldalvik/annotation/Signature; |
Offset 118, 26 lines modified | Offset 118, 26 lines modified |
118 | ············"(", | 118 | ············"(", |
119 | ············"Ljava/util/Set<", | 119 | ············"Ljava/util/Set<", |
120 | ············"Landroid/net/IpPrefix;", | 120 | ············"Landroid/net/IpPrefix;", |
121 | ············">;)V" | 121 | ············">;)V" |
122 | ········} | 122 | ········} |
123 | ····.end·annotation | 123 | ····.end·annotation |
| |
124 | ····.line·2002 | 124 | ····.line·2006 |
125 | ····invoke-static·{p1},·Landroid/net/util/PrefixUtils;->addNonForwardablePrefixes(Ljava/util/Set;)V | 125 | ····invoke-static·{p1},·Landroid/net/util/PrefixUtils;->addNonForwardablePrefixes(Ljava/util/Set;)V |
| |
126 | ····.line·2004 | 126 | ····.line·2008 |
127 | ····sget-object·v0,·Landroid/net/util/PrefixUtils;->DEFAULT_WIFI_P2P_PREFIX:Landroid/net/IpPrefix; | 127 | ····sget-object·v0,·Landroid/net/util/PrefixUtils;->DEFAULT_WIFI_P2P_PREFIX:Landroid/net/IpPrefix; |
| |
128 | ····invoke-interface·{p1,·v0},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 128 | ····invoke-interface·{p1,·v0},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
| |
129 | ····.line·2008 | 129 | ····.line·2012 |
130 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 130 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
131 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->access$4700(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)Ljava/util/ArrayList; | 131 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->access$4700(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)Ljava/util/ArrayList; |
| |
132 | ····move-result-object·v0 | 132 | ····move-result-object·v0 |
| |
133 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; | 133 | ····invoke-virtual·{v0},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator; |
| |
134 | ····move-result-object·v0 | 134 | ····move-result-object·v0 |
| |
Offset 151, 20 lines modified | Offset 151, 20 lines modified |
| |
151 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 151 | ····invoke-interface·{v0},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
152 | ····move-result-object·v1 | 152 | ····move-result-object·v1 |
| |
153 | ····check-cast·v1,·Landroid/net/ip/IpServer; | 153 | ····check-cast·v1,·Landroid/net/ip/IpServer; |
| |
154 | ····.line·2009 | 154 | ····.line·2013 |
155 | ····invoke-virtual·{v1},·Landroid/net/ip/IpServer;->linkProperties()Landroid/net/LinkProperties; | 155 | ····invoke-virtual·{v1},·Landroid/net/ip/IpServer;->linkProperties()Landroid/net/LinkProperties; |
| |
156 | ····move-result-object·v2 | 156 | ····move-result-object·v2 |
| |
157 | ····.line·2011 | 157 | ····.line·2015 |
158 | ····invoke-virtual·{v1},·Landroid/net/ip/IpServer;->servingMode()I | 158 | ····invoke-virtual·{v1},·Landroid/net/ip/IpServer;->servingMode()I |
| |
159 | ····move-result·v1 | 159 | ····move-result·v1 |
| |
160 | ····if-eqz·v1,·:cond_0 | 160 | ····if-eqz·v1,·:cond_0 |
| |
161 | ····const/4·v3,·0x1 | 161 | ····const/4·v3,·0x1 |
Offset 177, 25 lines modified | Offset 177, 25 lines modified |
| |
177 | ····const/4·v3,·0x3 | 177 | ····const/4·v3,·0x3 |
| |
178 | ····if-eq·v1,·v3,·:cond_1 | 178 | ····if-eq·v1,·v3,·:cond_1 |
| |
179 | ····goto·:goto_0 | 179 | ····goto·:goto_0 |
| |
180 | ····.line·2028 | 180 | ····.line·2032 |
181 | ····:cond_1 | 181 | ····:cond_1 |
182 | ····invoke-static·{v2},·Landroid/net/util/PrefixUtils;->localPrefixesFrom(Landroid/net/LinkProperties;)Ljava/util/Set; | 182 | ····invoke-static·{v2},·Landroid/net/util/PrefixUtils;->localPrefixesFrom(Landroid/net/LinkProperties;)Ljava/util/Set; |
| |
183 | ····move-result-object·v1 | 183 | ····move-result-object·v1 |
| |
184 | ····invoke-interface·{p1,·v1},·Ljava/util/Set;->addAll(Ljava/util/Collection;)Z | 184 | ····invoke-interface·{p1,·v1},·Ljava/util/Set;->addAll(Ljava/util/Collection;)Z |
| |
185 | ····goto·:goto_0 | 185 | ····goto·:goto_0 |
| |
186 | ····.line·2020 | 186 | ····.line·2024 |
187 | ····:cond_2 | 187 | ····:cond_2 |
188 | ····invoke-virtual·{v2},·Landroid/net/LinkProperties;->getAllLinkAddresses()Ljava/util/List; | 188 | ····invoke-virtual·{v2},·Landroid/net/LinkProperties;->getAllLinkAddresses()Ljava/util/List; |
| |
189 | ····move-result-object·v1 | 189 | ····move-result-object·v1 |
| |
190 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; | 190 | ····invoke-interface·{v1},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
| |
Offset 210, 60 lines modified | Offset 210, 60 lines modified |
| |
210 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; | 210 | ····invoke-interface·{v1},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
| |
211 | ····move-result-object·v2 | 211 | ····move-result-object·v2 |
| |
212 | ····check-cast·v2,·Landroid/net/LinkAddress; | 212 | ····check-cast·v2,·Landroid/net/LinkAddress; |
| |
213 | ····.line·2021 | 213 | ····.line·2025 |
214 | ····invoke-virtual·{v2},·Landroid/net/LinkAddress;->getAddress()Ljava/net/InetAddress; | 214 | ····invoke-virtual·{v2},·Landroid/net/LinkAddress;->getAddress()Ljava/net/InetAddress; |
| |
215 | ····move-result-object·v2 | 215 | ····move-result-object·v2 |
| |
216 | ····.line·2022 | 216 | ····.line·2026 |
217 | ····invoke-virtual·{v2},·Ljava/net/InetAddress;->isLinkLocalAddress()Z | 217 | ····invoke-virtual·{v2},·Ljava/net/InetAddress;->isLinkLocalAddress()Z |
| |
218 | ····move-result·v3 | 218 | ····move-result·v3 |
| |
219 | ····if-eqz·v3,·:cond_3 | 219 | ····if-eqz·v3,·:cond_3 |
| |
220 | ····goto·:goto_1 | 220 | ····goto·:goto_1 |
| |
221 | ····.line·2023 | 221 | ····.line·2027 |
222 | ····:cond_3 | 222 | ····:cond_3 |
223 | ····invoke-static·{v2},·Landroid/net/util/PrefixUtils;->ipAddressAsPrefix(Ljava/net/InetAddress;)Landroid/net/IpPrefix; | 223 | ····invoke-static·{v2},·Landroid/net/util/PrefixUtils;->ipAddressAsPrefix(Ljava/net/InetAddress;)Landroid/net/IpPrefix; |
| |
224 | ····move-result-object·v2 | 224 | ····move-result-object·v2 |
| |
225 | ····invoke-interface·{p1,·v2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 225 | ····invoke-interface·{p1,·v2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
| |
226 | ····goto·:goto_1 | 226 | ····goto·:goto_1 |
| |
227 | ····.line·2033 | 227 | ····.line·2037 |
228 | ····:cond_4 | 228 | ····:cond_4 |
229 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 229 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
230 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 230 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
231 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; | 231 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; |
| |
232 | ····move-result-object·p0 | 232 | ····move-result-object·p0 |
| |
233 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setLocalPrefixes(Ljava/util/Set;)V | 233 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setLocalPrefixes(Ljava/util/Set;)V |
| |
234 | ····return-void | 234 | ····return-void |
235 | .end·method | 235 | .end·method |
| |
236 | .method·public·start()V | 236 | .method·public·start()V |
237 | ····.locals·1 | 237 | ····.locals·1 |
| |
238 | ····.line·1966 | 238 | ····.line·1970 |
239 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 239 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
240 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 240 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
241 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; | 241 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; |
| |
242 | ····move-result-object·v0 | 242 | ····move-result-object·v0 |
| |
243 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->start()Z | 243 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->start()Z |
| |
Offset 274, 87 lines modified | Offset 274, 87 lines modified |
274 | ····const/4·v0,·0x1 | 274 | ····const/4·v0,·0x1 |
| |
275 | ····goto·:goto_0 | 275 | ····goto·:goto_0 |
| |
276 | ····:cond_0 | 276 | ····:cond_0 |
277 | ····const/4·v0,·0x2 | 277 | ····const/4·v0,·0x2 |
| |
278 | ····.line·1968 | 278 | ····.line·1972 |
279 | ····:goto_0 | 279 | ····:goto_0 |
280 | ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->updateOffloadStatus(I)V | 280 | ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->updateOffloadStatus(I)V |
| |
281 | ····.line·1969 | 281 | ····.line·1973 |
282 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes()V | 282 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes()V |
| |
283 | ····return-void | 283 | ····return-void |
284 | .end·method | 284 | .end·method |
| |
285 | .method·public·stop()V | 285 | .method·public·stop()V |
286 | ····.locals·1 | 286 | ····.locals·1 |
| |
287 | ····.line·1973 | 287 | ····.line·1977 |
288 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 288 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
289 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 289 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
290 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; | 290 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; |
| |
291 | ····move-result-object·v0 | 291 | ····move-result-object·v0 |
| |
292 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->stop()V | 292 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->stop()V |
| |
293 | ····const/4·v0,·0x0 | 293 | ····const/4·v0,·0x0 |
| |
294 | ····.line·1974 | 294 | ····.line·1978 |
295 | ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->updateOffloadStatus(I)V | 295 | ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->updateOffloadStatus(I)V |
| |
296 | ····return-void | 296 | ····return-void |
297 | .end·method | 297 | .end·method |
| |
298 | .method·public·updateDownstreamLinkProperties(Landroid/net/LinkProperties;)V | 298 | .method·public·updateDownstreamLinkProperties(Landroid/net/LinkProperties;)V |
299 | ····.locals·0 | 299 | ····.locals·0 |
| |
300 | ····.line·1985 | 300 | ····.line·1989 |
301 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes()V | 301 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes()V |
| |
302 | ····.line·1986 | 302 | ····.line·1990 |
303 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 303 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
304 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 304 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
305 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; | 305 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; |
| |
306 | ····move-result-object·p0 | 306 | ····move-result-object·p0 |
| |
307 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->notifyDownstreamLinkProperties(Landroid/net/LinkProperties;)V | 307 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->notifyDownstreamLinkProperties(Landroid/net/LinkProperties;)V |
| |
308 | ····return-void | 308 | ····return-void |
309 | .end·method | 309 | .end·method |
| |
310 | .method·public·updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V | 310 | .method·public·updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
311 | ····.locals·0 | 311 | ····.locals·0 |
| |
312 | ····.line·1978 | 312 | ····.line·1982 |
313 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 313 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->this$1:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
314 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; | 314 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering; |
| |
315 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; | 315 | ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4900(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/OffloadController; |
| |
316 | ····move-result-object·p0 | 316 | ····move-result-object·p0 |
| |
317 | ····if-eqz·p1,·:cond_0 | 317 | ····if-eqz·p1,·:cond_0 |
| |
318 | ····.line·1979 | 318 | ····.line·1983 |
319 | ····iget-object·p1,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->linkProperties:Landroid/net/LinkProperties; | 319 | ····iget-object·p1,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->linkProperties:Landroid/net/LinkProperties; |
| |
320 | ····goto·:goto_0 | 320 | ····goto·:goto_0 |
| |
321 | ····:cond_0 | 321 | ····:cond_0 |
322 | ····const/4·p1,·0x0 | 322 | ····const/4·p1,·0x0 |
| |
323 | ····.line·1978 | 323 | ····.line·1982 |
324 | ····:goto_0 | 324 | ····:goto_0 |
325 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setUpstreamLinkProperties(Landroid/net/LinkProperties;)V | 325 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setUpstreamLinkProperties(Landroid/net/LinkProperties;)V |
| |
326 | ····return-void | 326 | ····return-void |
327 | .end·method | 327 | .end·method |