| | | | |
| Offset 911, 21 lines modified | Offset 911, 30 lines modified |
| 911 | ········} | 911 | ········} |
| 912 | ········final·String·bssid·=·((WifiInfo)this.mWifiInfo).getBSSID(); | 912 | ········final·String·bssid·=·((WifiInfo)this.mWifiInfo).getBSSID(); |
| 913 | ········final·String·ssid·=·((WifiInfo)this.mWifiInfo).getSSID(); | 913 | ········final·String·ssid·=·((WifiInfo)this.mWifiInfo).getSSID(); |
| 914 | ········if·(bssid·!=·null·&&·ssid·!=·null·&&·!"<unknown·ssid>".equals(ssid))·{ | 914 | ········if·(bssid·!=·null·&&·ssid·!=·null·&&·!"<unknown·ssid>".equals(ssid))·{ |
| 915 | ············if·((mboOceController$BtmFrameData.mBssTmDataFlagsMask·&·0x80)·!=·0x0)·{ | 915 | ············if·((mboOceController$BtmFrameData.mBssTmDataFlagsMask·&·0x80)·!=·0x0)·{ |
| 916 | ················this.mWifiMetrics.incrementMboCellularSwitchRequestCount(); | 916 | ················this.mWifiMetrics.incrementMboCellularSwitchRequestCount(); |
| 917 | ············} | 917 | ············} |
| 918 | ············if·((mboOceController$BtmFrameData.mBssTmDataFlagsMask·&·0x40)·!=·0x0)·{ | 918 | ············final·int·mBssTmDataFlagsMask·=·mboOceController$BtmFrameData.mBssTmDataFlagsMask; |
| 919 | ················long·mBlackListDurationMs·=·mboOceController$BtmFrameData.mBlackListDurationMs; | 919 | ············if·((mBssTmDataFlagsMask·&·0x4)·!=·0x0)·{ |
| 920 | ················this.mWifiMetrics.incrementSteeringRequestCountIncludingMboAssocRetryDelay(); | 920 | ················final·int·n·=·mBssTmDataFlagsMask·&·0x40; |
| 921 | ················if·(mBlackListDurationMs·==·0L)·{ | 921 | ················final·long·n2·=·0L; |
| 922 | ····················mBlackListDurationMs·=·300000L; | 922 | ················long·mBlockListDurationMs; |
| | 923 | ················if·(n·!=·0)·{ |
| | 924 | ····················this.mWifiMetrics.incrementSteeringRequestCountIncludingMboAssocRetryDelay(); |
| | 925 | ····················mBlockListDurationMs·=·mboOceController$BtmFrameData.mBlockListDurationMs; |
| 923 | ················} | 926 | ················} |
| 924 | ················this.mBssidBlocklistMonitor.blockBssidForDurationMs(bssid,·ssid,·mBlackListDurationMs); | 927 | ················else·{ |
| | 928 | ····················mBlockListDurationMs·=·n2; |
| | 929 | ················} |
| | 930 | ················if·(mBlockListDurationMs·==·n2)·{ |
| | 931 | ····················mBlockListDurationMs·=·300000L; |
| | 932 | ················} |
| | 933 | ················this.mBssidBlocklistMonitor.blockBssidForDurationMs(bssid,·ssid,·mBlockListDurationMs,·9,·0); |
| 925 | ············} | 934 | ············} |
| 926 | ············if·(mboOceController$BtmFrameData.mStatus·!=·0)·{ | 935 | ············if·(mboOceController$BtmFrameData.mStatus·!=·0)·{ |
| 927 | ················this.mWifiMetrics.incrementForceScanCountDueToSteeringRequest(); | 936 | ················this.mWifiMetrics.incrementForceScanCountDueToSteeringRequest(); |
| 928 | ················this.mWifiConnectivityManager.forceConnectivityScan(ClientModeImpl.WIFI_WORK_SOURCE); | 937 | ················this.mWifiConnectivityManager.forceConnectivityScan(ClientModeImpl.WIFI_WORK_SOURCE); |
| 929 | ············} | 938 | ············} |
| 930 | ············return; | 939 | ············return; |
| 931 | ········} | 940 | ········} |
| Offset 1643, 15 lines modified | Offset 1652, 14 lines modified |
| 1643 | ········this.mWifiMonitor.registerHandler(this.mInterfaceName,·147507,·this.getHandler()); | 1652 | ········this.mWifiMonitor.registerHandler(this.mInterfaceName,·147507,·this.getHandler()); |
| 1644 | ········this.mWifiMonitor.registerHandler(this.mInterfaceName,·147517,·this.getHandler()); | 1653 | ········this.mWifiMonitor.registerHandler(this.mInterfaceName,·147517,·this.getHandler()); |
| 1645 | ········final·WifiMonitor·mWifiMonitor5·=·this.mWifiMonitor; | 1654 | ········final·WifiMonitor·mWifiMonitor5·=·this.mWifiMonitor; |
| 1646 | ········final·String·mInterfaceName5·=·this.mInterfaceName; | 1655 | ········final·String·mInterfaceName5·=·this.mInterfaceName; |
| 1647 | ········final·Handler·handler5·=·this.getHandler(); | 1656 | ········final·Handler·handler5·=·this.getHandler(); |
| 1648 | ········final·int·n5·=·147459; | 1657 | ········final·int·n5·=·147459; |
| 1649 | ········mWifiMonitor5.registerHandler(mInterfaceName5,·n5,·handler5); | 1658 | ········mWifiMonitor5.registerHandler(mInterfaceName5,·n5,·handler5); |
| 1650 | ········this.mWifiMonitor.registerHandler(this.mInterfaceName,·147518,·this.getHandler()); | |
| 1651 | ········final·WifiMonitor·mWifiMonitor6·=·this.mWifiMonitor; | 1659 | ········final·WifiMonitor·mWifiMonitor6·=·this.mWifiMonitor; |
| 1652 | ········final·String·mInterfaceName6·=·this.mInterfaceName; | 1660 | ········final·String·mInterfaceName6·=·this.mInterfaceName; |
| 1653 | ········final·Handler·handler6·=·this.getHandler(); | 1661 | ········final·Handler·handler6·=·this.getHandler(); |
| 1654 | ········final·int·n6·=·147460; | 1662 | ········final·int·n6·=·147460; |
| 1655 | ········mWifiMonitor6.registerHandler(mInterfaceName6,·n6,·handler6); | 1663 | ········mWifiMonitor6.registerHandler(mInterfaceName6,·n6,·handler6); |
| 1656 | ········this.mWifiMonitor.registerHandler(this.mInterfaceName,·147509,·this.getHandler()); | 1664 | ········this.mWifiMonitor.registerHandler(this.mInterfaceName,·147509,·this.getHandler()); |
| 1657 | ········final·WifiMonitor·mWifiMonitor7·=·this.mWifiMonitor; | 1665 | ········final·WifiMonitor·mWifiMonitor7·=·this.mWifiMonitor; |
| Offset 1710, 51 lines modified | Offset 1718, 54 lines modified |
| 1710 | ············s·=·this.mTargetBssid; | 1718 | ············s·=·this.mTargetBssid; |
| 1711 | ········} | 1719 | ········} |
| 1712 | ········String·s2·=·((WifiInfo)this.mWifiInfo).getSSID(); | 1720 | ········String·s2·=·((WifiInfo)this.mWifiInfo).getSSID(); |
| 1713 | ········if·("<unknown·ssid>".equals(s2))·{ | 1721 | ········if·("<unknown·ssid>".equals(s2))·{ |
| 1714 | ············s2·=·this.getTargetSsid(); | 1722 | ············s2·=·this.getTargetSsid(); |
| 1715 | ········} | 1723 | ········} |
| 1716 | ········final·int·n3·=·-1; | 1724 | ········final·int·n3·=·-1; |
| 1717 | ········boolean·b·=·false; | 1725 | ········int·n4·=·1; |
| 1718 | ········final·boolean·b2·=·true; | 1726 | ········if·(n·!=·n4)·{ |
| 1719 | ········if·(n·!=·(b2·?·1·:·0))·{ | |
| 1720 | ············final·int·convertToBssidBlocklistMonitorFailureReason·=·this.convertToBssidBlocklistMonitorFailureReason(n,·n2); | 1727 | ············final·int·convertToBssidBlocklistMonitorFailureReason·=·this.convertToBssidBlocklistMonitorFailureReason(n,·n2); |
| 1721 | ············if·(convertToBssidBlocklistMonitorFailureReason·!=·n3)·{ | 1728 | ············if·(convertToBssidBlocklistMonitorFailureReason·!=·n3)·{ |
| 1722 | ················int·networkId; | 1729 | ················int·networkId; |
| 1723 | ················if·(wifiConfiguration·==·null)·{ | 1730 | ················if·(wifiConfiguration·==·null)·{ |
| 1724 | ····················networkId·=·n3; | 1731 | ····················networkId·=·n3; |
| 1725 | ················} | 1732 | ················} |
| 1726 | ················else·{ | 1733 | ················else·{ |
| 1727 | ····················networkId·=·wifiConfiguration.networkId; | 1734 | ····················networkId·=·wifiConfiguration.networkId; |
| 1728 | ················} | 1735 | ················} |
| 1729 | ················final·int·scanRssi·=·this.mWifiConfigManager.findScanRssi(networkId,·this.mWifiHealthMonitor.getScanRssiValidTimeMs()); | 1736 | ················final·int·scanRssi·=·this.mWifiConfigManager.findScanRssi(networkId,·this.mWifiHealthMonitor.getScanRssiValidTimeMs()); |
| 1730 | ················this.mWifiScoreCard.noteConnectionFailure(this.mWifiInfo,·scanRssi,·s2,·convertToBssidBlocklistMonitorFailureReason); | 1737 | ················this.mWifiScoreCard.noteConnectionFailure(this.mWifiInfo,·scanRssi,·s2,·convertToBssidBlocklistMonitorFailureReason); |
| 1731 | ················this.checkAbnormalConnectionFailureAndTakeBugReport(s2); | 1738 | ················this.checkAbnormalConnectionFailureAndTakeBugReport(s2); |
| 1732 | ················final·int·sufficientRssi·=·this.getSufficientRssi(networkId,·s); | 1739 | ················this.mBssidBlocklistMonitor.handleBssidConnectionFailure(s,·s2,·convertToBssidBlocklistMonitorFailureReason,·scanRssi); |
| 1733 | ················final·int·n4·=·-127; | |
| 1734 | ················this.mBssidBlocklistMonitor.handleBssidConnectionFailure(s,·s2,·convertToBssidBlocklistMonitorFailureReason,·scanRssi·!=·n4·&&·sufficientRssi·!=·n4·&&·scanRssi·<·sufficientRssi·&&·b2); | |
| 1735 | ············} | 1740 | ············} |
| 1736 | ········} | 1741 | ········} |
| 1737 | ········final·int·n5·=·3; | 1742 | ········final·int·n5·=·3; |
| 1738 | ········if·(wifiConfiguration·!=·null·&&·wifiConfiguration.carrierId·!=·n3)·{ | 1743 | ········if·(wifiConfiguration·!=·null·&&·wifiConfiguration.carrierId·!=·n3)·{ |
| 1739 | ············if·(n·==·(b2·?·1·:·0))·{ | 1744 | ············if·(n·==·n4)·{ |
| 1740 | ················this.mWifiMetrics.incrementNumOfCarrierWifiConnectionSuccess(); | 1745 | ················this.mWifiMetrics.incrementNumOfCarrierWifiConnectionSuccess(); |
| 1741 | ············} | 1746 | ············} |
| 1742 | ············else·if·(n·==·n5·&&·n2·!=·(b2·?·1·:·0))·{ | 1747 | ············else·if·(n·==·n5·&&·n2·!=·n4)·{ |
| 1743 | ················this.mWifiMetrics.incrementNumOfCarrierWifiConnectionAuthFailure(); | 1748 | ················this.mWifiMetrics.incrementNumOfCarrierWifiConnectionAuthFailure(); |
| 1744 | ············} | 1749 | ············} |
| 1745 | ············else·{ | 1750 | ············else·{ |
| 1746 | ················this.mWifiMetrics.incrementNumOfCarrierWifiConnectionNonAuthFailure(); | 1751 | ················this.mWifiMetrics.incrementNumOfCarrierWifiConnectionNonAuthFailure(); |
| 1747 | ············} | 1752 | ············} |
| 1748 | ········} | 1753 | ········} |
| 1749 | ········final·boolean·b3·=·n·==·2·&&·b2; | 1754 | ········int·n6; |
| 1750 | ········if·(n·==·n5·&&·n2·!=·n5)·{ | 1755 | ········if·(n·==·2)·{ |
| 1751 | ············b·=·b2; | 1756 | ············n6·=·n4; |
| | 1757 | ········} |
| | 1758 | ········else·{ |
| | 1759 | ············n6·=·0; |
| | 1760 | ········} |
| | 1761 | ········if·(n·!=·n5·||·n2·==·n5)·{ |
| | 1762 | ············n4·=·0; |
| 1752 | ········} | 1763 | ········} |
| 1753 | ········if·((b3·||·b)·&&·this.mWifiConfigManager.isInFlakyRandomizationSsidHotlist(this.mTargetNetworkId))·{ | 1764 | ········if·((n6·!=·0·||·n4·!=·0)·&&·this.mWifiConfigManager.isInFlakyRandomizationSsidHotlist(this.mTargetNetworkId))·{ |
| 1754 | ············this.mConnectionFailureNotifier.showFailedToConnectDueToNoRandomizedMacSupportNotification(this.mTargetNetworkId); | 1765 | ············this.mConnectionFailureNotifier.showFailedToConnectDueToNoRandomizedMacSupportNotification(this.mTargetNetworkId); |
| 1755 | ········} | 1766 | ········} |
| 1756 | ········this.mWifiMetrics.endConnectionEvent(n,·equals,·n2); | 1767 | ········this.mWifiMetrics.endConnectionEvent(n,·equals,·n2); |
| 1757 | ········this.mWifiConnectivityManager.handleConnectionAttemptEnded(n,·s,·s2); | 1768 | ········this.mWifiConnectivityManager.handleConnectionAttemptEnded(n,·s,·s2); |
| 1758 | ········if·(wifiConfiguration·!=·null)·{ | 1769 | ········if·(wifiConfiguration·!=·null)·{ |
| 1759 | ············this.mNetworkFactory.handleConnectionAttemptEnded(n,·wifiConfiguration); | 1770 | ············this.mNetworkFactory.handleConnectionAttemptEnded(n,·wifiConfiguration); |
| 1760 | ············this.mWifiNetworkSuggestionsManager.handleConnectionAttemptEnded(n,·wifiConfiguration,·this.getCurrentBSSID()); | 1771 | ············this.mWifiNetworkSuggestionsManager.handleConnectionAttemptEnded(n,·wifiConfiguration,·this.getCurrentBSSID()); |
| Offset 1928, 15 lines modified | Offset 1939, 14 lines modified |
| 1928 | ········((NetworkAgent)this.mNetworkAgent).markConnected(); | 1939 | ········((NetworkAgent)this.mNetworkAgent).markConnected(); |
| 1929 | ········this.sendNetworkChangeBroadcast(NetworkInfo$DetailedState.CONNECTED); | 1940 | ········this.sendNetworkChangeBroadcast(NetworkInfo$DetailedState.CONNECTED); |
| 1930 | ····} | 1941 | ····} |
| 1931 | ···· | 1942 | ···· |
| 1932 | ····private·void·sendLinkConfigurationChangedBroadcast()·{ | 1943 | ····private·void·sendLinkConfigurationChangedBroadcast()·{ |
| 1933 | ········final·Intent·intent·=·new·Intent("android.net.wifi.LINK_CONFIGURATION_CHANGED"); | 1944 | ········final·Intent·intent·=·new·Intent("android.net.wifi.LINK_CONFIGURATION_CHANGED"); |
| 1934 | ········intent.addFlags(67108864); | 1945 | ········intent.addFlags(67108864); |
| 1935 | ········intent.putExtra("android.net.wifi.extra.LINK_PROPERTIES",·(Parcelable)new·LinkProperties(this.mLinkProperties)); | |
| 1936 | ········this.mContext.sendBroadcastAsUser(intent,·UserHandle.ALL); | 1946 | ········this.mContext.sendBroadcastAsUser(intent,·UserHandle.ALL); |
| 1937 | ····} | 1947 | ····} |
| 1938 | ···· | 1948 | ···· |
| 1939 | ····private·void·sendNetworkChangeBroadcast(final·NetworkInfo$DetailedState·mNetworkAgentState)·{ | 1949 | ····private·void·sendNetworkChangeBroadcast(final·NetworkInfo$DetailedState·mNetworkAgentState)·{ |
| 1940 | ········final·boolean·mIsAutoRoaming·=·this.mIsAutoRoaming; | 1950 | ········final·boolean·mIsAutoRoaming·=·this.mIsAutoRoaming; |
| 1941 | ········if·(this.mVerboseLoggingEnabled)·{ | 1951 | ········if·(this.mVerboseLoggingEnabled)·{ |
| 1942 | ············final·StringBuilder·sb·=·new·StringBuilder(); | 1952 | ············final·StringBuilder·sb·=·new·StringBuilder(); |
| Offset 2334, 14 lines modified | Offset 2344, 15 lines modified |
| 2334 | ········} | 2344 | ········} |
| 2335 | ········this.mCountryCode.setReadyForChange(false); | 2345 | ········this.mCountryCode.setReadyForChange(false); |
| 2336 | ········this.mInterfaceName·=·null; | 2346 | ········this.mInterfaceName·=·null; |
| 2337 | ········this.mWifiScoreReport.setInterfaceName((String)null); | 2347 | ········this.mWifiScoreReport.setInterfaceName((String)null); |
| 2338 | ········this.sendSupplicantConnectionChangedBroadcast(false); | 2348 | ········this.sendSupplicantConnectionChangedBroadcast(false); |
| 2339 | ········this.mWifiConfigManager.removeAllEphemeralOrPasspointConfiguredNetworks(); | 2349 | ········this.mWifiConfigManager.removeAllEphemeralOrPasspointConfiguredNetworks(); |
| 2340 | ········this.mWifiConfigManager.clearUserTemporarilyDisabledList(); | 2350 | ········this.mWifiConfigManager.clearUserTemporarilyDisabledList(); |
| | 2351 | ········this.mPasspointManager.clearAnqpRequestsAndFlushCache(); |
| 2341 | ····} | 2352 | ····} |
| 2342 | ···· | 2353 | ···· |
| 2343 | ····private·void·stopDhcpSetup()·{ | 2354 | ····private·void·stopDhcpSetup()·{ |
| 2344 | ········this.handlePostDhcpSetup(); | 2355 | ········this.handlePostDhcpSetup(); |
| 2345 | ········this.stopIpClient(); | 2356 | ········this.stopIpClient(); |
| 2346 | ····} | 2357 | ····} |
| 2347 | ···· | 2358 | ···· |
| Offset 2981, 16 lines modified | Offset 2992, 15 lines modified |
| 2981 | ····················sb.append(((WifiInfo)this.mWifiInfo).getFrequency()); | 2992 | ····················sb.append(((WifiInfo)this.mWifiInfo).getFrequency()); |
| 2982 | ····················sb.append(s9); | 2993 | ····················sb.append(s9); |
| 2983 | ····················sb.append(((WifiInfo)this.mWifiInfo).getRssi()); | 2994 | ····················sb.append(((WifiInfo)this.mWifiInfo).getRssi()); |
| 2984 | ····················break; | 2995 | ····················break; |
| 2985 | ················} | 2996 | ················} |
| 2986 | ················break; | 2997 | ················break; |
| 2987 | ············} | 2998 | ············} |
| 2988 | ············case·147459: | 2999 | ············case·147459:·{ |
| 2989 | ············case·147518:·{ | |
| 2990 | ················sb.append(s10); | 3000 | ················sb.append(s10); |
| 2991 | ················sb.append(Integer.toString(message.arg1)); | 3001 | ················sb.append(Integer.toString(message.arg1)); |
| 2992 | ················sb.append(s10); | 3002 | ················sb.append(s10); |
| 2993 | ················sb.append(Integer.toString(message.arg2)); | 3003 | ················sb.append(Integer.toString(message.arg2)); |
| 2994 | ················sb.append(s10); | 3004 | ················sb.append(s10); |
| 2995 | ················sb.append(this.mLastBssid); | 3005 | ················sb.append(this.mLastBssid); |
| 2996 | ················sb.append(s8); | 3006 | ················sb.append(s8); |
| Offset 3318, 18 lines modified | Offset 3328, 14 lines modified |
| 3318 | ················string·=·sb.toString(); | 3328 | ················string·=·sb.toString(); |
| 3319 | ················break; | 3329 | ················break; |
| 3320 | ············} | 3330 | ············} |
| 3321 | ············case·147527:·{ | 3331 | ············case·147527:·{ |
| 3322 | ················string·=·"MBO_OCE_BSS_TM_HANDLING_DONE"; | 3332 | ················string·=·"MBO_OCE_BSS_TM_HANDLING_DONE"; |
| 3323 | ················break; | 3333 | ················break; |
| 3324 | ············} | 3334 | ············} |
| 3325 | ············case·147518:·{ | |
| 3326 | ················string·=·"FILS_NETWORK_CONNECTION_EVENT"; | |
| 3327 | ················break; | |
| 3328 | ············} | |
| 3329 | ············case·147517:·{ | 3335 | ············case·147517:·{ |
| 3330 | ················string·=·"HS20_REMEDIATION_EVENT"; | 3336 | ················string·=·"HS20_REMEDIATION_EVENT"; |
| 3331 | ················break; | 3337 | ················break; |
| 3332 | ············} | 3338 | ············} |
| 3333 | ············case·147509:·{ | 3339 | ············case·147509:·{ |
| 3334 | ················string·=·"RX_HS20_ANQP_ICON_EVENT"; | 3340 | ················string·=·"RX_HS20_ANQP_ICON_EVENT"; |
| 3335 | ················break; | 3341 | ················break; |
| Offset 3439, 57 lines modified | Offset 3445, 69 lines modified |
| 3439 | ····} | 3445 | ····} |
| 3440 | ···· | 3446 | ···· |
| 3441 | ····public·WifiScoreReport·getWifiScoreReport()·{ | 3447 | ····public·WifiScoreReport·getWifiScoreReport()·{ |
| 3442 | ········return·this.mWifiScoreReport; | 3448 | ········return·this.mWifiScoreReport; |
| 3443 | ····} | 3449 | ····} |
| 3444 | ···· | 3450 | ···· |
| 3445 | ····void·handle3GAuthRequest(final·WifiCarrierInfoManager$SimAuthRequestData·wifiCarrierInfoManager$SimAuthRequestData)·{ | 3451 | ····void·handle3GAuthRequest(final·WifiCarrierInfoManager$SimAuthRequestData·wifiCarrierInfoManager$SimAuthRequestData)·{ |
| 3446 | ········final·WifiConfiguration·mTargetWifiConfiguration·=·this.mTargetWifiConfiguration; | 3452 | ········WifiConfiguration·wifiConfiguration·=·this.mTargetWifiConfiguration; |
| 3447 | ········if·(mTargetWifiConfiguration·!=·null·&&·mTargetWifiConfiguration.networkId·==·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ | 3453 | ········if·(wifiConfiguration·!=·null·&&·wifiConfiguration.networkId·==·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ |
| 3448 | ············this.logd("id·matches·targetWifiConfiguration"); | 3454 | ············this.logd("id·matches·targetWifiConfiguration"); |
| 3449 | ········} | 3455 | ········} |
| 3450 | ········else·{ | 3456 | ········else·{ |
| 3451 | ············final·int·mLastNetworkId·=·this.mLastNetworkId; | 3457 | ············final·int·mLastNetworkId·=·this.mLastNetworkId; |
| 3452 | ············if·(mLastNetworkId·==·-1·||·mLastNetworkId·!=·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ | 3458 | ············if·(mLastNetworkId·!=·-1·&&·mLastNetworkId·==·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ |
| 3453 | ················this.logd("id·does·not·match·targetWifiConfiguration"); | 3459 | ················wifiConfiguration·=·this.getCurrentWifiConfiguration(); |
| 3454 | ················return; | 3460 | ················this.logd("id·matches·currentWifiConfiguration"); |
| 3455 | ············} | 3461 | ············} |
| 3456 | ············this.logd("id·matches·currentWifiConfiguration"); | 3462 | ············else·{ |
| | 3463 | ················wifiConfiguration·=·null; |
| | 3464 | ············} |
| | 3465 | ········} |
| | 3466 | ········if·(wifiConfiguration·==·null)·{ |
| | 3467 | ············this.logd("3GAuthRequest·received·with·null·target/current·WifiConfiguration."); |
| | 3468 | ············return; |
| 3457 | ········} | 3469 | ········} |
| 3458 | ········final·WifiCarrierInfoManager$SimAuthResponseData·get3GAuthResponse·=·this.mWifiCarrierInfoManager.get3GAuthResponse(wifiCarrierInfoManager$SimAuthRequestData,·this.mTargetWifiConfiguration); | 3470 | ········final·WifiCarrierInfoManager$SimAuthResponseData·get3GAuthResponse·=·this.mWifiCarrierInfoManager.get3GAuthResponse(wifiCarrierInfoManager$SimAuthRequestData,·wifiConfiguration); |
| 3459 | ········if·(get3GAuthResponse·!=·null)·{ | 3471 | ········if·(get3GAuthResponse·!=·null)·{ |
| 3460 | ············this.mWifiNative.simAuthResponse(this.mInterfaceName,·get3GAuthResponse.type,·get3GAuthResponse.response); | 3472 | ············this.mWifiNative.simAuthResponse(this.mInterfaceName,·get3GAuthResponse.type,·get3GAuthResponse.response); |
| 3461 | ········} | 3473 | ········} |
| 3462 | ········else·{ | 3474 | ········else·{ |
| 3463 | ············this.mWifiNative.umtsAuthFailedResponse(this.mInterfaceName); | 3475 | ············this.mWifiNative.umtsAuthFailedResponse(this.mInterfaceName); |
| 3464 | ········} | 3476 | ········} |
| 3465 | ····} | 3477 | ····} |
| 3466 | ···· | 3478 | ···· |
| 3467 | ····public·void·handleBootCompleted()·{ | 3479 | ····public·void·handleBootCompleted()·{ |
| 3468 | ········this.sendMessage(131206); | 3480 | ········this.sendMessage(131206); |
| 3469 | ····} | 3481 | ····} |
| 3470 | ···· | 3482 | ···· |
| 3471 | ····void·handleGsmAuthRequest(final·WifiCarrierInfoManager$SimAuthRequestData·wifiCarrierInfoManager$SimAuthRequestData)·{ | 3483 | ····void·handleGsmAuthRequest(final·WifiCarrierInfoManager$SimAuthRequestData·wifiCarrierInfoManager$SimAuthRequestData)·{ |
| 3472 | ········final·WifiConfiguration·mTargetWifiConfiguration·=·this.mTargetWifiConfiguration; | 3484 | ········WifiConfiguration·wifiConfiguration·=·this.mTargetWifiConfiguration; |
| 3473 | ········if·(mTargetWifiConfiguration·!=·null·&&·mTargetWifiConfiguration.networkId·==·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ | 3485 | ········if·(wifiConfiguration·!=·null·&&·wifiConfiguration.networkId·==·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ |
| 3474 | ············this.logd("id·matches·targetWifiConfiguration"); | 3486 | ············this.logd("id·matches·targetWifiConfiguration"); |
| 3475 | ········} | 3487 | ········} |
| 3476 | ········else·{ | 3488 | ········else·{ |
| 3477 | ············final·int·mLastNetworkId·=·this.mLastNetworkId; | 3489 | ············final·int·mLastNetworkId·=·this.mLastNetworkId; |
| 3478 | ············if·(mLastNetworkId·==·-1·||·mLastNetworkId·!=·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ | 3490 | ············if·(mLastNetworkId·!=·-1·&&·mLastNetworkId·==·wifiCarrierInfoManager$SimAuthRequestData.networkId)·{ |
| 3479 | ················this.logd("id·does·not·match·targetWifiConfiguration"); | 3491 | ················wifiConfiguration·=·this.getCurrentWifiConfiguration(); |
| 3480 | ················return; | 3492 | ················this.logd("id·matches·currentWifiConfiguration"); |
| 3481 | ············} | 3493 | ············} |
| 3482 | ············this.logd("id·matches·currentWifiConfiguration"); | 3494 | ············else·{ |
| | 3495 | ················wifiConfiguration·=·null; |
| | 3496 | ············} |
| | 3497 | ········} |
| | 3498 | ········if·(wifiConfiguration·==·null)·{ |
| | 3499 | ············this.logd("GsmAuthRequest·received·with·null·target/current·WifiConfiguration."); |
| | 3500 | ············return; |
| 3483 | ········} | 3501 | ········} |
| 3484 | ········String·s·=·this.mWifiCarrierInfoManager.getGsmSimAuthResponse(wifiCarrierInfoManager$SimAuthRequestData.data,·this.mTargetWifiConfiguration); | 3502 | ········String·s·=·this.mWifiCarrierInfoManager.getGsmSimAuthResponse(wifiCarrierInfoManager$SimAuthRequestData.data,·wifiConfiguration); |
| 3485 | ········if·(s·==·null)·{ | 3503 | ········if·(s·==·null)·{ |
| 3486 | ············s·=·this.mWifiCarrierInfoManager.getGsmSimpleSimAuthResponse(wifiCarrierInfoManager$SimAuthRequestData.data,·this.mTargetWifiConfiguration); | 3504 | ············s·=·this.mWifiCarrierInfoManager.getGsmSimpleSimAuthResponse(wifiCarrierInfoManager$SimAuthRequestData.data,·wifiConfiguration); |
| 3487 | ············if·(s·==·null)·{ | 3505 | ············if·(s·==·null)·{ |
| 3488 | ················s·=·this.mWifiCarrierInfoManager.getGsmSimpleSimNoLengthAuthResponse(wifiCarrierInfoManager$SimAuthRequestData.data,·this.mTargetWifiConfiguration); | 3506 | ················s·=·this.mWifiCarrierInfoManager.getGsmSimpleSimNoLengthAuthResponse(wifiCarrierInfoManager$SimAuthRequestData.data,·wifiConfiguration); |
| 3489 | ············} | 3507 | ············} |
| 3490 | ········} | 3508 | ········} |
| 3491 | ········if·(s·!=·null·&&·s.length()·!=·0)·{ | 3509 | ········if·(s·!=·null·&&·s.length()·!=·0)·{ |
| 3492 | ············final·StringBuilder·sb·=·new·StringBuilder(); | 3510 | ············final·StringBuilder·sb·=·new·StringBuilder(); |
| 3493 | ············sb.append("Supplicant·Response·-"); | 3511 | ············sb.append("Supplicant·Response·-"); |
| 3494 | ············sb.append(s); | 3512 | ············sb.append(s); |
| 3495 | ············this.logv(sb.toString()); | 3513 | ············this.logv(sb.toString()); |