Home
last modified time | relevance | path

Searched refs:mMacAddressUtil (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMacAddressUtilTest.java42 private MacAddressUtil mMacAddressUtil; field in MacAddressUtilTest
49 mMacAddressUtil = new MacAddressUtil(); in setUp()
58 assertNull(mMacAddressUtil.calculatePersistentMacForConfiguration(null, null)); in testCalculatePersistentMacForConfiguration()
68 MacAddress macAddress = mMacAddressUtil.calculatePersistentMacForConfiguration( in testCalculatePersistentMacForConfiguration()
82 assertNull(mMacAddressUtil.calculatePersistentMacForConfiguration(config, mMac)); in testCalculatePersistentMacCatchesException()
DWifiConfigManagerTest.java141 @Mock private MacAddressUtil mMacAddressUtil; field in WifiConfigManagerTest
228 when(mWifiInjector.getMacAddressUtil()).thenReturn(mMacAddressUtil); in setUp()
229 when(mMacAddressUtil.calculatePersistentMacForConfiguration(any(), any())) in setUp()
311 when(mMacAddressUtil.calculatePersistentMacForConfiguration(any(), any())).thenReturn(null); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
322 verify(mMacAddressUtil, times(2)).calculatePersistentMacForConfiguration(any(), any()); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java158 private final MacAddressUtil mMacAddressUtil; field in WifiInjector
174 mMacAddressUtil = new MacAddressUtil(); in WifiInjector()
716 return mMacAddressUtil; in getMacAddressUtil()
DWifiConfigManager.java278 private final MacAddressUtil mMacAddressUtil; field in WifiConfigManager
465 mMacAddressUtil = mWifiInjector.getMacAddressUtil(); in WifiConfigManager()
517 MacAddress result = mMacAddressUtil.calculatePersistentMacForConfiguration( in getPersistentMacAddress()
518 config, mMacAddressUtil.obtainMacRandHashFunction(Process.WIFI_UID)); in getPersistentMacAddress()
520 result = mMacAddressUtil.calculatePersistentMacForConfiguration( in getPersistentMacAddress()
521 config, mMacAddressUtil.obtainMacRandHashFunction(Process.WIFI_UID)); in getPersistentMacAddress()