Home
last modified time | relevance | path

Searched refs:replaceInstance (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTest.java317 protected synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() method in TelephonyTest
554 replaceInstance(CallManager.class, "INSTANCE", null, mCallManager); in setUp()
555 replaceInstance(TelephonyComponentFactory.class, "sInstance", null, in setUp()
557 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
558 replaceInstance(CdmaSubscriptionSourceManager.class, "sInstance", null, mCdmaSSM); in setUp()
559 replaceInstance(ImsManager.class, "sImsManagerInstances", null, mImsManagerInstances); in setUp()
560 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp()
561 replaceInstance(ProxyController.class, "sProxyController", null, mProxyController); in setUp()
562 replaceInstance(ActivityManager.class, "IActivityManagerSingleton", null, in setUp()
564 replaceInstance(CdmaSubscriptionSourceManager.class, in setUp()
[all …]
DSubscriptionInfoUpdaterTest.java130 replaceInstance(SubscriptionInfoUpdater.class, "mIccId", null, new String[1]); in setUp()
131 replaceInstance(SubscriptionInfoUpdater.class, "mContext", null, null); in setUp()
132 replaceInstance(SubscriptionInfoUpdater.class, "PROJECT_SIM_NUM", null, 1); in setUp()
133 replaceInstance(SubscriptionInfoUpdater.class, "sSimCardState", null, new int[1]); in setUp()
134 replaceInstance(SubscriptionInfoUpdater.class, "sSimApplicationState", null, new int[1]); in setUp()
135 replaceInstance(SubscriptionInfoUpdater.class, "sIsSubInfoInitialized", null, false); in setUp()
137 replaceInstance(EuiccController.class, "sInstance", null, mEuiccController); in setUp()
138 replaceInstance(IntentBroadcaster.class, "sIntentBroadcaster", null, mIntentBroadcaster); in setUp()
400 replaceInstance(SubscriptionInfoUpdater.class, "mIccId", null, in testDualSimLoaded()
402 replaceInstance(SubscriptionInfoUpdater.class, "PROJECT_SIM_NUM", null, 2); in testDualSimLoaded()
[all …]
DMultiSimSettingControllerTest.java135 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setUp()
136 replaceInstance(SubscriptionController.class, "sInstance", null, mSubControllerMock); in setUp()
408 replaceInstance(SubscriptionInfo.class, "mIsOpportunistic", mSubInfo1, true); in testCbrs()
444 replaceInstance(SubscriptionInfo.class, "mIsOpportunistic", mSubInfo1, true); in testGroupedCbrs()
445 replaceInstance(SubscriptionInfo.class, "mGroupUUID", mSubInfo1, mGroupUuid1); in testGroupedCbrs()
500 replaceInstance(SubscriptionInfo.class, "mGroupUUID", mSubInfo1, mGroupUuid1); in testGroupedPrimarySubscriptions()
DSmsDispatchersControllerTest.java137 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsCdmaTest()
151 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsGsmTest()
DConnectionTest.java112 replaceInstance(Handler.class, "mLooper", mCT, Looper.getMainLooper()); in setUp()
DGsmCdmaConnectionTest.java44 replaceInstance(Handler.class, "mLooper", mCT, Looper.getMainLooper()); in setUp()
DSubscriptionControllerTest.java91 replaceInstance(SubscriptionController.class, "sInstance", null, null); in setUp()
92 replaceInstance(MultiSimSettingController.class, "sInstance", null, in setUp()
DServiceStateTrackerTest.java235 replaceInstance(ProxyController.class, "sProxyController", null, mProxyController); in setUp()
DRILTest.java274 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersion); in onLooperPrepared()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java73 replaceInstance(Handler.class, "mLooper", mImsCT, Looper.getMainLooper()); in setUp()
74 replaceInstance(ImsPhoneCallTracker.class, "mForegroundCall", mImsCT, mForeGroundCall); in setUp()
75 replaceInstance(ImsPhoneCallTracker.class, "mBackgroundCall", mImsCT, mBackGroundCall); in setUp()
76 replaceInstance(ImsPhoneCallTracker.class, "mRingingCall", mImsCT, mRingGroundCall); in setUp()
77 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
DImsPhoneCallTest.java55 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
DImsPhoneTest.java138 replaceInstance(Handler.class, "mLooper", mTestHandler, mImsPhoneUT.getLooper()); in setUp()
139 replaceInstance(Phone.class, "mLooper", mPhone, mImsPhoneUT.getLooper()); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java104 replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig); in setUp()
162 replaceInstance(SubscriptionController.class, "sInstance", null, in createMockedTelephonyComponents()
164 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcherMock); in createMockedTelephonyComponents()
DDataConnectionTest.java287 replaceInstance(ConnectionParams.class, "mApnContext", mCp, mApnContext); in setUp()
288 replaceInstance(ConnectionParams.class, "mRilRat", mCp, in setUp()
DRetryManagerTest.java132 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp()
133 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java757 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredUserLocked()
792 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredUserUnlocked()
810 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredDeleted()
846 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredMultiPart()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java104 replaceInstance(UiccController.class, "mInstance", null, null); in setUp()
DUiccProfileTest.java156 replaceInstance(UiccProfile.class, "mCatService", mUiccProfile, mCAT); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java815 replaceInstance(ImsManager.class, "mMmTelFeatureConnection", imsManager, in getImsManagerAndInitProvisionedValues()