Offset 1, 33 lines modifiedOffset 1, 33 lines modified
1 .class·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;1 .class·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;
2 .super·Lcom/android/networkstack/tethering/util/StateMachine;2 .super·Lcom/android/networkstack/tethering/util/StateMachine;
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;6 ····value·=·Lcom/android/networkstack/tethering/Tethering;
7 .end·annotation7 .end·annotation
  
8 .annotation·system·Ldalvik/annotation/InnerClass;8 .annotation·system·Ldalvik/annotation/InnerClass;
9 ····accessFlags·=·0x09 ····accessFlags·=·0x0
10 ····name·=·"TetherMainSM"10 ····name·=·"TetherMasterSM"
11 .end·annotation11 .end·annotation
  
12 .annotation·system·Ldalvik/annotation/MemberClasses;12 .annotation·system·Ldalvik/annotation/MemberClasses;
13 ····value·=·{13 ····value·=·{
14 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;,14 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;,
15 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetDnsForwardersErrorState;,15 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetDnsForwardersErrorState;,
16 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$StopTetheringErrorState;,16 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$StopTetheringErrorState;,
17 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$StartTetheringErrorState;,17 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$StartTetheringErrorState;,
18 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetIpForwardingDisabledErrorState;,18 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetIpForwardingDisabledErrorState;,
19 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetIpForwardingEnabledErrorState;,19 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetIpForwardingEnabledErrorState;,
20 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$ErrorState;,20 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$ErrorState;,
21 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$TetherModeAliveState;,21 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$TetherModeAliveState;,
22 ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM$InitialState;22 ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$InitialState;
23 ····}23 ····}
24 .end·annotation24 .end·annotation
  
  
25 #·static·fields25 #·static·fields
26 .field·static·final·CMD_CLEAR_ERROR:I·=·0x626 .field·static·final·CMD_CLEAR_ERROR:I·=·0x6
  
Offset 57, 15 lines modifiedOffset 57, 15 lines modified
57 ············"Ljava/util/ArrayList<",57 ············"Ljava/util/ArrayList<",
58 ············"Landroid/net/ip/IpServer;",58 ············"Landroid/net/ip/IpServer;",
59 ············">;"59 ············">;"
60 ········}60 ········}
61 ····.end·annotation61 ····.end·annotation
62 .end·field62 .end·field
  
63 .field·private·final·mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;63 .field·private·final·mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
64 .field·private·final·mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;64 .field·private·final·mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;
  
65 .field·private·final·mSetIpForwardingDisabledErrorState:Lcom/android/networkstack/tethering/util/State;65 .field·private·final·mSetIpForwardingDisabledErrorState:Lcom/android/networkstack/tethering/util/State;
  
66 .field·private·final·mSetIpForwardingEnabledErrorState:Lcom/android/networkstack/tethering/util/State;66 .field·private·final·mSetIpForwardingEnabledErrorState:Lcom/android/networkstack/tethering/util/State;
  
Offset 78, 275 lines modifiedOffset 78, 294 lines modified
78 .field·final·synthetic·this$0:Lcom/android/networkstack/tethering/Tethering;78 .field·final·synthetic·this$0:Lcom/android/networkstack/tethering/Tethering;
  
  
79 #·direct·methods79 #·direct·methods
80 .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;Landroid/os/Looper;Lcom/android/networkstack/tethering/TetheringDependencies;)V80 .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;Landroid/os/Looper;Lcom/android/networkstack/tethering/TetheringDependencies;)V
81 ····.locals·081 ····.locals·0
  
82 ····.line·143182 ····.line·1428
83 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;83 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
84 ····.line·143284 ····.line·1429
85 ····invoke-direct·{p0,·p2,·p3},·Lcom/android/networkstack/tethering/util/StateMachine;-><init>(Ljava/lang/String;Landroid/os/Looper;)V85 ····invoke-direct·{p0,·p2,·p3},·Lcom/android/networkstack/tethering/util/StateMachine;-><init>(Ljava/lang/String;Landroid/os/Looper;)V
  
86 ····.line·143486 ····.line·1431
87 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$InitialState;87 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$InitialState;
  
88 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$InitialState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V88 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$InitialState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
89 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;89 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;
  
90 ····.line·143590 ····.line·1432
91 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$TetherModeAliveState;91 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$TetherModeAliveState;
  
92 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$TetherModeAliveState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V92 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$TetherModeAliveState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
93 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mTetherModeAliveState:Lcom/android/networkstack/tethering/util/State;93 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mTetherModeAliveState:Lcom/android/networkstack/tethering/util/State;
  
94 ····.line·143694 ····.line·1433
95 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetIpForwardingEnabledErrorState;95 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetIpForwardingEnabledErrorState;
  
96 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetIpForwardingEnabledErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V96 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetIpForwardingEnabledErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
97 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mSetIpForwardingEnabledErrorState:Lcom/android/networkstack/tethering/util/State;97 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mSetIpForwardingEnabledErrorState:Lcom/android/networkstack/tethering/util/State;
  
98 ····.line·143798 ····.line·1434
99 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetIpForwardingDisabledErrorState;99 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetIpForwardingDisabledErrorState;
  
100 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetIpForwardingDisabledErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V100 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetIpForwardingDisabledErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
101 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mSetIpForwardingDisabledErrorState:Lcom/android/networkstack/tethering/util/State;101 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mSetIpForwardingDisabledErrorState:Lcom/android/networkstack/tethering/util/State;
  
102 ····.line·1438102 ····.line·1435
103 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$StartTetheringErrorState;103 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$StartTetheringErrorState;
  
104 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$StartTetheringErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V104 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$StartTetheringErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
105 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mStartTetheringErrorState:Lcom/android/networkstack/tethering/util/State;105 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mStartTetheringErrorState:Lcom/android/networkstack/tethering/util/State;
  
106 ····.line·1439106 ····.line·1436
107 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$StopTetheringErrorState;107 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$StopTetheringErrorState;
  
108 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$StopTetheringErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V108 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$StopTetheringErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
109 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mStopTetheringErrorState:Lcom/android/networkstack/tethering/util/State;109 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mStopTetheringErrorState:Lcom/android/networkstack/tethering/util/State;
  
110 ····.line·1440110 ····.line·1437
111 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetDnsForwardersErrorState;111 ····new-instance·p2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetDnsForwardersErrorState;
  
112 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$SetDnsForwardersErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V112 ····invoke-direct·{p2,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$SetDnsForwardersErrorState;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
113 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;113 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;
  
114 ····.line·1442114 ····.line·1439
115 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;115 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;
  
116 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V116 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V
  
117 ····.line·1443117 ····.line·1440
118 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mTetherModeAliveState:Lcom/android/networkstack/tethering/util/State;118 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mTetherModeAliveState:Lcom/android/networkstack/tethering/util/State;
  
119 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V119 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V
  
120 ····.line·1444120 ····.line·1441
121 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mSetIpForwardingEnabledErrorState:Lcom/android/networkstack/tethering/util/State;121 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mSetIpForwardingEnabledErrorState:Lcom/android/networkstack/tethering/util/State;
  
122 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V122 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V
  
123 ····.line·1445123 ····.line·1442
124 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mSetIpForwardingDisabledErrorState:Lcom/android/networkstack/tethering/util/State;124 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mSetIpForwardingDisabledErrorState:Lcom/android/networkstack/tethering/util/State;
  
125 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V125 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V
  
126 ····.line·1446126 ····.line·1443
127 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mStartTetheringErrorState:Lcom/android/networkstack/tethering/util/State;127 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mStartTetheringErrorState:Lcom/android/networkstack/tethering/util/State;
  
128 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V128 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V
  
129 ····.line·1447129 ····.line·1444
130 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mStopTetheringErrorState:Lcom/android/networkstack/tethering/util/State;130 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mStopTetheringErrorState:Lcom/android/networkstack/tethering/util/State;
  
131 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V131 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V
  
132 ····.line·1448132 ····.line·1445
133 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;133 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;
  
134 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V134 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V
  
135 ····.line·1450135 ····.line·1447
136 ····new-instance·p2,·Ljava/util/ArrayList;136 ····new-instance·p2,·Ljava/util/ArrayList;
  
137 ····invoke-direct·{p2},·Ljava/util/ArrayList;-><init>()V137 ····invoke-direct·{p2},·Ljava/util/ArrayList;-><init>()V
  
138 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mNotifyList:Ljava/util/ArrayList;138 ····iput-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mNotifyList:Ljava/util/ArrayList;
  
139 ····.line·1451139 ····.line·1448
140 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;140 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
141 ····move-result-object·p1141 ····move-result-object·p1
  
142 ····invoke-virtual·{p4,·p2,·p1},·Lcom/android/networkstack/tethering/TetheringDependencies;->getIPv6TetheringCoordinator(Ljava/util/ArrayList;Landroid/net/util/SharedLog;)Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;142 ····invoke-virtual·{p4,·p2,·p1},·Lcom/android/networkstack/tethering/TetheringDependencies;->getIPv6TetheringCoordinator(Ljava/util/ArrayList;Landroid/net/util/SharedLog;)Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;
  
143 ····move-result-object·p1143 ····move-result-object·p1
  
144 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;144 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;
  
145 ····.line·1452145 ····.line·1449
146 ····new-instance·p1,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;146 ····new-instance·p1,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
147 ····invoke-direct·{p1,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)V147 ····invoke-direct·{p1,·p0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;-><init>(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)V
  
148 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;148 ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
149 ····.line·1454149 ····.line·1451
150 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;150 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;
  
151 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->setInitialState(Lcom/android/networkstack/tethering/util/State;)V151 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->setInitialState(Lcom/android/networkstack/tethering/util/State;)V
  
152 ····return-void152 ····return-void
153 .end·method153 .end·method
  
154 .method·static·synthetic·access$3100(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;ILandroid/net/ip/IpServer;)V154 .method·static·synthetic·access$3100(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;ILandroid/net/ip/IpServer;)V
155 ····.locals·0155 ····.locals·0
  
156 ····.line·1387156 ····.line·1384
157 ····invoke-direct·{p0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleInterfaceServingStateActive(ILandroid/net/ip/IpServer;)V157 ····invoke-direct·{p0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleInterfaceServingStateActive(ILandroid/net/ip/IpServer;)V
  
158 ····return-void158 ····return-void
159 .end·method159 .end·method
  
160 .method·static·synthetic·access$3200(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)Lcom/android/networkstack/tethering/util/State;160 .method·static·synthetic·access$3200(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)Lcom/android/networkstack/tethering/util/State;
161 ····.locals·0161 ····.locals·0
  
162 ····.line·1387162 ····.line·1384
163 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mTetherModeAliveState:Lcom/android/networkstack/tethering/util/State;163 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mTetherModeAliveState:Lcom/android/networkstack/tethering/util/State;
  
164 ····return-object·p0164 ····return-object·p0
165 .end·method165 .end·method
  
166 .method·static·synthetic·access$3300(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;Landroid/net/ip/IpServer;)V166 .method·static·synthetic·access$3300(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;Landroid/net/ip/IpServer;)V
167 ····.locals·0167 ····.locals·0
  
168 ····.line·1387168 ····.line·1384
169 ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V169 ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V
  
170 ····return-void170 ····return-void
171 .end·method171 .end·method
  
172 .method·static·synthetic·access$4500(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;172 .method·static·synthetic·access$4500(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
173 ····.locals·0173 ····.locals·0
  
174 ····.line·1387174 ····.line·1384
175 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;175 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
176 ····return-object·p0176 ····return-object·p0
177 .end·method177 .end·method
  
178 .method·static·synthetic·access$4700(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)Ljava/util/ArrayList;178 .method·static·synthetic·access$4700(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)Ljava/util/ArrayList;
179 ····.locals·0179 ····.locals·0
  
180 ····.line·1387180 ····.line·1384
181 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mNotifyList:Ljava/util/ArrayList;181 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mNotifyList:Ljava/util/ArrayList;
  
182 ····return-object·p0182 ····return-object·p0
183 .end·method183 .end·method
  
184 .method·static·synthetic·access$4800(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;)Lcom/android/networkstack/tethering/util/State;184 .method·static·synthetic·access$4800(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;)Lcom/android/networkstack/tethering/util/State;
185 ····.locals·0185 ····.locals·0
  
186 ····.line·1387186 ····.line·1384
187 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;187 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mInitialState:Lcom/android/networkstack/tethering/util/State;
  
188 ····return-object·p0188 ····return-object·p0
189 .end·method189 .end·method
  
 190 .method·private·addUpstreamPrefixes(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
 191 ····.locals·1
  
 192 ····.line·1679
 193 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
 194 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4300(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/PrivateAddressCoordinator;
  
 195 ····move-result-object·p0
  
 196 ····iget-object·v0,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;
  
 197 ····iget-object·p1,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->linkProperties:Landroid/net/LinkProperties;
  
 198 ····invoke-virtual·{p0,·v0,·p1},·Lcom/android/networkstack/tethering/PrivateAddressCoordinator;->updateUpstreamPrefix(Landroid/net/Network;Landroid/net/LinkProperties;)V
  
 199 ····return-void
 200 .end·method
  
190 .method·private·handleInterfaceServingStateActive(ILandroid/net/ip/IpServer;)V201 .method·private·handleInterfaceServingStateActive(ILandroid/net/ip/IpServer;)V
191 ····.locals·3202 ····.locals·3
  
192 ····.line·1628203 ····.line·1625
193 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mNotifyList:Ljava/util/ArrayList;204 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mNotifyList:Ljava/util/ArrayList;
  
194 ····invoke-virtual·{v0,·p2},·Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I205 ····invoke-virtual·{v0,·p2},·Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I
  
195 ····move-result·v0206 ····move-result·v0
  
196 ····if-gez·v0,·:cond_0207 ····if-gez·v0,·:cond_0
  
197 ····.line·1629208 ····.line·1626
198 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mNotifyList:Ljava/util/ArrayList;209 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mNotifyList:Ljava/util/ArrayList;
  
199 ····invoke-virtual·{v0,·p2},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z210 ····invoke-virtual·{v0,·p2},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
  
200 ····.line·1630211 ····.line·1627
201 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;212 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;
  
202 ····invoke-virtual·{v0,·p2,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->addActiveDownstream(Landroid/net/ip/IpServer;I)V213 ····invoke-virtual·{v0,·p2,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->addActiveDownstream(Landroid/net/ip/IpServer;I)V
  
203 ····:cond_0214 ····:cond_0
204 ····const/4·v0,·0x2215 ····const/4·v0,·0x2
  
205 ····if-ne·p1,·v0,·:cond_1216 ····if-ne·p1,·v0,·:cond_1
  
206 ····.line·1637217 ····.line·1634
207 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;218 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
208 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$4100(Lcom/android/networkstack/tethering/Tethering;)Ljava/util/LinkedHashSet;219 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$4100(Lcom/android/networkstack/tethering/Tethering;)Ljava/util/LinkedHashSet;
  
209 ····move-result-object·v1220 ····move-result-object·v1
  
210 ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z221 ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z
  
211 ····goto·:goto_0222 ····goto·:goto_0
  
212 ····.line·1639223 ····.line·1636
213 ····:cond_1224 ····:cond_1
214 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;225 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
215 ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;226 ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;
  
216 ····move-result-object·v2227 ····move-result-object·v2
  
217 ····invoke-virtual·{v1,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V228 ····invoke-virtual·{v1,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V
  
218 ····.line·1640229 ····.line·1637
219 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;230 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
220 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$4100(Lcom/android/networkstack/tethering/Tethering;)Ljava/util/LinkedHashSet;231 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$4100(Lcom/android/networkstack/tethering/Tethering;)Ljava/util/LinkedHashSet;
  
221 ····move-result-object·v1232 ····move-result-object·v1
  
222 ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z233 ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z
  
223 ····.line·1644234 ····.line·1641
224 ····:goto_0235 ····:goto_0
225 ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceType()I236 ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceType()I
  
226 ····move-result·v1237 ····move-result·v1
  
227 ····if-nez·v1,·:cond_4238 ····if-nez·v1,·:cond_4
  
228 ····.line·1645239 ····.line·1642
229 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;240 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
230 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4200(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/wifi/WifiManager;241 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4200(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/wifi/WifiManager;
  
231 ····move-result-object·p0242 ····move-result-object·p0
  
232 ····.line·1646243 ····.line·1643
233 ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;244 ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;
  
234 ····move-result-object·p2245 ····move-result-object·p2
  
235 ····if-eq·p1,·v0,·:cond_3246 ····if-eq·p1,·v0,·:cond_3
  
236 ····const/4·v1,·0x3247 ····const/4·v1,·0x3
  
237 ····if-eq·p1,·v1,·:cond_2248 ····if-eq·p1,·v1,·:cond_2
  
238 ····.line·1655249 ····.line·1652
239 ····invoke-static·{},·Lcom/android/networkstack/tethering/Tethering;->access$3400()Ljava/lang/String;250 ····invoke-static·{},·Lcom/android/networkstack/tethering/Tethering;->access$3400()Ljava/lang/String;
  
240 ····move-result-object·p0251 ····move-result-object·p0
  
241 ····new-instance·p2,·Ljava/lang/StringBuilder;252 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
242 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V253 ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V
Offset 361, 163 lines modifiedOffset 380, 180 lines modified
  
361 ····move-result-object·p1380 ····move-result-object·p1
  
362 ····invoke-static·{p0,·p1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I381 ····invoke-static·{p0,·p1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I
  
363 ····goto·:goto_1382 ····goto·:goto_1
  
364 ····.line·1652383 ····.line·1649
365 ····:cond_2384 ····:cond_2
366 ····invoke-virtual·{p0,·p2,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V385 ····invoke-virtual·{p0,·p2,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V
  
367 ····goto·:goto_1386 ····goto·:goto_1
  
368 ····:cond_3387 ····:cond_3
369 ····const/4·p1,·0x1388 ····const/4·p1,·0x1
  
370 ····.line·1649389 ····.line·1646
371 ····invoke-virtual·{p0,·p2,·p1},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V390 ····invoke-virtual·{p0,·p2,·p1},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V
  
372 ····:cond_4391 ····:cond_4
373 ····:goto_1392 ····:goto_1
374 ····return-void393 ····return-void
375 .end·method394 .end·method
  
376 .method·private·handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V395 .method·private·handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V
377 ····.locals·2396 ····.locals·2
  
378 ····.line·1662397 ····.line·1659
379 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mNotifyList:Ljava/util/ArrayList;398 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mNotifyList:Ljava/util/ArrayList;
  
380 ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z399 ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z
  
381 ····.line·1663400 ····.line·1660
382 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;401 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;
  
383 ····invoke-virtual·{v0,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->removeActiveDownstream(Landroid/net/ip/IpServer;)V402 ····invoke-virtual·{v0,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->removeActiveDownstream(Landroid/net/ip/IpServer;)V
  
384 ····.line·1664403 ····.line·1661
385 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;404 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
386 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;405 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;
  
387 ····move-result-object·v1406 ····move-result-object·v1
  
388 ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V407 ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V
  
389 ····.line·1665408 ····.line·1662
390 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;409 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
391 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$4100(Lcom/android/networkstack/tethering/Tethering;)Ljava/util/LinkedHashSet;410 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$4100(Lcom/android/networkstack/tethering/Tethering;)Ljava/util/LinkedHashSet;
  
392 ····move-result-object·v0411 ····move-result-object·v0
  
393 ····invoke-virtual·{v0,·p1},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z412 ····invoke-virtual·{v0,·p1},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z
  
394 ····.line·1666413 ····.line·1663
395 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;414 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
396 ····const/4·v1,·0x0415 ····const/4·v1,·0x0
  
397 ····invoke-static·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$1200(Lcom/android/networkstack/tethering/Tethering;Ljava/util/List;)V416 ····invoke-static·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$1200(Lcom/android/networkstack/tethering/Tethering;Ljava/util/List;)V
  
398 ····.line·1670417 ····.line·1667
399 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceType()I418 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceType()I
  
400 ····move-result·v0419 ····move-result·v0
  
401 ····if-nez·v0,·:cond_1420 ····if-nez·v0,·:cond_1
  
402 ····.line·1671421 ····.line·1668
403 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->lastError()I422 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->lastError()I
  
404 ····move-result·v0423 ····move-result·v0
  
405 ····if-eqz·v0,·:cond_0424 ····if-eqz·v0,·:cond_0
  
406 ····.line·1672425 ····.line·1669
407 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;426 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
408 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4200(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/wifi/WifiManager;427 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4200(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/wifi/WifiManager;
  
409 ····move-result-object·p0428 ····move-result-object·p0
  
410 ····.line·1673429 ····.line·1670
411 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;430 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;
  
412 ····move-result-object·p1431 ····move-result-object·p1
  
413 ····const/4·v0,·0x0432 ····const/4·v0,·0x0
  
414 ····.line·1672433 ····.line·1669
415 ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V434 ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V
  
416 ····goto·:goto_0435 ····goto·:goto_0
  
417 ····.line·1675436 ····.line·1672
418 ····:cond_0437 ····:cond_0
419 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;438 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
420 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4200(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/wifi/WifiManager;439 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4200(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/wifi/WifiManager;
  
421 ····move-result-object·p0440 ····move-result-object·p0
  
422 ····.line·1676441 ····.line·1673
423 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;442 ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceName()Ljava/lang/String;
  
424 ····move-result-object·p1443 ····move-result-object·p1
  
425 ····const/4·v0,·-0x1444 ····const/4·v0,·-0x1
  
426 ····.line·1675445 ····.line·1672
427 ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V446 ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V
  
428 ····:cond_1447 ····:cond_1
429 ····:goto_0448 ····:goto_0
430 ····return-void449 ····return-void
431 .end·method450 .end·method
  
 451 .method·private·removeUpstreamPrefixes(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
 452 ····.locals·0
  
 453 ····.line·1683
 454 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
 455 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$4300(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/PrivateAddressCoordinator;
  
 456 ····move-result-object·p0
  
 457 ····iget-object·p1,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;
  
 458 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/PrivateAddressCoordinator;->removeUpstreamPrefix(Landroid/net/Network;)V
  
 459 ····return-void
 460 .end·method
  
  
432 #·virtual·methods461 #·virtual·methods
433 .method·protected·chooseUpstreamType(Z)V462 .method·protected·chooseUpstreamType(Z)V
434 ····.locals·3463 ····.locals·3
  
435 ····.line·1539464 ····.line·1536
436 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;465 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
437 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3500(Lcom/android/networkstack/tethering/Tethering;)V466 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3500(Lcom/android/networkstack/tethering/Tethering;)V
  
438 ····.line·1541467 ····.line·1538
439 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;468 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
440 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration;469 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration;
  
441 ····move-result-object·v0470 ····move-result-object·v0
  
442 ····.line·1542471 ····.line·1539
443 ····iget-boolean·v1,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->chooseUpstreamAutomatically:Z472 ····iget-boolean·v1,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->chooseUpstreamAutomatically:Z
  
444 ····if-eqz·v1,·:cond_0473 ····if-eqz·v1,·:cond_0
  
445 ····.line·1543474 ····.line·1540
446 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;475 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
447 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;476 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;
  
448 ····move-result-object·v0477 ····move-result-object·v0
  
449 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->getCurrentPreferredUpstream()Lcom/android/networkstack/tethering/UpstreamNetworkState;478 ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->getCurrentPreferredUpstream()Lcom/android/networkstack/tethering/UpstreamNetworkState;
  
450 ····move-result-object·v0479 ····move-result-object·v0
  
451 ····goto·:goto_0480 ····goto·:goto_0
  
452 ····.line·1544481 ····.line·1541
453 ····:cond_0482 ····:cond_0
454 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;483 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
455 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;484 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;
  
456 ····move-result-object·v1485 ····move-result-object·v1
  
457 ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->preferredUpstreamIfaceTypes:Ljava/util/Collection;486 ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->preferredUpstreamIfaceTypes:Ljava/util/Collection;
  
Offset 526, 164 lines modifiedOffset 562, 150 lines modified
526 ····move-result-object·v0562 ····move-result-object·v0
  
527 ····:goto_0563 ····:goto_0
528 ····if-nez·v0,·:cond_2564 ····if-nez·v0,·:cond_2
  
529 ····if-eqz·p1,·:cond_1565 ····if-eqz·p1,·:cond_1
  
530 ····.line·1548566 ····.line·1545
531 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;567 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
532 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;568 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;
  
533 ····move-result-object·p1569 ····move-result-object·p1
  
534 ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->registerMobileNetworkRequest()V570 ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->registerMobileNetworkRequest()V
  
535 ····goto·:goto_1571 ····goto·:goto_1
  
536 ····:cond_1572 ····:cond_1
537 ····const/4·p1,·0x4573 ····const/4·p1,·0x4
  
538 ····const-wide/16·v1,·0x2710574 ····const-wide/16·v1,·0x2710
  
539 ····.line·1551575 ····.line·1548
540 ····invoke-virtual·{p0,·p1,·v1,·v2},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessageDelayed(IJ)V576 ····invoke-virtual·{p0,·p1,·v1,·v2},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessageDelayed(IJ)V
  
541 ····.line·1554577 ····.line·1551
542 ····:cond_2578 ····:cond_2
543 ····:goto_1579 ····:goto_1
544 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V580 ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
545 ····if-eqz·v0,·:cond_3581 ····if-eqz·v0,·:cond_3
  
546 ····.line·1555582 ····.line·1552
547 ····iget-object·p1,·v0,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;583 ····iget-object·p1,·v0,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;
  
548 ····goto·:goto_2584 ····goto·:goto_2
  
549 ····:cond_3585 ····:cond_3
550 ····const/4·p1,·0x0586 ····const/4·p1,·0x0
  
551 ····.line·1556587 ····.line·1553
552 ····:goto_2588 ····:goto_2
553 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;589 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
554 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$3700(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/Network;590 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$3700(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/Network;
  
555 ····move-result-object·v1591 ····move-result-object·v1
  
556 ····if-eq·v1,·p1,·:cond_4592 ····if-eq·v1,·p1,·:cond_4
  
557 ····.line·1557593 ····.line·1554
558 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;594 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
559 ····invoke-static·{v1,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$3702(Lcom/android/networkstack/tethering/Tethering;Landroid/net/Network;)Landroid/net/Network;595 ····invoke-static·{v1,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$3702(Lcom/android/networkstack/tethering/Tethering;Landroid/net/Network;)Landroid/net/Network;
  
560 ····.line·1558596 ····.line·1555
561 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;597 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
562 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;598 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$3600(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;
  
563 ····move-result-object·p1599 ····move-result-object·p1
  
564 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;600 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
565 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$3700(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/Network;601 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$3700(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/Network;
  
566 ····move-result-object·v1602 ····move-result-object·v1
  
567 ····invoke-virtual·{p1,·v1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->setCurrentUpstream(Landroid/net/Network;)V603 ····invoke-virtual·{p1,·v1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->setCurrentUpstream(Landroid/net/Network;)V
  
568 ····.line·1559604 ····.line·1556
569 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;605 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
570 ····invoke-static·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$3800(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/UpstreamNetworkState;)V606 ····invoke-static·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$3800(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
571 ····:cond_4607 ····:cond_4
572 ····return-void608 ····return-void
573 .end·method609 .end·method
  
574 .method·protected·handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V610 .method·protected·handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
575 ····.locals·1611 ····.locals·1
  
576 ····.line·1623612 ····.line·1620
577 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;613 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mIPv6TetheringCoordinator:Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;
  
578 ····invoke-virtual·{v0,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V614 ····invoke-virtual·{v0,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
579 ····.line·1624615 ····.line·1621
580 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;616 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
581 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V617 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
582 ····return-void618 ····return-void
583 .end·method619 .end·method
  
584 .method·handleUpstreamNetworkMonitorCallback(ILjava/lang/Object;)V620 .method·handleUpstreamNetworkMonitorCallback(ILjava/lang/Object;)V
585 ····.locals·4621 ····.locals·4
  
586 ····const/16·v0,·0xa622 ····const/16·v0,·0xa
  
587 ····if-ne·p1,·v0,·:cond_0623 ····if-ne·p1,·v0,·:cond_0
  
588 ····.line·1684624 ····.line·1689
589 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;625 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mOffload:Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;
  
590 ····check-cast·p2,·Ljava/util/Set;626 ····check-cast·p2,·Ljava/util/Set;
  
591 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->sendOffloadExemptPrefixes(Ljava/util/Set;)V627 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes(Ljava/util/Set;)V
  
592 ····return-void628 ····return-void
  
593 ····.line·1688629 ····.line·1693
594 ····:cond_0630 ····:cond_0
595 ····check-cast·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState;631 ····check-cast·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState;
  
596 ····const/4·v0,·0x3632 ····const/4·v0,·0x3
  
597 ····const/4·v1,·0x2633 ····const/4·v1,·0x2
  
598 ····if-eq·p1,·v1,·:cond_2634 ····if-eq·p1,·v1,·:cond_2
  
599 ····if-eq·p1,·v0,·:cond_1635 ····if-eq·p1,·v0,·:cond_1
  
600 ····goto·:goto_0636 ····goto·:goto_0
  
601 ····.line·1694637 ····.line·1699
602 ····:cond_1638 ····:cond_1
603 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;639 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->removeUpstreamPrefixes(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
604 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$4300(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/PrivateAddressCoordinator; 
  
605 ····move-result-object·v2 
  
606 ····iget-object·v3,·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network; 
  
607 ····invoke-virtual·{v2,·v3},·Lcom/android/networkstack/tethering/PrivateAddressCoordinator;->removeUpstreamPrefix(Landroid/net/Network;)V 
  
608 ····goto·:goto_0640 ····goto·:goto_0
  
609 ····.line·1691641 ····.line·1696
610 ····:cond_2642 ····:cond_2
611 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering; 
  
612 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$4300(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/PrivateAddressCoordinator; 
  
613 ····move-result-object·v2 
  
614 ····invoke-virtual·{v2,·p2},·Lcom/android/networkstack/tethering/PrivateAddressCoordinator;->updateUpstreamPrefix(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V643 ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->addUpstreamPrefixes(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
615 ····:goto_0644 ····:goto_0
616 ····const/4·v2,·0x0645 ····const/4·v2,·0x0
  
617 ····if-eqz·p2,·:cond_8646 ····if-eqz·p2,·:cond_8
  
618 ····.line·1698647 ····.line·1703
619 ····iget-object·v3,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;648 ····iget-object·v3,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
620 ····invoke-static·{v3,·p2},·Lcom/android/networkstack/tethering/Tethering;->access$3900(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/UpstreamNetworkState;)Z649 ····invoke-static·{v3,·p2},·Lcom/android/networkstack/tethering/Tethering;->access$3900(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/UpstreamNetworkState;)Z
  
621 ····move-result·v3650 ····move-result·v3
  
622 ····if-nez·v3,·:cond_3651 ····if-nez·v3,·:cond_3
  
Offset 694, 16 lines modifiedOffset 716, 16 lines modified
  
694 ····if-eq·p1,·v3,·:cond_6716 ····if-eq·p1,·v3,·:cond_6
  
695 ····if-eq·p1,·v1,·:cond_5717 ····if-eq·p1,·v1,·:cond_5
  
696 ····if-eq·p1,·v0,·:cond_4718 ····if-eq·p1,·v0,·:cond_4
  
697 ····.line·1732719 ····.line·1737
698 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;720 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
699 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;721 ····invoke-static·{p0},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
700 ····move-result-object·p0722 ····move-result-object·p0
  
701 ····new-instance·p2,·Ljava/lang/StringBuilder;723 ····new-instance·p2,·Ljava/lang/StringBuilder;
  
Offset 722, 87 lines modifiedOffset 744, 87 lines modified
722 ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V744 ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V
  
723 ····goto·:goto_1745 ····goto·:goto_1
  
724 ····:cond_4746 ····:cond_4
725 ····const/4·p1,·0x0747 ····const/4·p1,·0x0
  
726 ····.line·1729748 ····.line·1734
727 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V749 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
728 ····goto·:goto_1750 ····goto·:goto_1
  
729 ····.line·1722751 ····.line·1727
730 ····:cond_5752 ····:cond_5
731 ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->chooseUpstreamType(Z)V753 ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->chooseUpstreamType(Z)V
  
732 ····goto·:goto_1754 ····goto·:goto_1
  
733 ····.line·1716755 ····.line·1721
734 ····:cond_6756 ····:cond_6
735 ····iget-object·p1,·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;757 ····iget-object·p1,·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;
  
736 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;758 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
737 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3700(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/Network;759 ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3700(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/Network;
  
738 ····move-result-object·v0760 ····move-result-object·v0
  
739 ····invoke-virtual·{p1,·v0},·Landroid/net/Network;->equals(Ljava/lang/Object;)Z761 ····invoke-virtual·{p1,·v0},·Landroid/net/Network;->equals(Ljava/lang/Object;)Z
  
740 ····move-result·p1762 ····move-result·p1
  
741 ····if-eqz·p1,·:cond_7763 ····if-eqz·p1,·:cond_7
  
742 ····.line·1717764 ····.line·1722
743 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;765 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
744 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$1000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringNotificationUpdater;766 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$1000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringNotificationUpdater;
  
745 ····move-result-object·p1767 ····move-result-object·p1
  
746 ····iget-object·v0,·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->networkCapabilities:Landroid/net/NetworkCapabilities;768 ····iget-object·v0,·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->networkCapabilities:Landroid/net/NetworkCapabilities;
  
747 ····invoke-virtual·{p1,·v0},·Lcom/android/networkstack/tethering/TetheringNotificationUpdater;->onUpstreamCapabilitiesChanged(Landroid/net/NetworkCapabilities;)V769 ····invoke-virtual·{p1,·v0},·Lcom/android/networkstack/tethering/TetheringNotificationUpdater;->onUpstreamCapabilitiesChanged(Landroid/net/NetworkCapabilities;)V
  
748 ····.line·1719770 ····.line·1724
749 ····:cond_7771 ····:cond_7
750 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V772 ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
  
751 ····:goto_1773 ····:goto_1
752 ····return-void774 ····return-void
  
753 ····.line·1704775 ····.line·1709
754 ····:cond_8776 ····:cond_8
755 ····:goto_2777 ····:goto_2
756 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;778 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
757 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$4000(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/InterfaceSet;779 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/Tethering;->access$4000(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/InterfaceSet;
  
758 ····move-result-object·p1780 ····move-result-object·p1
  
759 ····if-nez·p1,·:cond_9781 ····if-nez·p1,·:cond_9
  
760 ····.line·1709782 ····.line·1714
761 ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->chooseUpstreamType(Z)V783 ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->chooseUpstreamType(Z)V
  
762 ····:cond_9784 ····:cond_9
763 ····return-void785 ····return-void
764 .end·method786 .end·method
  
765 .method·protected·notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V787 .method·protected·notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V
766 ····.locals·2788 ····.locals·2
  
767 ····.line·1616789 ····.line·1613
768 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;790 ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
769 ····invoke-static·{v0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$4002(Lcom/android/networkstack/tethering/Tethering;Landroid/net/util/InterfaceSet;)Landroid/net/util/InterfaceSet;791 ····invoke-static·{v0,·p1},·Lcom/android/networkstack/tethering/Tethering;->access$4002(Lcom/android/networkstack/tethering/Tethering;Landroid/net/util/InterfaceSet;)Landroid/net/util/InterfaceSet;
  
770 ····.line·1617792 ····.line·1614
771 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mNotifyList:Ljava/util/ArrayList;793 ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mNotifyList:Ljava/util/ArrayList;
  
772 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;794 ····invoke-virtual·{p0},·Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
  
773 ····move-result-object·p0795 ····move-result-object·p0
  
774 ····:goto_0796 ····:goto_0
775 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z797 ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z
Offset 815, 50 lines modifiedOffset 837, 50 lines modified
  
815 ····move-result-object·v0837 ····move-result-object·v0
  
816 ····check-cast·v0,·Landroid/net/ip/IpServer;838 ····check-cast·v0,·Landroid/net/ip/IpServer;
  
817 ····const/16·v1,·0x6d839 ····const/16·v1,·0x6d
  
818 ····.line·1618840 ····.line·1615
819 ····invoke-virtual·{v0,·v1,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V841 ····invoke-virtual·{v0,·v1,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V
  
820 ····goto·:goto_0842 ····goto·:goto_0
  
821 ····:cond_0843 ····:cond_0
822 ····return-void844 ····return-void
823 .end·method845 .end·method
  
824 .method·protected·setDnsForwarders(Landroid/net/Network;Landroid/net/LinkProperties;)V846 .method·protected·setDnsForwarders(Landroid/net/Network;Landroid/net/LinkProperties;)V
825 ····.locals·5847 ····.locals·5
  
826 ····.line·1589848 ····.line·1586
827 ····invoke-virtual·{p2},·Landroid/net/LinkProperties;->getDnsServers()Ljava/util/List;849 ····invoke-virtual·{p2},·Landroid/net/LinkProperties;->getDnsServers()Ljava/util/List;
  
828 ····move-result-object·p2850 ····move-result-object·p2
  
829 ····const/4·v0,·0x0851 ····const/4·v0,·0x0
  
830 ····if-eqz·p2,·:cond_0852 ····if-eqz·p2,·:cond_0
  
831 ····.line·1592853 ····.line·1589
832 ····invoke-interface·{p2},·Ljava/util/Collection;->isEmpty()Z854 ····invoke-interface·{p2},·Ljava/util/Collection;->isEmpty()Z
  
833 ····move-result·v1855 ····move-result·v1
  
834 ····if-nez·v1,·:cond_0856 ····if-nez·v1,·:cond_0
  
835 ····.line·1593857 ····.line·1590
836 ····invoke-interface·{p2},·Ljava/util/Collection;->size()I858 ····invoke-interface·{p2},·Ljava/util/Collection;->size()I
  
837 ····move-result·v1859 ····move-result·v1
  
838 ····new-array·v1,·v1,·[Ljava/lang/String;860 ····new-array·v1,·v1,·[Ljava/lang/String;
  
839 ····.line·1595861 ····.line·1592
840 ····invoke-interface·{p2},·Ljava/util/Collection;->iterator()Ljava/util/Iterator;862 ····invoke-interface·{p2},·Ljava/util/Collection;->iterator()Ljava/util/Iterator;
  
841 ····move-result-object·p2863 ····move-result-object·p2
  
842 ····move·v2,·v0864 ····move·v2,·v0
  
843 ····:goto_0865 ····:goto_0
Offset 872, 100 lines modifiedOffset 894, 100 lines modified
  
872 ····move-result-object·v3894 ····move-result-object·v3
  
873 ····check-cast·v3,·Ljava/net/InetAddress;895 ····check-cast·v3,·Ljava/net/InetAddress;
  
874 ····add-int/lit8·v4,·v2,·0x1896 ····add-int/lit8·v4,·v2,·0x1
  
875 ····.line·1596897 ····.line·1593
876 ····invoke-virtual·{v3},·Ljava/net/InetAddress;->getHostAddress()Ljava/lang/String;898 ····invoke-virtual·{v3},·Ljava/net/InetAddress;->getHostAddress()Ljava/lang/String;
  
877 ····move-result-object·v3899 ····move-result-object·v3
  
878 ····aput-object·v3,·v1,·v2900 ····aput-object·v3,·v1,·v2
  
879 ····move·v2,·v4901 ····move·v2,·v4
  
880 ····goto·:goto_0902 ····goto·:goto_0
  
881 ····.line·1599903 ····.line·1596
882 ····:cond_0904 ····:cond_0
883 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;905 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
884 ····invoke-static·{p2},·Lcom/android/networkstack/tethering/Tethering;->access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration;906 ····invoke-static·{p2},·Lcom/android/networkstack/tethering/Tethering;->access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration;
  
885 ····move-result-object·p2907 ····move-result-object·p2
  
886 ····iget-object·v1,·p2,·Lcom/android/networkstack/tethering/TetheringConfiguration;->defaultIPv4DNS:[Ljava/lang/String;908 ····iget-object·v1,·p2,·Lcom/android/networkstack/tethering/TetheringConfiguration;->defaultIPv4DNS:[Ljava/lang/String;
  
887 ····:cond_1909 ····:cond_1
888 ····if-eqz·p1,·:cond_2910 ····if-eqz·p1,·:cond_2
  
889 ····.line·1601911 ····.line·1598
890 ····invoke-virtual·{p1},·Landroid/net/Network;->getNetId()I912 ····invoke-virtual·{p1},·Landroid/net/Network;->getNetId()I
  
891 ····move-result·p2913 ····move-result·p2
  
892 ····goto·:goto_1914 ····goto·:goto_1
  
893 ····:cond_2915 ····:cond_2
894 ····move·p2,·v0916 ····move·p2,·v0
  
895 ····.line·1603917 ····.line·1600
896 ····:goto_1918 ····:goto_1
897 ····:try_start_0919 ····:try_start_0
898 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;920 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
899 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$400(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/INetd;921 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$400(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/INetd;
  
900 ····move-result-object·v2922 ····move-result-object·v2
  
901 ····invoke-interface·{v2,·p2,·v1},·Landroid/net/INetd;->tetherDnsSet(I[Ljava/lang/String;)V923 ····invoke-interface·{v2,·p2,·v1},·Landroid/net/INetd;->tetherDnsSet(I[Ljava/lang/String;)V
  
902 ····.line·1604924 ····.line·1601
903 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;925 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
904 ····invoke-static·{p2},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;926 ····invoke-static·{p2},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
905 ····move-result-object·p2927 ····move-result-object·p2
  
906 ····const-string·v2,·"SET·DNS·forwarders:·network=%s·dnsServers=%s"928 ····const-string·v2,·"SET·DNS·forwarders:·network=%s·dnsServers=%s"
  
907 ····const/4·v3,·0x2929 ····const/4·v3,·0x2
  
908 ····new-array·v3,·v3,·[Ljava/lang/Object;930 ····new-array·v3,·v3,·[Ljava/lang/Object;
  
909 ····aput-object·p1,·v3,·v0931 ····aput-object·p1,·v3,·v0
  
910 ····.line·1606932 ····.line·1603
911 ····invoke-static·{v1},·Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;933 ····invoke-static·{v1},·Ljava/util/Arrays;->toString([Ljava/lang/Object;)Ljava/lang/String;
  
912 ····move-result-object·p1934 ····move-result-object·p1
  
913 ····const/4·v0,·0x1935 ····const/4·v0,·0x1
  
914 ····aput-object·p1,·v3,·v0936 ····aput-object·p1,·v3,·v0
  
915 ····.line·1604937 ····.line·1601
916 ····invoke-static·{v2,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;938 ····invoke-static·{v2,·v3},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
  
917 ····move-result-object·p1939 ····move-result-object·p1
  
918 ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V940 ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V
919 ····:try_end_0941 ····:try_end_0
920 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0942 ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0
921 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0943 ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0
  
922 ····goto·:goto_2944 ····goto·:goto_2
  
923 ····:catch_0945 ····:catch_0
924 ····move-exception·p1946 ····move-exception·p1
  
925 ····.line·1610947 ····.line·1607
926 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;948 ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
927 ····invoke-static·{p2},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;949 ····invoke-static·{p2},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
928 ····move-result-object·p2950 ····move-result-object·p2
  
929 ····new-instance·v0,·Ljava/lang/StringBuilder;951 ····new-instance·v0,·Ljava/lang/StringBuilder;
  
Offset 979, 32 lines modifiedOffset 1001, 32 lines modified
  
979 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1001 ····invoke-virtual·{v0},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
980 ····move-result-object·p11002 ····move-result-object·p1
  
981 ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V1003 ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V
  
982 ····.line·16111004 ····.line·1608
983 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;1005 ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->mSetDnsForwardersErrorState:Lcom/android/networkstack/tethering/util/State;
  
984 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V1006 ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V
  
985 ····:goto_21007 ····:goto_2
986 ····return-void1008 ····return-void
987 .end·method1009 .end·method
  
988 .method·protected·setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V1010 .method·protected·setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V
989 ····.locals·51011 ····.locals·5
  
990 ····const/4·v0,·0x01012 ····const/4·v0,·0x0
  
991 ····if-eqz·p1,·:cond_01013 ····if-eqz·p1,·:cond_0
  
992 ····.line·15691014 ····.line·1566
993 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;1015 ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
994 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;1016 ····invoke-static·{v1},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
995 ····move-result-object·v11017 ····move-result-object·v1
  
996 ····new-instance·v2,·Ljava/lang/StringBuilder;1018 ····new-instance·v2,·Ljava/lang/StringBuilder;
  
Offset 1020, 21 lines modifiedOffset 1042, 21 lines modified
  
1020 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;1042 ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
  
1021 ····move-result-object·v21043 ····move-result-object·v2
  
1022 ····invoke-virtual·{v1,·v2},·Landroid/net/util/SharedLog;->i(Ljava/lang/String;)V1044 ····invoke-virtual·{v1,·v2},·Landroid/net/util/SharedLog;->i(Ljava/lang/String;)V
  
1023 ····.line·15701045 ····.line·1567
1024 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/TetheringInterfaceUtils;->getTetheringInterfaces(Lcom/android/networkstack/tethering/UpstreamNetworkState;)Landroid/net/util/InterfaceSet;1046 ····invoke-static·{p1},·Lcom/android/networkstack/tethering/TetheringInterfaceUtils;->getTetheringInterfaces(Lcom/android/networkstack/tethering/UpstreamNetworkState;)Landroid/net/util/InterfaceSet;
  
1025 ····move-result-object·v11047 ····move-result-object·v1
  
1026 ····.line·15711048 ····.line·1568
1027 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->this$0:Lcom/android/networkstack/tethering/Tethering;1049 ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->this$0:Lcom/android/networkstack/tethering/Tethering;
  
1028 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;1050 ····invoke-static·{v2},·Lcom/android/networkstack/tethering/Tethering;->access$600(Lcom/android/networkstack/tethering/Tethering;)Landroid/net/util/SharedLog;
  
1029 ····move-result-object·v21051 ····move-result-object·v2
  
1030 ····new-instance·v3,·Ljava/lang/StringBuilder;1052 ····new-instance·v3,·Ljava/lang/StringBuilder;
  
Offset 1056, 281 lines modifiedOffset 1078, 281 lines modified
  
1056 ····:cond_01078 ····:cond_0
1057 ····move-object·v1,·v01079 ····move-object·v1,·v0
  
1058 ····:goto_01080 ····:goto_0
1059 ····if-eqz·v1,·:cond_11081 ····if-eqz·v1,·:cond_1
  
1060 ····.line·15751082 ····.line·1572
1061 ····iget-object·v2,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;1083 ····iget-object·v2,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->network:Landroid/net/Network;
  
1062 ····iget-object·v3,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->linkProperties:Landroid/net/LinkProperties;1084 ····iget-object·v3,·p1,·Lcom/android/networkstack/tethering/UpstreamNetworkState;->linkProperties:Landroid/net/LinkProperties;
  
1063 ····invoke-virtual·{p0,·v2,·v3},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->setDnsForwarders(Landroid/net/Network;Landroid/net/LinkProperties;)V1085 ····invoke-virtual·{p0,·v2,·v3},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->setDnsForwarders(Landroid/net/Network;Landroid/net/LinkProperties;)V
  
1064 ····.line·15771086 ····.line·1574
1065 ····:cond_11087 ····:cond_1
1066 ····invoke-virtual·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V1088 ····invoke-virtual·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V
  
1067 ····if-eqz·p1,·:cond_21089 ····if-eqz·p1,·:cond_2
  
Max diff block lines reached; 14444/73550 bytes (19.64%) of diff not shown.