Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DIWifiP2pManager.aidl31 void setMiracastMode(int mode); in setMiracastMode() method
DWifiP2pManager.java1809 public void setMiracastMode(@MiracastMode int mode) { in setMiracastMode() method in WifiP2pManager
1811 mService.setMiracastMode(mode); in setMiracastMode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2100 when(mISupplicantP2pIfaceMock.setMiracastMode(anyByte())) in testSetMiracastMode_success()
2108 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_success()
2110 assertTrue(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_success()
2113 assertTrue(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SINK)); in testSetMiracastMode_success()
2117 assertTrue(mDut.setMiracastMode(-1)); in testSetMiracastMode_success()
2127 when(mISupplicantP2pIfaceMock.setMiracastMode(anyByte())) in testSetMiracastMode_failure()
2129 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_failure()
2140 when(mISupplicantP2pIfaceMock.setMiracastMode(anyByte())) in testSetMiracastMode_exception()
2142 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_exception()
DWifiP2pNativeTest.java608 mWifiP2pNative.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in testSetMiracastMode()
609 verify(mSupplicantP2pIfaceHalMock).setMiracastMode(eq(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode()
DWifiP2pServiceImplTest.java3348 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenP2pEnabled()
3353 verify(mWifiNative).setMiracastMode(eq(0)); in testSetMiracastModeWhenP2pEnabled()
3364 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenP2pDisabled()
3369 verify(mWifiNative, never()).setMiracastMode(anyInt()); in testSetMiracastModeWhenP2pDisabled()
3380 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenPermissionDeined()
3384 verify(mWifiNative, never()).setMiracastMode(anyInt()); in testSetMiracastModeWhenPermissionDeined()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java757 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pNative
758 mSupplicantP2pIfaceHal.setMiracastMode(mode); in setMiracastMode()
DSupplicantP2pIfaceHal.java1781 public boolean setMiracastMode(int mode) { in setMiracastMode() method in SupplicantP2pIfaceHal
1799 result.setResult(mISupplicantP2pIface.setMiracastMode(targetMode)); in setMiracastMode()
DWifiP2pServiceImpl.java763 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pServiceImpl
1883 mWifiNative.setMiracastMode(message.arg1); in processMessage()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt1107 …resPermission(android.Manifest.permission.CONFIGURE_WIFI_DISPLAY) public void setMiracastMode(int);
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1053 Landroid/net/wifi/p2p/IWifiP2pManager$Stub$Proxy;->setMiracastMode(I)V
1065 Landroid/net/wifi/p2p/IWifiP2pManager;->setMiracastMode(I)V