packages/modules/Wifi/service/java/com/android/server/wifi/ConcreteClientModeManager.java
frameworks/opt/net/wifi/service/java/com/android/server/wifi/ActiveModeWarden.java
packages/modules/Wifi/service/java/com/android/server/wifi/ScanRequestProxy.java
packages/modules/Wifi/framework/java/android/net/wifi/WifiScanner.java
packages/modules/Wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/WifiTracker.java
packages/modules/Wifi/framework/java/android/net/wifi/WifiManager.java
packages/modules/Wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
packages/modules/Wifi/service/java/com/android/server/wifi/ScanRequestProxy.java
packages/modules/Wifi/service/java/com/android/server/wifi/scanner/WifiScannerImpl.java
modules/Wifi/service/java/com/android/server/wifi/scanner/WificondScannerImpl.java
packages/modules/Wifi/service/java/com/android/server/wifi/WifiNative.java
frameworks/base/wifi/java/src/android/net/wifi/nl80211/WifiNl80211Manager.java
wifi打开后,状态机已切换到ConnectModeState
ConcreteClientModeManager.java =>ConcreteClientModeManager$ConnectModeState ->enter():updateConnectModeState(mConnectRoleChangeInfoToSetOnTransition.role,WIFI_STATE_ENABLED, WIFI_STATE_ENABLING);
-->updateConnectModeState(ClientRole role, int newState, int currentState)//wifi状态发生改变,触发广播:WifiManager.WIFI_STATE_CHANGED_ACTION
---->ActiveModeWarden.java =>ActiveModeWarden$ClientListener ->onStartedOrRoleChanged(ConcreteClientModeManager clientModeManager):updateClientScanMode();
-->updateClientScanMode():
mScanRequestProxy.enableScanning(scanEnabled, scanningForHiddenNetworksEnabled);
-------->ScanRequestProxy.java => enableScanning(boolean enable, boolean enableScanningForHidde