Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java694 when(mSupplicantP2pIfaceHalMock.setMacRandomization(anyBoolean())) in testSetMacRandomization()
696 assertTrue(mWifiP2pNative.setMacRandomization(true)); in testSetMacRandomization()
697 verify(mSupplicantP2pIfaceHalMock).setMacRandomization(eq(true)); in testSetMacRandomization()
DSupplicantP2pIfaceHalTest.java2753 when(mISupplicantP2pIfaceMockV12.setMacRandomization(anyBoolean())) in testEnableMacRandomization()
2757 assertFalse(mDut.setMacRandomization(true)); in testEnableMacRandomization()
2759 assertTrue(mDut.setMacRandomization(true)); in testEnableMacRandomization()
2760 verify(mISupplicantP2pIfaceMockV12).setMacRandomization(eq(true)); in testEnableMacRandomization()
DWifiP2pServiceImplTest.java1797 verify(mWifiNative, never()).setMacRandomization(eq(false)); in testP2pRandomMacWithOemSupport()
1798 verify(mWifiNative).setMacRandomization(eq(true)); in testP2pRandomMacWithOemSupport()
1807 verify(mWifiNative, never()).setMacRandomization(eq(true)); in testP2pRandomMacWithoutOemSupport()
1808 verify(mWifiNative).setMacRandomization(eq(false)); in testP2pRandomMacWithoutOemSupport()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java833 public boolean setMacRandomization(boolean enable) { in setMacRandomization() method in WifiP2pNative
834 return mSupplicantP2pIfaceHal.setMacRandomization(enable); in setMacRandomization()
DSupplicantP2pIfaceHal.java2481 public boolean setMacRandomization(boolean enable) { in setMacRandomization() method in SupplicantP2pIfaceHal
2490 result.setResult(ifaceV12.setMacRandomization(enable)); in setMacRandomization()
DWifiP2pServiceImpl.java1526 mWifiNative.setMacRandomization(true); in setupInterfaceFeatures()
1528 mWifiNative.setMacRandomization(false); in setupInterfaceFeatures()