Searched refs:setMiracastMode (Results 1 – 10 of 10) 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()
694 public void setMiracastMode(int mode) { in setMiracastMode() method in WifiP2pServiceImpl1684 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()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()
577 mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_DISABLED); in updateConnection()728 mWifiP2pManager.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in updateConnection()
46568 Landroid/net/wifi/p2p/IWifiP2pManager$Stub$Proxy;->setMiracastMode(I)V46580 Landroid/net/wifi/p2p/IWifiP2pManager;->setMiracastMode(I)V