/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 317 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 …]
|
D | SubscriptionInfoUpdaterTest.java | 130 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 …]
|
D | MultiSimSettingControllerTest.java | 135 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()
|
D | SmsDispatchersControllerTest.java | 137 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsCdmaTest() 151 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsGsmTest()
|
D | ConnectionTest.java | 112 replaceInstance(Handler.class, "mLooper", mCT, Looper.getMainLooper()); in setUp()
|
D | GsmCdmaConnectionTest.java | 44 replaceInstance(Handler.class, "mLooper", mCT, Looper.getMainLooper()); in setUp()
|
D | SubscriptionControllerTest.java | 91 replaceInstance(SubscriptionController.class, "sInstance", null, null); in setUp() 92 replaceInstance(MultiSimSettingController.class, "sInstance", null, in setUp()
|
D | ServiceStateTrackerTest.java | 235 replaceInstance(ProxyController.class, "sProxyController", null, mProxyController); in setUp()
|
D | RILTest.java | 274 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersion); in onLooperPrepared()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnectionTest.java | 73 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()
|
D | ImsPhoneCallTest.java | 55 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
|
D | ImsPhoneTest.java | 138 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/ |
D | TelephonyNetworkFactoryTest.java | 104 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()
|
D | DataConnectionTest.java | 287 replaceInstance(ConnectionParams.class, "mApnContext", mCp, mApnContext); in setUp() 288 replaceInstance(ConnectionParams.class, "mRilRat", mCp, in setUp()
|
D | RetryManagerTest.java | 132 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/ |
D | GsmInboundSmsHandlerTest.java | 757 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/ |
D | UiccControllerTest.java | 104 replaceInstance(UiccController.class, "mInstance", null, null); in setUp()
|
D | UiccProfileTest.java | 156 replaceInstance(UiccProfile.class, "mCatService", mUiccProfile, mCAT); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsManagerTest.java | 815 replaceInstance(ImsManager.class, "mMmTelFeatureConnection", imsManager, in getImsManagerAndInitProvisionedValues()
|