Home
last modified time | relevance | path

Searched refs:maxAllowlistSize (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConnectivityHelper.java76 if (roamingCap.maxBlocklistSize < 0 || roamingCap.maxAllowlistSize < 0) { in getFirmwareRoamingInfo()
79 + roamingCap.maxAllowlistSize); in getFirmwareRoamingInfo()
83 mMaxNumAllowlistSsid = roamingCap.maxAllowlistSize; in getFirmwareRoamingInfo()
DWifiBlocklistMonitor.java946 int maxAllowlistSize = mConnectivityHelper.getMaxNumAllowlistSsid(); in updateFirmwareRoamingConfiguration() local
947 if (maxAllowlistSize <= 0) { in updateFirmwareRoamingConfiguration()
948 Log.wtf(TAG, "Invalid max SSID allowlist size: " + maxAllowlistSize); in updateFirmwareRoamingConfiguration()
951 if (allowlistSize > maxAllowlistSize) { in updateFirmwareRoamingConfiguration()
952 ssidAllowlist = new ArrayList<>(ssidAllowlist.subList(0, maxAllowlistSize)); in updateFirmwareRoamingConfiguration()
DWifiNative.java4775 public int maxAllowlistSize;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityHelperTest.java75 roamCap.maxAllowlistSize = MAX_SSID_ALLOWLIST_SIZE; in setupWifiNative()
164 roamCap.maxAllowlistSize = MAX_SSID_ALLOWLIST_SIZE; in verifyFirmwareRoamingCapabilityWithInvalidMaxBssidBlocklistSize()
184 roamCap.maxAllowlistSize = -2; in verifyFirmwareRoamingCapabilityWithInvalidMaxSsidAllowlistSize()
DWifiBlocklistMonitorTest.java1778 int maxAllowlistSize = 4; in testUpdateFirmwareRoamingConfigurationTrimsOversizeAllowlist() local
1779 when(mWifiConnectivityHelper.getMaxNumAllowlistSsid()).thenReturn(maxAllowlistSize); in testUpdateFirmwareRoamingConfigurationTrimsOversizeAllowlist()
1789 assertEquals(maxAllowlistSize, ssidAllowlistCaptor.getValue().size()); in testUpdateFirmwareRoamingConfigurationTrimsOversizeAllowlist()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java309 caps.maxAllowlistSize = allowlistSize; in testFirmwareRoamingCapabilityRetrieval()
314 assertEquals(allowlistSize, roamCap.maxAllowlistSize); in testFirmwareRoamingCapabilityRetrieval()
DWifiStaIfaceHidlImplTest.java874 assertEquals(allowlistSize, roamCap.maxAllowlistSize); in testFirmwareRoamingCapabilityRetrieval()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceAidlImpl.java445 out.maxAllowlistSize = halCaps.maxAllowlistSize; in getRoamingCapabilities()
DWifiStaIfaceHidlImpl.java639 out.maxAllowlistSize = caps.maxWhitelistSize; in getRoamingCapabilitiesInternal()