Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondPnoScannerTest.java99 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScan()
118 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in startHwDisconnectedPnoScanFailure()
123 when(mWifiNative.startPnoScan(eq(IFACE_NAME), any(WifiNative.PnoSettings.class))) in startHwDisconnectedPnoScanFailure()
126 order.verify(mWifiNative).startPnoScan(any(), any(WifiNative.PnoSettings.class)); in startHwDisconnectedPnoScanFailure()
142 WifiNative.PnoSettings pnoSettings = createDummyPnoSettings(false); in ignoreHwDisconnectedPnoScanStopFailure()
174 private WifiNative.PnoSettings createDummyPnoSettings(boolean isConnected) { in createDummyPnoSettings()
175 WifiNative.PnoSettings pnoSettings = new WifiNative.PnoSettings(); in createDummyPnoSettings()
203 WifiNative.PnoSettings pnoSettings, WifiNative.ScanEventHandler scanEventHandler, in startSuccessfulPnoScan()
208 when(mWifiNative.startPnoScan(eq(IFACE_NAME), any(WifiNative.PnoSettings.class))) in startSuccessfulPnoScan()
225 WifiNative.PnoSettings pnoSettings) { in expectHwDisconnectedPnoScanStart()
[all …]
DWifiScanningServiceTest.java2434 private Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> createPnoSettings( in createPnoSettings()
2437 WifiScanner.PnoSettings requestPnoSettings = new WifiScanner.PnoSettings(); in createPnoSettings()
2439 new WifiScanner.PnoSettings.PnoNetwork[results.getRawScanResults().length]; in createPnoSettings()
2443 new WifiScanner.PnoSettings.PnoNetwork(scanResult.SSID); in createPnoSettings()
2446 WifiNative.PnoSettings nativePnoSettings = new WifiNative.PnoSettings(); in createPnoSettings()
2468 WifiNative.PnoSettings expected) { in verifyHwPnoForImpl()
2469 ArgumentCaptor<WifiNative.PnoSettings> pnoSettingsCaptor = in verifyHwPnoForImpl()
2470 ArgumentCaptor.forClass(WifiNative.PnoSettings.class); in verifyHwPnoForImpl()
2481 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest()
2522 WifiNative.PnoSettings nativeSettings, ScanResults results) { in expectHwPnoScan()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java776 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenNetwork()
780 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenNetwork()
781 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND, pnoNetwork.flags); in testCreatePnoNetworkWithOpenNetwork()
782 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenNetwork()
793 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenHiddenNetwork()
797 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
798 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
799 | WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN, pnoNetwork.flags); in testCreatePnoNetworkWithOpenHiddenNetwork()
800 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenHiddenNetwork()
811 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithPskNetwork()
[all …]
DScanTestUtil.java485 public static void assertNativePnoSettingsEquals(WifiNative.PnoSettings expected, in assertNativePnoSettingsEquals()
486 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
DWifiNativeTest.java171 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS =
172 new WifiNative.PnoSettings() {{
DWifiConnectivityManagerTest.java73 import android.net.wifi.WifiScanner.PnoSettings;
382 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
3985 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoList()
4028 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequencies()
4086 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListOrder()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiScannerTest.java37 import android.net.wifi.WifiScanner.PnoSettings;
38 import android.net.wifi.WifiScanner.PnoSettings.PnoNetwork;
174 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserializePnoSettings()
191 PnoSettings pnoSettingsDeserialized = in canSerializeAndDeserializePnoSettings()
398 PnoSettings pnoSettings = new PnoSettings(); in testStartDisconnectedPnoScan()
429 PnoSettings pnoSettings = new PnoSettings(); in testStartConnectedPnoScan()
460 PnoSettings pnoSettings = new PnoSettings(); in testStopPnoScan()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java895 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork()
897 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork()
898 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork()
900 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork()
902 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork()
903 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork()
905 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork()
907 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork()
909 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()
DWifiConnectivityManager.java41 import android.net.wifi.WifiScanner.PnoSettings;
1915 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan()
1916 List<PnoSettings.PnoNetwork> pnoNetworkList = retrievePnoNetworkList(); in startDisconnectedPnoScan()
1925 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
1958 public List<PnoSettings.PnoNetwork> retrievePnoNetworkList() { in retrievePnoNetworkList()
1968 List<PnoSettings.PnoNetwork> pnoList = new ArrayList<>(); in retrievePnoNetworkList()
1969 Set<WifiScanner.PnoSettings.PnoNetwork> pnoSet = new HashSet<>(); in retrievePnoNetworkList()
1971 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in retrievePnoNetworkList()
DWifiNative.java1763 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan()
3080 (flags & WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN) != 0);
3097 public static class PnoSettings {
3105 android.net.wifi.nl80211.PnoSettings toNativePnoSettings() {
3106 android.net.wifi.nl80211.PnoSettings nativePnoSettings =
3107 new android.net.wifi.nl80211.PnoSettings();
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java886 public static class PnoSettings implements Parcelable { class in WifiScanner
995 public static final @NonNull Creator<PnoSettings> CREATOR =
996 new Creator<PnoSettings>() {
997 public PnoSettings createFromParcel(Parcel in) {
998 PnoSettings settings = new PnoSettings();
1016 public PnoSettings[] newArray(int size) {
1017 return new PnoSettings[size];
1292 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan()
1313 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan()
1335 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java33 import android.net.wifi.WifiScanner.PnoSettings;
1897 private final RequestList<Pair<PnoSettings, ScanSettings>> mActivePnoScans =
1963 public boolean setHwPnoList(WifiNative.PnoSettings pnoSettings) { in setHwPnoList()
2108 PnoSettings pnoSettings = null; in processMessage()
2159 PnoSettings pnoSettings = null; in processMessage()
2254 private WifiNative.PnoSettings convertSettingsToPnoNative(ScanSettings scanSettings, in convertSettingsToPnoNative()
2255 PnoSettings pnoSettings) { in convertSettingsToPnoNative()
2256 WifiNative.PnoSettings nativePnoSetting = new WifiNative.PnoSettings(); in convertSettingsToPnoNative()
2278 for (Pair<PnoSettings, ScanSettings> settingsPair : mActivePnoScans.getAllSettings()) { in getScanSettings()
2304 PnoSettings pnoSettings) { in addPnoScanRequest()
[all …]
DWificondScannerImpl.java410 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan()
429 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DWifiScannerImpl.java167 public abstract boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DHalWifiScannerImpl.java121 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1944 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;-><init>(Ljava/lang/String;)V
1945 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->authBitField:B
1946 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_EAPOL:B
1947 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_OPEN:B
1948 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_PSK:B
1949 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->flags:B
1950 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_A_BAND:B
1951 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_DIRECTED_SCAN:B
1952 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_G_BAND:B
1953 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_SAME_NETWORK:B
[all …]