Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/nl80211/
DPnoSettings.java36 public final class PnoSettings implements Parcelable { class
44 public PnoSettings() { } in PnoSettings() method in PnoSettings
148 if (!(rhs instanceof PnoSettings)) { in equals()
151 PnoSettings settings = (PnoSettings) rhs; in equals()
188 @NonNull public static final Parcelable.Creator<PnoSettings> CREATOR =
189 new Parcelable.Creator<PnoSettings>() {
191 public PnoSettings createFromParcel(Parcel in) {
192 PnoSettings result = new PnoSettings();
205 public PnoSettings[] newArray(int size) {
206 return new PnoSettings[size];
DWifiNl80211Manager.java959 public boolean startPnoScan(@NonNull String ifaceName, @NonNull PnoSettings pnoSettings, in startPnoScan()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DPnoSettingsTest.java71 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()
DWifiNl80211ManagerTest.java134 private static final PnoSettings TEST_PNO_SETTINGS = new PnoSettings();
573 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(true); in testStartPnoScan()
668 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(false); in testStartPnoScanForMetrics()
/frameworks/opt/net/wifi/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()
202 WifiNative.PnoSettings pnoSettings, WifiNative.ScanEventHandler scanEventHandler, in startSuccessfulPnoScan()
206 when(mWifiNative.startPnoScan(eq(IFACE_NAME), any(WifiNative.PnoSettings.class))) in startSuccessfulPnoScan()
223 WifiNative.PnoSettings pnoSettings) { in expectHwDisconnectedPnoScanStart()
[all …]
DWifiScanningServiceTest.java2263 private Pair<WifiScanner.PnoSettings, WifiNative.PnoSettings> createPnoSettings( in createPnoSettings()
2266 WifiScanner.PnoSettings requestPnoSettings = new WifiScanner.PnoSettings(); in createPnoSettings()
2268 new WifiScanner.PnoSettings.PnoNetwork[results.getRawScanResults().length]; in createPnoSettings()
2272 new WifiScanner.PnoSettings.PnoNetwork(scanResult.SSID); in createPnoSettings()
2275 WifiNative.PnoSettings nativePnoSettings = new WifiNative.PnoSettings(); in createPnoSettings()
2297 WifiNative.PnoSettings expected) { in verifyHwPnoForImpl()
2298 ArgumentCaptor<WifiNative.PnoSettings> pnoSettingsCaptor = in verifyHwPnoForImpl()
2299 ArgumentCaptor.forClass(WifiNative.PnoSettings.class); in verifyHwPnoForImpl()
2310 WifiScanner.PnoSettings pnoSettings) { in sendPnoScanRequest()
2351 WifiNative.PnoSettings nativeSettings, ScanResults results) { in expectHwPnoScan()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java693 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenNetwork()
697 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenNetwork()
698 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND, pnoNetwork.flags); in testCreatePnoNetworkWithOpenNetwork()
699 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenNetwork()
710 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenHiddenNetwork()
714 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
715 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
716 | WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN, pnoNetwork.flags); in testCreatePnoNetworkWithOpenHiddenNetwork()
717 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenHiddenNetwork()
728 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithPskNetwork()
[all …]
DScanTestUtil.java402 public static void assertNativePnoSettingsEquals(WifiNative.PnoSettings expected, in assertNativePnoSettingsEquals()
403 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
DWifiNativeTest.java156 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS =
157 new WifiNative.PnoSettings() {{
DWifiConnectivityManagerTest.java41 import android.net.wifi.WifiScanner.PnoSettings;
319 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
3008 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoList()
3051 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequencies()
3109 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListOrder()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java35 import android.net.wifi.WifiScanner.PnoSettings;
36 import android.net.wifi.WifiScanner.PnoSettings.PnoNetwork;
171 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserializePnoSettings()
188 PnoSettings pnoSettingsDeserialized = in canSerializeAndDeserializePnoSettings()
375 PnoSettings pnoSettings = new PnoSettings(); in testStartDisconnectedPnoScan()
406 PnoSettings pnoSettings = new PnoSettings(); in testStartConnectedPnoScan()
437 PnoSettings pnoSettings = new PnoSettings(); in testStopPnoScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java805 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork()
807 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork()
808 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork()
810 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork()
812 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork()
813 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork()
815 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork()
818 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork()
820 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()
DWifiConnectivityManager.java34 import android.net.wifi.WifiScanner.PnoSettings;
1372 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan()
1373 List<PnoSettings.PnoNetwork> pnoNetworkList = retrievePnoNetworkList(); in startDisconnectedPnoScan()
1382 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
1417 public List<PnoSettings.PnoNetwork> retrievePnoNetworkList() { in retrievePnoNetworkList()
1427 List<PnoSettings.PnoNetwork> pnoList = new ArrayList<>(); in retrievePnoNetworkList()
1428 Set<WifiScanner.PnoSettings.PnoNetwork> pnoSet = new HashSet<>(); in retrievePnoNetworkList()
1430 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in retrievePnoNetworkList()
DWifiNative.java1574 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan()
2724 (flags & WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN) != 0);
2741 public static class PnoSettings {
2749 android.net.wifi.nl80211.PnoSettings toNativePnoSettings() {
2750 android.net.wifi.nl80211.PnoSettings nativePnoSettings =
2751 new android.net.wifi.nl80211.PnoSettings();
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java712 public static class PnoSettings implements Parcelable { class in WifiScanner
821 public static final @NonNull Creator<PnoSettings> CREATOR =
822 new Creator<PnoSettings>() {
823 public PnoSettings createFromParcel(Parcel in) {
824 PnoSettings settings = new PnoSettings();
842 public PnoSettings[] newArray(int size) {
843 return new PnoSettings[size];
1117 private void startPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, int key) { in startPnoScan()
1138 public void startConnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startConnectedPnoScan()
1160 public void startDisconnectedPnoScan(ScanSettings scanSettings, PnoSettings pnoSettings, in startDisconnectedPnoScan()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java32 import android.net.wifi.WifiScanner.PnoSettings;
1772 private final RequestList<Pair<PnoSettings, ScanSettings>> mActivePnoScans =
1838 public boolean setHwPnoList(WifiNative.PnoSettings pnoSettings) { in setHwPnoList()
1983 PnoSettings pnoSettings = null; in processMessage()
2034 PnoSettings pnoSettings = null; in processMessage()
2119 private WifiNative.PnoSettings convertSettingsToPnoNative(ScanSettings scanSettings, in convertSettingsToPnoNative()
2120 PnoSettings pnoSettings) { in convertSettingsToPnoNative()
2121 WifiNative.PnoSettings nativePnoSetting = new WifiNative.PnoSettings(); in convertSettingsToPnoNative()
2143 for (Pair<PnoSettings, ScanSettings> settingsPair : mActivePnoScans.getAllSettings()) { in getScanSettings()
2169 PnoSettings pnoSettings) { in addPnoScanRequest()
[all …]
DWifiScannerImpl.java167 public abstract boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DHalWifiScannerImpl.java121 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DWificondScannerImpl.java410 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan()
429 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
/frameworks/base/non-updatable-api/
Dsystem-current.txt6761 public final class PnoSettings implements android.os.Parcelable {
6762 ctor public PnoSettings();
6775 …ll public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoSettings> CREATOR;
6801 …oolean startPnoScan(@NonNull String, @NonNull android.net.wifi.nl80211.PnoSettings, @NonNull java.…
/frameworks/base/api/
Dsystem-current.txt7754 public final class PnoSettings implements android.os.Parcelable {
7755 ctor public PnoSettings();
7768 …ll public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoSettings> CREATOR;
7794 …oolean startPnoScan(@NonNull String, @NonNull android.net.wifi.nl80211.PnoSettings, @NonNull java.…