Home
last modified time | relevance | path

Searched refs:PnoSettings (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
DPnoSettings.java30 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/scanner/
DWificondPnoScannerTest.java95 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan()
116 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in ignoreHwDisconnectedPnoScanStopFailure()
148 private WifiNative.PnoSettings createDummyPnoSettings(boolean isConnected) { in createDummyPnoSettings()
149 WifiNative.PnoSettings pnoSettings = new WifiNative.PnoSettings(); in createDummyPnoSettings()
176 WifiNative.PnoSettings pnoSettings, WifiNative.ScanEventHandler scanEventHandler, in startSuccessfulPnoScan()
180 when(mWifiNative.startPnoScan(eq(IFACE_NAME), any(WifiNative.PnoSettings.class))) in startSuccessfulPnoScan()
197 WifiNative.PnoSettings pnoSettings) { in expectHwDisconnectedPnoScanStart()
199 order.verify(mWifiNative).startPnoScan(any(), any(WifiNative.PnoSettings.class)); in expectHwDisconnectedPnoScanStart()
208 WifiNative.PnoSettings pnoSettings, WifiNative.PnoEventHandler eventHandler, in expectSuccessfulHwDisconnectedPnoScan()
DWifiScanningServiceTest.java2053 private Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> createPnoSettings( in createPnoSettings()
2056 WifiScanner.PnoSettings requestPnoSettings = new WifiScanner.PnoSettings(); in createPnoSettings()
2058 new WifiScanner.PnoSettings.PnoNetwork[results.getRawScanResults().length]; in createPnoSettings()
2062 new WifiScanner.PnoSettings.PnoNetwork(scanResult.SSID); in createPnoSettings()
2065 WifiNative.PnoSettings nativePnoSettings = new WifiNative.PnoSettings(); in createPnoSettings()
2095 WifiNative.PnoSettings expected) { in verifyHwPno()
2096 ArgumentCaptor<WifiNative.PnoSettings> pnoSettingsCaptor = in verifyHwPno()
2097 ArgumentCaptor.forClass(WifiNative.PnoSettings.class); in verifyHwPno()
2108 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest()
2149 WifiNative.PnoSettings nativeSettings, ScanResults results) { in expectHwPnoScan()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java500 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenNetwork()
504 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenNetwork()
505 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND, pnoNetwork.flags); in testCreatePnoNetworkWithOpenNetwork()
506 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenNetwork()
517 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenHiddenNetwork()
521 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
522 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
523 | WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN, pnoNetwork.flags); in testCreatePnoNetworkWithOpenHiddenNetwork()
524 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenHiddenNetwork()
535 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithPskNetwork()
[all …]
DWificondControlTest.java45 import com.android.server.wifi.wificond.PnoSettings;
153 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS =
154 new WifiNative.PnoSettings() {{
161 networkList[0].flags = WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN;
799 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(true); in testStartPnoScan()
898 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(false); in testStartPnoScanForMetrics()
1174 private class PnoScanMatcher implements ArgumentMatcher<PnoSettings> {
1175 private final WifiNative.PnoSettings mExpectedPnoSettings;
1176 PnoScanMatcher(WifiNative.PnoSettings expectedPnoSettings) { in PnoScanMatcher()
1180 public boolean matches(PnoSettings settings) { in matches()
[all …]
DWifiConnectivityManagerTest.java42 import android.net.wifi.WifiScanner.PnoSettings;
237 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
243 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
302 PnoSettings.PnoNetwork pnoNetwork = new PnoSettings.PnoNetwork(CANDIDATE_SSID); in mockWifiConfigManager()
303 ArrayList<PnoSettings.PnoNetwork> pnoNetworkList = new ArrayList<>(); in mockWifiConfigManager()
DWifiNativeTest.java136 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS =
137 new WifiNative.PnoSettings() {{
DScanTestUtil.java399 public static void assertNativePnoSettingsEquals(WifiNative.PnoSettings expected, in assertNativePnoSettingsEquals()
400 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
DWifiConfigManagerTest.java1580 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoList()
1620 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListDoesNotContainEphemeralOrPasspointNetworks()
1660 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListDoesNotContainDisabledNetworks()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/wificond/
DPnoSettingsTest.java51 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserialize()
71 PnoSettings pnoSettingsDeserialized = in canSerializeAndDeserialize()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java531 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork()
533 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork()
534 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork()
536 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork()
538 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork()
539 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork()
541 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork()
544 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork()
546 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()
DWificondControl.java45 import com.android.server.wifi.wificond.PnoSettings;
664 public boolean startPnoScan(@NonNull String ifaceName, WifiNative.PnoSettings pnoSettings) { in startPnoScan()
670 PnoSettings settings = new PnoSettings(); in startPnoScan()
679 & WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN) != 0; in startPnoScan()
DWifiConnectivityManager.java31 import android.net.wifi.WifiScanner.PnoSettings;
953 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan()
954 List<PnoSettings.PnoNetwork> pnoNetworkList = mConfigManager.retrievePnoNetworkList(); in startDisconnectedPnoScan()
963 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
DWifiNative.java1185 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan()
2079 public static class PnoSettings { class in WifiNative
DWifiConfigManager.java2367 public List<WifiScanner.PnoSettings.PnoNetwork> retrievePnoNetworkList() { in retrievePnoNetworkList()
2368 List<WifiScanner.PnoSettings.PnoNetwork> pnoList = new ArrayList<>(); in retrievePnoNetworkList()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java556 public static class PnoSettings implements Parcelable { class in WifiScanner
660 public static final Creator<PnoSettings> CREATOR =
661 new Creator<PnoSettings>() {
662 public PnoSettings createFromParcel(Parcel in) {
663 PnoSettings settings = new PnoSettings();
684 public PnoSettings[] newArray(int size) {
685 return new PnoSettings[size];
878 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan()
898 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan()
919 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java33 import android.net.wifi.WifiScanner.PnoSettings;
1449 private final RequestList<Pair<PnoSettings, ScanSettings>> mActivePnoScans =
1548 PnoSettings pnoSettings = in processMessage()
1591 PnoSettings pnoSettings = in processMessage()
1665 private WifiNative.PnoSettings convertSettingsToPnoNative(ScanSettings scanSettings, in convertSettingsToPnoNative()
1666 PnoSettings pnoSettings) { in convertSettingsToPnoNative()
1667 WifiNative.PnoSettings nativePnoSetting = new WifiNative.PnoSettings(); in convertSettingsToPnoNative()
1691 for (Pair<PnoSettings, ScanSettings> settingsPair : mActivePnoScans.getAllSettings()) { in getScanSettings()
1717 PnoSettings pnoSettings) { in addPnoScanRequest()
1723 private Pair<PnoSettings, ScanSettings> removePnoScanRequest(ClientInfo ci, int handler) { in removePnoScanRequest()
[all …]
DWifiScannerImpl.java149 public abstract boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DHalWifiScannerImpl.java122 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DWificondScannerImpl.java413 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan()
431 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
/frameworks/base/services/
Dart-profile689 HSPLandroid/net/wifi/IWifiScannerImpl;->startPnoScan(Lcom/android/server/wifi/wificond/PnoSettings;…
/frameworks/base/config/
Dboot-image-profile.txt4059 HPLandroid/net/wifi/WifiScanner$PnoSettings$1;-><init>()V
4079 …ndroid/net/wifi/WifiScanner$ScanSettings;Landroid/net/wifi/WifiScanner$PnoSettings;Landroid/net/wi…
56894 Landroid/net/wifi/WifiScanner$PnoSettings$1;