Offset 1, 67 lines modifiedOffset 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 #·annotations4 #·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·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x09 ····accessFlags·=·0x0
10 ····name·=·"OffloadWrapper"10 ····name·=·"OffloadWrapper"
11 .end·annotation11 .end·annotation
  
  
12 #·instance·fields12 #·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·methods14 #·direct·methods
15 .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V15 .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
16 ····.locals·016 ····.locals·0
  
17 ····.line·196417 ····.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>()V19 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
20 ····return-void20 ····return-void
21 .end·method21 .end·method
  
22 .method·private·updateOffloadStatus(I)V22 .method·private·updateOffloadStatus(I)V
23 ····.locals·123 ····.locals·1
  
24 ····.line·203724 ····.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;)I27 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$5000(Lcom/android/networkstack/tethering/Tethering;)I
  
28 ····move-result·v028 ····move-result·v0
  
29 ····if-ne·p1,·v0,·:cond_029 ····if-ne·p1,·v0,·:cond_0
  
30 ····return-void30 ····return-void
  
31 ····.line·203931 ····.line·2043
32 ····:cond_032 ····: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)I35 ····invoke-static·{v0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$5002(Lcom/android/networkstack/tethering/Tethering;I)I
  
36 ····.line·204036 ····.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;)I39 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$5000(Lcom/android/networkstack/tethering/Tethering;)I
  
40 ····move-result·p140 ····move-result·p1
  
41 ····invoke-static·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$5100(Lcom/android/networkstack/tethering/Tethering;I)V41 ····invoke-static·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$5100(Lcom/android/networkstack/tethering/Tethering;I)V
  
Offset 69, 48 lines modifiedOffset 69, 48 lines modified
69 .end·method69 .end·method
  
  
70 #·virtual·methods70 #·virtual·methods
71 .method·public·excludeDownstreamInterface(Ljava/lang/String;)V71 .method·public·excludeDownstreamInterface(Ljava/lang/String;)V
72 ····.locals·072 ····.locals·0
  
73 ····.line·199273 ····.line·1996
74 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes()V74 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes()V
  
75 ····.line·199375 ····.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·p079 ····move-result-object·p0
  
80 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->removeDownstreamInterface(Ljava/lang/String;)V80 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->removeDownstreamInterface(Ljava/lang/String;)V
  
81 ····return-void81 ····return-void
82 .end·method82 .end·method
  
83 .method·public·sendOffloadExemptPrefixes()V83 .method·public·sendOffloadExemptPrefixes()V
84 ····.locals·184 ····.locals·1
  
85 ····.line·199785 ····.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·v089 ····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·v091 ····move-result-object·v0
  
92 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes(Ljava/util/Set;)V92 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes(Ljava/util/Set;)V
  
93 ····return-void93 ····return-void
94 .end·method94 .end·method
  
95 .method·public·sendOffloadExemptPrefixes(Ljava/util/Set;)V95 .method·public·sendOffloadExemptPrefixes(Ljava/util/Set;)V
96 ····.locals·496 ····.locals·4
97 ····.annotation·system·Ldalvik/annotation/Signature;97 ····.annotation·system·Ldalvik/annotation/Signature;
Offset 118, 26 lines modifiedOffset 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·annotation123 ····.end·annotation
  
124 ····.line·2002124 ····.line·2006
125 ····invoke-static·{p1},·Landroid/net/util/PrefixUtils;->addNonForwardablePrefixes(Ljava/util/Set;)V125 ····invoke-static·{p1},·Landroid/net/util/PrefixUtils;->addNonForwardablePrefixes(Ljava/util/Set;)V
  
126 ····.line·2004126 ····.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;)Z128 ····invoke-interface·{p1,·v0},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
129 ····.line·2008129 ····.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·v0132 ····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·v0134 ····move-result-object·v0
  
Offset 151, 20 lines modifiedOffset 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·v1152 ····move-result-object·v1
  
153 ····check-cast·v1,·Landroid/net/ip/IpServer;153 ····check-cast·v1,·Landroid/net/ip/IpServer;
  
154 ····.line·2009154 ····.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·v2156 ····move-result-object·v2
  
157 ····.line·2011157 ····.line·2015
158 ····invoke-virtual·{v1},·Landroid/net/ip/IpServer;->servingMode()I158 ····invoke-virtual·{v1},·Landroid/net/ip/IpServer;->servingMode()I
  
159 ····move-result·v1159 ····move-result·v1
  
160 ····if-eqz·v1,·:cond_0160 ····if-eqz·v1,·:cond_0
  
161 ····const/4·v3,·0x1161 ····const/4·v3,·0x1
Offset 177, 25 lines modifiedOffset 177, 25 lines modified
  
177 ····const/4·v3,·0x3177 ····const/4·v3,·0x3
  
178 ····if-eq·v1,·v3,·:cond_1178 ····if-eq·v1,·v3,·:cond_1
  
179 ····goto·:goto_0179 ····goto·:goto_0
  
180 ····.line·2028180 ····.line·2032
181 ····:cond_1181 ····: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·v1183 ····move-result-object·v1
  
184 ····invoke-interface·{p1,·v1},·Ljava/util/Set;->addAll(Ljava/util/Collection;)Z184 ····invoke-interface·{p1,·v1},·Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
  
185 ····goto·:goto_0185 ····goto·:goto_0
  
186 ····.line·2020186 ····.line·2024
187 ····:cond_2187 ····: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·v1189 ····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 modifiedOffset 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·v2211 ····move-result-object·v2
  
212 ····check-cast·v2,·Landroid/net/LinkAddress;212 ····check-cast·v2,·Landroid/net/LinkAddress;
  
213 ····.line·2021213 ····.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·v2215 ····move-result-object·v2
  
216 ····.line·2022216 ····.line·2026
217 ····invoke-virtual·{v2},·Ljava/net/InetAddress;->isLinkLocalAddress()Z217 ····invoke-virtual·{v2},·Ljava/net/InetAddress;->isLinkLocalAddress()Z
  
218 ····move-result·v3218 ····move-result·v3
  
219 ····if-eqz·v3,·:cond_3219 ····if-eqz·v3,·:cond_3
  
220 ····goto·:goto_1220 ····goto·:goto_1
  
221 ····.line·2023221 ····.line·2027
222 ····:cond_3222 ····: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·v2224 ····move-result-object·v2
  
225 ····invoke-interface·{p1,·v2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z225 ····invoke-interface·{p1,·v2},·Ljava/util/Set;->add(Ljava/lang/Object;)Z
  
226 ····goto·:goto_1226 ····goto·:goto_1
  
227 ····.line·2033227 ····.line·2037
228 ····:cond_4228 ····: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·p0232 ····move-result-object·p0
  
233 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setLocalPrefixes(Ljava/util/Set;)V233 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setLocalPrefixes(Ljava/util/Set;)V
  
234 ····return-void234 ····return-void
235 .end·method235 .end·method
  
236 .method·public·start()V236 .method·public·start()V
237 ····.locals·1237 ····.locals·1
  
238 ····.line·1966238 ····.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·v0242 ····move-result-object·v0
  
243 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->start()Z243 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->start()Z
  
Offset 274, 87 lines modifiedOffset 274, 87 lines modified
274 ····const/4·v0,·0x1274 ····const/4·v0,·0x1
  
275 ····goto·:goto_0275 ····goto·:goto_0
  
276 ····:cond_0276 ····:cond_0
277 ····const/4·v0,·0x2277 ····const/4·v0,·0x2
  
278 ····.line·1968278 ····.line·1972
279 ····:goto_0279 ····:goto_0
280 ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->updateOffloadStatus(I)V280 ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->updateOffloadStatus(I)V
  
281 ····.line·1969281 ····.line·1973
282 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes()V282 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes()V
  
283 ····return-void283 ····return-void
284 .end·method284 .end·method
  
285 .method·public·stop()V285 .method·public·stop()V
286 ····.locals·1286 ····.locals·1
  
287 ····.line·1973287 ····.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·v0291 ····move-result-object·v0
  
292 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->stop()V292 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/OffloadController;->stop()V
  
293 ····const/4·v0,·0x0293 ····const/4·v0,·0x0
  
294 ····.line·1974294 ····.line·1978
295 ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->updateOffloadStatus(I)V295 ····invoke-direct·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->updateOffloadStatus(I)V
  
296 ····return-void296 ····return-void
297 .end·method297 .end·method
  
298 .method·public·updateDownstreamLinkProperties(Landroid/net/LinkProperties;)V298 .method·public·updateDownstreamLinkProperties(Landroid/net/LinkProperties;)V
299 ····.locals·0299 ····.locals·0
  
300 ····.line·1985300 ····.line·1989
301 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes()V301 ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes()V
  
302 ····.line·1986302 ····.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·p0306 ····move-result-object·p0
  
307 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->notifyDownstreamLinkProperties(Landroid/net/LinkProperties;)V307 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->notifyDownstreamLinkProperties(Landroid/net/LinkProperties;)V
  
308 ····return-void308 ····return-void
309 .end·method309 .end·method
  
310 .method·public·updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V310 .method·public·updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
311 ····.locals·0311 ····.locals·0
  
312 ····.line·1978312 ····.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·p0316 ····move-result-object·p0
  
317 ····if-eqz·p1,·:cond_0317 ····if-eqz·p1,·:cond_0
  
318 ····.line·1979318 ····.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_0320 ····goto·:goto_0
  
321 ····:cond_0321 ····:cond_0
322 ····const/4·p1,·0x0322 ····const/4·p1,·0x0
  
323 ····.line·1978323 ····.line·1982
324 ····:goto_0324 ····:goto_0
325 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setUpstreamLinkProperties(Landroid/net/LinkProperties;)V325 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/OffloadController;->setUpstreamLinkProperties(Landroid/net/LinkProperties;)V
  
326 ····return-void326 ····return-void
327 .end·method327 .end·method