Home
last modified time | relevance | path

Searched refs:SarInfo (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiChipHidlImplTest.java52 import com.android.server.wifi.SarInfo;
271 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_0()
287 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_1()
309 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_2()
331 SarInfo sarInfo = new SarInfo(); in testResetTxPowerScenario_1_0()
345 SarInfo sarInfo = new SarInfo(); in testResetTxPowerScenario_1_1()
367 SarInfo sarInfo = new SarInfo(); in testResetTxPowerScenario_not_needed_1_1()
394 SarInfo sarInfo = new SarInfo(); in testResetTxPowerScenario_1_2()
416 SarInfo sarInfo = new SarInfo(); in testResetTxPowerScenario_not_needed_1_2()
443 SarInfo sarInfo = new SarInfo(); in testSapScenarios_SelectTxPowerV1_2()
[all …]
DWifiChipAidlImplTest.java52 import com.android.server.wifi.SarInfo;
208 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario()
226 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_SapScenarios()
244 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_VoiceCallScenarios()
262 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_EarPieceScenarios()
281 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_head_sap_call()
296 SarInfo sarInfo = new SarInfo(); in testResetTxPowerScenario()
314 SarInfo sarInfo = new SarInfo(); in testSetTxPowerScenarioNotNeeded()
338 SarInfo sarInfo = new SarInfo(); in testResetTxPowerScenarioNotNeeded()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java69 private SarInfo mSarInfo;
86 when(mWifiNative.selectTxPowerScenario(any(SarInfo.class))).thenReturn(true); in setUp()
110 ArgumentCaptor<SarInfo> sarInfoCaptor = ArgumentCaptor.forClass(SarInfo.class); in captureSarInfo()
254 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()
275 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledTxPowerScenario_wifiOff_offHook_onHook()
307 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
311 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledSar_wifiOn_offHook_wifiOff_onHook()
331 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn()
335 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledSar_wifiOff_offHook_onHook_wifiOn()
357 inOrder.verify(mWifiNative, never()).selectTxPowerScenario(any(SarInfo.class)); in testSarMgr_enabledSar_offHook_wifiOnOff_onHook()
[all …]
DSarInfoTest.java35 private SarInfo mSarInfo;
42 mSarInfo = new SarInfo(); in setUp()
DWifiNativeTest.java1173 when(mWifiVendorHal.selectTxPowerScenario(any(SarInfo.class))).thenReturn(true); in testSelectTxPowerScenario_success()
1174 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_success()
1184 when(mWifiVendorHal.selectTxPowerScenario(any(SarInfo.class))).thenReturn(false); in testSelectTxPowerScenario_failure()
1185 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_failure()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DIWifiChip.java28 import com.android.server.wifi.SarInfo;
373 boolean selectTxPowerScenario(SarInfo sarInfo); in selectTxPowerScenario()
DWifiChipHidlImpl.java56 import com.android.server.wifi.SarInfo;
490 public boolean selectTxPowerScenario(SarInfo sarInfo) { in selectTxPowerScenario()
1226 private boolean selectTxPowerScenarioInternal(String methodStr, SarInfo sarInfo) { in selectTxPowerScenarioInternal()
1235 private boolean selectTxPowerScenarioInternal_1_1(String methodStr, SarInfo sarInfo) { in selectTxPowerScenarioInternal_1_1()
1273 private boolean selectTxPowerScenarioInternal_1_2(String methodStr, SarInfo sarInfo) { in selectTxPowerScenarioInternal_1_2()
2203 private static boolean sarPowerBackoffRequired_1_1(SarInfo sarInfo) { in sarPowerBackoffRequired_1_1()
2221 private static int frameworkToHalTxPowerScenario_1_1(SarInfo sarInfo) { in frameworkToHalTxPowerScenario_1_1()
2233 private static boolean sarPowerBackoffRequired_1_2(SarInfo sarInfo) { in sarPowerBackoffRequired_1_2()
2253 private static int frameworkToHalTxPowerScenario_1_2(SarInfo sarInfo) { in frameworkToHalTxPowerScenario_1_2()
DWifiChip.java31 import com.android.server.wifi.SarInfo;
865 public boolean selectTxPowerScenario(SarInfo sarInfo) { in selectTxPowerScenario()
DWifiChipAidlImpl.java72 import com.android.server.wifi.SarInfo;
928 public boolean selectTxPowerScenario(SarInfo sarInfo) { in selectTxPowerScenario()
1443 private static boolean sarPowerBackoffRequired(SarInfo sarInfo) { in sarPowerBackoffRequired()
1460 private static int frameworkToHalTxPowerScenario(SarInfo sarInfo) in frameworkToHalTxPowerScenario()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSarManager.java75 private SarInfo mSarInfo;
124 mSarInfo = new SarInfo(); in handleBootCompleted()
DSarInfo.java36 public class SarInfo { class
DWifiVendorHal.java1549 public boolean selectTxPowerScenario(SarInfo sarInfo) { in selectTxPowerScenario()
DWifiNative.java4862 public boolean selectTxPowerScenario(SarInfo sarInfo) {
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp359 "com.android.server.wifi.SarInfo",
360 "com.android.server.wifi.SarInfo$*",
361 "com.android.server.wifi.SarInfo.**",