Home
last modified time | relevance | path

Searched refs:setVoipMode (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVoipDetectorTest.java87 when(mWifiNative.setVoipMode(anyInt())).thenReturn(true); in setUp()
94 when(mWifiNative.setVoipMode(anyInt())).thenReturn(true); in resetWifiNativeAndReSetupforMock()
106 verify(mWifiNative, never()).setVoipMode(anyInt()); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
109 verify(mWifiNative, never()).setVoipMode(anyInt()); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
113 verify(mWifiNative).setVoipMode(WifiChip.WIFI_VOIP_MODE_VOICE); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
116 verify(mWifiNative).setVoipMode(WifiChip.WIFI_VOIP_MODE_OFF); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
120 verify(mWifiNative).setVoipMode(WifiChip.WIFI_VOIP_MODE_VOICE); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
124 verify(mWifiNative).setVoipMode(WifiChip.WIFI_VOIP_MODE_OFF); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
128 verify(mWifiNative).setVoipMode(WifiChip.WIFI_VOIP_MODE_VOICE); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
132 verify(mWifiNative).setVoipMode(WifiChip.WIFI_VOIP_MODE_OFF); in testNotifyWifiConnectedDisconnectedInPrimaryClientMode()
[all …]
DWifiVendorHalTest.java1840 when(mWifiChip.setVoipMode(anyInt())).thenReturn(true); in testVoipMode()
1842 assertFalse(mWifiVendorHal.setVoipMode(WifiChip.WIFI_VOIP_MODE_VOICE)); in testVoipMode()
1845 assertTrue(mWifiVendorHal.setVoipMode(WifiChip.WIFI_VOIP_MODE_VOICE)); in testVoipMode()
1846 verify(mWifiChip).setVoipMode(WifiChip.WIFI_VOIP_MODE_VOICE); in testVoipMode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiChipAidlImplTest.java470 assertFalse(mDut.setVoipMode(VoipMode.VOICE)); in testVoipMode()
471 assertFalse(mDut.setVoipMode(VoipMode.OFF)); in testVoipMode()
472 verify(mIWifiChipMock, never()).setVoipMode(anyInt()); in testVoipMode()
476 assertTrue(mDut.setVoipMode(WifiChip.WIFI_VOIP_MODE_VOICE)); in testVoipMode()
477 verify(mIWifiChipMock).setVoipMode(VoipMode.VOICE); in testVoipMode()
478 assertTrue(mDut.setVoipMode(VoipMode.OFF)); in testVoipMode()
483 assertFalse(mDut.setVoipMode(VoipMode.VOICE)); in testVoipMode()
484 assertFalse(mDut.setVoipMode(VoipMode.OFF)); in testVoipMode()
485 verify(mIWifiChipMock, never()).setVoipMode(anyInt()); in testVoipMode()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DIWifiChip.java480 default boolean setVoipMode(@WifiChip.WifiVoipMode int mode) { in setVoipMode() method
DWifiChip.java976 public boolean setVoipMode(@WifiVoipMode int mode) { in setVoipMode() method in WifiChip
978 () -> mWifiChip.setVoipMode(mode)); in setVoipMode()
DWifiChipAidlImpl.java1165 public boolean setVoipMode(@WifiChip.WifiVoipMode int mode) { in setVoipMode() method in WifiChipAidlImpl
1174 mWifiChip.setVoipMode(frameworkToHalVoipMode(mode)); in setVoipMode()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVoipDetector.java180 if (!mWifiInjector.getWifiNative().setVoipMode(newMode)) { in executeWifiVoIPOptimization()
DWifiVendorHal.java2172 public boolean setVoipMode(@WifiChip.WifiVoipMode int mode) {
2175 return mWifiChip.setVoipMode(mode);
DWifiNative.java5541 public boolean setVoipMode(@WifiChip.WifiVoipMode int mode) {
5542 return mWifiVendorHal.setVoipMode(mode);