| | | |
Offset 2, 15 lines modified | Offset 2, 15 lines modified |
2 | .super·Ljava/lang/Object; | 2 | .super·Ljava/lang/Object; |
3 | .source·"Tethering.java" | 3 | .source·"Tethering.java" |
| |
| |
4 | #·annotations | 4 | #·annotations |
5 | .annotation·system·Ldalvik/annotation/MemberClasses; | 5 | .annotation·system·Ldalvik/annotation/MemberClasses; |
6 | ····value·=·{ | 6 | ····value·=·{ |
7 | ········Lcom/android/networkstack/tethering/Tethering$TetherMainSM;, | 7 | ········Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;, |
8 | ········Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;, | 8 | ········Lcom/android/networkstack/tethering/Tethering$UserRestrictionActionListener;, |
9 | ········Lcom/android/networkstack/tethering/Tethering$StateReceiver;, | 9 | ········Lcom/android/networkstack/tethering/Tethering$StateReceiver;, |
10 | ········Lcom/android/networkstack/tethering/Tethering$EthernetCallback;, | 10 | ········Lcom/android/networkstack/tethering/Tethering$EthernetCallback;, |
11 | ········Lcom/android/networkstack/tethering/Tethering$TetheringSoftApCallback;, | 11 | ········Lcom/android/networkstack/tethering/Tethering$TetheringSoftApCallback;, |
12 | ········Lcom/android/networkstack/tethering/Tethering$NetdCallback;, | 12 | ········Lcom/android/networkstack/tethering/Tethering$NetdCallback;, |
13 | ········Lcom/android/networkstack/tethering/Tethering$ActiveDataSubIdListener;, | 13 | ········Lcom/android/networkstack/tethering/Tethering$ActiveDataSubIdListener;, |
14 | ········Lcom/android/networkstack/tethering/Tethering$TetheringThreadExecutor;, | 14 | ········Lcom/android/networkstack/tethering/Tethering$TetheringThreadExecutor;, |
Offset 107, 15 lines modified | Offset 107, 15 lines modified |
| |
107 | .field·private·final·mPublicSync:Ljava/lang/Object; | 107 | .field·private·final·mPublicSync:Ljava/lang/Object; |
| |
108 | .field·private·mRndisEnabled:Z | 108 | .field·private·mRndisEnabled:Z |
| |
109 | .field·private·final·mStateReceiver:Landroid/content/BroadcastReceiver; | 109 | .field·private·final·mStateReceiver:Landroid/content/BroadcastReceiver; |
| |
110 | .field·private·final·mTetherMainSM:Lcom/android/networkstack/tethering/util/StateMachine; | 110 | .field·private·final·mTetherMasterSM:Lcom/android/networkstack/tethering/util/StateMachine; |
| |
111 | .field·private·final·mTetherStates:Landroid/util/ArrayMap; | 111 | .field·private·final·mTetherStates:Landroid/util/ArrayMap; |
112 | ····.annotation·system·Ldalvik/annotation/Signature; | 112 | ····.annotation·system·Ldalvik/annotation/Signature; |
113 | ········value·=·{ | 113 | ········value·=·{ |
114 | ············"Landroid/util/ArrayMap<", | 114 | ············"Landroid/util/ArrayMap<", |
115 | ············"Ljava/lang/String;", | 115 | ············"Ljava/lang/String;", |
116 | ············"Lcom/android/networkstack/tethering/Tethering$TetherState;", | 116 | ············"Lcom/android/networkstack/tethering/Tethering$TetherState;", |
Offset 162, 15 lines modified | Offset 162, 15 lines modified |
162 | ····.line·161 | 162 | ····.line·161 |
163 | ····const-class·v2,·Lcom/android/networkstack/tethering/Tethering; | 163 | ····const-class·v2,·Lcom/android/networkstack/tethering/Tethering; |
| |
164 | ····aput-object·v2,·v0,·v1 | 164 | ····aput-object·v2,·v0,·v1 |
| |
165 | ····const/4·v1,·0x1 | 165 | ····const/4·v1,·0x1 |
| |
166 | ····const-class·v2,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 166 | ····const-class·v2,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
167 | ····aput-object·v2,·v0,·v1 | 167 | ····aput-object·v2,·v0,·v1 |
| |
168 | ····const/4·v1,·0x2 | 168 | ····const/4·v1,·0x2 |
| |
169 | ····const-class·v2,·Landroid/net/ip/IpServer; | 169 | ····const-class·v2,·Landroid/net/ip/IpServer; |
| |
Offset 299, 29 lines modified | Offset 299, 29 lines modified |
299 | ····new-instance·v0,·Lcom/android/networkstack/tethering/ConnectedClientsTracker; | 299 | ····new-instance·v0,·Lcom/android/networkstack/tethering/ConnectedClientsTracker; |
| |
300 | ····invoke-direct·{v0},·Lcom/android/networkstack/tethering/ConnectedClientsTracker;-><init>()V | 300 | ····invoke-direct·{v0},·Lcom/android/networkstack/tethering/ConnectedClientsTracker;-><init>()V |
| |
301 | ····iput-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConnectedClientsTracker:Lcom/android/networkstack/tethering/ConnectedClientsTracker; | 301 | ····iput-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConnectedClientsTracker:Lcom/android/networkstack/tethering/ConnectedClientsTracker; |
| |
302 | ····.line·276 | 302 | ····.line·276 |
303 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMainSM; | 303 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM; |
| |
304 | ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLooper:Landroid/os/Looper; | 304 | ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLooper:Landroid/os/Looper; |
| |
305 | ····const-string·v3,·"TetherMain" | 305 | ····const-string·v3,·"TetherMaster" |
| |
306 | ····invoke-direct·{v0,·p0,·v3,·v2,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMainSM;-><init>(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;Landroid/os/Looper;Lcom/android/networkstack/tethering/TetheringDependencies;)V | 306 | ····invoke-direct·{v0,·p0,·v3,·v2,·p1},·Lcom/android/networkstack/tethering/Tethering$TetherMasterSM;-><init>(Lcom/android/networkstack/tethering/Tethering;Ljava/lang/String;Landroid/os/Looper;Lcom/android/networkstack/tethering/TetheringDependencies;)V |
| |
307 | ····iput-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMainSM:Lcom/android/networkstack/tethering/util/StateMachine; | 307 | ····iput-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMasterSM:Lcom/android/networkstack/tethering/util/StateMachine; |
| |
308 | ····.line·277 | 308 | ····.line·277 |
309 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/util/StateMachine;->start()V | 309 | ····invoke-virtual·{v0},·Lcom/android/networkstack/tethering/util/StateMachine;->start()V |
| |
310 | ····.line·279 | 310 | ····.line·279 |
311 | ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMainSM:Lcom/android/networkstack/tethering/util/StateMachine; | 311 | ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMasterSM:Lcom/android/networkstack/tethering/util/StateMachine; |
| |
312 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; | 312 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/util/StateMachine;->getHandler()Landroid/os/Handler; |
| |
313 | ····move-result-object·p1 | 313 | ····move-result-object·p1 |
| |
314 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mHandler:Landroid/os/Handler; | 314 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mHandler:Landroid/os/Handler; |
| |
Offset 341, 15 lines modified | Offset 341, 15 lines modified |
341 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mOffloadController:Lcom/android/networkstack/tethering/OffloadController; | 341 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mOffloadController:Lcom/android/networkstack/tethering/OffloadController; |
| |
342 | ····.line·288 | 342 | ····.line·288 |
343 | ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mDeps:Lcom/android/networkstack/tethering/TetheringDependencies; | 343 | ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mDeps:Lcom/android/networkstack/tethering/TetheringDependencies; |
| |
344 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; | 344 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; |
| |
345 | ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMainSM:Lcom/android/networkstack/tethering/util/StateMachine; | 345 | ····iget-object·v2,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMasterSM:Lcom/android/networkstack/tethering/util/StateMachine; |
| |
346 | ····iget-object·v3,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 346 | ····iget-object·v3,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
347 | ····const/4·v4,·0x5 | 347 | ····const/4·v4,·0x5 |
| |
348 | ····invoke-virtual·{p1,·v0,·v2,·v3,·v4},·Lcom/android/networkstack/tethering/TetheringDependencies;->getUpstreamNetworkMonitor(Landroid/content/Context;Lcom/android/networkstack/tethering/util/StateMachine;Landroid/net/util/SharedLog;I)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor; | 348 | ····invoke-virtual·{p1,·v0,·v2,·v3,·v4},·Lcom/android/networkstack/tethering/TetheringDependencies;->getUpstreamNetworkMonitor(Landroid/content/Context;Lcom/android/networkstack/tethering/util/StateMachine;Landroid/net/util/SharedLog;I)Lcom/android/networkstack/tethering/UpstreamNetworkMonitor; |
| |
Offset 478, 44 lines modified | Offset 478, 40 lines modified |
478 | ····.line·322 | 478 | ····.line·322 |
479 | ····new-instance·p1,·Lcom/android/networkstack/tethering/Tethering$NetdCallback; | 479 | ····new-instance·p1,·Lcom/android/networkstack/tethering/Tethering$NetdCallback; |
| |
480 | ····invoke-direct·{p1,·p0,·v1},·Lcom/android/networkstack/tethering/Tethering$NetdCallback;-><init>(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/Tethering$1;)V | 480 | ····invoke-direct·{p1,·p0,·v1},·Lcom/android/networkstack/tethering/Tethering$NetdCallback;-><init>(Lcom/android/networkstack/tethering/Tethering;Lcom/android/networkstack/tethering/Tethering$1;)V |
| |
481 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mNetdCallback:Lcom/android/networkstack/tethering/Tethering$NetdCallback; | 481 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mNetdCallback:Lcom/android/networkstack/tethering/Tethering$NetdCallback; |
| |
482 | ····.line·325 | 482 | ····.line·323 |
| 483 | ····new-instance·p1,·Lcom/android/networkstack/tethering/PrivateAddressCoordinator; |
483 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->updateConfiguration()V | |
| |
484 | ····.line·329 | |
485 | ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mDeps:Lcom/android/networkstack/tethering/TetheringDependencies; | |
| |
486 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; | 484 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; |
| |
| 485 | ····invoke-direct·{p1,·v0},·Lcom/android/networkstack/tethering/PrivateAddressCoordinator;-><init>(Landroid/content/Context;)V |
487 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | |
| |
488 | ····invoke-virtual·{p1,·v0,·v1},·Lcom/android/networkstack/tethering/TetheringDependencies;->getPrivateAddressCoordinator(Landroid/content/Context;Lcom/android/networkstack/tethering/TetheringConfiguration;)Lcom/android/networkstack/tethering/PrivateAddressCoordinator; | |
| |
489 | ····move-result-object·p1 | |
| |
490 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mPrivateAddressCoordinator:Lcom/android/networkstack/tethering/PrivateAddressCoordinator; | 486 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mPrivateAddressCoordinator:Lcom/android/networkstack/tethering/PrivateAddressCoordinator; |
| |
| 487 | ····.line·326 |
| 488 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->updateConfiguration()V |
| |
491 | ····.line·333 | 489 | ····.line·330 |
492 | ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mDeps:Lcom/android/networkstack/tethering/TetheringDependencies; | 490 | ····iget-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mDeps:Lcom/android/networkstack/tethering/TetheringDependencies; |
| |
493 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$2; | 491 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$2; |
| |
494 | ····invoke-direct·{v0,·p0},·Lcom/android/networkstack/tethering/Tethering$2;-><init>(Lcom/android/networkstack/tethering/Tethering;)V | 492 | ····invoke-direct·{v0,·p0},·Lcom/android/networkstack/tethering/Tethering$2;-><init>(Lcom/android/networkstack/tethering/Tethering;)V |
| |
495 | ····invoke-virtual·{p1,·v0},·Lcom/android/networkstack/tethering/TetheringDependencies;->getBpfCoordinator(Lcom/android/networkstack/tethering/BpfCoordinator$Dependencies;)Lcom/android/networkstack/tethering/BpfCoordinator; | 493 | ····invoke-virtual·{p1,·v0},·Lcom/android/networkstack/tethering/TetheringDependencies;->getBpfCoordinator(Lcom/android/networkstack/tethering/BpfCoordinator$Dependencies;)Lcom/android/networkstack/tethering/BpfCoordinator; |
| |
496 | ····move-result-object·p1 | 494 | ····move-result-object·p1 |
| |
497 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mBpfCoordinator:Lcom/android/networkstack/tethering/BpfCoordinator; | 495 | ····iput-object·p1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mBpfCoordinator:Lcom/android/networkstack/tethering/BpfCoordinator; |
| |
498 | ····.line·361 | 496 | ····.line·358 |
499 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->startStateMachineUpdaters()V | 497 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->startStateMachineUpdaters()V |
| |
500 | ····return-void | 498 | ····return-void |
501 | .end·method | 499 | .end·method |
| |
502 | .method·static·synthetic·access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration; | 500 | .method·static·synthetic·access$000(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/TetheringConfiguration; |
503 | ····.locals·0 | 501 | ····.locals·0 |
Offset 616, 15 lines modified | Offset 612, 15 lines modified |
616 | ····return-void | 612 | ····return-void |
617 | .end·method | 613 | .end·method |
| |
618 | .method·static·synthetic·access$2100(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/util/StateMachine; | 614 | .method·static·synthetic·access$2100(Lcom/android/networkstack/tethering/Tethering;)Lcom/android/networkstack/tethering/util/StateMachine; |
619 | ····.locals·0 | 615 | ····.locals·0 |
| |
620 | ····.line·155 | 616 | ····.line·155 |
621 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMainSM:Lcom/android/networkstack/tethering/util/StateMachine; | 617 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMasterSM:Lcom/android/networkstack/tethering/util/StateMachine; |
| |
622 | ····return-object·p0 | 618 | ····return-object·p0 |
623 | .end·method | 619 | .end·method |
| |
624 | .method·static·synthetic·access$2200(Lcom/android/networkstack/tethering/Tethering;)Z | 620 | .method·static·synthetic·access$2200(Lcom/android/networkstack/tethering/Tethering;)Z |
625 | ····.locals·0 | 621 | ····.locals·0 |
| |
Offset 990, 27 lines modified | Offset 986, 27 lines modified |
| |
990 | ····return-void | 986 | ····return-void |
991 | .end·method | 987 | .end·method |
| |
992 | .method·private·static·argsContain([Ljava/lang/String;Ljava/lang/String;)Z | 988 | .method·private·static·argsContain([Ljava/lang/String;Ljava/lang/String;)Z |
993 | ····.locals·4 | 989 | ····.locals·4 |
| |
994 | ····.line·2291 | 990 | ····.line·2295 |
995 | ····array-length·v0,·p0 | 991 | ····array-length·v0,·p0 |
| |
996 | ····const/4·v1,·0x0 | 992 | ····const/4·v1,·0x0 |
| |
997 | ····move·v2,·v1 | 993 | ····move·v2,·v1 |
| |
998 | ····:goto_0 | 994 | ····:goto_0 |
999 | ····if-ge·v2,·v0,·:cond_1 | 995 | ····if-ge·v2,·v0,·:cond_1 |
| |
1000 | ····aget-object·v3,·p0,·v2 | 996 | ····aget-object·v3,·p0,·v2 |
| |
1001 | ····.line·2292 | 997 | ····.line·2296 |
1002 | ····invoke-virtual·{p1,·v3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 998 | ····invoke-virtual·{p1,·v3},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
| |
1003 | ····move-result·v3 | 999 | ····move-result·v3 |
| |
1004 | ····if-eqz·v3,·:cond_0 | 1000 | ····if-eqz·v3,·:cond_0 |
| |
1005 | ····const/4·p0,·0x1 | 1001 | ····const/4·p0,·0x1 |
Offset 1039, 15 lines modified | Offset 1035, 15 lines modified |
| |
1039 | ····if-eq·p2,·v0,·:cond_0 | 1035 | ····if-eq·p2,·v0,·:cond_0 |
| |
1040 | ····const/4·v0,·0x3 | 1036 | ····const/4·v0,·0x3 |
| |
1041 | ····if-eq·p2,·v0,·:cond_0 | 1037 | ····if-eq·p2,·v0,·:cond_0 |
| |
1042 | ····.line·1252 | 1038 | ····.line·1249 |
1043 | ····sget-object·p0,·Lcom/android/networkstack/tethering/Tethering;->TAG:Ljava/lang/String; | 1039 | ····sget-object·p0,·Lcom/android/networkstack/tethering/Tethering;->TAG:Ljava/lang/String; |
| |
1044 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 1040 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
1045 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 1041 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1046 | ····const-string·v0,·"Unknown·interface·state:·" | 1042 | ····const-string·v0,·"Unknown·interface·state:·" |
Offset 1060, 32 lines modified | Offset 1056, 32 lines modified |
| |
1060 | ····move-result-object·p1 | 1056 | ····move-result-object·p1 |
| |
1061 | ····invoke-static·{p0,·p1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I | 1057 | ····invoke-static·{p0,·p1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;)I |
| |
1062 | ····return-void | 1058 | ····return-void |
| |
1063 | ····.line·1249 | 1059 | ····.line·1246 |
1064 | ····:cond_0 | 1060 | ····:cond_0 |
1065 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering;->tether(Ljava/lang/String;I)I | 1061 | ····invoke-direct·{p0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering;->tether(Ljava/lang/String;I)I |
| |
1066 | ····move-result·p0 | 1062 | ····move-result·p0 |
| |
1067 | ····goto·:goto_0 | 1063 | ····goto·:goto_0 |
| |
1068 | ····.line·1245 | 1064 | ····.line·1242 |
1069 | ····:cond_1 | 1065 | ····:cond_1 |
1070 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->untether(Ljava/lang/String;)I | 1066 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->untether(Ljava/lang/String;)I |
| |
1071 | ····move-result·p0 | 1067 | ····move-result·p0 |
| |
1072 | ····:goto_0 | 1068 | ····:goto_0 |
1073 | ····if-eqz·p0,·:cond_2 | 1069 | ····if-eqz·p0,·:cond_2 |
| |
1074 | ····.line·1256 | 1070 | ····.line·1253 |
1075 | ····sget-object·p0,·Lcom/android/networkstack/tethering/Tethering;->TAG:Ljava/lang/String; | 1071 | ····sget-object·p0,·Lcom/android/networkstack/tethering/Tethering;->TAG:Ljava/lang/String; |
| |
1076 | ····new-instance·p2,·Ljava/lang/StringBuilder; | 1072 | ····new-instance·p2,·Ljava/lang/StringBuilder; |
| |
1077 | ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V | 1073 | ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V |
| |
1078 | ····const-string·v0,·"unable·start·or·stop·tethering·on·iface·" | 1074 | ····const-string·v0,·"unable·start·or·stop·tethering·on·iface·" |
Offset 1105, 27 lines modified | Offset 1101, 27 lines modified |
1105 | .end·method | 1101 | .end·method |
| |
1106 | .method·private·disableWifiIpServingLocked(Ljava/lang/String;I)V | 1102 | .method·private·disableWifiIpServingLocked(Ljava/lang/String;I)V |
1107 | ····.locals·1 | 1103 | ····.locals·1 |
| |
1108 | ····const/4·v0,·0x0 | 1104 | ····const/4·v0,·0x0 |
| |
1109 | ····.line·1168 | 1105 | ····.line·1165 |
1110 | ····iput-boolean·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mWifiTetherRequested:Z | 1106 | ····iput-boolean·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mWifiTetherRequested:Z |
| |
1111 | ····.line·1170 | 1107 | ····.line·1167 |
1112 | ····invoke-direct·{p0,·v0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering;->disableWifiIpServingLockedCommon(ILjava/lang/String;I)V | 1108 | ····invoke-direct·{p0,·v0,·p1,·p2},·Lcom/android/networkstack/tethering/Tethering;->disableWifiIpServingLockedCommon(ILjava/lang/String;I)V |
| |
1113 | ····return-void | 1109 | ····return-void |
1114 | .end·method | 1110 | .end·method |
| |
1115 | .method·private·disableWifiIpServingLockedCommon(ILjava/lang/String;I)V | 1111 | .method·private·disableWifiIpServingLockedCommon(ILjava/lang/String;I)V |
1116 | ····.locals·3 | 1112 | ····.locals·3 |
| |
1117 | ····.line·1137 | 1113 | ····.line·1134 |
1118 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 1114 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
1119 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 1115 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
1120 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 1116 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1121 | ····const-string·v2,·"Canceling·WiFi·tethering·request·-·type=" | 1117 | ····const-string·v2,·"Canceling·WiFi·tethering·request·-·type=" |
Offset 1148, 104 lines modified | Offset 1144, 104 lines modified |
| |
1148 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1144 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1149 | ····move-result-object·p3 | 1145 | ····move-result-object·p3 |
| |
1150 | ····invoke-virtual·{v0,·p3},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V | 1146 | ····invoke-virtual·{v0,·p3},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
1151 | ····.line·1142 | 1147 | ····.line·1139 |
1152 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1148 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1153 | ····move-result·p3 | 1149 | ····move-result·p3 |
| |
1154 | ····if-nez·p3,·:cond_0 | 1150 | ····if-nez·p3,·:cond_0 |
| |
1155 | ····.line·1143 | 1151 | ····.line·1140 |
1156 | ····iget-object·p3,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; | 1152 | ····iget-object·p3,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; |
| |
1157 | ····invoke-virtual·{p3,·p2},·Landroid/util/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object; | 1153 | ····invoke-virtual·{p3,·p2},·Landroid/util/ArrayMap;->get(Ljava/lang/Object;)Ljava/lang/Object; |
| |
1158 | ····move-result-object·p3 | 1154 | ····move-result-object·p3 |
| |
1159 | ····check-cast·p3,·Lcom/android/networkstack/tethering/Tethering$TetherState; | 1155 | ····check-cast·p3,·Lcom/android/networkstack/tethering/Tethering$TetherState; |
| |
1160 | ····if-eqz·p3,·:cond_0 | 1156 | ····if-eqz·p3,·:cond_0 |
| |
1161 | ····.line·1145 | 1157 | ····.line·1142 |
1162 | ····iget-object·p0,·p3,·Lcom/android/networkstack/tethering/Tethering$TetherState;->ipServer:Landroid/net/ip/IpServer; | 1158 | ····iget-object·p0,·p3,·Lcom/android/networkstack/tethering/Tethering$TetherState;->ipServer:Landroid/net/ip/IpServer; |
| |
1163 | ····invoke-virtual·{p0},·Landroid/net/ip/IpServer;->unwanted()V | 1159 | ····invoke-virtual·{p0},·Landroid/net/ip/IpServer;->unwanted()V |
| |
1164 | ····return-void | 1160 | ····return-void |
| |
1165 | ····:cond_0 | 1161 | ····:cond_0 |
1166 | ····const/4·p3,·0x0 | 1162 | ····const/4·p3,·0x0 |
| |
1167 | ····.line·1150 | 1163 | ····.line·1147 |
1168 | ····:goto_0 | 1164 | ····:goto_0 |
1169 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; | 1165 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; |
| |
1170 | ····invoke-virtual·{v0},·Landroid/util/ArrayMap;->size()I | 1166 | ····invoke-virtual·{v0},·Landroid/util/ArrayMap;->size()I |
| |
1171 | ····move-result·v0 | 1167 | ····move-result·v0 |
| |
1172 | ····if-ge·p3,·v0,·:cond_2 | 1168 | ····if-ge·p3,·v0,·:cond_2 |
| |
1173 | ····.line·1151 | 1169 | ····.line·1148 |
1174 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; | 1170 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; |
| |
1175 | ····invoke-virtual·{v0,·p3},·Landroid/util/ArrayMap;->valueAt(I)Ljava/lang/Object; | 1171 | ····invoke-virtual·{v0,·p3},·Landroid/util/ArrayMap;->valueAt(I)Ljava/lang/Object; |
| |
1176 | ····move-result-object·v0 | 1172 | ····move-result-object·v0 |
| |
1177 | ····check-cast·v0,·Lcom/android/networkstack/tethering/Tethering$TetherState; | 1173 | ····check-cast·v0,·Lcom/android/networkstack/tethering/Tethering$TetherState; |
| |
1178 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherState;->ipServer:Landroid/net/ip/IpServer; | 1174 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering$TetherState;->ipServer:Landroid/net/ip/IpServer; |
| |
1179 | ····.line·1152 | 1175 | ····.line·1149 |
1180 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->interfaceType()I | 1176 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->interfaceType()I |
| |
1181 | ····move-result·v1 | 1177 | ····move-result·v1 |
| |
1182 | ····if-ne·v1,·p1,·:cond_1 | 1178 | ····if-ne·v1,·p1,·:cond_1 |
| |
1183 | ····.line·1153 | 1179 | ····.line·1150 |
1184 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->unwanted()V | 1180 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->unwanted()V |
| |
1185 | ····return-void | 1181 | ····return-void |
| |
1186 | ····:cond_1 | 1182 | ····:cond_1 |
1187 | ····add-int/lit8·p3,·p3,·0x1 | 1183 | ····add-int/lit8·p3,·p3,·0x1 |
| |
1188 | ····goto·:goto_0 | 1184 | ····goto·:goto_0 |
| |
1189 | ····.line·1158 | 1185 | ····.line·1155 |
1190 | ····:cond_2 | 1186 | ····:cond_2 |
1191 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 1187 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
1192 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 1188 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
1193 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 1189 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1194 | ····const-string·p3,·"Error·disabling·Wi-Fi·IP·serving;·" | 1190 | ····const-string·p3,·"Error·disabling·Wi-Fi·IP·serving;·" |
| |
1195 | ····invoke-virtual·{p1,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1191 | ····invoke-virtual·{p1,·p3},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1196 | ····.line·1159 | 1192 | ····.line·1156 |
1197 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1193 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1198 | ····move-result·p3 | 1194 | ····move-result·p3 |
| |
1199 | ····if-eqz·p3,·:cond_3 | 1195 | ····if-eqz·p3,·:cond_3 |
| |
1200 | ····const-string·p2,·"no·interface·name·specified" | 1196 | ····const-string·p2,·"no·interface·name·specified" |
| |
1201 | ····goto·:goto_1 | 1197 | ····goto·:goto_1 |
| |
1202 | ····.line·1160 | 1198 | ····.line·1157 |
1203 | ····:cond_3 | 1199 | ····:cond_3 |
1204 | ····new-instance·p3,·Ljava/lang/StringBuilder; | 1200 | ····new-instance·p3,·Ljava/lang/StringBuilder; |
| |
1205 | ····invoke-direct·{p3},·Ljava/lang/StringBuilder;-><init>()V | 1201 | ····invoke-direct·{p3},·Ljava/lang/StringBuilder;-><init>()V |
| |
1206 | ····const-string·v0,·"specified·interface:·" | 1202 | ····const-string·v0,·"specified·interface:·" |
| |
Offset 1260, 70 lines modified | Offset 1256, 70 lines modified |
1260 | ····:goto_1 | 1256 | ····:goto_1 |
1261 | ····invoke-virtual·{p1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 1257 | ····invoke-virtual·{p1,·p2},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
| |
1262 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1258 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1263 | ····move-result-object·p1 | 1259 | ····move-result-object·p1 |
| |
1264 | ····.line·1158 | 1260 | ····.line·1155 |
1265 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V | 1261 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
1266 | ····return-void | 1262 | ····return-void |
1267 | .end·method | 1263 | .end·method |
| |
1268 | .method·private·disableWifiP2pIpServingLockedIfNeeded(Ljava/lang/String;)V | 1264 | .method·private·disableWifiP2pIpServingLockedIfNeeded(Ljava/lang/String;)V |
1269 | ····.locals·2 | 1265 | ····.locals·2 |
| |
1270 | ····.line·1174 | 1266 | ····.line·1171 |
1271 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1267 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1272 | ····move-result·v0 | 1268 | ····move-result·v0 |
| |
1273 | ····if-eqz·v0,·:cond_0 | 1269 | ····if-eqz·v0,·:cond_0 |
| |
1274 | ····return-void | 1270 | ····return-void |
| |
1275 | ····:cond_0 | 1271 | ····:cond_0 |
1276 | ····const/4·v0,·0x3 | 1272 | ····const/4·v0,·0x3 |
| |
1277 | ····const/4·v1,·0x0 | 1273 | ····const/4·v1,·0x0 |
| |
1278 | ····.line·1176 | 1274 | ····.line·1173 |
1279 | ····invoke-direct·{p0,·v0,·p1,·v1},·Lcom/android/networkstack/tethering/Tethering;->disableWifiIpServingLockedCommon(ILjava/lang/String;I)V | 1275 | ····invoke-direct·{p0,·v0,·p1,·v1},·Lcom/android/networkstack/tethering/Tethering;->disableWifiIpServingLockedCommon(ILjava/lang/String;I)V |
| |
1280 | ····return-void | 1276 | ····return-void |
1281 | .end·method | 1277 | .end·method |
| |
1282 | .method·private·doesEntitlementPackageExist()Z | 1278 | .method·private·doesEntitlementPackageExist()Z |
1283 | ····.locals·3 | 1279 | ····.locals·3 |
| |
1284 | ····.line·833 | 1280 | ····.line·830 |
1285 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 1281 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; |
| |
1286 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->provisioningApp:[Ljava/lang/String; | 1282 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->provisioningApp:[Ljava/lang/String; |
| |
1287 | ····array-length·v0,·v0 | 1283 | ····array-length·v0,·v0 |
| |
1288 | ····const/4·v1,·0x0 | 1284 | ····const/4·v1,·0x0 |
| |
1289 | ····const/4·v2,·0x2 | 1285 | ····const/4·v2,·0x2 |
| |
1290 | ····if-eq·v0,·v2,·:cond_0 | 1286 | ····if-eq·v0,·v2,·:cond_0 |
| |
1291 | ····return·v1 | 1287 | ····return·v1 |
| |
1292 | ····.line·837 | 1288 | ····.line·834 |
1293 | ····:cond_0 | 1289 | ····:cond_0 |
1294 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; | 1290 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; |
| |
1295 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 1291 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
1296 | ····move-result-object·v0 | 1292 | ····move-result-object·v0 |
| |
1297 | ····.line·839 | 1293 | ····.line·836 |
1298 | ····:try_start_0 | 1294 | ····:try_start_0 |
1299 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 1295 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; |
| |
1300 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->provisioningApp:[Ljava/lang/String; | 1296 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/TetheringConfiguration;->provisioningApp:[Ljava/lang/String; |
| |
1301 | ····aget-object·p0,·p0,·v1 | 1297 | ····aget-object·p0,·p0,·v1 |
| |
Offset 1338, 44 lines modified | Offset 1334, 44 lines modified |
1338 | ····:catch_0 | 1334 | ····:catch_0 |
1339 | ····return·v1 | 1335 | ····return·v1 |
1340 | .end·method | 1336 | .end·method |
| |
1341 | .method·private·emptyTetherStatesParcel()Landroid/net/TetherStatesParcel; | 1337 | .method·private·emptyTetherStatesParcel()Landroid/net/TetherStatesParcel; |
1342 | ····.locals·2 | 1338 | ····.locals·2 |
| |
1343 | ····.line·2088 | 1339 | ····.line·2092 |
1344 | ····new-instance·p0,·Landroid/net/TetherStatesParcel; | 1340 | ····new-instance·p0,·Landroid/net/TetherStatesParcel; |
| |
1345 | ····invoke-direct·{p0},·Landroid/net/TetherStatesParcel;-><init>()V | 1341 | ····invoke-direct·{p0},·Landroid/net/TetherStatesParcel;-><init>()V |
| |
1346 | ····const/4·v0,·0x0 | 1342 | ····const/4·v0,·0x0 |
| |
1347 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1343 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1348 | ····.line·2089 | 1344 | ····.line·2093 |
1349 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->availableList:[Ljava/lang/String; | 1345 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->availableList:[Ljava/lang/String; |
| |
1350 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1346 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1351 | ····.line·2090 | 1347 | ····.line·2094 |
1352 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->tetheredList:[Ljava/lang/String; | 1348 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->tetheredList:[Ljava/lang/String; |
| |
1353 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1349 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1354 | ····.line·2091 | 1350 | ····.line·2095 |
1355 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->localOnlyList:[Ljava/lang/String; | 1351 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->localOnlyList:[Ljava/lang/String; |
| |
1356 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1352 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1357 | ····.line·2092 | 1353 | ····.line·2096 |
1358 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->erroredIfaceList:[Ljava/lang/String; | 1354 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->erroredIfaceList:[Ljava/lang/String; |
| |
1359 | ····new-array·v0,·v0,·[I | 1355 | ····new-array·v0,·v0,·[I |
| |
1360 | ····.line·2093 | 1356 | ····.line·2097 |
1361 | ····iput-object·v0,·p0,·Landroid/net/TetherStatesParcel;->lastErrorList:[I | 1357 | ····iput-object·v0,·p0,·Landroid/net/TetherStatesParcel;->lastErrorList:[I |
| |
1362 | ····return-object·p0 | 1358 | ····return-object·p0 |
1363 | .end·method | 1359 | .end·method |
| |
1364 | .method·private·enableTetheringInternal(IZLandroid/net/IIntResultListener;)V | 1360 | .method·private·enableTetheringInternal(IZLandroid/net/IIntResultListener;)V |
1365 | ····.locals·2 | 1361 | ····.locals·2 |
Offset 1394, 67 lines modified | Offset 1390, 67 lines modified |
| |
1394 | ····if-eq·p1,·v1,·:cond_1 | 1390 | ····if-eq·p1,·v1,·:cond_1 |
| |
1395 | ····const/4·v1,·0x5 | 1391 | ····const/4·v1,·0x5 |
| |
1396 | ····if-eq·p1,·v1,·:cond_0 | 1392 | ····if-eq·p1,·v1,·:cond_0 |
| |
1397 | ····.line·609 | 1393 | ····.line·606 |
1398 | ····sget-object·p2,·Lcom/android/networkstack/tethering/Tethering;->TAG:Ljava/lang/String; | 1394 | ····sget-object·p2,·Lcom/android/networkstack/tethering/Tethering;->TAG:Ljava/lang/String; |
| |
1399 | ····const-string·v1,·"Invalid·tether·type." | 1395 | ····const-string·v1,·"Invalid·tether·type." |
| |
1400 | ····invoke-static·{p2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I | 1396 | ····invoke-static·{p2,·v1},·Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I |
| |
1401 | ····const/16·p2,·0x10 | 1397 | ····const/16·p2,·0x10 |
| |
1402 | ····goto·:goto_0 | 1398 | ····goto·:goto_0 |
| |
1403 | ····.line·606 | 1399 | ····.line·603 |
1404 | ····:cond_0 | 1400 | ····:cond_0 |
1405 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setEthernetTethering(Z)I | 1401 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setEthernetTethering(Z)I |
| |
1406 | ····move-result·p2 | 1402 | ····move-result·p2 |
| |
1407 | ····goto·:goto_0 | 1403 | ····goto·:goto_0 |
| |
1408 | ····.line·603 | 1404 | ····.line·600 |
1409 | ····:cond_1 | 1405 | ····:cond_1 |
1410 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setNcmTethering(Z)I | 1406 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setNcmTethering(Z)I |
| |
1411 | ····move-result·p2 | 1407 | ····move-result·p2 |
| |
1412 | ····goto·:goto_0 | 1408 | ····goto·:goto_0 |
| |
1413 | ····.line·600 | 1409 | ····.line·597 |
1414 | ····:cond_2 | 1410 | ····:cond_2 |
1415 | ····invoke-direct·{p0,·p2,·p3},·Lcom/android/networkstack/tethering/Tethering;->setBluetoothTethering(ZLandroid/net/IIntResultListener;)V | 1411 | ····invoke-direct·{p0,·p2,·p3},·Lcom/android/networkstack/tethering/Tethering;->setBluetoothTethering(ZLandroid/net/IIntResultListener;)V |
| |
1416 | ····const/4·p2,·0x0 | 1412 | ····const/4·p2,·0x0 |
| |
1417 | ····goto·:goto_0 | 1413 | ····goto·:goto_0 |
| |
1418 | ····.line·597 | 1414 | ····.line·594 |
1419 | ····:cond_3 | 1415 | ····:cond_3 |
1420 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setUsbTethering(Z)I | 1416 | ····invoke-virtual·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setUsbTethering(Z)I |
| |
1421 | ····move-result·p2 | 1417 | ····move-result·p2 |
| |
1422 | ····goto·:goto_0 | 1418 | ····goto·:goto_0 |
| |
1423 | ····.line·594 | 1419 | ····.line·591 |
1424 | ····:cond_4 | 1420 | ····:cond_4 |
1425 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setWifiTethering(Z)I | 1421 | ····invoke-direct·{p0,·p2},·Lcom/android/networkstack/tethering/Tethering;->setWifiTethering(Z)I |
| |
1426 | ····move-result·p2 | 1422 | ····move-result·p2 |
| |
1427 | ····:goto_0 | 1423 | ····:goto_0 |
1428 | ····if-eq·p1,·v0,·:cond_5 | 1424 | ····if-eq·p1,·v0,·:cond_5 |
| |
1429 | ····.line·615 | 1425 | ····.line·612 |
1430 | ····invoke-direct·{p0,·p3,·p2,·p1},·Lcom/android/networkstack/tethering/Tethering;->sendTetherResult(Landroid/net/IIntResultListener;II)V | 1426 | ····invoke-direct·{p0,·p3,·p2,·p1},·Lcom/android/networkstack/tethering/Tethering;->sendTetherResult(Landroid/net/IIntResultListener;II)V |
| |
1431 | ····:cond_5 | 1427 | ····:cond_5 |
1432 | ····return-void | 1428 | ····return-void |
1433 | .end·method | 1429 | .end·method |
| |
1434 | .method·private·enableWifiIpServingLocked(Ljava/lang/String;I)V | 1430 | .method·private·enableWifiIpServingLocked(Ljava/lang/String;I)V |
Offset 1464, 15 lines modified | Offset 1460, 15 lines modified |
| |
1464 | ····const/4·v1,·0x1 | 1460 | ····const/4·v1,·0x1 |
| |
1465 | ····if-eq·p2,·v1,·:cond_1 | 1461 | ····if-eq·p2,·v1,·:cond_1 |
| |
1466 | ····if-eq·p2,·v0,·:cond_0 | 1462 | ····if-eq·p2,·v0,·:cond_0 |
| |
1467 | ····.line·1191 | 1463 | ····.line·1188 |
1468 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 1464 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
1469 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 1465 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
1470 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 1466 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1471 | ····const-string·v0,·"Cannot·enable·IP·serving·in·unknown·WiFi·mode:·" | 1467 | ····const-string·v0,·"Cannot·enable·IP·serving·in·unknown·WiFi·mode:·" |
Offset 1488, 62 lines modified | Offset 1484, 62 lines modified |
1488 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V | 1484 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V |
| |
1489 | ····return-void | 1485 | ····return-void |
| |
1490 | ····:cond_0 | 1486 | ····:cond_0 |
1491 | ····const/4·v0,·0x3 | 1487 | ····const/4·v0,·0x3 |
| |
1492 | ····.line·1195 | 1488 | ····.line·1192 |
1493 | ····:cond_1 | 1489 | ····:cond_1 |
1494 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1490 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1495 | ····move-result·p2 | 1491 | ····move-result·p2 |
| |
1496 | ····if-nez·p2,·:cond_2 | 1492 | ····if-nez·p2,·:cond_2 |
| |
1497 | ····.line·1196 | 1493 | ····.line·1193 |
1498 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->maybeTrackNewInterfaceLocked(Ljava/lang/String;)V | 1494 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->maybeTrackNewInterfaceLocked(Ljava/lang/String;)V |
| |
1499 | ····.line·1197 | 1495 | ····.line·1194 |
1500 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->changeInterfaceState(Ljava/lang/String;I)V | 1496 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->changeInterfaceState(Ljava/lang/String;I)V |
| |
1501 | ····goto·:goto_0 | 1497 | ····goto·:goto_0 |
| |
1502 | ····.line·1199 | 1498 | ····.line·1196 |
1503 | ····:cond_2 | 1499 | ····:cond_2 |
1504 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 1500 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
1505 | ····new-array·p1,·v1,·[Ljava/lang/Object; | 1501 | ····new-array·p1,·v1,·[Ljava/lang/Object; |
| |
1506 | ····const/4·p2,·0x0 | 1502 | ····const/4·p2,·0x0 |
| |
1507 | ····.line·1201 | 1503 | ····.line·1198 |
1508 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1504 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1509 | ····move-result-object·v0 | 1505 | ····move-result-object·v0 |
| |
1510 | ····aput-object·v0,·p1,·p2 | 1506 | ····aput-object·v0,·p1,·p2 |
| |
1511 | ····const-string·p2,·"Cannot·enable·IP·serving·in·mode·%s·on·missing·interface·name" | 1507 | ····const-string·p2,·"Cannot·enable·IP·serving·in·mode·%s·on·missing·interface·name" |
| |
1512 | ····.line·1199 | 1508 | ····.line·1196 |
1513 | ····invoke-static·{p2,·p1},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 1509 | ····invoke-static·{p2,·p1},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
| |
1514 | ····move-result-object·p1 | 1510 | ····move-result-object·p1 |
| |
1515 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V | 1511 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->e(Ljava/lang/String;)V |
| |
1516 | ····:goto_0 | 1512 | ····:goto_0 |
1517 | ····return-void | 1513 | ····return-void |
1518 | .end·method | 1514 | .end·method |
| |
1519 | .method·private·getWifiManager()Landroid/net/wifi/WifiManager; | 1515 | .method·private·getWifiManager()Landroid/net/wifi/WifiManager; |
1520 | ····.locals·1 | 1516 | ····.locals·1 |
| |
1521 | ····.line·440 | 1517 | ····.line·437 |
1522 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; | 1518 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; |
| |
1523 | ····const-string·v0,·"wifi" | 1519 | ····const-string·v0,·"wifi" |
| |
1524 | ····invoke-virtual·{p0,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 1520 | ····invoke-virtual·{p0,·v0},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
| |
1525 | ····move-result-object·p0 | 1521 | ····move-result-object·p0 |
Offset 1552, 18 lines modified | Offset 1548, 18 lines modified |
| |
1552 | ····return-object·p0 | 1548 | ····return-object·p0 |
1553 | .end·method | 1549 | .end·method |
| |
1554 | .method·private·hasCallingPermission(Ljava/lang/String;)Z | 1550 | .method·private·hasCallingPermission(Ljava/lang/String;)Z |
1555 | ····.locals·0 | 1551 | ····.locals·0 |
| |
1556 | ····.line·2099 | 1552 | ····.line·2103 |
1557 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; | 1553 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; |
| |
1558 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->checkCallingOrSelfPermission(Ljava/lang/String;)I | 1554 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->checkCallingPermission(Ljava/lang/String;)I |
| |
1559 | ····move-result·p0 | 1555 | ····move-result·p0 |
| |
1560 | ····if-nez·p0,·:cond_0 | 1556 | ····if-nez·p0,·:cond_0 |
| |
1561 | ····const/4·p0,·0x1 | 1557 | ····const/4·p0,·0x1 |
| |
Offset 1575, 77 lines modified | Offset 1571, 77 lines modified |
1575 | ····:goto_0 | 1571 | ····:goto_0 |
1576 | ····return·p0 | 1572 | ····return·p0 |
1577 | .end·method | 1573 | .end·method |
| |
1578 | .method·private·ifaceNameToType(Ljava/lang/String;)I | 1574 | .method·private·ifaceNameToType(Ljava/lang/String;)I |
1579 | ····.locals·1 | 1575 | ····.locals·1 |
| |
1580 | ····.line·521 | 1576 | ····.line·518 |
1581 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 1577 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; |
| |
1582 | ····.line·523 | 1578 | ····.line·520 |
1583 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifi(Ljava/lang/String;)Z | 1579 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifi(Ljava/lang/String;)Z |
| |
1584 | ····move-result·v0 | 1580 | ····move-result·v0 |
| |
1585 | ····if-eqz·v0,·:cond_0 | 1581 | ····if-eqz·v0,·:cond_0 |
| |
1586 | ····const/4·p0,·0x0 | 1582 | ····const/4·p0,·0x0 |
| |
1587 | ····return·p0 | 1583 | ····return·p0 |
| |
1588 | ····.line·525 | 1584 | ····.line·522 |
1589 | ····:cond_0 | 1585 | ····:cond_0 |
1590 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWigig(Ljava/lang/String;)Z | 1586 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWigig(Ljava/lang/String;)Z |
| |
1591 | ····move-result·v0 | 1587 | ····move-result·v0 |
| |
1592 | ····if-eqz·v0,·:cond_1 | 1588 | ····if-eqz·v0,·:cond_1 |
| |
1593 | ····const/4·p0,·0x6 | 1589 | ····const/4·p0,·0x6 |
| |
1594 | ····return·p0 | 1590 | ····return·p0 |
| |
1595 | ····.line·527 | 1591 | ····.line·524 |
1596 | ····:cond_1 | 1592 | ····:cond_1 |
1597 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifiP2p(Ljava/lang/String;)Z | 1593 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isWifiP2p(Ljava/lang/String;)Z |
| |
1598 | ····move-result·v0 | 1594 | ····move-result·v0 |
| |
1599 | ····if-eqz·v0,·:cond_2 | 1595 | ····if-eqz·v0,·:cond_2 |
| |
1600 | ····const/4·p0,·0x3 | 1596 | ····const/4·p0,·0x3 |
| |
1601 | ····return·p0 | 1597 | ····return·p0 |
| |
1602 | ····.line·529 | 1598 | ····.line·526 |
1603 | ····:cond_2 | 1599 | ····:cond_2 |
1604 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isUsb(Ljava/lang/String;)Z | 1600 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isUsb(Ljava/lang/String;)Z |
| |
1605 | ····move-result·v0 | 1601 | ····move-result·v0 |
| |
1606 | ····if-eqz·v0,·:cond_3 | 1602 | ····if-eqz·v0,·:cond_3 |
| |
1607 | ····const/4·p0,·0x1 | 1603 | ····const/4·p0,·0x1 |
| |
1608 | ····return·p0 | 1604 | ····return·p0 |
| |
1609 | ····.line·531 | 1605 | ····.line·528 |
1610 | ····:cond_3 | 1606 | ····:cond_3 |
1611 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isBluetooth(Ljava/lang/String;)Z | 1607 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isBluetooth(Ljava/lang/String;)Z |
| |
1612 | ····move-result·v0 | 1608 | ····move-result·v0 |
| |
1613 | ····if-eqz·v0,·:cond_4 | 1609 | ····if-eqz·v0,·:cond_4 |
| |
1614 | ····const/4·p0,·0x2 | 1610 | ····const/4·p0,·0x2 |
| |
1615 | ····return·p0 | 1611 | ····return·p0 |
| |
1616 | ····.line·533 | 1612 | ····.line·530 |
1617 | ····:cond_4 | 1613 | ····:cond_4 |
1618 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isNcm(Ljava/lang/String;)Z | 1614 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isNcm(Ljava/lang/String;)Z |
| |
1619 | ····move-result·p0 | 1615 | ····move-result·p0 |
| |
1620 | ····if-eqz·p0,·:cond_5 | 1616 | ····if-eqz·p0,·:cond_5 |
| |
Offset 1658, 15 lines modified | Offset 1654, 15 lines modified |
| |
1658 | ····return·p0 | 1654 | ····return·p0 |
1659 | .end·method | 1655 | .end·method |
| |
1660 | .method·private·isProvisioningNeededButUnavailable()Z | 1656 | .method·private·isProvisioningNeededButUnavailable()Z |
1661 | ····.locals·1 | 1657 | ····.locals·1 |
| |
1662 | ····.line·823 | 1658 | ····.line·820 |
1663 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetherProvisioningRequired()Z | 1659 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetherProvisioningRequired()Z |
| |
1664 | ····move-result·v0 | 1660 | ····move-result·v0 |
| |
1665 | ····if-eqz·v0,·:cond_0 | 1661 | ····if-eqz·v0,·:cond_0 |
| |
1666 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->doesEntitlementPackageExist()Z | 1662 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->doesEntitlementPackageExist()Z |
Offset 1686, 15 lines modified | Offset 1682, 15 lines modified |
1686 | ····return·p0 | 1682 | ····return·p0 |
1687 | .end·method | 1683 | .end·method |
| |
1688 | .method·private·synthetic·lambda$new$0()V | 1684 | .method·private·synthetic·lambda$new$0()V |
1689 | ····.locals·1 | 1685 | ····.locals·1 |
| |
1690 | ····.line·297 | 1686 | ····.line·297 |
1691 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMainSM:Lcom/android/networkstack/tethering/util/StateMachine; | 1687 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherMasterSM:Lcom/android/networkstack/tethering/util/StateMachine; |
| |
1692 | ····const/16·v0,·0x8 | 1688 | ····const/16·v0,·0x8 |
| |
1693 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(I)V | 1689 | ····invoke-virtual·{p0,·v0},·Lcom/android/networkstack/tethering/util/StateMachine;->sendMessage(I)V |
| |
1694 | ····return-void | 1690 | ····return-void |
1695 | .end·method | 1691 | .end·method |
Offset 1746, 52 lines modified | Offset 1742, 52 lines modified |
| |
1746 | ····return-void | 1742 | ····return-void |
1747 | .end·method | 1743 | .end·method |
| |
1748 | .method·private·synthetic·lambda$registerTetheringEventCallback$7(Landroid/net/ITetheringEventCallback;Z)V | 1744 | .method·private·synthetic·lambda$registerTetheringEventCallback$7(Landroid/net/ITetheringEventCallback;Z)V |
1749 | ····.locals·3 | 1745 | ····.locals·3 |
| |
1750 | ····.line·2068 | 1746 | ····.line·2072 |
1751 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetheringEventCallbacks:Landroid/os/RemoteCallbackList; | 1747 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetheringEventCallbacks:Landroid/os/RemoteCallbackList; |
| |
1752 | ····new-instance·v1,·Lcom/android/networkstack/tethering/Tethering$CallbackCookie; | 1748 | ····new-instance·v1,·Lcom/android/networkstack/tethering/Tethering$CallbackCookie; |
| |
1753 | ····const/4·v2,·0x0 | 1749 | ····const/4·v2,·0x0 |
| |
1754 | ····invoke-direct·{v1,·p2,·v2},·Lcom/android/networkstack/tethering/Tethering$CallbackCookie;-><init>(ZLcom/android/networkstack/tethering/Tethering$1;)V | 1750 | ····invoke-direct·{v1,·p2,·v2},·Lcom/android/networkstack/tethering/Tethering$CallbackCookie;-><init>(ZLcom/android/networkstack/tethering/Tethering$1;)V |
| |
1755 | ····invoke-virtual·{v0,·p1,·v1},·Landroid/os/RemoteCallbackList;->register(Landroid/os/IInterface;Ljava/lang/Object;)Z | 1751 | ····invoke-virtual·{v0,·p1,·v1},·Landroid/os/RemoteCallbackList;->register(Landroid/os/IInterface;Ljava/lang/Object;)Z |
| |
1756 | ····.line·2069 | 1752 | ····.line·2073 |
1757 | ····new-instance·v0,·Landroid/net/TetheringCallbackStartedParcel; | 1753 | ····new-instance·v0,·Landroid/net/TetheringCallbackStartedParcel; |
| |
1758 | ····invoke-direct·{v0},·Landroid/net/TetheringCallbackStartedParcel;-><init>()V | 1754 | ····invoke-direct·{v0},·Landroid/net/TetheringCallbackStartedParcel;-><init>()V |
| |
1759 | ····.line·2070 | 1755 | ····.line·2074 |
1760 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetheringSupported()Z | 1756 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetheringSupported()Z |
| |
1761 | ····move-result·v1 | 1757 | ····move-result·v1 |
| |
1762 | ····iput-boolean·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheringSupported:Z | 1758 | ····iput-boolean·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheringSupported:Z |
| |
1763 | ····.line·2071 | 1759 | ····.line·2075 |
1764 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherUpstream:Landroid/net/Network; | 1760 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherUpstream:Landroid/net/Network; |
| |
1765 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->upstreamNetwork:Landroid/net/Network; | 1761 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->upstreamNetwork:Landroid/net/Network; |
| |
1766 | ····.line·2072 | 1762 | ····.line·2076 |
1767 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 1763 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; |
| |
1768 | ····invoke-virtual·{v1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->toStableParcelable()Landroid/net/TetheringConfigurationParcel; | 1764 | ····invoke-virtual·{v1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->toStableParcelable()Landroid/net/TetheringConfigurationParcel; |
| |
1769 | ····move-result-object·v1 | 1765 | ····move-result-object·v1 |
| |
1770 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->config:Landroid/net/TetheringConfigurationParcel; | 1766 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->config:Landroid/net/TetheringConfigurationParcel; |
| |
1771 | ····.line·2074 | 1767 | ····.line·2078 |
1772 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStatesParcel:Landroid/net/TetherStatesParcel; | 1768 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStatesParcel:Landroid/net/TetherStatesParcel; |
| |
1773 | ····if-eqz·v1,·:cond_0 | 1769 | ····if-eqz·v1,·:cond_0 |
| |
1774 | ····goto·:goto_0 | 1770 | ····goto·:goto_0 |
| |
1775 | ····:cond_0 | 1771 | ····:cond_0 |
Offset 1800, 178 lines modified | Offset 1796, 178 lines modified |
1800 | ····move-result-object·v1 | 1796 | ····move-result-object·v1 |
| |
1801 | ····:goto_0 | 1797 | ····:goto_0 |
1802 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->states:Landroid/net/TetherStatesParcel; | 1798 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->states:Landroid/net/TetherStatesParcel; |
| |
1803 | ····if-eqz·p2,·:cond_1 | 1799 | ····if-eqz·p2,·:cond_1 |
| |
1804 | ····.line·2076 | 1800 | ····.line·2080 |
1805 | ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConnectedClientsTracker:Lcom/android/networkstack/tethering/ConnectedClientsTracker; | 1801 | ····iget-object·p2,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConnectedClientsTracker:Lcom/android/networkstack/tethering/ConnectedClientsTracker; |
| |
1806 | ····invoke-virtual·{p2},·Lcom/android/networkstack/tethering/ConnectedClientsTracker;->getLastTetheredClients()Ljava/util/List; | 1802 | ····invoke-virtual·{p2},·Lcom/android/networkstack/tethering/ConnectedClientsTracker;->getLastTetheredClients()Ljava/util/List; |
| |
1807 | ····move-result-object·p2 | 1803 | ····move-result-object·p2 |
| |
1808 | ····goto·:goto_1 | 1804 | ····goto·:goto_1 |
| |
1809 | ····.line·2077 | 1805 | ····.line·2081 |
1810 | ····:cond_1 | 1806 | ····:cond_1 |
1811 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 1807 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
| |
1812 | ····move-result-object·p2 | 1808 | ····move-result-object·p2 |
| |
1813 | ····:goto_1 | 1809 | ····:goto_1 |
1814 | ····iput-object·p2,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheredClients:Ljava/util/List; | 1810 | ····iput-object·p2,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheredClients:Ljava/util/List; |
| |
1815 | ····.line·2078 | 1811 | ····.line·2082 |
1816 | ····iget·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mOffloadStatus:I | 1812 | ····iget·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mOffloadStatus:I |
| |
1817 | ····iput·p0,·v0,·Landroid/net/TetheringCallbackStartedParcel;->offloadStatus:I | 1813 | ····iput·p0,·v0,·Landroid/net/TetheringCallbackStartedParcel;->offloadStatus:I |
| |
1818 | ····.line·2080 | 1814 | ····.line·2084 |
1819 | ····:try_start_0 | 1815 | ····:try_start_0 |
1820 | ····invoke-interface·{p1,·v0},·Landroid/net/ITetheringEventCallback;->onCallbackStarted(Landroid/net/TetheringCallbackStartedParcel;)V | 1816 | ····invoke-interface·{p1,·v0},·Landroid/net/ITetheringEventCallback;->onCallbackStarted(Landroid/net/TetheringCallbackStartedParcel;)V |
1821 | ····:try_end_0 | 1817 | ····:try_end_0 |
1822 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 | 1818 | ····.catch·Landroid/os/RemoteException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| |
1823 | ····:catch_0 | 1819 | ····:catch_0 |
1824 | ····return-void | 1820 | ····return-void |
1825 | .end·method | 1821 | .end·method |
| |
1826 | .method·private·synthetic·lambda$requestLatestTetheringEntitlementResult$6(ILandroid/os/ResultReceiver;Z)V | 1822 | .method·private·synthetic·lambda$requestLatestTetheringEntitlementResult$6(ILandroid/os/ResultReceiver;Z)V |
1827 | ····.locals·0 | 1823 | ····.locals·0 |
| |
1828 | ····.line·2056 | 1824 | ····.line·2060 |
1829 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; | 1825 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; |
| |
1830 | ····invoke-virtual·{p0,·p1,·p2,·p3},·Lcom/android/networkstack/tethering/EntitlementManager;->requestLatestTetheringEntitlementResult(ILandroid/os/ResultReceiver;Z)V | 1826 | ····invoke-virtual·{p0,·p1,·p2,·p3},·Lcom/android/networkstack/tethering/EntitlementManager;->requestLatestTetheringEntitlementResult(ILandroid/os/ResultReceiver;Z)V |
| |
1831 | ····return-void | 1827 | ····return-void |
1832 | .end·method | 1828 | .end·method |
| |
1833 | .method·private·synthetic·lambda$startTethering$4(Landroid/net/TetheringRequestParcel;Landroid/net/IIntResultListener;)V | 1829 | .method·private·synthetic·lambda$startTethering$4(Landroid/net/TetheringRequestParcel;Landroid/net/IIntResultListener;)V |
1834 | ····.locals·3 | 1830 | ····.locals·3 |
| |
1835 | ····.line·555 | 1831 | ····.line·552 |
1836 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mActiveTetheringRequests:Landroid/util/SparseArray; | 1832 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mActiveTetheringRequests:Landroid/util/SparseArray; |
| |
1837 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1833 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1838 | ····invoke-virtual·{v0,·v1},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; | 1834 | ····invoke-virtual·{v0,·v1},·Landroid/util/SparseArray;->get(I)Ljava/lang/Object; |
| |
1839 | ····move-result-object·v0 | 1835 | ····move-result-object·v0 |
| |
1840 | ····check-cast·v0,·Landroid/net/TetheringRequestParcel; | 1836 | ····check-cast·v0,·Landroid/net/TetheringRequestParcel; |
| |
1841 | ····if-eqz·v0,·:cond_0 | 1837 | ····if-eqz·v0,·:cond_0 |
| |
1842 | ····.line·560 | 1838 | ····.line·557 |
1843 | ····invoke-static·{v0,·p1},·Landroid/net/util/TetheringUtils;->isTetheringRequestEquals(Landroid/net/TetheringRequestParcel;Landroid/net/TetheringRequestParcel;)Z | 1839 | ····invoke-static·{v0,·p1},·Landroid/net/util/TetheringUtils;->isTetheringRequestEquals(Landroid/net/TetheringRequestParcel;Landroid/net/TetheringRequestParcel;)Z |
| |
1844 | ····move-result·v0 | 1840 | ····move-result·v0 |
| |
1845 | ····if-nez·v0,·:cond_0 | 1841 | ····if-nez·v0,·:cond_0 |
| |
1846 | ····.line·561 | 1842 | ····.line·558 |
1847 | ····iget·v0,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1843 | ····iget·v0,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1848 | ····const/4·v1,·0x0 | 1844 | ····const/4·v1,·0x0 |
| |
1849 | ····const/4·v2,·0x0 | 1845 | ····const/4·v2,·0x0 |
| |
1850 | ····invoke-direct·{p0,·v0,·v1,·v2},·Lcom/android/networkstack/tethering/Tethering;->enableTetheringInternal(IZLandroid/net/IIntResultListener;)V | 1846 | ····invoke-direct·{p0,·v0,·v1,·v2},·Lcom/android/networkstack/tethering/Tethering;->enableTetheringInternal(IZLandroid/net/IIntResultListener;)V |
| |
1851 | ····.line·562 | 1847 | ····.line·559 |
1852 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; | 1848 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; |
| |
1853 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1849 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1854 | ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V | 1850 | ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V |
| |
1855 | ····.line·564 | 1851 | ····.line·561 |
1856 | ····:cond_0 | 1852 | ····:cond_0 |
1857 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mActiveTetheringRequests:Landroid/util/SparseArray; | 1853 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mActiveTetheringRequests:Landroid/util/SparseArray; |
| |
1858 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1854 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1859 | ····invoke-virtual·{v0,·v1,·p1},·Landroid/util/SparseArray;->put(ILjava/lang/Object;)V | 1855 | ····invoke-virtual·{v0,·v1,·p1},·Landroid/util/SparseArray;->put(ILjava/lang/Object;)V |
| |
1860 | ····.line·566 | 1856 | ····.line·563 |
1861 | ····iget-boolean·v0,·p1,·Landroid/net/TetheringRequestParcel;->exemptFromEntitlementCheck:Z | 1857 | ····iget-boolean·v0,·p1,·Landroid/net/TetheringRequestParcel;->exemptFromEntitlementCheck:Z |
| |
1862 | ····if-eqz·v0,·:cond_1 | 1858 | ····if-eqz·v0,·:cond_1 |
| |
1863 | ····.line·567 | 1859 | ····.line·564 |
1864 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; | 1860 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; |
| |
1865 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1861 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1866 | ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/EntitlementManager;->setExemptedDownstreamType(I)V | 1862 | ····invoke-virtual·{v0,·v1},·Lcom/android/networkstack/tethering/EntitlementManager;->setExemptedDownstreamType(I)V |
| |
1867 | ····goto·:goto_0 | 1863 | ····goto·:goto_0 |
| |
1868 | ····.line·569 | 1864 | ····.line·566 |
1869 | ····:cond_1 | 1865 | ····:cond_1 |
1870 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; | 1866 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; |
| |
1871 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1867 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1872 | ····iget-boolean·v2,·p1,·Landroid/net/TetheringRequestParcel;->showProvisioningUi:Z | 1868 | ····iget-boolean·v2,·p1,·Landroid/net/TetheringRequestParcel;->showProvisioningUi:Z |
| |
1873 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/android/networkstack/tethering/EntitlementManager;->startProvisioningIfNeeded(IZ)V | 1869 | ····invoke-virtual·{v0,·v1,·v2},·Lcom/android/networkstack/tethering/EntitlementManager;->startProvisioningIfNeeded(IZ)V |
| |
1874 | ····.line·572 | 1870 | ····.line·569 |
1875 | ····:goto_0 | 1871 | ····:goto_0 |
1876 | ····iget·p1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1872 | ····iget·p1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1877 | ····const/4·v0,·0x1 | 1873 | ····const/4·v0,·0x1 |
| |
1878 | ····invoke-direct·{p0,·p1,·v0,·p2},·Lcom/android/networkstack/tethering/Tethering;->enableTetheringInternal(IZLandroid/net/IIntResultListener;)V | 1874 | ····invoke-direct·{p0,·p1,·v0,·p2},·Lcom/android/networkstack/tethering/Tethering;->enableTetheringInternal(IZLandroid/net/IIntResultListener;)V |
| |
1879 | ····return-void | 1875 | ····return-void |
1880 | .end·method | 1876 | .end·method |
| |
1881 | .method·private·synthetic·lambda$stopTethering$5(I)V | 1877 | .method·private·synthetic·lambda$stopTethering$5(I)V |
1882 | ····.locals·2 | 1878 | ····.locals·2 |
| |
1883 | ····.line·578 | 1879 | ····.line·575 |
1884 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mActiveTetheringRequests:Landroid/util/SparseArray; | 1880 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mActiveTetheringRequests:Landroid/util/SparseArray; |
| |
1885 | ····invoke-virtual·{v0,·p1},·Landroid/util/SparseArray;->remove(I)V | 1881 | ····invoke-virtual·{v0,·p1},·Landroid/util/SparseArray;->remove(I)V |
| |
1886 | ····const/4·v0,·0x0 | 1882 | ····const/4·v0,·0x0 |
| |
1887 | ····const/4·v1,·0x0 | 1883 | ····const/4·v1,·0x0 |
| |
1888 | ····.line·580 | 1884 | ····.line·577 |
1889 | ····invoke-direct·{p0,·p1,·v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->enableTetheringInternal(IZLandroid/net/IIntResultListener;)V | 1885 | ····invoke-direct·{p0,·p1,·v0,·v1},·Lcom/android/networkstack/tethering/Tethering;->enableTetheringInternal(IZLandroid/net/IIntResultListener;)V |
| |
1890 | ····.line·581 | 1886 | ····.line·578 |
1891 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; | 1887 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mEntitlementMgr:Lcom/android/networkstack/tethering/EntitlementManager; |
| |
1892 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V | 1888 | ····invoke-virtual·{p0,·p1},·Lcom/android/networkstack/tethering/EntitlementManager;->stopProvisioningIfNeeded(I)V |
| |
1893 | ····return-void | 1889 | ····return-void |
1894 | .end·method | 1890 | .end·method |
| |
1895 | .method·private·synthetic·lambda$unregisterTetheringEventCallback$8(Landroid/net/ITetheringEventCallback;)V | 1891 | .method·private·synthetic·lambda$unregisterTetheringEventCallback$8(Landroid/net/ITetheringEventCallback;)V |
1896 | ····.locals·0 | 1892 | ····.locals·0 |
| |
1897 | ····.line·2105 | 1893 | ····.line·2109 |
1898 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetheringEventCallbacks:Landroid/os/RemoteCallbackList; | 1894 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mTetheringEventCallbacks:Landroid/os/RemoteCallbackList; |
| |
1899 | ····invoke-virtual·{p0,·p1},·Landroid/os/RemoteCallbackList;->unregister(Landroid/os/IInterface;)Z | 1895 | ····invoke-virtual·{p0,·p1},·Landroid/os/RemoteCallbackList;->unregister(Landroid/os/IInterface;)Z |
| |
1900 | ····return-void | 1896 | ····return-void |
1901 | .end·method | 1897 | .end·method |
| |
1902 | .method·private·logMessage(Lcom/android/networkstack/tethering/util/State;I)V | 1898 | .method·private·logMessage(Lcom/android/networkstack/tethering/util/State;I)V |
1903 | ····.locals·2 | 1899 | ····.locals·2 |
| |
1904 | ····.line·1363 | 1900 | ····.line·1360 |
1905 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 1901 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
1906 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1902 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1907 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 1903 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
1908 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/util/State;->getName()Ljava/lang/String; | 1904 | ····invoke-virtual·{p1},·Lcom/android/networkstack/tethering/util/State;->getName()Ljava/lang/String; |
Offset 2006, 61 lines modified | Offset 2002, 61 lines modified |
| |
2006 | ····return-void | 2002 | ····return-void |
2007 | .end·method | 2003 | .end·method |
| |
2008 | .method·private·makeControlCallback()Landroid/net/ip/IpServer$Callback; | 2004 | .method·private·makeControlCallback()Landroid/net/ip/IpServer$Callback; |
2009 | ····.locals·1 | 2005 | ····.locals·1 |
| |
2010 | ····.line·2304 | 2006 | ····.line·2308 |
2011 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$4; | 2007 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$4; |
| |
2012 | ····invoke-direct·{v0,·p0},·Lcom/android/networkstack/tethering/Tethering$4;-><init>(Lcom/android/networkstack/tethering/Tethering;)V | 2008 | ····invoke-direct·{v0,·p0},·Lcom/android/networkstack/tethering/Tethering$4;-><init>(Lcom/android/networkstack/tethering/Tethering;)V |
| |
2013 | ····return-object·v0 | 2009 | ····return-object·v0 |
2014 | .end·method | 2010 | .end·method |
| |
2015 | .method·private·maybeDunSettingChanged()V | 2011 | .method·private·maybeDunSettingChanged()V |
2016 | ····.locals·2 | 2012 | ····.locals·2 |
| |
2017 | ····.line·451 | 2013 | ····.line·448 |
2018 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; | 2014 | ····iget-object·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mContext:Landroid/content/Context; |
| |
2019 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/TetheringConfiguration;->checkDunRequired(Landroid/content/Context;)Z | 2015 | ····invoke-static·{v0},·Lcom/android/networkstack/tethering/TetheringConfiguration;->checkDunRequired(Landroid/content/Context;)Z |
| |
2020 | ····move-result·v0 | 2016 | ····move-result·v0 |
| |
2021 | ····.line·452 | 2017 | ····.line·449 |
2022 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 2018 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; |
| |
2023 | ····iget-boolean·v1,·v1,·Lcom/android/networkstack/tethering/TetheringConfiguration;->isDunRequired:Z | 2019 | ····iget-boolean·v1,·v1,·Lcom/android/networkstack/tethering/TetheringConfiguration;->isDunRequired:Z |
Max diff block lines reached; 91068/126229 bytes (72.15%) of diff not shown.
|