Searched refs:sarInfo (Results 1 – 4 of 4) sorted by relevance
2354 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_0() local2355 sarInfo.isVoiceCall = true; in testSelectTxPowerScenario_1_0()2359 assertFalse(mWifiVendorHal.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_1_0()2371 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_1() local2372 sarInfo.sarVoiceCallSupported = true; in testSelectTxPowerScenario_1_1()2373 sarInfo.sarSapSupported = false; in testSelectTxPowerScenario_1_1()2374 sarInfo.sarSensorSupported = false; in testSelectTxPowerScenario_1_1()2376 sarInfo.isVoiceCall = true; in testSelectTxPowerScenario_1_1()2383 assertTrue(mWifiVendorHal.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_1_1()2397 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_1_2() local[all …]
611 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_success() local612 assertTrue(mWifiNative.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_success()613 verify(mWifiVendorHal).selectTxPowerScenario(sarInfo); in testSelectTxPowerScenario_success()622 SarInfo sarInfo = new SarInfo(); in testSelectTxPowerScenario_failure() local623 assertFalse(mWifiNative.selectTxPowerScenario(sarInfo)); in testSelectTxPowerScenario_failure()624 verify(mWifiVendorHal).selectTxPowerScenario(sarInfo); in testSelectTxPowerScenario_failure()
2321 private boolean sarPowerBackoffRequired_1_1(SarInfo sarInfo) { in sarPowerBackoffRequired_1_1() argument2324 if (sarInfo.sarVoiceCallSupported) { in sarPowerBackoffRequired_1_1()2325 return (sarInfo.isVoiceCall || sarInfo.isEarPieceActive); in sarPowerBackoffRequired_1_1()2339 private int frameworkToHalTxPowerScenario_1_1(SarInfo sarInfo) { in frameworkToHalTxPowerScenario_1_1() argument2340 if (sarInfo.sarVoiceCallSupported && (sarInfo.isVoiceCall || sarInfo.isEarPieceActive)) { in frameworkToHalTxPowerScenario_1_1()2356 private boolean sarPowerBackoffRequired_1_2(SarInfo sarInfo) { in sarPowerBackoffRequired_1_2() argument2358 if (sarInfo.sarSensorSupported) { in sarPowerBackoffRequired_1_2()2359 return (sarInfo.sensorState != SarInfo.SAR_SENSOR_FREE_SPACE); in sarPowerBackoffRequired_1_2()2361 if (sarInfo.sarSapSupported && sarInfo.isWifiSapEnabled) { in sarPowerBackoffRequired_1_2()2364 if (sarInfo.sarVoiceCallSupported && (sarInfo.isVoiceCall || sarInfo.isEarPieceActive)) { in sarPowerBackoffRequired_1_2()[all …]
3256 public boolean selectTxPowerScenario(SarInfo sarInfo) { in selectTxPowerScenario() argument3257 return mWifiVendorHal.selectTxPowerScenario(sarInfo); in selectTxPowerScenario()