| | | |
Offset 478, 42 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 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->updateConfiguration()V | |
| |
484 | ····.line·329 | |
485 | ····new-instance·p1,·Lcom/android/networkstack/tethering/PrivateAddressCoordinator; | 483 | ····new-instance·p1,·Lcom/android/networkstack/tethering/PrivateAddressCoordinator; |
| |
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; |
| |
487 | ····iget-object·v1,·p0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 485 | ····invoke-direct·{p1,·v0},·Lcom/android/networkstack/tethering/PrivateAddressCoordinator;-><init>(Landroid/content/Context;)V |
| |
488 | ····invoke-direct·{p1,·v0,·v1},·Lcom/android/networkstack/tethering/PrivateAddressCoordinator;-><init>(Landroid/content/Context;Lcom/android/networkstack/tethering/TetheringConfiguration;)V | |
| |
489 | ····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; |
| |
490 | ····.line·333 | 487 | ····.line·326 |
| 488 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->updateConfiguration()V |
| |
| 489 | ····.line·330 |
491 | ····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; |
| |
492 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$2; | 491 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$2; |
| |
493 | ····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 |
| |
494 | ····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; |
| |
495 | ····move-result-object·p1 | 494 | ····move-result-object·p1 |
| |
496 | ····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; |
| |
497 | ····.line·361 | 496 | ····.line·358 |
498 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->startStateMachineUpdaters()V | 497 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->startStateMachineUpdaters()V |
| |
499 | ····return-void | 498 | ····return-void |
500 | .end·method | 499 | .end·method |
| |
501 | .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; |
502 | ····.locals·0 | 501 | ····.locals·0 |
Offset 988, 27 lines modified | Offset 986, 27 lines modified |
| |
988 | ····return-void | 986 | ····return-void |
989 | .end·method | 987 | .end·method |
| |
990 | .method·private·static·argsContain([Ljava/lang/String;Ljava/lang/String;)Z | 988 | .method·private·static·argsContain([Ljava/lang/String;Ljava/lang/String;)Z |
991 | ····.locals·4 | 989 | ····.locals·4 |
| |
992 | ····.line·2299 | 990 | ····.line·2295 |
993 | ····array-length·v0,·p0 | 991 | ····array-length·v0,·p0 |
| |
994 | ····const/4·v1,·0x0 | 992 | ····const/4·v1,·0x0 |
| |
995 | ····move·v2,·v1 | 993 | ····move·v2,·v1 |
| |
996 | ····:goto_0 | 994 | ····:goto_0 |
997 | ····if-ge·v2,·v0,·:cond_1 | 995 | ····if-ge·v2,·v0,·:cond_1 |
| |
998 | ····aget-object·v3,·p0,·v2 | 996 | ····aget-object·v3,·p0,·v2 |
| |
999 | ····.line·2300 | 997 | ····.line·2296 |
1000 | ····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 |
| |
1001 | ····move-result·v3 | 999 | ····move-result·v3 |
| |
1002 | ····if-eqz·v3,·:cond_0 | 1000 | ····if-eqz·v3,·:cond_0 |
| |
1003 | ····const/4·p0,·0x1 | 1001 | ····const/4·p0,·0x1 |
Offset 1037, 15 lines modified | Offset 1035, 15 lines modified |
| |
1037 | ····if-eq·p2,·v0,·:cond_0 | 1035 | ····if-eq·p2,·v0,·:cond_0 |
| |
1038 | ····const/4·v0,·0x3 | 1036 | ····const/4·v0,·0x3 |
| |
1039 | ····if-eq·p2,·v0,·:cond_0 | 1037 | ····if-eq·p2,·v0,·:cond_0 |
| |
1040 | ····.line·1252 | 1038 | ····.line·1249 |
1041 | ····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; |
| |
1042 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 1040 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
1043 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 1041 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1044 | ····const-string·v0,·"Unknown·interface·state:·" | 1042 | ····const-string·v0,·"Unknown·interface·state:·" |
Offset 1058, 32 lines modified | Offset 1056, 32 lines modified |
| |
1058 | ····move-result-object·p1 | 1056 | ····move-result-object·p1 |
| |
1059 | ····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 |
| |
1060 | ····return-void | 1058 | ····return-void |
| |
1061 | ····.line·1249 | 1059 | ····.line·1246 |
1062 | ····:cond_0 | 1060 | ····:cond_0 |
1063 | ····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 |
| |
1064 | ····move-result·p0 | 1062 | ····move-result·p0 |
| |
1065 | ····goto·:goto_0 | 1063 | ····goto·:goto_0 |
| |
1066 | ····.line·1245 | 1064 | ····.line·1242 |
1067 | ····:cond_1 | 1065 | ····:cond_1 |
1068 | ····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 |
| |
1069 | ····move-result·p0 | 1067 | ····move-result·p0 |
| |
1070 | ····:goto_0 | 1068 | ····:goto_0 |
1071 | ····if-eqz·p0,·:cond_2 | 1069 | ····if-eqz·p0,·:cond_2 |
| |
1072 | ····.line·1256 | 1070 | ····.line·1253 |
1073 | ····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; |
| |
1074 | ····new-instance·p2,·Ljava/lang/StringBuilder; | 1072 | ····new-instance·p2,·Ljava/lang/StringBuilder; |
| |
1075 | ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V | 1073 | ····invoke-direct·{p2},·Ljava/lang/StringBuilder;-><init>()V |
| |
1076 | ····const-string·v0,·"unable·start·or·stop·tethering·on·iface·" | 1074 | ····const-string·v0,·"unable·start·or·stop·tethering·on·iface·" |
Offset 1103, 27 lines modified | Offset 1101, 27 lines modified |
1103 | .end·method | 1101 | .end·method |
| |
1104 | .method·private·disableWifiIpServingLocked(Ljava/lang/String;I)V | 1102 | .method·private·disableWifiIpServingLocked(Ljava/lang/String;I)V |
1105 | ····.locals·1 | 1103 | ····.locals·1 |
| |
1106 | ····const/4·v0,·0x0 | 1104 | ····const/4·v0,·0x0 |
| |
1107 | ····.line·1168 | 1105 | ····.line·1165 |
1108 | ····iput-boolean·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mWifiTetherRequested:Z | 1106 | ····iput-boolean·v0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mWifiTetherRequested:Z |
| |
1109 | ····.line·1170 | 1107 | ····.line·1167 |
1110 | ····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 |
| |
1111 | ····return-void | 1109 | ····return-void |
1112 | .end·method | 1110 | .end·method |
| |
1113 | .method·private·disableWifiIpServingLockedCommon(ILjava/lang/String;I)V | 1111 | .method·private·disableWifiIpServingLockedCommon(ILjava/lang/String;I)V |
1114 | ····.locals·3 | 1112 | ····.locals·3 |
| |
1115 | ····.line·1137 | 1113 | ····.line·1134 |
1116 | ····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; |
| |
1117 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 1115 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
1118 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 1116 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1119 | ····const-string·v2,·"Canceling·WiFi·tethering·request·-·type=" | 1117 | ····const-string·v2,·"Canceling·WiFi·tethering·request·-·type=" |
Offset 1146, 104 lines modified | Offset 1144, 104 lines modified |
| |
1146 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1144 | ····invoke-virtual·{v1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1147 | ····move-result-object·p3 | 1145 | ····move-result-object·p3 |
| |
1148 | ····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 |
| |
1149 | ····.line·1142 | 1147 | ····.line·1139 |
1150 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1148 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1151 | ····move-result·p3 | 1149 | ····move-result·p3 |
| |
1152 | ····if-nez·p3,·:cond_0 | 1150 | ····if-nez·p3,·:cond_0 |
| |
1153 | ····.line·1143 | 1151 | ····.line·1140 |
1154 | ····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; |
| |
1155 | ····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; |
| |
1156 | ····move-result-object·p3 | 1154 | ····move-result-object·p3 |
| |
1157 | ····check-cast·p3,·Lcom/android/networkstack/tethering/Tethering$TetherState; | 1155 | ····check-cast·p3,·Lcom/android/networkstack/tethering/Tethering$TetherState; |
| |
1158 | ····if-eqz·p3,·:cond_0 | 1156 | ····if-eqz·p3,·:cond_0 |
| |
1159 | ····.line·1145 | 1157 | ····.line·1142 |
1160 | ····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; |
| |
1161 | ····invoke-virtual·{p0},·Landroid/net/ip/IpServer;->unwanted()V | 1159 | ····invoke-virtual·{p0},·Landroid/net/ip/IpServer;->unwanted()V |
| |
1162 | ····return-void | 1160 | ····return-void |
| |
1163 | ····:cond_0 | 1161 | ····:cond_0 |
1164 | ····const/4·p3,·0x0 | 1162 | ····const/4·p3,·0x0 |
| |
1165 | ····.line·1150 | 1163 | ····.line·1147 |
1166 | ····:goto_0 | 1164 | ····:goto_0 |
1167 | ····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; |
| |
1168 | ····invoke-virtual·{v0},·Landroid/util/ArrayMap;->size()I | 1166 | ····invoke-virtual·{v0},·Landroid/util/ArrayMap;->size()I |
| |
1169 | ····move-result·v0 | 1167 | ····move-result·v0 |
| |
1170 | ····if-ge·p3,·v0,·:cond_2 | 1168 | ····if-ge·p3,·v0,·:cond_2 |
| |
1171 | ····.line·1151 | 1169 | ····.line·1148 |
1172 | ····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; |
| |
1173 | ····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; |
| |
1174 | ····move-result-object·v0 | 1172 | ····move-result-object·v0 |
| |
1175 | ····check-cast·v0,·Lcom/android/networkstack/tethering/Tethering$TetherState; | 1173 | ····check-cast·v0,·Lcom/android/networkstack/tethering/Tethering$TetherState; |
| |
1176 | ····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; |
| |
1177 | ····.line·1152 | 1175 | ····.line·1149 |
1178 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->interfaceType()I | 1176 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->interfaceType()I |
| |
1179 | ····move-result·v1 | 1177 | ····move-result·v1 |
| |
1180 | ····if-ne·v1,·p1,·:cond_1 | 1178 | ····if-ne·v1,·p1,·:cond_1 |
| |
1181 | ····.line·1153 | 1179 | ····.line·1150 |
1182 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->unwanted()V | 1180 | ····invoke-virtual·{v0},·Landroid/net/ip/IpServer;->unwanted()V |
| |
1183 | ····return-void | 1181 | ····return-void |
| |
1184 | ····:cond_1 | 1182 | ····:cond_1 |
1185 | ····add-int/lit8·p3,·p3,·0x1 | 1183 | ····add-int/lit8·p3,·p3,·0x1 |
| |
1186 | ····goto·:goto_0 | 1184 | ····goto·:goto_0 |
| |
1187 | ····.line·1158 | 1185 | ····.line·1155 |
1188 | ····:cond_2 | 1186 | ····:cond_2 |
1189 | ····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; |
| |
1190 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 1188 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
1191 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 1189 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1192 | ····const-string·p3,·"Error·disabling·Wi-Fi·IP·serving;·" | 1190 | ····const-string·p3,·"Error·disabling·Wi-Fi·IP·serving;·" |
| |
1193 | ····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; |
| |
1194 | ····.line·1159 | 1192 | ····.line·1156 |
1195 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1193 | ····invoke-static·{p2},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1196 | ····move-result·p3 | 1194 | ····move-result·p3 |
| |
1197 | ····if-eqz·p3,·:cond_3 | 1195 | ····if-eqz·p3,·:cond_3 |
| |
1198 | ····const-string·p2,·"no·interface·name·specified" | 1196 | ····const-string·p2,·"no·interface·name·specified" |
| |
1199 | ····goto·:goto_1 | 1197 | ····goto·:goto_1 |
| |
1200 | ····.line·1160 | 1198 | ····.line·1157 |
1201 | ····:cond_3 | 1199 | ····:cond_3 |
1202 | ····new-instance·p3,·Ljava/lang/StringBuilder; | 1200 | ····new-instance·p3,·Ljava/lang/StringBuilder; |
| |
1203 | ····invoke-direct·{p3},·Ljava/lang/StringBuilder;-><init>()V | 1201 | ····invoke-direct·{p3},·Ljava/lang/StringBuilder;-><init>()V |
| |
1204 | ····const-string·v0,·"specified·interface:·" | 1202 | ····const-string·v0,·"specified·interface:·" |
| |
Offset 1258, 70 lines modified | Offset 1256, 70 lines modified |
1258 | ····:goto_1 | 1256 | ····:goto_1 |
1259 | ····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; |
| |
1260 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 1258 | ····invoke-virtual·{p1},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
1261 | ····move-result-object·p1 | 1259 | ····move-result-object·p1 |
| |
1262 | ····.line·1158 | 1260 | ····.line·1155 |
1263 | ····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 |
| |
1264 | ····return-void | 1262 | ····return-void |
1265 | .end·method | 1263 | .end·method |
| |
1266 | .method·private·disableWifiP2pIpServingLockedIfNeeded(Ljava/lang/String;)V | 1264 | .method·private·disableWifiP2pIpServingLockedIfNeeded(Ljava/lang/String;)V |
1267 | ····.locals·2 | 1265 | ····.locals·2 |
| |
1268 | ····.line·1174 | 1266 | ····.line·1171 |
1269 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1267 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1270 | ····move-result·v0 | 1268 | ····move-result·v0 |
| |
1271 | ····if-eqz·v0,·:cond_0 | 1269 | ····if-eqz·v0,·:cond_0 |
| |
1272 | ····return-void | 1270 | ····return-void |
| |
1273 | ····:cond_0 | 1271 | ····:cond_0 |
1274 | ····const/4·v0,·0x3 | 1272 | ····const/4·v0,·0x3 |
| |
1275 | ····const/4·v1,·0x0 | 1273 | ····const/4·v1,·0x0 |
| |
1276 | ····.line·1176 | 1274 | ····.line·1173 |
1277 | ····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 |
| |
1278 | ····return-void | 1276 | ····return-void |
1279 | .end·method | 1277 | .end·method |
| |
1280 | .method·private·doesEntitlementPackageExist()Z | 1278 | .method·private·doesEntitlementPackageExist()Z |
1281 | ····.locals·3 | 1279 | ····.locals·3 |
| |
1282 | ····.line·833 | 1280 | ····.line·830 |
1283 | ····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; |
| |
1284 | ····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; |
| |
1285 | ····array-length·v0,·v0 | 1283 | ····array-length·v0,·v0 |
| |
1286 | ····const/4·v1,·0x0 | 1284 | ····const/4·v1,·0x0 |
| |
1287 | ····const/4·v2,·0x2 | 1285 | ····const/4·v2,·0x2 |
| |
1288 | ····if-eq·v0,·v2,·:cond_0 | 1286 | ····if-eq·v0,·v2,·:cond_0 |
| |
1289 | ····return·v1 | 1287 | ····return·v1 |
| |
1290 | ····.line·837 | 1288 | ····.line·834 |
1291 | ····:cond_0 | 1289 | ····:cond_0 |
1292 | ····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; |
| |
1293 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; | 1291 | ····invoke-virtual·{v0},·Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager; |
| |
1294 | ····move-result-object·v0 | 1292 | ····move-result-object·v0 |
| |
1295 | ····.line·839 | 1293 | ····.line·836 |
1296 | ····:try_start_0 | 1294 | ····:try_start_0 |
1297 | ····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; |
| |
1298 | ····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; |
| |
1299 | ····aget-object·p0,·p0,·v1 | 1297 | ····aget-object·p0,·p0,·v1 |
| |
Offset 1336, 44 lines modified | Offset 1334, 44 lines modified |
1336 | ····:catch_0 | 1334 | ····:catch_0 |
1337 | ····return·v1 | 1335 | ····return·v1 |
1338 | .end·method | 1336 | .end·method |
| |
1339 | .method·private·emptyTetherStatesParcel()Landroid/net/TetherStatesParcel; | 1337 | .method·private·emptyTetherStatesParcel()Landroid/net/TetherStatesParcel; |
1340 | ····.locals·2 | 1338 | ····.locals·2 |
| |
1341 | ····.line·2096 | 1339 | ····.line·2092 |
1342 | ····new-instance·p0,·Landroid/net/TetherStatesParcel; | 1340 | ····new-instance·p0,·Landroid/net/TetherStatesParcel; |
| |
1343 | ····invoke-direct·{p0},·Landroid/net/TetherStatesParcel;-><init>()V | 1341 | ····invoke-direct·{p0},·Landroid/net/TetherStatesParcel;-><init>()V |
| |
1344 | ····const/4·v0,·0x0 | 1342 | ····const/4·v0,·0x0 |
| |
1345 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1343 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1346 | ····.line·2097 | 1344 | ····.line·2093 |
1347 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->availableList:[Ljava/lang/String; | 1345 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->availableList:[Ljava/lang/String; |
| |
1348 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1346 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1349 | ····.line·2098 | 1347 | ····.line·2094 |
1350 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->tetheredList:[Ljava/lang/String; | 1348 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->tetheredList:[Ljava/lang/String; |
| |
1351 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1349 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1352 | ····.line·2099 | 1350 | ····.line·2095 |
1353 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->localOnlyList:[Ljava/lang/String; | 1351 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->localOnlyList:[Ljava/lang/String; |
| |
1354 | ····new-array·v1,·v0,·[Ljava/lang/String; | 1352 | ····new-array·v1,·v0,·[Ljava/lang/String; |
| |
1355 | ····.line·2100 | 1353 | ····.line·2096 |
1356 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->erroredIfaceList:[Ljava/lang/String; | 1354 | ····iput-object·v1,·p0,·Landroid/net/TetherStatesParcel;->erroredIfaceList:[Ljava/lang/String; |
| |
1357 | ····new-array·v0,·v0,·[I | 1355 | ····new-array·v0,·v0,·[I |
| |
1358 | ····.line·2101 | 1356 | ····.line·2097 |
1359 | ····iput-object·v0,·p0,·Landroid/net/TetherStatesParcel;->lastErrorList:[I | 1357 | ····iput-object·v0,·p0,·Landroid/net/TetherStatesParcel;->lastErrorList:[I |
| |
1360 | ····return-object·p0 | 1358 | ····return-object·p0 |
1361 | .end·method | 1359 | .end·method |
| |
1362 | .method·private·enableTetheringInternal(IZLandroid/net/IIntResultListener;)V | 1360 | .method·private·enableTetheringInternal(IZLandroid/net/IIntResultListener;)V |
1363 | ····.locals·2 | 1361 | ····.locals·2 |
Offset 1392, 67 lines modified | Offset 1390, 67 lines modified |
| |
1392 | ····if-eq·p1,·v1,·:cond_1 | 1390 | ····if-eq·p1,·v1,·:cond_1 |
| |
1393 | ····const/4·v1,·0x5 | 1391 | ····const/4·v1,·0x5 |
| |
1394 | ····if-eq·p1,·v1,·:cond_0 | 1392 | ····if-eq·p1,·v1,·:cond_0 |
| |
1395 | ····.line·609 | 1393 | ····.line·606 |
1396 | ····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; |
| |
1397 | ····const-string·v1,·"Invalid·tether·type." | 1395 | ····const-string·v1,·"Invalid·tether·type." |
| |
1398 | ····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 |
| |
1399 | ····const/16·p2,·0x10 | 1397 | ····const/16·p2,·0x10 |
| |
1400 | ····goto·:goto_0 | 1398 | ····goto·:goto_0 |
| |
1401 | ····.line·606 | 1399 | ····.line·603 |
1402 | ····:cond_0 | 1400 | ····:cond_0 |
1403 | ····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 |
| |
1404 | ····move-result·p2 | 1402 | ····move-result·p2 |
| |
1405 | ····goto·:goto_0 | 1403 | ····goto·:goto_0 |
| |
1406 | ····.line·603 | 1404 | ····.line·600 |
1407 | ····:cond_1 | 1405 | ····:cond_1 |
1408 | ····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 |
| |
1409 | ····move-result·p2 | 1407 | ····move-result·p2 |
| |
1410 | ····goto·:goto_0 | 1408 | ····goto·:goto_0 |
| |
1411 | ····.line·600 | 1409 | ····.line·597 |
1412 | ····:cond_2 | 1410 | ····:cond_2 |
1413 | ····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 |
| |
1414 | ····const/4·p2,·0x0 | 1412 | ····const/4·p2,·0x0 |
| |
1415 | ····goto·:goto_0 | 1413 | ····goto·:goto_0 |
| |
1416 | ····.line·597 | 1414 | ····.line·594 |
1417 | ····:cond_3 | 1415 | ····:cond_3 |
1418 | ····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 |
| |
1419 | ····move-result·p2 | 1417 | ····move-result·p2 |
| |
1420 | ····goto·:goto_0 | 1418 | ····goto·:goto_0 |
| |
1421 | ····.line·594 | 1419 | ····.line·591 |
1422 | ····:cond_4 | 1420 | ····:cond_4 |
1423 | ····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 |
| |
1424 | ····move-result·p2 | 1422 | ····move-result·p2 |
| |
1425 | ····:goto_0 | 1423 | ····:goto_0 |
1426 | ····if-eq·p1,·v0,·:cond_5 | 1424 | ····if-eq·p1,·v0,·:cond_5 |
| |
1427 | ····.line·615 | 1425 | ····.line·612 |
1428 | ····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 |
| |
1429 | ····:cond_5 | 1427 | ····:cond_5 |
1430 | ····return-void | 1428 | ····return-void |
1431 | .end·method | 1429 | .end·method |
| |
1432 | .method·private·enableWifiIpServingLocked(Ljava/lang/String;I)V | 1430 | .method·private·enableWifiIpServingLocked(Ljava/lang/String;I)V |
Offset 1462, 15 lines modified | Offset 1460, 15 lines modified |
| |
1462 | ····const/4·v1,·0x1 | 1460 | ····const/4·v1,·0x1 |
| |
1463 | ····if-eq·p2,·v1,·:cond_1 | 1461 | ····if-eq·p2,·v1,·:cond_1 |
| |
1464 | ····if-eq·p2,·v0,·:cond_0 | 1462 | ····if-eq·p2,·v0,·:cond_0 |
| |
1465 | ····.line·1191 | 1463 | ····.line·1188 |
1466 | ····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; |
| |
1467 | ····new-instance·p1,·Ljava/lang/StringBuilder; | 1465 | ····new-instance·p1,·Ljava/lang/StringBuilder; |
| |
1468 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V | 1466 | ····invoke-direct·{p1},·Ljava/lang/StringBuilder;-><init>()V |
| |
1469 | ····const-string·v0,·"Cannot·enable·IP·serving·in·unknown·WiFi·mode:·" | 1467 | ····const-string·v0,·"Cannot·enable·IP·serving·in·unknown·WiFi·mode:·" |
Offset 1486, 62 lines modified | Offset 1484, 62 lines modified |
1486 | ····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 |
| |
1487 | ····return-void | 1485 | ····return-void |
| |
1488 | ····:cond_0 | 1486 | ····:cond_0 |
1489 | ····const/4·v0,·0x3 | 1487 | ····const/4·v0,·0x3 |
| |
1490 | ····.line·1195 | 1488 | ····.line·1192 |
1491 | ····:cond_1 | 1489 | ····:cond_1 |
1492 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z | 1490 | ····invoke-static·{p1},·Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z |
| |
1493 | ····move-result·p2 | 1491 | ····move-result·p2 |
| |
1494 | ····if-nez·p2,·:cond_2 | 1492 | ····if-nez·p2,·:cond_2 |
| |
1495 | ····.line·1196 | 1493 | ····.line·1193 |
1496 | ····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 |
| |
1497 | ····.line·1197 | 1495 | ····.line·1194 |
1498 | ····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 |
| |
1499 | ····goto·:goto_0 | 1497 | ····goto·:goto_0 |
| |
1500 | ····.line·1199 | 1498 | ····.line·1196 |
1501 | ····:cond_2 | 1499 | ····:cond_2 |
1502 | ····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; |
| |
1503 | ····new-array·p1,·v1,·[Ljava/lang/Object; | 1501 | ····new-array·p1,·v1,·[Ljava/lang/Object; |
| |
1504 | ····const/4·p2,·0x0 | 1502 | ····const/4·p2,·0x0 |
| |
1505 | ····.line·1201 | 1503 | ····.line·1198 |
1506 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 1504 | ····invoke-static·{v0},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
| |
1507 | ····move-result-object·v0 | 1505 | ····move-result-object·v0 |
| |
1508 | ····aput-object·v0,·p1,·p2 | 1506 | ····aput-object·v0,·p1,·p2 |
| |
1509 | ····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" |
| |
1510 | ····.line·1199 | 1508 | ····.line·1196 |
1511 | ····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; |
| |
1512 | ····move-result-object·p1 | 1510 | ····move-result-object·p1 |
| |
1513 | ····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 |
| |
1514 | ····:goto_0 | 1512 | ····:goto_0 |
1515 | ····return-void | 1513 | ····return-void |
1516 | .end·method | 1514 | .end·method |
| |
1517 | .method·private·getWifiManager()Landroid/net/wifi/WifiManager; | 1515 | .method·private·getWifiManager()Landroid/net/wifi/WifiManager; |
1518 | ····.locals·1 | 1516 | ····.locals·1 |
| |
1519 | ····.line·440 | 1517 | ····.line·437 |
1520 | ····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; |
| |
1521 | ····const-string·v0,·"wifi" | 1519 | ····const-string·v0,·"wifi" |
| |
1522 | ····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; |
| |
1523 | ····move-result-object·p0 | 1521 | ····move-result-object·p0 |
Offset 1550, 15 lines modified | Offset 1548, 15 lines modified |
| |
1550 | ····return-object·p0 | 1548 | ····return-object·p0 |
1551 | .end·method | 1549 | .end·method |
| |
1552 | .method·private·hasCallingPermission(Ljava/lang/String;)Z | 1550 | .method·private·hasCallingPermission(Ljava/lang/String;)Z |
1553 | ····.locals·0 | 1551 | ····.locals·0 |
| |
1554 | ····.line·2107 | 1552 | ····.line·2103 |
1555 | ····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; |
| |
1556 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->checkCallingPermission(Ljava/lang/String;)I | 1554 | ····invoke-virtual·{p0,·p1},·Landroid/content/Context;->checkCallingPermission(Ljava/lang/String;)I |
| |
1557 | ····move-result·p0 | 1555 | ····move-result·p0 |
| |
1558 | ····if-nez·p0,·:cond_0 | 1556 | ····if-nez·p0,·:cond_0 |
Offset 1573, 77 lines modified | Offset 1571, 77 lines modified |
1573 | ····:goto_0 | 1571 | ····:goto_0 |
1574 | ····return·p0 | 1572 | ····return·p0 |
1575 | .end·method | 1573 | .end·method |
| |
1576 | .method·private·ifaceNameToType(Ljava/lang/String;)I | 1574 | .method·private·ifaceNameToType(Ljava/lang/String;)I |
1577 | ····.locals·1 | 1575 | ····.locals·1 |
| |
1578 | ····.line·521 | 1576 | ····.line·518 |
1579 | ····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; |
| |
1580 | ····.line·523 | 1578 | ····.line·520 |
1581 | ····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 |
| |
1582 | ····move-result·v0 | 1580 | ····move-result·v0 |
| |
1583 | ····if-eqz·v0,·:cond_0 | 1581 | ····if-eqz·v0,·:cond_0 |
| |
1584 | ····const/4·p0,·0x0 | 1582 | ····const/4·p0,·0x0 |
| |
1585 | ····return·p0 | 1583 | ····return·p0 |
| |
1586 | ····.line·525 | 1584 | ····.line·522 |
1587 | ····:cond_0 | 1585 | ····:cond_0 |
1588 | ····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 |
| |
1589 | ····move-result·v0 | 1587 | ····move-result·v0 |
| |
1590 | ····if-eqz·v0,·:cond_1 | 1588 | ····if-eqz·v0,·:cond_1 |
| |
1591 | ····const/4·p0,·0x6 | 1589 | ····const/4·p0,·0x6 |
| |
1592 | ····return·p0 | 1590 | ····return·p0 |
| |
1593 | ····.line·527 | 1591 | ····.line·524 |
1594 | ····:cond_1 | 1592 | ····:cond_1 |
1595 | ····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 |
| |
1596 | ····move-result·v0 | 1594 | ····move-result·v0 |
| |
1597 | ····if-eqz·v0,·:cond_2 | 1595 | ····if-eqz·v0,·:cond_2 |
| |
1598 | ····const/4·p0,·0x3 | 1596 | ····const/4·p0,·0x3 |
| |
1599 | ····return·p0 | 1597 | ····return·p0 |
| |
1600 | ····.line·529 | 1598 | ····.line·526 |
1601 | ····:cond_2 | 1599 | ····:cond_2 |
1602 | ····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 |
| |
1603 | ····move-result·v0 | 1601 | ····move-result·v0 |
| |
1604 | ····if-eqz·v0,·:cond_3 | 1602 | ····if-eqz·v0,·:cond_3 |
| |
1605 | ····const/4·p0,·0x1 | 1603 | ····const/4·p0,·0x1 |
| |
1606 | ····return·p0 | 1604 | ····return·p0 |
| |
1607 | ····.line·531 | 1605 | ····.line·528 |
1608 | ····:cond_3 | 1606 | ····:cond_3 |
1609 | ····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 |
| |
1610 | ····move-result·v0 | 1608 | ····move-result·v0 |
| |
1611 | ····if-eqz·v0,·:cond_4 | 1609 | ····if-eqz·v0,·:cond_4 |
| |
1612 | ····const/4·p0,·0x2 | 1610 | ····const/4·p0,·0x2 |
| |
1613 | ····return·p0 | 1611 | ····return·p0 |
| |
1614 | ····.line·533 | 1612 | ····.line·530 |
1615 | ····:cond_4 | 1613 | ····:cond_4 |
1616 | ····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 |
| |
1617 | ····move-result·p0 | 1615 | ····move-result·p0 |
| |
1618 | ····if-eqz·p0,·:cond_5 | 1616 | ····if-eqz·p0,·:cond_5 |
| |
Offset 1656, 15 lines modified | Offset 1654, 15 lines modified |
| |
1656 | ····return·p0 | 1654 | ····return·p0 |
1657 | .end·method | 1655 | .end·method |
| |
1658 | .method·private·isProvisioningNeededButUnavailable()Z | 1656 | .method·private·isProvisioningNeededButUnavailable()Z |
1659 | ····.locals·1 | 1657 | ····.locals·1 |
| |
1660 | ····.line·823 | 1658 | ····.line·820 |
1661 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetherProvisioningRequired()Z | 1659 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetherProvisioningRequired()Z |
| |
1662 | ····move-result·v0 | 1660 | ····move-result·v0 |
| |
1663 | ····if-eqz·v0,·:cond_0 | 1661 | ····if-eqz·v0,·:cond_0 |
| |
1664 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->doesEntitlementPackageExist()Z | 1662 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->doesEntitlementPackageExist()Z |
Offset 1744, 52 lines modified | Offset 1742, 52 lines modified |
| |
1744 | ····return-void | 1742 | ····return-void |
1745 | .end·method | 1743 | .end·method |
| |
1746 | .method·private·synthetic·lambda$registerTetheringEventCallback$7(Landroid/net/ITetheringEventCallback;Z)V | 1744 | .method·private·synthetic·lambda$registerTetheringEventCallback$7(Landroid/net/ITetheringEventCallback;Z)V |
1747 | ····.locals·3 | 1745 | ····.locals·3 |
| |
1748 | ····.line·2076 | 1746 | ····.line·2072 |
1749 | ····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; |
| |
1750 | ····new-instance·v1,·Lcom/android/networkstack/tethering/Tethering$CallbackCookie; | 1748 | ····new-instance·v1,·Lcom/android/networkstack/tethering/Tethering$CallbackCookie; |
| |
1751 | ····const/4·v2,·0x0 | 1749 | ····const/4·v2,·0x0 |
| |
1752 | ····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 |
| |
1753 | ····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 |
| |
1754 | ····.line·2077 | 1752 | ····.line·2073 |
1755 | ····new-instance·v0,·Landroid/net/TetheringCallbackStartedParcel; | 1753 | ····new-instance·v0,·Landroid/net/TetheringCallbackStartedParcel; |
| |
1756 | ····invoke-direct·{v0},·Landroid/net/TetheringCallbackStartedParcel;-><init>()V | 1754 | ····invoke-direct·{v0},·Landroid/net/TetheringCallbackStartedParcel;-><init>()V |
| |
1757 | ····.line·2078 | 1755 | ····.line·2074 |
1758 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetheringSupported()Z | 1756 | ····invoke-virtual·{p0},·Lcom/android/networkstack/tethering/Tethering;->isTetheringSupported()Z |
| |
1759 | ····move-result·v1 | 1757 | ····move-result·v1 |
| |
1760 | ····iput-boolean·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheringSupported:Z | 1758 | ····iput-boolean·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheringSupported:Z |
| |
1761 | ····.line·2079 | 1759 | ····.line·2075 |
1762 | ····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; |
| |
1763 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->upstreamNetwork:Landroid/net/Network; | 1761 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->upstreamNetwork:Landroid/net/Network; |
| |
1764 | ····.line·2080 | 1762 | ····.line·2076 |
1765 | ····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; |
| |
1766 | ····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; |
| |
1767 | ····move-result-object·v1 | 1765 | ····move-result-object·v1 |
| |
1768 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->config:Landroid/net/TetheringConfigurationParcel; | 1766 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->config:Landroid/net/TetheringConfigurationParcel; |
| |
1769 | ····.line·2082 | 1767 | ····.line·2078 |
1770 | ····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; |
| |
1771 | ····if-eqz·v1,·:cond_0 | 1769 | ····if-eqz·v1,·:cond_0 |
| |
1772 | ····goto·:goto_0 | 1770 | ····goto·:goto_0 |
| |
1773 | ····:cond_0 | 1771 | ····:cond_0 |
Offset 1798, 178 lines modified | Offset 1796, 178 lines modified |
1798 | ····move-result-object·v1 | 1796 | ····move-result-object·v1 |
| |
1799 | ····:goto_0 | 1797 | ····:goto_0 |
1800 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->states:Landroid/net/TetherStatesParcel; | 1798 | ····iput-object·v1,·v0,·Landroid/net/TetheringCallbackStartedParcel;->states:Landroid/net/TetherStatesParcel; |
| |
1801 | ····if-eqz·p2,·:cond_1 | 1799 | ····if-eqz·p2,·:cond_1 |
| |
1802 | ····.line·2084 | 1800 | ····.line·2080 |
1803 | ····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; |
| |
1804 | ····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; |
| |
1805 | ····move-result-object·p2 | 1803 | ····move-result-object·p2 |
| |
1806 | ····goto·:goto_1 | 1804 | ····goto·:goto_1 |
| |
1807 | ····.line·2085 | 1805 | ····.line·2081 |
1808 | ····:cond_1 | 1806 | ····:cond_1 |
1809 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; | 1807 | ····invoke-static·{},·Ljava/util/Collections;->emptyList()Ljava/util/List; |
| |
1810 | ····move-result-object·p2 | 1808 | ····move-result-object·p2 |
| |
1811 | ····:goto_1 | 1809 | ····:goto_1 |
1812 | ····iput-object·p2,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheredClients:Ljava/util/List; | 1810 | ····iput-object·p2,·v0,·Landroid/net/TetheringCallbackStartedParcel;->tetheredClients:Ljava/util/List; |
| |
1813 | ····.line·2086 | 1811 | ····.line·2082 |
1814 | ····iget·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mOffloadStatus:I | 1812 | ····iget·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mOffloadStatus:I |
| |
1815 | ····iput·p0,·v0,·Landroid/net/TetheringCallbackStartedParcel;->offloadStatus:I | 1813 | ····iput·p0,·v0,·Landroid/net/TetheringCallbackStartedParcel;->offloadStatus:I |
| |
1816 | ····.line·2088 | 1814 | ····.line·2084 |
1817 | ····:try_start_0 | 1815 | ····:try_start_0 |
1818 | ····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 |
1819 | ····:try_end_0 | 1817 | ····:try_end_0 |
1820 | ····.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 |
| |
1821 | ····:catch_0 | 1819 | ····:catch_0 |
1822 | ····return-void | 1820 | ····return-void |
1823 | .end·method | 1821 | .end·method |
| |
1824 | .method·private·synthetic·lambda$requestLatestTetheringEntitlementResult$6(ILandroid/os/ResultReceiver;Z)V | 1822 | .method·private·synthetic·lambda$requestLatestTetheringEntitlementResult$6(ILandroid/os/ResultReceiver;Z)V |
1825 | ····.locals·0 | 1823 | ····.locals·0 |
| |
1826 | ····.line·2064 | 1824 | ····.line·2060 |
1827 | ····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; |
| |
1828 | ····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 |
| |
1829 | ····return-void | 1827 | ····return-void |
1830 | .end·method | 1828 | .end·method |
| |
1831 | .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 |
1832 | ····.locals·3 | 1830 | ····.locals·3 |
| |
1833 | ····.line·555 | 1831 | ····.line·552 |
1834 | ····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; |
| |
1835 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1833 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1836 | ····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; |
| |
1837 | ····move-result-object·v0 | 1835 | ····move-result-object·v0 |
| |
1838 | ····check-cast·v0,·Landroid/net/TetheringRequestParcel; | 1836 | ····check-cast·v0,·Landroid/net/TetheringRequestParcel; |
| |
1839 | ····if-eqz·v0,·:cond_0 | 1837 | ····if-eqz·v0,·:cond_0 |
| |
1840 | ····.line·560 | 1838 | ····.line·557 |
1841 | ····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 |
| |
1842 | ····move-result·v0 | 1840 | ····move-result·v0 |
| |
1843 | ····if-nez·v0,·:cond_0 | 1841 | ····if-nez·v0,·:cond_0 |
| |
1844 | ····.line·561 | 1842 | ····.line·558 |
1845 | ····iget·v0,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1843 | ····iget·v0,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1846 | ····const/4·v1,·0x0 | 1844 | ····const/4·v1,·0x0 |
| |
1847 | ····const/4·v2,·0x0 | 1845 | ····const/4·v2,·0x0 |
| |
1848 | ····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 |
| |
1849 | ····.line·562 | 1847 | ····.line·559 |
1850 | ····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; |
| |
1851 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1849 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1852 | ····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 |
| |
1853 | ····.line·564 | 1851 | ····.line·561 |
1854 | ····:cond_0 | 1852 | ····:cond_0 |
1855 | ····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; |
| |
1856 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1854 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1857 | ····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 |
| |
1858 | ····.line·566 | 1856 | ····.line·563 |
1859 | ····iget-boolean·v0,·p1,·Landroid/net/TetheringRequestParcel;->exemptFromEntitlementCheck:Z | 1857 | ····iget-boolean·v0,·p1,·Landroid/net/TetheringRequestParcel;->exemptFromEntitlementCheck:Z |
| |
1860 | ····if-eqz·v0,·:cond_1 | 1858 | ····if-eqz·v0,·:cond_1 |
| |
1861 | ····.line·567 | 1859 | ····.line·564 |
1862 | ····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; |
| |
1863 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1861 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1864 | ····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 |
| |
1865 | ····goto·:goto_0 | 1863 | ····goto·:goto_0 |
| |
1866 | ····.line·569 | 1864 | ····.line·566 |
1867 | ····:cond_1 | 1865 | ····:cond_1 |
1868 | ····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; |
| |
1869 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1867 | ····iget·v1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1870 | ····iget-boolean·v2,·p1,·Landroid/net/TetheringRequestParcel;->showProvisioningUi:Z | 1868 | ····iget-boolean·v2,·p1,·Landroid/net/TetheringRequestParcel;->showProvisioningUi:Z |
| |
1871 | ····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 |
| |
1872 | ····.line·572 | 1870 | ····.line·569 |
1873 | ····:goto_0 | 1871 | ····:goto_0 |
1874 | ····iget·p1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I | 1872 | ····iget·p1,·p1,·Landroid/net/TetheringRequestParcel;->tetheringType:I |
| |
1875 | ····const/4·v0,·0x1 | 1873 | ····const/4·v0,·0x1 |
| |
1876 | ····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 |
| |
1877 | ····return-void | 1875 | ····return-void |
1878 | .end·method | 1876 | .end·method |
| |
1879 | .method·private·synthetic·lambda$stopTethering$5(I)V | 1877 | .method·private·synthetic·lambda$stopTethering$5(I)V |
1880 | ····.locals·2 | 1878 | ····.locals·2 |
| |
1881 | ····.line·578 | 1879 | ····.line·575 |
1882 | ····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; |
| |
1883 | ····invoke-virtual·{v0,·p1},·Landroid/util/SparseArray;->remove(I)V | 1881 | ····invoke-virtual·{v0,·p1},·Landroid/util/SparseArray;->remove(I)V |
| |
1884 | ····const/4·v0,·0x0 | 1882 | ····const/4·v0,·0x0 |
| |
1885 | ····const/4·v1,·0x0 | 1883 | ····const/4·v1,·0x0 |
| |
1886 | ····.line·580 | 1884 | ····.line·577 |
1887 | ····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 |
| |
1888 | ····.line·581 | 1886 | ····.line·578 |
1889 | ····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; |
| |
1890 | ····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 |
| |
1891 | ····return-void | 1889 | ····return-void |
1892 | .end·method | 1890 | .end·method |
| |
1893 | .method·private·synthetic·lambda$unregisterTetheringEventCallback$8(Landroid/net/ITetheringEventCallback;)V | 1891 | .method·private·synthetic·lambda$unregisterTetheringEventCallback$8(Landroid/net/ITetheringEventCallback;)V |
1894 | ····.locals·0 | 1892 | ····.locals·0 |
| |
1895 | ····.line·2113 | 1893 | ····.line·2109 |
1896 | ····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; |
| |
1897 | ····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 |
| |
1898 | ····return-void | 1896 | ····return-void |
1899 | .end·method | 1897 | .end·method |
| |
1900 | .method·private·logMessage(Lcom/android/networkstack/tethering/util/State;I)V | 1898 | .method·private·logMessage(Lcom/android/networkstack/tethering/util/State;I)V |
1901 | ····.locals·2 | 1899 | ····.locals·2 |
| |
1902 | ····.line·1363 | 1900 | ····.line·1360 |
1903 | ····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; |
| |
1904 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 1902 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
1905 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 1903 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
1906 | ····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 2004, 61 lines modified | Offset 2002, 61 lines modified |
| |
2004 | ····return-void | 2002 | ····return-void |
2005 | .end·method | 2003 | .end·method |
| |
2006 | .method·private·makeControlCallback()Landroid/net/ip/IpServer$Callback; | 2004 | .method·private·makeControlCallback()Landroid/net/ip/IpServer$Callback; |
2007 | ····.locals·1 | 2005 | ····.locals·1 |
| |
2008 | ····.line·2312 | 2006 | ····.line·2308 |
2009 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$4; | 2007 | ····new-instance·v0,·Lcom/android/networkstack/tethering/Tethering$4; |
| |
2010 | ····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 |
| |
2011 | ····return-object·v0 | 2009 | ····return-object·v0 |
2012 | .end·method | 2010 | .end·method |
| |
2013 | .method·private·maybeDunSettingChanged()V | 2011 | .method·private·maybeDunSettingChanged()V |
2014 | ····.locals·2 | 2012 | ····.locals·2 |
| |
2015 | ····.line·451 | 2013 | ····.line·448 |
2016 | ····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; |
| |
2017 | ····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 |
| |
2018 | ····move-result·v0 | 2016 | ····move-result·v0 |
| |
2019 | ····.line·452 | 2017 | ····.line·449 |
2020 | ····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; |
| |
2021 | ····iget-boolean·v1,·v1,·Lcom/android/networkstack/tethering/TetheringConfiguration;->isDunRequired:Z | 2019 | ····iget-boolean·v1,·v1,·Lcom/android/networkstack/tethering/TetheringConfiguration;->isDunRequired:Z |
| |
2022 | ····if-ne·v0,·v1,·:cond_0 | 2020 | ····if-ne·v0,·v1,·:cond_0 |
| |
2023 | ····return-void | 2021 | ····return-void |
| |
2024 | ····.line·453 | 2022 | ····.line·450 |
2025 | ····:cond_0 | 2023 | ····:cond_0 |
2026 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->updateConfiguration()V | 2024 | ····invoke-direct·{p0},·Lcom/android/networkstack/tethering/Tethering;->updateConfiguration()V |
| |
2027 | ····return-void | 2025 | ····return-void |
2028 | .end·method | 2026 | .end·method |
| |
2029 | .method·private·maybeTrackNewInterfaceLocked(Ljava/lang/String;)V | 2027 | .method·private·maybeTrackNewInterfaceLocked(Ljava/lang/String;)V |
2030 | ····.locals·2 | 2028 | ····.locals·2 |
| |
2031 | ····.line·2396 | 2029 | ····.line·2392 |
2032 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->ifaceNameToType(Ljava/lang/String;)I | 2030 | ····invoke-direct·{p0,·p1},·Lcom/android/networkstack/tethering/Tethering;->ifaceNameToType(Ljava/lang/String;)I |
| |
2033 | ····move-result·v0 | 2031 | ····move-result·v0 |
| |
2034 | ····const/4·v1,·-0x1 | 2032 | ····const/4·v1,·-0x1 |
| |
2035 | ····if-ne·v0,·v1,·:cond_0 | 2033 | ····if-ne·v0,·v1,·:cond_0 |
| |
2036 | ····.line·2398 | 2034 | ····.line·2394 |
2037 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 2035 | ····iget-object·p0,·p0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
2038 | ····new-instance·v0,·Ljava/lang/StringBuilder; | 2036 | ····new-instance·v0,·Ljava/lang/StringBuilder; |
| |
2039 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V | 2037 | ····invoke-direct·{v0},·Ljava/lang/StringBuilder;-><init>()V |
| |
2040 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; | 2038 | ····invoke-virtual·{v0,·p1},·Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
Offset 2071, 38 lines modified | Offset 2069, 38 lines modified |
| |
2071 | ····move-result-object·p1 | 2069 | ····move-result-object·p1 |
| |
2072 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V | 2070 | ····invoke-virtual·{p0,·p1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
2073 | ····return-void | 2071 | ····return-void |
| |
2074 | ····.line·2401 | 2072 | ····.line·2397 |
2075 | ····:cond_0 | 2073 | ····:cond_0 |
2076 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->maybeTrackNewInterfaceLocked(Ljava/lang/String;I)V | 2074 | ····invoke-direct·{p0,·p1,·v0},·Lcom/android/networkstack/tethering/Tethering;->maybeTrackNewInterfaceLocked(Ljava/lang/String;I)V |
| |
2077 | ····return-void | 2075 | ····return-void |
2078 | .end·method | 2076 | .end·method |
| |
2079 | .method·private·maybeTrackNewInterfaceLocked(Ljava/lang/String;I)V | 2077 | .method·private·maybeTrackNewInterfaceLocked(Ljava/lang/String;I)V |
2080 | ····.locals·16 | 2078 | ····.locals·16 |
| |
2081 | ····move-object/from16·v0,·p0 | 2079 | ····move-object/from16·v0,·p0 |
| |
2082 | ····move-object/from16·v13,·p1 | 2080 | ····move-object/from16·v13,·p1 |
| |
2083 | ····.line·2406 | 2081 | ····.line·2402 |
2084 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; | 2082 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mTetherStates:Landroid/util/ArrayMap; |
| |
2085 | ····invoke-virtual·{v1,·v13},·Landroid/util/ArrayMap;->containsKey(Ljava/lang/Object;)Z | 2083 | ····invoke-virtual·{v1,·v13},·Landroid/util/ArrayMap;->containsKey(Ljava/lang/Object;)Z |
| |
2086 | ····move-result·v1 | 2084 | ····move-result·v1 |
| |
2087 | ····if-eqz·v1,·:cond_0 | 2085 | ····if-eqz·v1,·:cond_0 |
| |
2088 | ····.line·2407 | 2086 | ····.line·2403 |
2089 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 2087 | ····iget-object·v0,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
2090 | ····new-instance·v1,·Ljava/lang/StringBuilder; | 2088 | ····new-instance·v1,·Ljava/lang/StringBuilder; |
| |
2091 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V | 2089 | ····invoke-direct·{v1},·Ljava/lang/StringBuilder;-><init>()V |
| |
2092 | ····const-string·v2,·"active·iface·(" | 2090 | ····const-string·v2,·"active·iface·(" |
Offset 2119, 15 lines modified | Offset 2117, 15 lines modified |
| |
2119 | ····move-result-object·v1 | 2117 | ····move-result-object·v1 |
| |
2120 | ····invoke-virtual·{v0,·v1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V | 2118 | ····invoke-virtual·{v0,·v1},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
2121 | ····return-void | 2119 | ····return-void |
| |
2122 | ····.line·2411 | 2120 | ····.line·2407 |
2123 | ····:cond_0 | 2121 | ····:cond_0 |
2124 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 2122 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
2125 | ····new-instance·v2,·Ljava/lang/StringBuilder; | 2123 | ····new-instance·v2,·Ljava/lang/StringBuilder; |
| |
2126 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V | 2124 | ····invoke-direct·{v2},·Ljava/lang/StringBuilder;-><init>()V |
| |
Offset 2139, 122 lines modified | Offset 2137, 122 lines modified |
| |
2139 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 2137 | ····invoke-virtual·{v2},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
| |
2140 | ····move-result-object·v2 | 2138 | ····move-result-object·v2 |
| |
2141 | ····invoke-virtual·{v1,·v2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V | 2139 | ····invoke-virtual·{v1,·v2},·Landroid/net/util/SharedLog;->log(Ljava/lang/String;)V |
| |
2142 | ····.line·2412 | 2140 | ····.line·2408 |
2143 | ····new-instance·v14,·Lcom/android/networkstack/tethering/Tethering$TetherState; | 2141 | ····new-instance·v14,·Lcom/android/networkstack/tethering/Tethering$TetherState; |
| |
2144 | ····new-instance·v15,·Landroid/net/ip/IpServer; | 2142 | ····new-instance·v15,·Landroid/net/ip/IpServer; |
| |
2145 | ····iget-object·v3,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLooper:Landroid/os/Looper; | 2143 | ····iget-object·v3,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLooper:Landroid/os/Looper; |
| |
2146 | ····iget-object·v5,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; | 2144 | ····iget-object·v5,·v0,·Lcom/android/networkstack/tethering/Tethering;->mLog:Landroid/net/util/SharedLog; |
| |
2147 | ····iget-object·v6,·v0,·Lcom/android/networkstack/tethering/Tethering;->mNetd:Landroid/net/INetd; | 2145 | ····iget-object·v6,·v0,·Lcom/android/networkstack/tethering/Tethering;->mNetd:Landroid/net/INetd; |
| |
2148 | ····iget-object·v7,·v0,·Lcom/android/networkstack/tethering/Tethering;->mBpfCoordinator:Lcom/android/networkstack/tethering/BpfCoordinator; | 2146 | ····iget-object·v7,·v0,·Lcom/android/networkstack/tethering/Tethering;->mBpfCoordinator:Lcom/android/networkstack/tethering/BpfCoordinator; |
| |
2149 | ····.line·2414 | 2147 | ····.line·2410 |
2150 | ····invoke-direct/range·{p0·..·p0},·Lcom/android/networkstack/tethering/Tethering;->makeControlCallback()Landroid/net/ip/IpServer$Callback; | 2148 | ····invoke-direct/range·{p0·..·p0},·Lcom/android/networkstack/tethering/Tethering;->makeControlCallback()Landroid/net/ip/IpServer$Callback; |
| |
2151 | ····move-result-object·v8 | 2149 | ····move-result-object·v8 |
| |
2152 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 2150 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; |
| |
2153 | ····iget-boolean·v9,·v1,·Lcom/android/networkstack/tethering/TetheringConfiguration;->enableLegacyDhcpServer:Z | 2151 | ····iget-boolean·v9,·v1,·Lcom/android/networkstack/tethering/TetheringConfiguration;->enableLegacyDhcpServer:Z |
| |
2154 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; | 2152 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mConfig:Lcom/android/networkstack/tethering/TetheringConfiguration; |
| |
2155 | ····.line·2415 | 2153 | ····.line·2411 |
2156 | ····invoke-virtual·{v1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isBpfOffloadEnabled()Z | 2154 | ····invoke-virtual·{v1},·Lcom/android/networkstack/tethering/TetheringConfiguration;->isBpfOffloadEnabled()Z |
| |
2157 | ····move-result·v10 | 2155 | ····move-result·v10 |
| |
2158 | ····iget-object·v11,·v0,·Lcom/android/networkstack/tethering/Tethering;->mPrivateAddressCoordinator:Lcom/android/networkstack/tethering/PrivateAddressCoordinator; | 2156 | ····iget-object·v11,·v0,·Lcom/android/networkstack/tethering/Tethering;->mPrivateAddressCoordinator:Lcom/android/networkstack/tethering/PrivateAddressCoordinator; |
| |
2159 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mDeps:Lcom/android/networkstack/tethering/TetheringDependencies; | 2157 | ····iget-object·v1,·v0,·Lcom/android/networkstack/tethering/Tethering;->mDeps:Lcom/android/networkstack/tethering/TetheringDependencies; |
| |
2160 | ····.line·2416 | 2158 | ····.line·2412 |
2161 | ····invoke-virtual·{v1},·Lcom/android/networkstack/tethering/TetheringDependencies;->getIpServerDependencies()Landroid/net/ip/IpServer$Dependencies; | 2159 | ····invoke-virtual·{v1},·Lcom/android/networkstack/tethering/TetheringDependencies;->getIpServerDependencies()Landroid/net/ip/IpServer$Dependencies; |
| |
2162 | ····move-result-object·v12 | 2160 | ····move-result-object·v12 |
| |
Max diff block lines reached; 86051/118921 bytes (72.36%) of diff not shown.
|