Searched refs:mSarInfo (Results 1 – 3 of 3) sorted by relevance
35 private SarInfo mSarInfo; field in SarInfoTest42 mSarInfo = new SarInfo(); in setUp()55 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_resetSarScenarioNeed_atStart()63 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_setSarScenarioNeeded_atStart()73 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_repeat_reset_scenario()74 mSarInfo.reportingSuccessful(); in testSarInfo_repeat_reset_scenario()77 assertFalse(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_repeat_reset_scenario()86 assertTrue(mSarInfo.resetSarScenarioNeeded()); in testSarInfo_set_after_reset_scenario()87 mSarInfo.reportingSuccessful(); in testSarInfo_set_after_reset_scenario()90 assertTrue(mSarInfo.setSarScenarioNeeded(SAR_SCENARIO_1)); in testSarInfo_set_after_reset_scenario()[all …]
87 private SarInfo mSarInfo; field in SarManagerTest130 mSarInfo = sarInfoCaptor.getValue(); in captureSarInfo()131 assertNotNull(mSarInfo); in captureSarInfo()323 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()324 assertFalse(mSarInfo.isVoiceCall); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()328 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()329 assertTrue(mSarInfo.isVoiceCall); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()351 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn()352 assertTrue(mSarInfo.isVoiceCall); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn()371 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()[all …]
65 private SarInfo mSarInfo; field in SarManager116 mSarInfo = new SarInfo(); in SarManager()179 if (earPieceActive != mSarInfo.isEarPieceActive) { in checkAudioDevice()180 mSarInfo.isEarPieceActive = earPieceActive; in checkAudioDevice()231 mSarInfo.sarVoiceCallSupported = mSupportSarVoiceCall; in setSarConfigsInInfo()232 mSarInfo.sarSapSupported = mSupportSarSoftAp; in setSarConfigsInInfo()233 mSarInfo.sarSensorSupported = mSupportSarSensor; in setSarConfigsInInfo()249 mSarInfo.sensorState = SarInfo.SAR_SENSOR_NEAR_HEAD; in registerListeners()281 boolean earPieceActive = mSarInfo.isEarPieceActive; in registerVoiceStreamListener()296 if (earPieceActive != mSarInfo.isEarPieceActive) { in registerVoiceStreamListener()[all …]