Home
last modified time | relevance | path

Searched refs:MacAddressUtil (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMacAddressUtilTest.java44 private MacAddressUtil mMacAddressUtil;
54 eq(MacAddressUtil.MAC_RANDOMIZATION_ALIAS))).thenReturn(mMacForSta); in setUp()
56 eq(MacAddressUtil.MAC_RANDOMIZATION_SAP_ALIAS))).thenReturn(mMacForSap); in setUp()
57 mMacAddressUtil = new MacAddressUtil(mKeystoreWrapper); in setUp()
78 verify(mKeystoreWrapper).getHmacSHA256ForUid(0, MacAddressUtil.MAC_RANDOMIZATION_ALIAS); in testCalculatePersistentMacForSta()
86 eq(MacAddressUtil.MAC_RANDOMIZATION_ALIAS))).thenReturn(macForSta2); in testCalculatePersistentMacForSta()
92 0, MacAddressUtil.MAC_RANDOMIZATION_ALIAS); in testCalculatePersistentMacForSta()
115 MacAddressUtil.MAC_RANDOMIZATION_SAP_ALIAS); in testCalculatePersistentMacForSap()
123 eq(MacAddressUtil.MAC_RANDOMIZATION_SAP_ALIAS))).thenReturn(macForSap2); in testCalculatePersistentMacForSap()
129 0, MacAddressUtil.MAC_RANDOMIZATION_SAP_ALIAS); in testCalculatePersistentMacForSap()
[all …]
DWifiConfigManagerTest.java199 @Mock private MacAddressUtil mMacAddressUtil;
2687 isForSecondaryDbs ? MacAddressUtil.nextMacAddress(firstMac) : firstMac, in testNonPersistentMacRandomizationEvery24Hours()
2741 isForSecondaryDbs ? MacAddressUtil.nextMacAddress(config.getRandomizedMacAddress()) in testRandomizedMacUpdateAndRestore()
2758 isForSecondaryDbs ? MacAddressUtil.nextMacAddress(config.getRandomizedMacAddress()) in testRandomizedMacUpdateAndRestore()
2782 assertTrue(newMac.equals(MacAddressUtil.nextMacAddress(randomMac))); in testNonPersistentRandomizationDbsMacAddress()
DWifiApConfigStoreTest.java121 @Mock private MacAddressUtil mMacAddressUtil;
DClientModeImplTest.java675 mac = MacAddressUtil.nextMacAddress(mac); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DMacAddressUtil.java36 public class MacAddressUtil { class
50 public MacAddressUtil(KeystoreWrapper keystoreWrapper) { in MacAddressUtil() method in MacAddressUtil
147 bytes[MacAddressUtil.ETHER_ADDR_LEN - 1] = in nextMacAddress()
148 (byte) ((bytes[MacAddressUtil.ETHER_ADDR_LEN - 1] + 1) & 0xff); in nextMacAddress()
DWifiInjector.java225 private final MacAddressUtil mMacAddressUtil = new MacAddressUtil(new KeystoreWrapper());
1003 public MacAddressUtil getMacAddressUtil() { in getMacAddressUtil()
DWifiApConfigStore.java86 private final MacAddressUtil mMacAddressUtil;
DWifiConfigManager.java305 private final MacAddressUtil mMacAddressUtil;
669 mac = MacAddressUtil.nextMacAddress(mac); in getRandomizedMacAndUpdateIfNeeded()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java48 import com.android.server.wifi.MacAddressUtil;
136 private final MacAddressUtil mMacAddressUtil;
373 MacAddressUtil macAddressUtil, in PasspointManager()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp278 "com.android.server.wifi.MacAddressUtil",
279 "com.android.server.wifi.MacAddressUtil$*",
280 "com.android.server.wifi.MacAddressUtil.**",
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java88 import com.android.server.wifi.MacAddressUtil;
224 @Mock MacAddressUtil mMacAddressUtil;