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 …]
68 private SarInfo mSarInfo; field in SarManagerTest108 mSarInfo = sarInfoCaptor.getValue(); in captureSarInfo()109 assertNotNull(mSarInfo); in captureSarInfo()178 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()179 assertFalse(mSarInfo.isVoiceCall); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()183 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()184 assertTrue(mSarInfo.isVoiceCall); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook()206 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn()207 assertTrue(mSarInfo.isVoiceCall); in testSarMgr_enabledTxPowerScenario_offHook_wifiOn()226 inOrder.verify(mWifiNative).selectTxPowerScenario(eq(mSarInfo)); in testSarMgr_enabledTxPowerScenario_wifiOn_offHook_onHook()[all …]
76 private SarInfo mSarInfo; field in SarManager120 mSarInfo = new SarInfo(); in handleBootCompleted()191 if (earPieceActive != mSarInfo.isEarPieceActive) { in checkAudioDevice()192 mSarInfo.isEarPieceActive = earPieceActive; in checkAudioDevice()227 mSarInfo.sarVoiceCallSupported = mSupportSarVoiceCall; in setSarConfigsInInfo()228 mSarInfo.sarSapSupported = mSupportSarSoftAp; in setSarConfigsInInfo()263 boolean earPieceActive = mSarInfo.isEarPieceActive; in registerVoiceStreamListener()278 if (earPieceActive != mSarInfo.isEarPieceActive) { in registerVoiceStreamListener()279 mSarInfo.isEarPieceActive = earPieceActive; in registerVoiceStreamListener()316 if (mSarInfo.isWifiClientEnabled != newIsEnabled) { in setClientWifiState()[all …]