Searched refs:setMiracastMode (Results 1 – 9 of 9) sorted by relevance
31 void setMiracastMode(int mode); in setMiracastMode() method
1684 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pManager1686 mService.setMiracastMode(mode); in setMiracastMode()
759 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pNative760 mSupplicantP2pIfaceHal.setMiracastMode(mode); in setMiracastMode()
1670 public boolean setMiracastMode(int mode) { in setMiracastMode() method in SupplicantP2pIfaceHal1688 result.setResult(mISupplicantP2pIface.setMiracastMode(targetMode)); in setMiracastMode()
674 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pServiceImpl1665 mWifiNative.setMiracastMode(message.arg1); in processMessage()
2049 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()
575 mWifiP2pNative.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in testSetMiracastMode()576 verify(mSupplicantP2pIfaceHalMock).setMiracastMode(eq(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode()
3037 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenP2pEnabled()3044 verify(mWifiNative).setMiracastMode(eq(0)); in testSetMiracastModeWhenP2pEnabled()3055 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenP2pDisabled()3062 verify(mWifiNative, never()).setMiracastMode(anyInt()); in testSetMiracastModeWhenP2pDisabled()3072 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenPermissionDeined1()3075 verify(mWifiNative, never()).setMiracastMode(anyInt()); in testSetMiracastModeWhenPermissionDeined1()3086 mWifiP2pServiceImpl.setMiracastMode(0); in testSetMiracastModeWhenPermissionDeined2()3092 verify(mWifiNative, never()).setMiracastMode(anyInt()); in testSetMiracastModeWhenPermissionDeined2()
577 mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_DISABLED); in updateConnection()728 mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in updateConnection()