/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TelephonyTest.java | 368 protected synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() method in TelephonyTest 635 replaceInstance(CallManager.class, "INSTANCE", null, mCallManager); in setUp() 636 replaceInstance(TelephonyComponentFactory.class, "sInstance", null, in setUp() 638 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp() 639 replaceInstance(CdmaSubscriptionSourceManager.class, "sInstance", null, mCdmaSSM); in setUp() 640 replaceInstance(ImsManager.class, "sImsManagerInstances", null, mImsManagerInstances); in setUp() 641 replaceInstance(SubscriptionController.class, "sInstance", null, mSubscriptionController); in setUp() 642 replaceInstance(ProxyController.class, "sProxyController", null, mProxyController); in setUp() 643 replaceInstance(ActivityManager.class, "IActivityManagerSingleton", null, in setUp() 645 replaceInstance(CdmaSubscriptionSourceManager.class, in setUp() [all …]
|
D | ProxyControllerTest.java | 49 replaceInstance(ProxyController.class, "sProxyController", null, null); in setUp() 66 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testMultiSimConfigChange() 72 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone}); in testMultiSimConfigChange()
|
D | SubscriptionInfoUpdaterTest.java | 124 replaceInstance(SubscriptionInfoUpdater.class, "sIccId", null, new String[1]); in setUp() 125 replaceInstance(SubscriptionInfoUpdater.class, "sContext", null, null); in setUp() 126 replaceInstance(SubscriptionInfoUpdater.class, "SUPPORTED_MODEM_COUNT", null, 1); in setUp() 127 replaceInstance(SubscriptionInfoUpdater.class, "sSimCardState", null, new int[1]); in setUp() 128 replaceInstance(SubscriptionInfoUpdater.class, "sSimApplicationState", null, new int[1]); in setUp() 129 replaceInstance(SubscriptionInfoUpdater.class, "sIsSubInfoInitialized", null, false); in setUp() 131 replaceInstance(EuiccController.class, "sInstance", null, mEuiccController); in setUp() 132 replaceInstance(IntentBroadcaster.class, "sIntentBroadcaster", null, mIntentBroadcaster); in setUp() 499 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[]{mPhone, mPhone}); in testDualSimLoaded() 500 replaceInstance(SubscriptionInfoUpdater.class, "sIccId", null, in testDualSimLoaded() [all …]
|
D | MultiSimSettingControllerTest.java | 141 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setUp() 142 replaceInstance(SubscriptionController.class, "sInstance", null, mSubControllerMock); in setUp() 427 replaceInstance(SubscriptionInfo.class, "mIsOpportunistic", mSubInfo1, true); in testCbrs() 465 replaceInstance(SubscriptionInfo.class, "mIsOpportunistic", mSubInfo1, true); in testGroupedCbrs() 466 replaceInstance(SubscriptionInfo.class, "mGroupUUID", mSubInfo1, mGroupUuid1); in testGroupedCbrs() 525 replaceInstance(SubscriptionInfo.class, "mGroupUUID", mSubInfo1, mGroupUuid1); in testGroupedPrimarySubscriptions()
|
D | SmsDispatchersControllerTest.java | 119 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsCdmaTest() 133 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsGsmTest()
|
D | PhoneConfigurationManagerTest.java | 80 replaceInstance(PhoneConfigurationManager.class, "sInstance", null, null); in init() 82 replaceInstance(PhoneConfigurationManager.class, "mMi", mPcm, mMi); in init()
|
D | ConnectionTest.java | 119 replaceInstance(Handler.class, "mLooper", mCT, Looper.getMainLooper()); in setUp()
|
D | SubscriptionControllerTest.java | 104 replaceInstance(SubscriptionController.class, "sInstance", null, null); in setUp() 105 replaceInstance(MultiSimSettingController.class, "sInstance", null, in setUp() 1143 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, null); in testSetPreferredDataSubscriptionId_phoneSwitcherNotInitialized() 1152 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, null); in testGetPreferredDataSubscriptionId_phoneSwitcherNotInitialized()
|
D | GsmCdmaPhoneTest.java | 201 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testGetMergedServiceState() 282 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testGetMergedServiceStateNoCsfb() 489 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testDial() 944 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testEcmCancelledPreservedThroughSrvcc() 1414 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in setupTestSendUssd()
|
D | GsmCdmaConnectionTest.java | 51 replaceInstance(Handler.class, "mLooper", mCT, Looper.myLooper()); in setUp()
|
D | PhoneSwitcherTest.java | 126 replaceInstance(Phone.class, "mCi", mPhone, mCommandsInterface0); in setUp() 127 replaceInstance(Phone.class, "mCi", mPhone2, mCommandsInterface1); in setUp() 1133 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setNumPhones()
|
D | RILTest.java | 308 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersionV10); in setUp() 608 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersionV15); in testStartNetworkScanWithUnsupportedResponse() 635 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersionV15); in testGetVoiceRegistrationStateWithUnsupportedResponse() 670 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersionV15); in testGetDataRegistrationStateWithUnsupportedResponse() 1235 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersionV15); in testGetBarringInfo() 2467 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersionV15); in testEnableUiccApplications() 2484 replaceInstance(RIL.class, "mRadioVersion", mRILUnderTest, mRadioVersionV15); in testAreUiccApplicationsEnabled()
|
D | NetworkTypeControllerTest.java | 94 replaceInstance(Handler.class, "mLooper", mDisplayInfoController, Looper.myLooper()); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnectionTest.java | 80 replaceInstance(Handler.class, "mLooper", mImsCT, Looper.myLooper()); in setUp() 81 replaceInstance(ImsPhoneCallTracker.class, "mForegroundCall", mImsCT, mForeGroundCall); in setUp() 82 replaceInstance(ImsPhoneCallTracker.class, "mBackgroundCall", mImsCT, mBackGroundCall); in setUp() 83 replaceInstance(ImsPhoneCallTracker.class, "mRingingCall", mImsCT, mRingGroundCall); in setUp() 84 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
|
D | ImsPhoneCallTest.java | 55 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
|
D | ImsPhoneTest.java | 147 replaceInstance(Handler.class, "mLooper", mTestHandler, mImsPhoneUT.getLooper()); in setUp() 148 replaceInstance(Phone.class, "mLooper", mPhone, mImsPhoneUT.getLooper()); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTrackerTest.java | 130 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setDsdsPhones() 135 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setSinglePhone()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 796 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredUserLocked() 834 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredUserUnlocked() 853 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredDeleted() 891 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredMultiPart() 916 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredMultiSim()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | TelephonyNetworkFactoryTest.java | 142 replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig); in setUp() 169 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in createMockedTelephonyComponents()
|
D | DataConnectionTest.java | 289 replaceInstance(ConnectionParams.class, "mApnContext", mCp, mApnContext); in setUp() 290 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()
|
D | DcTrackerTest.java | 1739 replaceInstance(DcTracker.class, "mSubscriptionPlans", mDct, plans); in setUpSubscriptionPlans() 1808 replaceInstance(DcTracker.class, "mSubscriptionPlans", mDct, plans); in testIsNetworkTypeUnmetered()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccControllerTest.java | 101 replaceInstance(UiccController.class, "mInstance", null, null); in setUp() 132 replaceInstance(UiccController.class, "mInstance", null, null); in reconfigureSlots()
|
D | UiccProfileTest.java | 113 replaceInstance(UiccProfile.class, "mCatService", mUiccProfile, mCAT); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsManagerTest.java | 870 replaceInstance(ImsManager.class, "mMmTelFeatureConnection", imsManager, in getImsManagerAndInitProvisionedValues()
|