/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | SupplicantPnoScannerTest.java | 92 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan() 111 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in pauseResumeHwDisconnectedPnoScanForSingleScan() 181 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in delayedHwDisconnectedPnoScanFailure() 219 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(isConnectedPno); in doSuccessfulSwPnoScanTest() 246 private WifiNative.PnoSettings createDummyPnoSettings(boolean isConnected) { in createDummyPnoSettings() 247 WifiNative.PnoSettings pnoSettings = new WifiNative.PnoSettings(); in createDummyPnoSettings() 276 WifiNative.PnoSettings pnoSettings, WifiNative.ScanEventHandler scanEventHandler, in startSuccessfulPnoScan() 304 WifiNative.PnoSettings pnoSettings, WifiNative.PnoEventHandler eventHandler, in expectSuccessfulHwDisconnectedPnoScan()
|
D | WifiScanningServiceTest.java | 905 private Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> createPnoSettings( in createPnoSettings() 908 WifiScanner.PnoSettings requestPnoSettings = new WifiScanner.PnoSettings(); in createPnoSettings() 910 new WifiScanner.PnoSettings.PnoNetwork[results.getRawScanResults().length]; in createPnoSettings() 914 new WifiScanner.PnoSettings.PnoNetwork(scanResult.SSID); in createPnoSettings() 917 WifiNative.PnoSettings nativePnoSettings = new WifiNative.PnoSettings(); in createPnoSettings() 950 WifiNative.PnoSettings expected) { in verifyHwPno() 951 ArgumentCaptor<WifiNative.PnoSettings> pnoSettingsCaptor = in verifyHwPno() 952 ArgumentCaptor.forClass(WifiNative.PnoSettings.class); in verifyHwPno() 963 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest() 1004 WifiNative.PnoSettings nativeSettings, ScanResults results) { in expectHwPnoScanWithNoBackgroundScan() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 30 import android.net.wifi.WifiScanner.PnoSettings; 788 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan() 789 ArrayList<PnoSettings.PnoNetwork> pnoNetworkList = in startDisconnectedPnoScan() 799 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 831 PnoSettings pnoSettings = new PnoSettings(); in startConnectedPnoScan() 832 ArrayList<PnoSettings.PnoNetwork> pnoNetworkList = in startConnectedPnoScan() 842 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startConnectedPnoScan()
|
D | WifiConfigManager.java | 1062 public ArrayList<WifiScanner.PnoSettings.PnoNetwork> retrieveDisconnectedPnoNetworkList() { in retrieveDisconnectedPnoNetworkList() 1094 public ArrayList<WifiScanner.PnoSettings.PnoNetwork> retrieveConnectedPnoNetworkList() { in retrieveConnectedPnoNetworkList() 1103 private static WifiScanner.PnoSettings.PnoNetwork createPnoNetworkFromWifiConfiguration( in createPnoNetworkFromWifiConfiguration() 1105 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetworkFromWifiConfiguration() 1106 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetworkFromWifiConfiguration() 1110 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetworkFromWifiConfiguration() 1112 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetworkFromWifiConfiguration() 1113 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetworkFromWifiConfiguration() 1115 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetworkFromWifiConfiguration() 1118 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetworkFromWifiConfiguration() [all …]
|
D | WifiNative.java | 1711 public static class PnoSettings { class in WifiNative 2883 private static native boolean setPnoListNative(int iface, int id, PnoSettings settings); in setPnoListNative() 2891 public boolean setPnoList(PnoSettings settings, PnoEventHandler eventHandler) { in setPnoList() 2914 PnoSettings settings = new PnoSettings(); in setPnoList()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 484 public static class PnoSettings implements Parcelable { class in WifiScanner 594 public static final Creator<PnoSettings> CREATOR = 595 new Creator<PnoSettings>() { 596 public PnoSettings createFromParcel(Parcel in) { 597 PnoSettings settings = new PnoSettings(); 620 public PnoSettings[] newArray(int size) { 621 return new PnoSettings[size]; 757 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan() 777 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan() 798 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 33 import android.net.wifi.WifiScanner.PnoSettings; 1347 private final RequestList<Pair<PnoSettings, ScanSettings>> mActivePnoScans = 1439 PnoSettings pnoSettings = in processMessage() 1483 PnoSettings pnoSettings = in processMessage() 1582 PnoSettings pnoSettings = in processMessage() 1619 private WifiNative.PnoSettings convertPnoSettingsToNative(PnoSettings pnoSettings) { in convertPnoSettingsToNative() 1620 WifiNative.PnoSettings nativePnoSetting = new WifiNative.PnoSettings(); in convertPnoSettingsToNative() 1645 for (Pair<PnoSettings, ScanSettings> settingsPair : mActivePnoScans.getAllSettings()) { in getScanSettings() 1671 PnoSettings pnoSettings) { in addPnoScanRequest() 1677 private Pair<PnoSettings, ScanSettings> removePnoScanRequest(ClientInfo ci, int handler) { in removePnoScanRequest() [all …]
|
D | WifiScannerImpl.java | 136 public abstract boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
|
D | HalWifiScannerImpl.java | 116 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
|
D | SupplicantWifiScannerImpl.java | 99 private WifiNative.PnoSettings mPnoSettings = null; 704 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 34 import android.net.wifi.WifiScanner.PnoSettings; 162 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner() 168 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner() 224 PnoSettings.PnoNetwork pnoNetwork = new PnoSettings.PnoNetwork(CANDIDATE_SSID); in mockWifiConfigManager() 225 ArrayList<PnoSettings.PnoNetwork> pnoNetworkList = new ArrayList<>(); in mockWifiConfigManager()
|
D | WifiConfigManagerTest.java | 980 ArrayList<WifiScanner.PnoSettings.PnoNetwork> pnoNetworkList, in verifyPnoNetworkListOrder() 983 for (WifiScanner.PnoSettings.PnoNetwork pnoNetwork : pnoNetworkList) { in verifyPnoNetworkListOrder() 1019 ArrayList<WifiScanner.PnoSettings.PnoNetwork> pnoNetworkList = in testDisconnectedPnoNetworkListCreation() 1042 ArrayList<WifiScanner.PnoSettings.PnoNetwork> pnoNetworkList = in testDisconnectedPnoNetworkListCreation() 1069 ArrayList<WifiScanner.PnoSettings.PnoNetwork> pnoNetworkList = in testDisconnectedPnoNetworkListCreation() 1106 ArrayList<WifiScanner.PnoSettings.PnoNetwork> pnoNetworkList = in testConnectedPnoNetworkListCreation() 1132 ArrayList<WifiScanner.PnoSettings.PnoNetwork> pnoNetworkList = in testConnectedPnoNetworkListCreation() 1159 ArrayList<WifiScanner.PnoSettings.PnoNetwork> pnoNetworkList = in testConnectedPnoNetworkListCreation()
|
D | ScanTestUtil.java | 349 public static void assertNativePnoSettingsEquals(WifiNative.PnoSettings expected, in assertNativePnoSettingsEquals() 350 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
|