/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
D | PnoSettings.java | 30 public class PnoSettings implements Parcelable { class 37 public PnoSettings() { } in PnoSettings() method in PnoSettings 43 if (!(rhs instanceof PnoSettings)) { in equals() 46 PnoSettings settings = (PnoSettings) rhs; in equals() 81 public static final Parcelable.Creator<PnoSettings> CREATOR = 82 new Parcelable.Creator<PnoSettings>() { 84 public PnoSettings createFromParcel(Parcel in) { 85 PnoSettings result = new PnoSettings(); 97 public PnoSettings[] newArray(int size) { 98 return new PnoSettings[size];
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/ |
D | PnoSettingsTest.java | 71 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserialize() 81 PnoSettings pnoSettingsDeserialized = PnoSettings.CREATOR.createFromParcel(parcel); in canSerializeAndDeserialize() 92 PnoSettings pnoSettings1 = new PnoSettings(); in testAsHashMapKey() 98 PnoSettings pnoSettings2 = new PnoSettings(); in testAsHashMapKey() 107 HashMap<PnoSettings, Integer> map = new HashMap<>(); in testAsHashMapKey()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 97 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan() 118 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in ignoreHwDisconnectedPnoScanStopFailure() 150 private WifiNative.PnoSettings createDummyPnoSettings(boolean isConnected) { in createDummyPnoSettings() 151 WifiNative.PnoSettings pnoSettings = new WifiNative.PnoSettings(); in createDummyPnoSettings() 178 WifiNative.PnoSettings pnoSettings, WifiNative.ScanEventHandler scanEventHandler, in startSuccessfulPnoScan() 182 when(mWifiNative.startPnoScan(eq(IFACE_NAME), any(WifiNative.PnoSettings.class))) in startSuccessfulPnoScan() 199 WifiNative.PnoSettings pnoSettings) { in expectHwDisconnectedPnoScanStart() 201 order.verify(mWifiNative).startPnoScan(any(), any(WifiNative.PnoSettings.class)); in expectHwDisconnectedPnoScanStart() 210 WifiNative.PnoSettings pnoSettings, WifiNative.PnoEventHandler eventHandler, in expectSuccessfulHwDisconnectedPnoScan()
|
D | WifiScanningServiceTest.java | 2139 private Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> createPnoSettings( in createPnoSettings() 2142 WifiScanner.PnoSettings requestPnoSettings = new WifiScanner.PnoSettings(); in createPnoSettings() 2144 new WifiScanner.PnoSettings.PnoNetwork[results.getRawScanResults().length]; in createPnoSettings() 2148 new WifiScanner.PnoSettings.PnoNetwork(scanResult.SSID); in createPnoSettings() 2151 WifiNative.PnoSettings nativePnoSettings = new WifiNative.PnoSettings(); in createPnoSettings() 2177 WifiNative.PnoSettings expected) { in verifyHwPno() 2178 ArgumentCaptor<WifiNative.PnoSettings> pnoSettingsCaptor = in verifyHwPno() 2179 ArgumentCaptor.forClass(WifiNative.PnoSettings.class); in verifyHwPno() 2190 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest() 2231 WifiNative.PnoSettings nativeSettings, ScanResults results) { in expectHwPnoScan() [all …]
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 34 import android.net.wifi.WifiScanner.PnoSettings; 35 import android.net.wifi.WifiScanner.PnoSettings.PnoNetwork; 162 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserializePnoSettings() 183 PnoSettings pnoSettingsDeserialized = in canSerializeAndDeserializePnoSettings() 373 PnoSettings pnoSettings = new PnoSettings(); in testStartDisconnectedPnoScan() 403 PnoSettings pnoSettings = new PnoSettings(); in testStartConnectedPnoScan() 433 PnoSettings pnoSettings = new PnoSettings(); in testStopPnoScan()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 708 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenNetwork() 712 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenNetwork() 713 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND, pnoNetwork.flags); in testCreatePnoNetworkWithOpenNetwork() 714 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenNetwork() 725 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenHiddenNetwork() 729 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenHiddenNetwork() 730 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND in testCreatePnoNetworkWithOpenHiddenNetwork() 731 | WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN, pnoNetwork.flags); in testCreatePnoNetworkWithOpenHiddenNetwork() 732 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenHiddenNetwork() 743 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithPskNetwork() [all …]
|
D | WificondControlTest.java | 66 import com.android.server.wifi.wificond.PnoSettings; 183 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS = 184 new WifiNative.PnoSettings() {{ 191 networkList[0].flags = WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; 797 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(true); in testStartPnoScan() 896 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(false); in testStartPnoScanForMetrics() 1323 private class PnoScanMatcher implements ArgumentMatcher<PnoSettings> { 1324 private final WifiNative.PnoSettings mExpectedPnoSettings; 1325 PnoScanMatcher(WifiNative.PnoSettings expectedPnoSettings) { in PnoScanMatcher() 1329 public boolean matches(PnoSettings settings) { in matches() [all …]
|
D | WifiConnectivityManagerTest.java | 43 import android.net.wifi.WifiScanner.PnoSettings; 243 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner() 249 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner() 308 PnoSettings.PnoNetwork pnoNetwork = new PnoSettings.PnoNetwork(CANDIDATE_SSID); in mockWifiConfigManager() 309 ArrayList<PnoSettings.PnoNetwork> pnoNetworkList = new ArrayList<>(); in mockWifiConfigManager()
|
D | WifiNativeTest.java | 146 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS = 147 new WifiNative.PnoSettings() {{
|
D | ScanTestUtil.java | 414 public static void assertNativePnoSettingsEquals(WifiNative.PnoSettings expected, in assertNativePnoSettingsEquals() 415 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
|
D | WifiConfigManagerTest.java | 2008 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoList() 2048 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequencies() 2107 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequenciesFlagDisabled() 2149 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListPrefersLastConnectedNetwork() 2206 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks() 2252 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListRecencyFlagDisabled() 2283 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListDoesNotContainEphemeralOrPasspointNetworks() 2323 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListDoesNotContainDisabledNetworks()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 814 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork() 816 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork() 817 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork() 819 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork() 821 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork() 822 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork() 824 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork() 827 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork() 829 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()
|
D | WificondControl.java | 51 import com.android.server.wifi.wificond.PnoSettings; 727 public boolean startPnoScan(@NonNull String ifaceName, WifiNative.PnoSettings pnoSettings) { in startPnoScan() 733 PnoSettings settings = new PnoSettings(); in startPnoScan() 742 & WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN) != 0; in startPnoScan()
|
D | WifiConnectivityManager.java | 34 import android.net.wifi.WifiScanner.PnoSettings; 1002 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan() 1003 List<PnoSettings.PnoNetwork> pnoNetworkList = mConfigManager.retrievePnoNetworkList(); in startDisconnectedPnoScan() 1012 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
|
D | WifiConfigManager.java | 2627 public List<WifiScanner.PnoSettings.PnoNetwork> retrievePnoNetworkList() { in retrievePnoNetworkList() 2628 List<WifiScanner.PnoSettings.PnoNetwork> pnoList = new ArrayList<>(); in retrievePnoNetworkList() 2660 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in retrievePnoNetworkList()
|
D | WifiNative.java | 1327 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan() 2513 public static class PnoSettings { class in WifiNative
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 582 public static class PnoSettings implements Parcelable { class in WifiScanner 687 public static final @android.annotation.NonNull Creator<PnoSettings> CREATOR = 688 new Creator<PnoSettings>() { 689 public PnoSettings createFromParcel(Parcel in) { 690 PnoSettings settings = new PnoSettings(); 712 public PnoSettings[] newArray(int size) { 713 return new PnoSettings[size]; 931 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan() 951 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan() 973 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 29 import android.net.wifi.WifiScanner.PnoSettings; 1516 private final RequestList<Pair<PnoSettings, ScanSettings>> mActivePnoScans = 1615 PnoSettings pnoSettings = in processMessage() 1658 PnoSettings pnoSettings = in processMessage() 1732 private WifiNative.PnoSettings convertSettingsToPnoNative(ScanSettings scanSettings, in convertSettingsToPnoNative() 1733 PnoSettings pnoSettings) { in convertSettingsToPnoNative() 1734 WifiNative.PnoSettings nativePnoSetting = new WifiNative.PnoSettings(); in convertSettingsToPnoNative() 1760 for (Pair<PnoSettings, ScanSettings> settingsPair : mActivePnoScans.getAllSettings()) { in getScanSettings() 1786 PnoSettings pnoSettings) { in addPnoScanRequest() 1792 private Pair<PnoSettings, ScanSettings> removePnoScanRequest(ClientInfo ci, int handler) { in removePnoScanRequest() [all …]
|
D | WifiScannerImpl.java | 149 public abstract boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
|
D | HalWifiScannerImpl.java | 122 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
|
D | WificondScannerImpl.java | 421 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan() 439 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
|