Loading tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -383,6 +383,7 @@ public abstract class TelephonyTest { protected void setUp(String tag) throws Exception { protected void setUp(String tag) throws Exception { TAG = tag; TAG = tag; MockitoAnnotations.initMocks(this); MockitoAnnotations.initMocks(this); TelephonyManager.disableServiceHandleCaching(); mPhones = new Phone[] {mPhone}; mPhones = new Phone[] {mPhone}; mImsCallProfile = new ImsCallProfile(); mImsCallProfile = new ImsCallProfile(); Loading Loading @@ -645,6 +646,7 @@ public abstract class TelephonyTest { sharedPreferences.edit().clear().commit(); sharedPreferences.edit().clear().commit(); restoreInstances(); restoreInstances(); TelephonyManager.enableServiceHandleCaching(); } } protected static void logd(String s) { protected static void logd(String s) { Loading Loading
tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -383,6 +383,7 @@ public abstract class TelephonyTest { protected void setUp(String tag) throws Exception { protected void setUp(String tag) throws Exception { TAG = tag; TAG = tag; MockitoAnnotations.initMocks(this); MockitoAnnotations.initMocks(this); TelephonyManager.disableServiceHandleCaching(); mPhones = new Phone[] {mPhone}; mPhones = new Phone[] {mPhone}; mImsCallProfile = new ImsCallProfile(); mImsCallProfile = new ImsCallProfile(); Loading Loading @@ -645,6 +646,7 @@ public abstract class TelephonyTest { sharedPreferences.edit().clear().commit(); sharedPreferences.edit().clear().commit(); restoreInstances(); restoreInstances(); TelephonyManager.enableServiceHandleCaching(); } } protected static void logd(String s) { protected static void logd(String s) { Loading