aboutsummaryrefslogtreecommitdiff
path: root/tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java')
-rw-r--r--tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java b/tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java
index b044814765..705bafdf75 100644
--- a/tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java
+++ b/tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java
@@ -219,6 +219,7 @@ public abstract class TelephonyTest {
protected UiccCardApplication mUiccCardApplication3gpp2;
protected UiccCardApplication mUiccCardApplicationIms;
protected SIMRecords mSimRecords;
+ protected SignalStrengthController mSignalStrengthController;
protected RuimRecords mRuimRecords;
protected IsimUiccRecords mIsimUiccRecords;
protected ProxyController mProxyController;
@@ -455,6 +456,7 @@ public abstract class TelephonyTest {
mUiccCardApplication3gpp2 = Mockito.mock(UiccCardApplication.class);
mUiccCardApplicationIms = Mockito.mock(UiccCardApplication.class);
mSimRecords = Mockito.mock(SIMRecords.class);
+ mSignalStrengthController = Mockito.mock(SignalStrengthController.class);
mRuimRecords = Mockito.mock(RuimRecords.class);
mIsimUiccRecords = Mockito.mock(IsimUiccRecords.class);
mProxyController = Mockito.mock(ProxyController.class);
@@ -636,6 +638,7 @@ public abstract class TelephonyTest {
doReturn(mSST).when(mPhone).getServiceStateTracker();
doReturn(mDeviceStateMonitor).when(mPhone).getDeviceStateMonitor();
doReturn(mDisplayInfoController).when(mPhone).getDisplayInfoController();
+ doReturn(mSignalStrengthController).when(mPhone).getSignalStrengthController();
doReturn(mEmergencyNumberTracker).when(mPhone).getEmergencyNumberTracker();
doReturn(mCarrierSignalAgent).when(mPhone).getCarrierSignalAgent();
doReturn(mCarrierActionAgent).when(mPhone).getCarrierActionAgent();