Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
H A Dsupplicant_p2p_iface_hidl_test.cpp141 p2p_iface_->setMacRandomization(true, [](const SupplicantStatus& status) { in TEST_P()
147 p2p_iface_->setMacRandomization(true, [](const SupplicantStatus& status) { in TEST_P()
152 p2p_iface_->setMacRandomization(false, [](const SupplicantStatus& status) { in TEST_P()
158 p2p_iface_->setMacRandomization(false, [](const SupplicantStatus& status) { in TEST_P()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pNative.java833 public boolean setMacRandomization(boolean enable) { in setMacRandomization() method in WifiP2pNative
834 return mSupplicantP2pIfaceHal.setMacRandomization(enable); in setMacRandomization()
H A DSupplicantP2pIfaceHal.java2481 public boolean setMacRandomization(boolean enable) { in setMacRandomization() method in SupplicantP2pIfaceHal
2490 result.setResult(ifaceV12.setMacRandomization(enable)); in setMacRandomization()
H A DWifiP2pServiceImpl.java1526 mWifiNative.setMacRandomization(true); in setupInterfaceFeatures()
1528 mWifiNative.setMacRandomization(false); in setupInterfaceFeatures()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
H A DWifiP2pNativeTest.java694 when(mSupplicantP2pIfaceHalMock.setMacRandomization(anyBoolean())) in testSetMacRandomization()
696 assertTrue(mWifiP2pNative.setMacRandomization(true)); in testSetMacRandomization()
697 verify(mSupplicantP2pIfaceHalMock).setMacRandomization(eq(true)); in testSetMacRandomization()
H A 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()
H A 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()
/aosp12/hardware/interfaces/wifi/supplicant/1.2/
H A DISupplicantP2pIface.hal82 setMacRandomization(bool enable) generates (SupplicantStatus status);