/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/scanner/ |
D | WificondPnoScannerTest.java | 95 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()
|
D | WifiScanningServiceTest.java | 2053 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/ |
D | WifiConfigurationUtilTest.java | 500 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 …]
|
D | WificondControlTest.java | 45 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 …]
|
D | WifiConnectivityManagerTest.java | 42 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()
|
D | WifiNativeTest.java | 136 private static final WifiNative.PnoSettings TEST_PNO_SETTINGS = 137 new WifiNative.PnoSettings() {{
|
D | ScanTestUtil.java | 399 public static void assertNativePnoSettingsEquals(WifiNative.PnoSettings expected, in assertNativePnoSettingsEquals() 400 WifiNative.PnoSettings actual) { in assertNativePnoSettingsEquals()
|
D | WifiConfigManagerTest.java | 1580 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/ |
D | PnoSettingsTest.java | 51 PnoSettings pnoSettings = new PnoSettings(); in canSerializeAndDeserialize() 71 PnoSettings pnoSettingsDeserialized = in canSerializeAndDeserialize()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 531 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()
|
D | WificondControl.java | 45 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()
|
D | WifiConnectivityManager.java | 31 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()
|
D | WifiNative.java | 1185 public boolean startPnoScan(@NonNull String ifaceName, PnoSettings pnoSettings) { in startPnoScan() 2079 public static class PnoSettings { class in WifiNative
|
D | WifiConfigManager.java | 2367 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/ |
D | WifiScanner.java | 556 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/ |
D | WifiScanningServiceImpl.java | 33 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 …]
|
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 | 413 private boolean startHwPnoScan(WifiNative.PnoSettings pnoSettings) { in startHwPnoScan() 431 public boolean setHwPnoList(WifiNative.PnoSettings settings, in setHwPnoList()
|
/frameworks/base/services/ |
D | art-profile | 689 HSPLandroid/net/wifi/IWifiScannerImpl;->startPnoScan(Lcom/android/server/wifi/wificond/PnoSettings;…
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 4059 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;
|