Home
last modified time | relevance | path

Searched refs:PnoSettings (Results 1 – 23 of 23) 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/wificond/
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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondPnoScannerTest.java97 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()
DWifiScanningServiceTest.java2139 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/
DWifiScannerTest.java34 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/
DWifiConfigurationUtilTest.java708 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 …]
DWificondControlTest.java67 import com.android.server.wifi.wificond.PnoSettings;
184 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS =
185 new WifiNative.PnoSettings() {{
192 networkList[0].flags = WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN;
798 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(true); in testStartPnoScan()
891 when(mWifiScannerImpl.startPnoScan(any(PnoSettings.class))).thenReturn(false); in testStartPnoScanForMetrics()
1318 private class PnoScanMatcher implements ArgumentMatcher<PnoSettings> {
1319 private final WifiNative.PnoSettings mExpectedPnoSettings;
1320 PnoScanMatcher(WifiNative.PnoSettings expectedPnoSettings) { in PnoScanMatcher()
1324 public boolean matches(PnoSettings settings) { in matches()
[all …]
DWifiConnectivityManagerTest.java43 import android.net.wifi.WifiScanner.PnoSettings;
248 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
254 public void answer(ScanSettings settings, PnoSettings pnoSettings, in mockWifiScanner()
313 PnoSettings.PnoNetwork pnoNetwork = new PnoSettings.PnoNetwork(CANDIDATE_SSID); in mockWifiConfigManager()
314 ArrayList<PnoSettings.PnoNetwork> pnoNetworkList = new ArrayList<>(); in mockWifiConfigManager()
DWifiNativeTest.java146 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS =
147 new WifiNative.PnoSettings() {{
DScanTestUtil.java414 public static void assertNativePnoSettingsEquals(WifiNative.PnoSettings expected, in assertNativePnoSettingsEquals()
415 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
DWifiConfigManagerTest.java2103 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoList()
2143 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequencies()
2202 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequenciesFlagDisabled()
2244 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListPrefersLastConnectedNetwork()
2301 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListPrefersLastConnectedNetworkThenMostConnectedNetworks()
2347 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListRecencyFlagDisabled()
2378 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListDoesNotContainEphemeralOrPasspointNetworks()
2418 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListDoesNotContainDisabledNetworks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java817 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork()
819 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork()
820 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork()
822 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork()
824 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork()
825 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork()
827 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork()
830 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork()
832 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()
DWificondControl.java52 import com.android.server.wifi.wificond.PnoSettings;
724 public boolean startPnoScan(@NonNull String ifaceName, WifiNative.PnoSettings pnoSettings) { in startPnoScan()
730 PnoSettings settings = new PnoSettings(); in startPnoScan()
739 & WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN) != 0; in startPnoScan()
DWifiConnectivityManager.java34 import android.net.wifi.WifiScanner.PnoSettings;
1005 PnoSettings pnoSettings = new PnoSettings(); in startDisconnectedPnoScan()
1006 List<PnoSettings.PnoNetwork> pnoNetworkList = mConfigManager.retrievePnoNetworkList(); in startDisconnectedPnoScan()
1015 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
DWifiConfigManager.java2709 public List<WifiScanner.PnoSettings.PnoNetwork> retrievePnoNetworkList() { in retrievePnoNetworkList()
2710 List<WifiScanner.PnoSettings.PnoNetwork> pnoList = new ArrayList<>(); in retrievePnoNetworkList()
2742 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in retrievePnoNetworkList()
DWifiNative.java1328 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan()
2514 public static class PnoSettings { class in WifiNative
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java582 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/
DWifiScanningServiceImpl.java29 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 …]
DWifiScannerImpl.java149 public abstract boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DHalWifiScannerImpl.java122 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
DWificondScannerImpl.java421 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan()
439 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47526 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;-><init>(Ljava/lang/String;)V
47527 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->authBitField:B
47528 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_EAPOL:B
47529 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_OPEN:B
47530 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_PSK:B
47531 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->flags:B
47532 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_A_BAND:B
47533 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_DIRECTED_SCAN:B
47534 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_G_BAND:B
47535 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_SAME_NETWORK:B
[all …]
Dboot-image-profile.txt10988 PLandroid/net/wifi/WifiScanner$PnoSettings$1;-><init>()V
10989 HPLandroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;-><init>(Ljava/lang/String;)V
11012 …ndroid/net/wifi/WifiScanner$ScanSettings;Landroid/net/wifi/WifiScanner$PnoSettings;Landroid/net/wi…