| | | |
Offset 1, 33 lines modified | Offset 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 | #·annotations | 4 | #·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·annotation | 7 | .end·annotation |
| |
8 | .annotation·system·Ldalvik/annotation/InnerClass; | 8 | .annotation·system·Ldalvik/annotation/InnerClass; |
9 | ····accessFlags·=·0x0 | 9 | ····accessFlags·=·0x0 |
10 | ····name·=·"TetherMainSM" | 10 | ····name·=·"TetherMasterSM" |
11 | .end·annotation | 11 | .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·annotation | 24 | .end·annotation |
| |
| |
25 | #·static·fields | 25 | #·static·fields |
26 | .field·static·final·CMD_CLEAR_ERROR:I·=·0x6 | 26 | .field·static·final·CMD_CLEAR_ERROR:I·=·0x6 |
| |
Offset 57, 15 lines modified | Offset 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·annotation | 61 | ····.end·annotation |
62 | .end·field | 62 | .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 modified | Offset 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·methods | 79 | #·direct·methods |
80 | .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;Landroid/os/Looper;Lcom/android/networkstack/tethering/TetheringDependencies;)V | 80 | .method·constructor·<init>(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;Landroid/os/Looper;Lcom/android/networkstack/tethering/TetheringDependencies;)V |
81 | ····.locals·0 | 81 | ····.locals·0 |
| |
82 | ····.line·1431 | 82 | ····.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·1432 | 84 | ····.line·1429 |
85 | ····invoke-direct·{p0,·p2,·p3},·Lcom/android/networkstack/tethering/util/StateMachine;-><init>(Ljava/lang/String;Landroid/os/Looper;)V | 85 | ····invoke-direct·{p0,·p2,·p3},·Lcom/android/networkstack/tethering/util/StateMachine;-><init>(Ljava/lang/String;Landroid/os/Looper;)V |
| |
86 | ····.line·1434 | 86 | ····.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;)V | 88 | ····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·1435 | 90 | ····.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;)V | 92 | ····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·1436 | 94 | ····.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;)V | 96 | ····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·1437 | 98 | ····.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;)V | 100 | ····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·1438 | 102 | ····.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;)V | 104 | ····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·1439 | 106 | ····.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;)V | 108 | ····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·1440 | 110 | ····.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;)V | 112 | ····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·1442 | 114 | ····.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;)V | 116 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V |
| |
117 | ····.line·1443 | 117 | ····.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;)V | 119 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V |
| |
120 | ····.line·1444 | 120 | ····.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;)V | 122 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V |
| |
123 | ····.line·1445 | 123 | ····.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;)V | 125 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V |
| |
126 | ····.line·1446 | 126 | ····.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;)V | 128 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V |
| |
129 | ····.line·1447 | 129 | ····.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;)V | 131 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V |
| |
132 | ····.line·1448 | 132 | ····.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;)V | 134 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/util/StateMachine;->addState(Lcom/android/networkstack/tethering/util/State;)V |
| |
135 | ····.line·1450 | 135 | ····.line·1447 |
136 | ····new-instance·p2,·Ljava/util/ArrayList; | 136 | ····new-instance·p2,·Ljava/util/ArrayList; |
| |
137 | ····invoke-direct·{p2},·Ljava/util/ArrayList;-><init>()V | 137 | ····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·1451 | 139 | ····.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·p1 | 141 | ····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·p1 | 143 | ····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·1452 | 145 | ····.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;)V | 147 | ····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·1454 | 149 | ····.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;)V | 151 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->setInitialState(Lcom/android/networkstack/tethering/util/State;)V |
| |
152 | ····return-void | 152 | ····return-void |
153 | .end·method | 153 | .end·method |
| |
154 | .method·static·synthetic·access$3100(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;ILandroid/net/ip/IpServer;)V | 154 | .method·static·synthetic·access$3100(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;ILandroid/net/ip/IpServer;)V |
155 | ····.locals·0 | 155 | ····.locals·0 |
| |
156 | ····.line·1387 | 156 | ····.line·1384 |
157 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleInterfaceServingStateActive(ILandroid/net/ip/IpServer;)V | 157 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleInterfaceServingStateActive(ILandroid/net/ip/IpServer;)V |
| |
158 | ····return-void | 158 | ····return-void |
159 | .end·method | 159 | .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·0 | 161 | ····.locals·0 |
| |
162 | ····.line·1387 | 162 | ····.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·p0 | 164 | ····return-object·p0 |
165 | .end·method | 165 | .end·method |
| |
166 | .method·static·synthetic·access$3300(Lcom/android/networkstack/tethering/Tethering$TetherMainSM;Landroid/net/ip/IpServer;)V | 166 | .method·static·synthetic·access$3300(Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;Landroid/net/ip/IpServer;)V |
167 | ····.locals·0 | 167 | ····.locals·0 |
| |
168 | ····.line·1387 | 168 | ····.line·1384 |
169 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V | 169 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V |
| |
170 | ····return-void | 170 | ····return-void |
171 | .end·method | 171 | .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·0 | 173 | ····.locals·0 |
| |
174 | ····.line·1387 | 174 | ····.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·p0 | 176 | ····return-object·p0 |
177 | .end·method | 177 | .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·0 | 179 | ····.locals·0 |
| |
180 | ····.line·1387 | 180 | ····.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·p0 | 182 | ····return-object·p0 |
183 | .end·method | 183 | .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·0 | 185 | ····.locals·0 |
| |
186 | ····.line·1387 | 186 | ····.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·p0 | 188 | ····return-object·p0 |
189 | .end·method | 189 | .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;)V | 201 | .method·private·handleInterfaceServingStateActive(ILandroid/net/ip/IpServer;)V |
191 | ····.locals·3 | 202 | ····.locals·3 |
| |
192 | ····.line·1628 | 203 | ····.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;)I | 205 | ····invoke-virtual·{v0,·p2},·Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I |
| |
195 | ····move-result·v0 | 206 | ····move-result·v0 |
| |
196 | ····if-gez·v0,·:cond_0 | 207 | ····if-gez·v0,·:cond_0 |
| |
197 | ····.line·1629 | 208 | ····.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;)Z | 210 | ····invoke-virtual·{v0,·p2},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
| |
200 | ····.line·1630 | 211 | ····.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)V | 213 | ····invoke-virtual·{v0,·p2,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->addActiveDownstream(Landroid/net/ip/IpServer;I)V |
| |
203 | ····:cond_0 | 214 | ····:cond_0 |
204 | ····const/4·v0,·0x2 | 215 | ····const/4·v0,·0x2 |
| |
205 | ····if-ne·p1,·v0,·:cond_1 | 216 | ····if-ne·p1,·v0,·:cond_1 |
| |
206 | ····.line·1637 | 217 | ····.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·v1 | 220 | ····move-result-object·v1 |
| |
210 | ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z | 221 | ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->add(Ljava/lang/Object;)Z |
| |
211 | ····goto·:goto_0 | 222 | ····goto·:goto_0 |
| |
212 | ····.line·1639 | 223 | ····.line·1636 |
213 | ····:cond_1 | 224 | ····: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·v2 | 227 | ····move-result-object·v2 |
| |
217 | ····invoke-virtual·{v1,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V | 228 | ····invoke-virtual·{v1,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V |
| |
218 | ····.line·1640 | 229 | ····.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·v1 | 232 | ····move-result-object·v1 |
| |
222 | ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z | 233 | ····invoke-virtual·{v1,·p2},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z |
| |
223 | ····.line·1644 | 234 | ····.line·1641 |
224 | ····:goto_0 | 235 | ····:goto_0 |
225 | ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceType()I | 236 | ····invoke-virtual·{p2},·Landroid/net/ip/IpServer;->interfaceType()I |
| |
226 | ····move-result·v1 | 237 | ····move-result·v1 |
| |
227 | ····if-nez·v1,·:cond_4 | 238 | ····if-nez·v1,·:cond_4 |
| |
228 | ····.line·1645 | 239 | ····.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·p0 | 242 | ····move-result-object·p0 |
| |
232 | ····.line·1646 | 243 | ····.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·p2 | 245 | ····move-result-object·p2 |
| |
235 | ····if-eq·p1,·v0,·:cond_3 | 246 | ····if-eq·p1,·v0,·:cond_3 |
| |
236 | ····const/4·v1,·0x3 | 247 | ····const/4·v1,·0x3 |
| |
237 | ····if-eq·p1,·v1,·:cond_2 | 248 | ····if-eq·p1,·v1,·:cond_2 |
| |
238 | ····.line·1655 | 249 | ····.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·p0 | 251 | ····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>()V | 253 | ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V |
Offset 361, 163 lines modified | Offset 380, 180 lines modified |
| |
361 | ····move-result-object·p1 | 380 | ····move-result-object·p1 |
| |
362 | ····invoke-static·{p0,·p1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I | 381 | ····invoke-static·{p0,·p1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I |
| |
363 | ····goto·:goto_1 | 382 | ····goto·:goto_1 |
| |
364 | ····.line·1652 | 383 | ····.line·1649 |
365 | ····:cond_2 | 384 | ····:cond_2 |
366 | ····invoke-virtual·{p0,·p2,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V | 385 | ····invoke-virtual·{p0,·p2,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V |
| |
367 | ····goto·:goto_1 | 386 | ····goto·:goto_1 |
| |
368 | ····:cond_3 | 387 | ····:cond_3 |
369 | ····const/4·p1,·0x1 | 388 | ····const/4·p1,·0x1 |
| |
370 | ····.line·1649 | 389 | ····.line·1646 |
371 | ····invoke-virtual·{p0,·p2,·p1},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V | 390 | ····invoke-virtual·{p0,·p2,·p1},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V |
| |
372 | ····:cond_4 | 391 | ····:cond_4 |
373 | ····:goto_1 | 392 | ····:goto_1 |
374 | ····return-void | 393 | ····return-void |
375 | .end·method | 394 | .end·method |
| |
376 | .method·private·handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V | 395 | .method·private·handleInterfaceServingStateInactive(Landroid/net/ip/IpServer;)V |
377 | ····.locals·2 | 396 | ····.locals·2 |
| |
378 | ····.line·1662 | 397 | ····.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;)Z | 399 | ····invoke-virtual·{v0,·p1},·Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z |
| |
381 | ····.line·1663 | 400 | ····.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;)V | 402 | ····invoke-virtual·{v0,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->removeActiveDownstream(Landroid/net/ip/IpServer;)V |
| |
384 | ····.line·1664 | 403 | ····.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·v1 | 406 | ····move-result-object·v1 |
| |
388 | ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V | 407 | ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->excludeDownstreamInterface(Ljava/lang/String;)V |
| |
389 | ····.line·1665 | 408 | ····.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·v0 | 411 | ····move-result-object·v0 |
| |
393 | ····invoke-virtual·{v0,·p1},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z | 412 | ····invoke-virtual·{v0,·p1},·Ljava/util/LinkedHashSet;->remove(Ljava/lang/Object;)Z |
| |
394 | ····.line·1666 | 413 | ····.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,·0x0 | 415 | ····const/4·v1,·0x0 |
| |
397 | ····invoke-static·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$1200(Lcom/android/networkstack/tethering/Tethering;Ljava/util/List;)V | 416 | ····invoke-static·{v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->access$1200(Lcom/android/networkstack/tethering/Tethering;Ljava/util/List;)V |
| |
398 | ····.line·1670 | 417 | ····.line·1667 |
399 | ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceType()I | 418 | ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->interfaceType()I |
| |
400 | ····move-result·v0 | 419 | ····move-result·v0 |
| |
401 | ····if-nez·v0,·:cond_1 | 420 | ····if-nez·v0,·:cond_1 |
| |
402 | ····.line·1671 | 421 | ····.line·1668 |
403 | ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->lastError()I | 422 | ····invoke-virtual·{p1},·Landroid/net/ip/IpServer;->lastError()I |
| |
404 | ····move-result·v0 | 423 | ····move-result·v0 |
| |
405 | ····if-eqz·v0,·:cond_0 | 424 | ····if-eqz·v0,·:cond_0 |
| |
406 | ····.line·1672 | 425 | ····.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·p0 | 428 | ····move-result-object·p0 |
| |
410 | ····.line·1673 | 429 | ····.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·p1 | 431 | ····move-result-object·p1 |
| |
413 | ····const/4·v0,·0x0 | 432 | ····const/4·v0,·0x0 |
| |
414 | ····.line·1672 | 433 | ····.line·1669 |
415 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V | 434 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V |
| |
416 | ····goto·:goto_0 | 435 | ····goto·:goto_0 |
| |
417 | ····.line·1675 | 436 | ····.line·1672 |
418 | ····:cond_0 | 437 | ····: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·p0 | 440 | ····move-result-object·p0 |
| |
422 | ····.line·1676 | 441 | ····.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·p1 | 443 | ····move-result-object·p1 |
| |
425 | ····const/4·v0,·-0x1 | 444 | ····const/4·v0,·-0x1 |
| |
426 | ····.line·1675 | 445 | ····.line·1672 |
427 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V | 446 | ····invoke-virtual·{p0,·p1,·v0},·Landroid/net/wifi/WifiManager;->updateInterfaceIpState(Ljava/lang/String;I)V |
| |
428 | ····:cond_1 | 447 | ····:cond_1 |
429 | ····:goto_0 | 448 | ····:goto_0 |
430 | ····return-void | 449 | ····return-void |
431 | .end·method | 450 | .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·methods | 461 | #·virtual·methods |
433 | .method·protected·chooseUpstreamType(Z)V | 462 | .method·protected·chooseUpstreamType(Z)V |
434 | ····.locals·3 | 463 | ····.locals·3 |
| |
435 | ····.line·1539 | 464 | ····.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;)V | 466 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/Tethering;->access$3500(Lcom/android/networkstack/tethering/Tethering;)V |
| |
438 | ····.line·1541 | 467 | ····.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·v0 | 470 | ····move-result-object·v0 |
| |
442 | ····.line·1542 | 471 | ····.line·1539 |
443 | ····iget-boolean·v1,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->chooseUpstreamAutomatically:Z | 472 | ····iget-boolean·v1,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->chooseUpstreamAutomatically:Z |
| |
444 | ····if-eqz·v1,·:cond_0 | 473 | ····if-eqz·v1,·:cond_0 |
| |
445 | ····.line·1543 | 474 | ····.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·v0 | 477 | ····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·v0 | 479 | ····move-result-object·v0 |
| |
451 | ····goto·:goto_0 | 480 | ····goto·:goto_0 |
| |
452 | ····.line·1544 | 481 | ····.line·1541 |
453 | ····:cond_0 | 482 | ····: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·v1 | 485 | ····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 modified | Offset 562, 150 lines modified |
526 | ····move-result-object·v0 | 562 | ····move-result-object·v0 |
| |
527 | ····:goto_0 | 563 | ····:goto_0 |
528 | ····if-nez·v0,·:cond_2 | 564 | ····if-nez·v0,·:cond_2 |
| |
529 | ····if-eqz·p1,·:cond_1 | 565 | ····if-eqz·p1,·:cond_1 |
| |
530 | ····.line·1548 | 566 | ····.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·p1 | 569 | ····move-result-object·p1 |
| |
534 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->registerMobileNetworkRequest()V | 570 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->registerMobileNetworkRequest()V |
| |
535 | ····goto·:goto_1 | 571 | ····goto·:goto_1 |
| |
536 | ····:cond_1 | 572 | ····:cond_1 |
537 | ····const/4·p1,·0x4 | 573 | ····const/4·p1,·0x4 |
| |
538 | ····const-wide/16·v1,·0x2710 | 574 | ····const-wide/16·v1,·0x2710 |
| |
539 | ····.line·1551 | 575 | ····.line·1548 |
540 | ····invoke-virtual·{p0,·p1,·v1,·v2},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessageDelayed(IJ)V | 576 | ····invoke-virtual·{p0,·p1,·v1,·v2},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessageDelayed(IJ)V |
| |
541 | ····.line·1554 | 577 | ····.line·1551 |
542 | ····:cond_2 | 578 | ····:cond_2 |
543 | ····:goto_1 | 579 | ····:goto_1 |
544 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V | 580 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
| |
545 | ····if-eqz·v0,·:cond_3 | 581 | ····if-eqz·v0,·:cond_3 |
| |
546 | ····.line·1555 | 582 | ····.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_2 | 584 | ····goto·:goto_2 |
| |
549 | ····:cond_3 | 585 | ····:cond_3 |
550 | ····const/4·p1,·0x0 | 586 | ····const/4·p1,·0x0 |
| |
551 | ····.line·1556 | 587 | ····.line·1553 |
552 | ····:goto_2 | 588 | ····: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·v1 | 591 | ····move-result-object·v1 |
| |
556 | ····if-eq·v1,·p1,·:cond_4 | 592 | ····if-eq·v1,·p1,·:cond_4 |
| |
557 | ····.line·1557 | 593 | ····.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·1558 | 596 | ····.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·p1 | 599 | ····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·v1 | 602 | ····move-result-object·v1 |
| |
567 | ····invoke-virtual·{p1,·v1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->setCurrentUpstream(Landroid/net/Network;)V | 603 | ····invoke-virtual·{p1,·v1},·Lcom/android/networkstack/tethering/UpstreamNetworkMonitor;->setCurrentUpstream(Landroid/net/Network;)V |
| |
568 | ····.line·1559 | 604 | ····.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;)V | 606 | ····invoke-static·{p0,·v0},·Lcom/android/networkstack/tethering/Tethering;->access$3800(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
| |
571 | ····:cond_4 | 607 | ····:cond_4 |
572 | ····return-void | 608 | ····return-void |
573 | .end·method | 609 | .end·method |
| |
574 | .method·protected·handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V | 610 | .method·protected·handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
575 | ····.locals·1 | 611 | ····.locals·1 |
| |
576 | ····.line·1623 | 612 | ····.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;)V | 614 | ····invoke-virtual·{v0,·p1},·Lcom/android/networkstack/tethering/IPv6TetheringCoordinator;->updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
| |
579 | ····.line·1624 | 615 | ····.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;)V | 617 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->updateUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
| |
582 | ····return-void | 618 | ····return-void |
583 | .end·method | 619 | .end·method |
| |
584 | .method·handleUpstreamNetworkMonitorCallback(ILjava/lang/Object;)V | 620 | .method·handleUpstreamNetworkMonitorCallback(ILjava/lang/Object;)V |
585 | ····.locals·4 | 621 | ····.locals·4 |
| |
586 | ····const/16·v0,·0xa | 622 | ····const/16·v0,·0xa |
| |
587 | ····if-ne·p1,·v0,·:cond_0 | 623 | ····if-ne·p1,·v0,·:cond_0 |
| |
588 | ····.line·1684 | 624 | ····.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;)V | 627 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM$OffloadWrapper;->sendOffloadExemptPrefixes(Ljava/util/Set;)V |
| |
592 | ····return-void | 628 | ····return-void |
| |
593 | ····.line·1688 | 629 | ····.line·1693 |
594 | ····:cond_0 | 630 | ····:cond_0 |
595 | ····check-cast·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState; | 631 | ····check-cast·p2,·Lcom/android/networkstack/tethering/UpstreamNetworkState; |
| |
596 | ····const/4·v0,·0x3 | 632 | ····const/4·v0,·0x3 |
| |
597 | ····const/4·v1,·0x2 | 633 | ····const/4·v1,·0x2 |
| |
598 | ····if-eq·p1,·v1,·:cond_2 | 634 | ····if-eq·p1,·v1,·:cond_2 |
| |
599 | ····if-eq·p1,·v0,·:cond_1 | 635 | ····if-eq·p1,·v0,·:cond_1 |
| |
600 | ····goto·:goto_0 | 636 | ····goto·:goto_0 |
| |
601 | ····.line·1694 | 637 | ····.line·1699 |
602 | ····:cond_1 | 638 | ····: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_0 | 640 | ····goto·:goto_0 |
| |
609 | ····.line·1691 | 641 | ····.line·1696 |
610 | ····:cond_2 | 642 | ····: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;)V | 643 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->addUpstreamPrefixes(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
| |
615 | ····:goto_0 | 644 | ····:goto_0 |
616 | ····const/4·v2,·0x0 | 645 | ····const/4·v2,·0x0 |
| |
617 | ····if-eqz·p2,·:cond_8 | 646 | ····if-eqz·p2,·:cond_8 |
| |
618 | ····.line·1698 | 647 | ····.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;)Z | 649 | ····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·v3 | 650 | ····move-result·v3 |
| |
622 | ····if-nez·v3,·:cond_3 | 651 | ····if-nez·v3,·:cond_3 |
| |
Offset 694, 16 lines modified | Offset 716, 16 lines modified |
| |
694 | ····if-eq·p1,·v3,·:cond_6 | 716 | ····if-eq·p1,·v3,·:cond_6 |
| |
695 | ····if-eq·p1,·v1,·:cond_5 | 717 | ····if-eq·p1,·v1,·:cond_5 |
| |
696 | ····if-eq·p1,·v0,·:cond_4 | 718 | ····if-eq·p1,·v0,·:cond_4 |
| |
697 | ····.line·1732 | 719 | ····.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·p0 | 722 | ····move-result-object·p0 |
| |
701 | ····new-instance·p2,·Ljava/lang/StringBuilder; | 723 | ····new-instance·p2,·Ljava/lang/StringBuilder; |
| |
Offset 722, 87 lines modified | Offset 744, 87 lines modified |
722 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V | 744 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V |
| |
723 | ····goto·:goto_1 | 745 | ····goto·:goto_1 |
| |
724 | ····:cond_4 | 746 | ····:cond_4 |
725 | ····const/4·p1,·0x0 | 747 | ····const/4·p1,·0x0 |
| |
726 | ····.line·1729 | 748 | ····.line·1734 |
727 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V | 749 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
| |
728 | ····goto·:goto_1 | 750 | ····goto·:goto_1 |
| |
729 | ····.line·1722 | 751 | ····.line·1727 |
730 | ····:cond_5 | 752 | ····:cond_5 |
731 | ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->chooseUpstreamType(Z)V | 753 | ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->chooseUpstreamType(Z)V |
| |
732 | ····goto·:goto_1 | 754 | ····goto·:goto_1 |
| |
733 | ····.line·1716 | 755 | ····.line·1721 |
734 | ····:cond_6 | 756 | ····: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·v0 | 760 | ····move-result-object·v0 |
| |
739 | ····invoke-virtual·{p1,·v0},·Landroid/net/Network;->equals(Ljava/lang/Object;)Z | 761 | ····invoke-virtual·{p1,·v0},·Landroid/net/Network;->equals(Ljava/lang/Object;)Z |
| |
740 | ····move-result·p1 | 762 | ····move-result·p1 |
| |
741 | ····if-eqz·p1,·:cond_7 | 763 | ····if-eqz·p1,·:cond_7 |
| |
742 | ····.line·1717 | 764 | ····.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·p1 | 767 | ····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;)V | 769 | ····invoke-virtual·{p1,·v0},·Lcom/android/networkstack/tethering/TetheringNotificationUpdater;->onUpstreamCapabilitiesChanged(Landroid/net/NetworkCapabilities;)V |
| |
748 | ····.line·1719 | 770 | ····.line·1724 |
749 | ····:cond_7 | 771 | ····:cond_7 |
750 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V | 772 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->handleNewUpstreamNetworkState(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
| |
751 | ····:goto_1 | 773 | ····:goto_1 |
752 | ····return-void | 774 | ····return-void |
| |
753 | ····.line·1704 | 775 | ····.line·1709 |
754 | ····:cond_8 | 776 | ····:cond_8 |
755 | ····:goto_2 | 777 | ····: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·p1 | 780 | ····move-result-object·p1 |
| |
759 | ····if-nez·p1,·:cond_9 | 781 | ····if-nez·p1,·:cond_9 |
| |
760 | ····.line·1709 | 782 | ····.line·1714 |
761 | ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->chooseUpstreamType(Z)V | 783 | ····invoke-virtual·{p0,·v2},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->chooseUpstreamType(Z)V |
| |
762 | ····:cond_9 | 784 | ····:cond_9 |
763 | ····return-void | 785 | ····return-void |
764 | .end·method | 786 | .end·method |
| |
765 | .method·protected·notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V | 787 | .method·protected·notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V |
766 | ····.locals·2 | 788 | ····.locals·2 |
| |
767 | ····.line·1616 | 789 | ····.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·1617 | 792 | ····.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·p0 | 795 | ····move-result-object·p0 |
| |
774 | ····:goto_0 | 796 | ····:goto_0 |
775 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z | 797 | ····invoke-interface·{p0},·Ljava/util/Iterator;->hasNext()Z |
Offset 815, 50 lines modified | Offset 837, 50 lines modified |
| |
815 | ····move-result-object·v0 | 837 | ····move-result-object·v0 |
| |
816 | ····check-cast·v0,·Landroid/net/ip/IpServer; | 838 | ····check-cast·v0,·Landroid/net/ip/IpServer; |
| |
817 | ····const/16·v1,·0x6d | 839 | ····const/16·v1,·0x6d |
| |
818 | ····.line·1618 | 840 | ····.line·1615 |
819 | ····invoke-virtual·{v0,·v1,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V | 841 | ····invoke-virtual·{v0,·v1,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(ILjava/lang/Object;)V |
| |
820 | ····goto·:goto_0 | 842 | ····goto·:goto_0 |
| |
821 | ····:cond_0 | 843 | ····:cond_0 |
822 | ····return-void | 844 | ····return-void |
823 | .end·method | 845 | .end·method |
| |
824 | .method·protected·setDnsForwarders(Landroid/net/Network;Landroid/net/LinkProperties;)V | 846 | .method·protected·setDnsForwarders(Landroid/net/Network;Landroid/net/LinkProperties;)V |
825 | ····.locals·5 | 847 | ····.locals·5 |
| |
826 | ····.line·1589 | 848 | ····.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·p2 | 850 | ····move-result-object·p2 |
| |
829 | ····const/4·v0,·0x0 | 851 | ····const/4·v0,·0x0 |
| |
830 | ····if-eqz·p2,·:cond_0 | 852 | ····if-eqz·p2,·:cond_0 |
| |
831 | ····.line·1592 | 853 | ····.line·1589 |
832 | ····invoke-interface·{p2},·Ljava/util/Collection;->isEmpty()Z | 854 | ····invoke-interface·{p2},·Ljava/util/Collection;->isEmpty()Z |
| |
833 | ····move-result·v1 | 855 | ····move-result·v1 |
| |
834 | ····if-nez·v1,·:cond_0 | 856 | ····if-nez·v1,·:cond_0 |
| |
835 | ····.line·1593 | 857 | ····.line·1590 |
836 | ····invoke-interface·{p2},·Ljava/util/Collection;->size()I | 858 | ····invoke-interface·{p2},·Ljava/util/Collection;->size()I |
| |
837 | ····move-result·v1 | 859 | ····move-result·v1 |
| |
838 | ····new-array·v1,·v1,·[Ljava/lang/String; | 860 | ····new-array·v1,·v1,·[Ljava/lang/String; |
| |
839 | ····.line·1595 | 861 | ····.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·p2 | 863 | ····move-result-object·p2 |
| |
842 | ····move·v2,·v0 | 864 | ····move·v2,·v0 |
| |
843 | ····:goto_0 | 865 | ····:goto_0 |
Offset 872, 100 lines modified | Offset 894, 100 lines modified |
| |
872 | ····move-result-object·v3 | 894 | ····move-result-object·v3 |
| |
873 | ····check-cast·v3,·Ljava/net/InetAddress; | 895 | ····check-cast·v3,·Ljava/net/InetAddress; |
| |
874 | ····add-int/lit8·v4,·v2,·0x1 | 896 | ····add-int/lit8·v4,·v2,·0x1 |
| |
875 | ····.line·1596 | 897 | ····.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·v3 | 899 | ····move-result-object·v3 |
| |
878 | ····aput-object·v3,·v1,·v2 | 900 | ····aput-object·v3,·v1,·v2 |
| |
879 | ····move·v2,·v4 | 901 | ····move·v2,·v4 |
| |
880 | ····goto·:goto_0 | 902 | ····goto·:goto_0 |
| |
881 | ····.line·1599 | 903 | ····.line·1596 |
882 | ····:cond_0 | 904 | ····: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·p2 | 907 | ····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_1 | 909 | ····:cond_1 |
888 | ····if-eqz·p1,·:cond_2 | 910 | ····if-eqz·p1,·:cond_2 |
| |
889 | ····.line·1601 | 911 | ····.line·1598 |
890 | ····invoke-virtual·{p1},·Landroid/net/Network;->getNetId()I | 912 | ····invoke-virtual·{p1},·Landroid/net/Network;->getNetId()I |
| |
891 | ····move-result·p2 | 913 | ····move-result·p2 |
| |
892 | ····goto·:goto_1 | 914 | ····goto·:goto_1 |
| |
893 | ····:cond_2 | 915 | ····:cond_2 |
894 | ····move·p2,·v0 | 916 | ····move·p2,·v0 |
| |
895 | ····.line·1603 | 917 | ····.line·1600 |
896 | ····:goto_1 | 918 | ····:goto_1 |
897 | ····:try_start_0 | 919 | ····: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·v2 | 922 | ····move-result-object·v2 |
| |
901 | ····invoke-interface·{v2,·p2,·v1},·Landroid/net/INetd;->tetherDnsSet(I[Ljava/lang/String;)V | 923 | ····invoke-interface·{v2,·p2,·v1},·Landroid/net/INetd;->tetherDnsSet(I[Ljava/lang/String;)V |
| |
902 | ····.line·1604 | 924 | ····.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·p2 | 927 | ····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,·0x2 | 929 | ····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,·v0 | 931 | ····aput-object·p1,·v3,·v0 |
| |
910 | ····.line·1606 | 932 | ····.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·p1 | 934 | ····move-result-object·p1 |
| |
913 | ····const/4·v0,·0x1 | 935 | ····const/4·v0,·0x1 |
| |
914 | ····aput-object·p1,·v3,·v0 | 936 | ····aput-object·p1,·v3,·v0 |
| |
915 | ····.line·1604 | 937 | ····.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·p1 | 939 | ····move-result-object·p1 |
| |
918 | ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V | 940 | ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
919 | ····:try_end_0 | 941 | ····:try_end_0 |
920 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 | 942 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 |
921 | ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0 | 943 | ····.catch·Landroid/os/ServiceSpecificException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
922 | ····goto·:goto_2 | 944 | ····goto·:goto_2 |
| |
923 | ····:catch_0 | 945 | ····:catch_0 |
924 | ····move-exception·p1 | 946 | ····move-exception·p1 |
| |
925 | ····.line·1610 | 947 | ····.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·p2 | 950 | ····move-result-object·p2 |
| |
929 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 951 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
Offset 979, 32 lines modified | Offset 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·p1 | 1002 | ····move-result-object·p1 |
| |
981 | ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V | 1003 | ····invoke-virtual·{p2,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V |
| |
982 | ····.line·1611 | 1004 | ····.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;)V | 1006 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/util/StateMachine;->transitionTo(Lcom/android/networkstack/tethering/util/IState;)V |
| |
985 | ····:goto_2 | 1007 | ····:goto_2 |
986 | ····return-void | 1008 | ····return-void |
987 | .end·method | 1009 | .end·method |
| |
988 | .method·protected·setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V | 1010 | .method·protected·setUpstreamNetwork(Lcom/android/networkstack/tethering/UpstreamNetworkState;)V |
989 | ····.locals·5 | 1011 | ····.locals·5 |
| |
990 | ····const/4·v0,·0x0 | 1012 | ····const/4·v0,·0x0 |
| |
991 | ····if-eqz·p1,·:cond_0 | 1013 | ····if-eqz·p1,·:cond_0 |
| |
992 | ····.line·1569 | 1014 | ····.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·v1 | 1017 | ····move-result-object·v1 |
| |
996 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 1018 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
| |
Offset 1020, 21 lines modified | Offset 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·v2 | 1043 | ····move-result-object·v2 |
| |
1022 | ····invoke-virtual·{v1,·v2},·Landroid/net/util/SharedLog;->i(Ljava/lang/String;)V | 1044 | ····invoke-virtual·{v1,·v2},·Landroid/net/util/SharedLog;->i(Ljava/lang/String;)V |
| |
1023 | ····.line·1570 | 1045 | ····.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·v1 | 1047 | ····move-result-object·v1 |
| |
1026 | ····.line·1571 | 1048 | ····.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·v2 | 1051 | ····move-result-object·v2 |
| |
1030 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 1052 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
| |
Offset 1056, 281 lines modified | Offset 1078, 281 lines modified |
| |
1056 | ····:cond_0 | 1078 | ····:cond_0 |
1057 | ····move-object·v1,·v0 | 1079 | ····move-object·v1,·v0 |
| |
1058 | ····:goto_0 | 1080 | ····:goto_0 |
1059 | ····if-eqz·v1,·:cond_1 | 1081 | ····if-eqz·v1,·:cond_1 |
| |
1060 | ····.line·1575 | 1082 | ····.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;)V | 1085 | ····invoke-virtual·{p0,·v2,·v3},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->setDnsForwarders(Landroid/net/Network;Landroid/net/LinkProperties;)V |
| |
1064 | ····.line·1577 | 1086 | ····.line·1574 |
1065 | ····:cond_1 | 1087 | ····:cond_1 |
1066 | ····invoke-virtual·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;->notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V | 1088 | ····invoke-virtual·{p0,·v1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;->notifyDownstreamsOfNewUpstreamIface(Landroid/net/util/InterfaceSet;)V |
| |
1067 | ····if-eqz·p1,·:cond_2 | 1089 | ····if-eqz·p1,·:cond_2 |
| |
Max diff block lines reached; 14444/73550 bytes (19.64%) of diff not shown.
|