Searched refs:sarInfo (Results 1 – 4 of 4) sorted by relevance
2899 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_0() local2900 sarInfo.isVoiceCall = true; in testSelectTxPowerScenario_1_0()2904 assertFalse(mWifiVendorHal.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_1_0()2916 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_1() local2917 sarInfo.sarVoiceCallSupported = true; in testSelectTxPowerScenario_1_1()2918 sarInfo.sarSapSupported = false; in testSelectTxPowerScenario_1_1()2920 sarInfo.isVoiceCall = true; in testSelectTxPowerScenario_1_1()2928 assertTrue(mWifiVendorHal.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_1_1()2942 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_2() local2943 sarInfo.sarVoiceCallSupported = true; in testSelectTxPowerScenario_1_2()[all …]
1003 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_success() local1004 assertTrue(mWifiNative.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_success()1005 verify(mWifiVendorHal).selectTxPowerScenario(sarInfo); in testSelectTxPowerScenario_success()1014 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_failure() local1015 assertFalse(mWifiNative.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_failure()1016 verify(mWifiVendorHal).selectTxPowerScenario(sarInfo); in testSelectTxPowerScenario_failure()
2958 private boolean sarPowerBackoffRequired_1_1(SarInfo sarInfo) { in sarPowerBackoffRequired_1_1() argument2961 if (sarInfo.sarVoiceCallSupported) { in sarPowerBackoffRequired_1_1()2962 return (sarInfo.isVoiceCall || sarInfo.isEarPieceActive); in sarPowerBackoffRequired_1_1()2976 private int frameworkToHalTxPowerScenario_1_1(SarInfo sarInfo) { in frameworkToHalTxPowerScenario_1_1() argument2977 if (sarInfo.sarVoiceCallSupported && (sarInfo.isVoiceCall || sarInfo.isEarPieceActive)) { in frameworkToHalTxPowerScenario_1_1()2989 private boolean sarPowerBackoffRequired_1_2(SarInfo sarInfo) { in sarPowerBackoffRequired_1_2() argument2990 if (sarInfo.sarSapSupported && sarInfo.isWifiSapEnabled) { in sarPowerBackoffRequired_1_2()2993 if (sarInfo.sarVoiceCallSupported && (sarInfo.isVoiceCall || sarInfo.isEarPieceActive)) { in sarPowerBackoffRequired_1_2()3010 private int frameworkToHalTxPowerScenario_1_2(SarInfo sarInfo) { in frameworkToHalTxPowerScenario_1_2() argument3011 if (sarInfo.sarSapSupported && sarInfo.sarVoiceCallSupported) { in frameworkToHalTxPowerScenario_1_2()[all …]
3991 public boolean selectTxPowerScenario(SarInfo sarInfo) {3992 return mWifiVendorHal.selectTxPowerScenario(sarInfo);