Home
last modified time | relevance | path

Searched refs:setMiracastMode (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DIWifiP2pManager.aidl31 void setMiracastMode(int mode); in setMiracastMode() method
DWifiP2pManager.java1684 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pManager
1686 mService.setMiracastMode(mode); in setMiracastMode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java759 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pNative
760 mSupplicantP2pIfaceHal.setMiracastMode(mode); in setMiracastMode()
DSupplicantP2pIfaceHal.java1670 public boolean setMiracastMode(int mode) { in setMiracastMode() method in SupplicantP2pIfaceHal
1688 result.setResult(mISupplicantP2pIface.setMiracastMode(targetMode)); in setMiracastMode()
DWifiP2pServiceImpl.java694 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pServiceImpl
1684 mWifiNative.setMiracastMode(message.arg1); in processMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2049 when(mISupplicantP2pIfaceMock.setMiracastMode(anyByte())) in testSetMiracastMode_success()
2057 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_success()
2059 assertTrue(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_success()
2062 assertTrue(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SINK)); in testSetMiracastMode_success()
2066 assertTrue(mDut.setMiracastMode(-1)); in testSetMiracastMode_success()
2076 when(mISupplicantP2pIfaceMock.setMiracastMode(anyByte())) in testSetMiracastMode_failure()
2078 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_failure()
2089 when(mISupplicantP2pIfaceMock.setMiracastMode(anyByte())) in testSetMiracastMode_exception()
2091 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_exception()
DWifiP2pNativeTest.java575 mWifiP2pNative.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in testSetMiracastMode()
576 verify(mSupplicantP2pIfaceHalMock).setMiracastMode(eq(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode()
DWifiP2pServiceImplTest.java3037 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenP2pEnabled()
3042 verify(mWifiNative).setMiracastMode(eq(0)); in testSetMiracastModeWhenP2pEnabled()
3053 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenP2pDisabled()
3058 verify(mWifiNative, never()).setMiracastMode(anyInt()); in testSetMiracastModeWhenP2pDisabled()
3069 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenPermissionDeined()
3073 verify(mWifiNative, never()).setMiracastMode(anyInt()); in testSetMiracastModeWhenPermissionDeined()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java577 mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_DISABLED); in updateConnection()
728 mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in updateConnection()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46568 Landroid/net/wifi/p2p/IWifiP2pManager$Stub$Proxy;->setMiracastMode(I)V
46580 Landroid/net/wifi/p2p/IWifiP2pManager;->setMiracastMode(I)V