Searched refs:setMiracastMode (Results 1 – 10 of 10) sorted by relevance
31 void setMiracastMode(int mode); in setMiracastMode() method
1809 public void setMiracastMode(@MiracastMode int mode) { in setMiracastMode() method in WifiP2pManager1811 mService.setMiracastMode(mode); in setMiracastMode()
2100 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()
608 mWifiP2pNative.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in testSetMiracastMode()609 verify(mSupplicantP2pIfaceHalMock).setMiracastMode(eq(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode()
3348 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()
757 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pNative758 mSupplicantP2pIfaceHal.setMiracastMode(mode); in setMiracastMode()
1781 public boolean setMiracastMode(int mode) { in setMiracastMode() method in SupplicantP2pIfaceHal1799 result.setResult(mISupplicantP2pIface.setMiracastMode(targetMode)); in setMiracastMode()
763 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pServiceImpl1883 mWifiNative.setMiracastMode(message.arg1); in processMessage()
1107 …resPermission(android.Manifest.permission.CONFIGURE_WIFI_DISPLAY) public void setMiracastMode(int);
1053 Landroid/net/wifi/p2p/IWifiP2pManager$Stub$Proxy;->setMiracastMode(I)V1065 Landroid/net/wifi/p2p/IWifiP2pManager;->setMiracastMode(I)V