Home
last modified time | relevance | path

Searched refs:setMacRandomization (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java661 when(mSupplicantP2pIfaceHalMock.setMacRandomization(anyBoolean())) in testSetMacRandomization()
663 assertTrue(mWifiP2pNative.setMacRandomization(true)); in testSetMacRandomization()
664 verify(mSupplicantP2pIfaceHalMock).setMacRandomization(eq(true)); in testSetMacRandomization()
DSupplicantP2pIfaceHalTest.java2702 when(mISupplicantP2pIfaceMockV12.setMacRandomization(anyBoolean())) in testEnableMacRandomization()
2706 assertFalse(mDut.setMacRandomization(true)); in testEnableMacRandomization()
2708 assertTrue(mDut.setMacRandomization(true)); in testEnableMacRandomization()
2709 verify(mISupplicantP2pIfaceMockV12).setMacRandomization(eq(true)); in testEnableMacRandomization()
DWifiP2pServiceImplTest.java1634 verify(mWifiNative, never()).setMacRandomization(eq(false)); in testP2pRandomMacWithOemSupport()
1635 verify(mWifiNative).setMacRandomization(eq(true)); in testP2pRandomMacWithOemSupport()
1644 verify(mWifiNative, never()).setMacRandomization(eq(true)); in testP2pRandomMacWithoutOemSupport()
1645 verify(mWifiNative).setMacRandomization(eq(false)); in testP2pRandomMacWithoutOemSupport()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java835 public boolean setMacRandomization(boolean enable) { in setMacRandomization() method in WifiP2pNative
836 return mSupplicantP2pIfaceHal.setMacRandomization(enable); in setMacRandomization()
DSupplicantP2pIfaceHal.java2370 public boolean setMacRandomization(boolean enable) { in setMacRandomization() method in SupplicantP2pIfaceHal
2379 result.setResult(ifaceV12.setMacRandomization(enable)); in setMacRandomization()
DWifiP2pServiceImpl.java1381 mWifiNative.setMacRandomization(true); in setupInterfaceFeatures()
1383 mWifiNative.setMacRandomization(false); in setupInterfaceFeatures()