Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DProxyControllerTest.java58 replaceInstance(ProxyController.class, "sProxyController", null, null); in setUp()
75 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testMultiSimConfigChange()
81 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone}); in testMultiSimConfigChange()
90 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testRequestNotSupported()
122 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testWithNonPermanentExceptionOnRCResponse_WithExceptionOnFinishResponse()
154 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testWithNonPermanentExceptionOnRCResponse_WithoutExceptionOnFinishResponse()
182 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone, mPhone2}); in testOnRCResponseTimeout_WithExceptionOnFinishResponse()
209 replaceInstance( in onFinishResponseWithException()
211 replaceInstance(ProxyController.class, "mTransactionFailed", mProxyController, true); in onFinishResponseWithException()
225 replaceInstance( in onFinishResponseWithoutException()
[all …]
DTelephonyTest.java415 protected synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() method in TelephonyTest
938 replaceInstance(CallManager.class, "INSTANCE", null, mCallManager); in setUp()
939 replaceInstance(TelephonyComponentFactory.class, "sInstance", null, in setUp()
941 replaceInstance(UiccController.class, "mInstance", null, mUiccController); in setUp()
942 replaceInstance(CdmaSubscriptionSourceManager.class, "sInstance", null, mCdmaSSM); in setUp()
943 replaceInstance(SubscriptionManagerService.class, "sInstance", null, in setUp()
945 replaceInstance(ProxyController.class, "sProxyController", null, mProxyController); in setUp()
946 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in setUp()
947 replaceInstance(ActivityManager.class, "IActivityManagerSingleton", null, in setUp()
949 replaceInstance(CdmaSubscriptionSourceManager.class, in setUp()
[all …]
DPhoneConfigurationManagerTest.java124 replaceInstance(PhoneConfigurationManager.class, "sInstance", null, null); in init()
126 replaceInstance(PhoneConfigurationManager.class, "mMi", mPcm, mMi); in init()
243 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in testBkwdsCompatSimultaneousCallingDsda()
292 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in testUpdateSimultaneousCallingSupportNotifications()
345 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in testSimultaneousCallingSubIdMappingChanges()
412 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in testSwitchMultiSimConfig_multiSimToSingleSim()
531 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in testSwitchFromSingleToDualSimModeNoReboot()
DSimultaneousCallingTrackerTest.java155 replaceInstance(SimultaneousCallingTracker.class, "sInstance", null, null); in init()
156 replaceInstance(PhoneConfigurationManager.class, "sInstance", null, null); in init()
163 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in init()
166 replaceInstance(PhoneConfigurationManager.class, "mMi", mPcm, mMi); in init()
DSmsDispatchersControllerTest.java291 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsCdmaTest()
305 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsGsmTest()
320 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, in testSendRetrySmsNullPdu()
550 replaceInstance(SMSDispatcher.SmsTracker.class, in testSendRetrySmsForEmergencyWhenDomainPs()
552 replaceInstance(SMSDispatcher.SmsTracker.class, "mDestAddress", mTracker, "911"); in testSendRetrySmsForEmergencyWhenDomainPs()
1121 replaceInstance(SmsDispatchersController.class, "mImsSmsDispatcher", in setUpSmsDispatchers()
1123 replaceInstance(SmsDispatchersController.class, "mGsmDispatcher", in setUpSmsDispatchers()
1125 replaceInstance(SmsDispatchersController.class, "mCdmaDispatcher", in setUpSmsDispatchers()
1138 replaceInstance(SmsDispatchersController.class, "mEmergencyStateTracker", in setUpEmergencyStateTracker()
1274 replaceInstance(SMSDispatcher.SmsTracker.class, "mFormat", mTracker, smsFormat); in sendRetrySmsWithDomainSelection()
[all …]
DRILTest.java354 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV14); in setUp()
513 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testSupplySimDepersonalization()
547 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testSupplySimDepersonalizationWithNetworkLock()
723 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testStartNetworkScanWithUnsupportedResponse()
750 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testGetVoiceRegistrationStateWithUnsupportedResponse()
785 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV15); in testGetDataRegistrationStateWithUnsupportedResponse()
830 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV16); in testSetRadioPower_1_6()
873 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV16); in testSendSMS_1_6()
905 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV16); in testSendSMSExpectMore_1_6()
924 replaceInstance(RIL.class, "mHalVersion", mRILUnderTest, mHalVersionV16); in testSendCdmaSMS_1_6()
[all …]
DGsmCdmaPhoneTest.java259 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testGetMergedServiceState()
341 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testGetMergedServiceStateNoCsfb()
517 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testDial()
1097 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testEcmCancelledPreservedThroughSrvcc()
1496 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in setupTestSendUssd()
1691 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in setupForWpsCallTest()
1938 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testSetVoiceServiceStateOverride()
2369 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testDial_fdnCheck()
2500 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testTriggerImsDeregistration()
2579 replaceInstance(Phone.class, "mImsPhone", mPhoneUT, mImsPhone); in testDomainSelectionDialCs()
[all …]
DConnectionTest.java134 replaceInstance(Handler.class, "mLooper", mCT, Looper.getMainLooper()); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsStateCallbackTest.java102 replaceInstance(ImsMmTelManager.class, "mBinderCache", mmTelManager, mBinderCache); in testMmTelRegisterAndUnregisterImsStateCallbackValues()
125 replaceInstance(ImsRcsManager.class, "mTelephonyBinderCache", rcsManager, mBinderCache); in testRcsRegisterAndUnregisterImsStateCallbackValues()
148 replaceInstance( in testSipDelegateRegisterAndUnregisterImsStateCallbackValues()
170 replaceInstance(ImsMmTelManager.class, "mBinderCache", mmTelManager, mBinderCache); in testImsStateCallbacks()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DDatagramControllerTest.java79 replaceInstance(DatagramDispatcher.class, "sInstance", null, in setUp()
81 replaceInstance(DatagramReceiver.class, "sInstance", null, in setUp()
83 replaceInstance(SatelliteController.class, "sInstance", null, in setUp()
85 replaceInstance(SatelliteSessionController.class, "sInstance", null, in setUp()
DDatagramReceiverTest.java118 replaceInstance(SatelliteController.class, "sInstance", null, mMockSatelliteController); in setUp()
119 replaceInstance(DatagramController.class, "sInstance", null, in setUp()
121 replaceInstance(SatelliteModemInterface.class, "sInstance", null, in setUp()
123 replaceInstance(ControllerMetricsStats.class, "sInstance", null, in setUp()
125 replaceInstance(SatelliteSessionController.class, "sInstance", null, in setUp()
127 replaceInstance(SessionMetricsStats.class, "sInstance", null, in setUp()
DDatagramDispatcherTest.java145 replaceInstance(DatagramController.class, "sInstance", null, in setUp()
147 replaceInstance(DatagramReceiver.class, "sInstance", null, in setUp()
149 replaceInstance(SatelliteModemInterface.class, "sInstance", null, in setUp()
151 replaceInstance(ControllerMetricsStats.class, "sInstance", null, in setUp()
153 replaceInstance(SatelliteSessionController.class, "sInstance", null, in setUp()
155 replaceInstance(SessionMetricsStats.class, "sInstance", null, in setUp()
576 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[] {mPhone}); in testSendSatelliteDatagram_DemoMode_data_type_location_sharing()
DSatelliteControllerTest.java462 replaceInstance(DatagramController.class, "sInstance", null, in setUp()
464 replaceInstance(SatelliteModemInterface.class, "sInstance", null, in setUp()
466 replaceInstance(SatelliteSessionController.class, "sInstance", null, in setUp()
468 replaceInstance(PointingAppController.class, "sInstance", null, in setUp()
470 replaceInstance(ControllerMetricsStats.class, "sInstance", null, in setUp()
472 replaceInstance(ProvisionMetricsStats.class, "sInstance", null, in setUp()
474 replaceInstance(SessionMetricsStats.class, "sInstance", null, in setUp()
476 replaceInstance(SubscriptionManagerService.class, "sInstance", null, in setUp()
478 replaceInstance(PhoneFactory.class, "sPhones", null, new Phone[]{mPhone, mPhone2}); in setUp()
479 replaceInstance(TelephonyConfigUpdateInstallReceiver.class, "sReceiverAdaptorInstance", in setUp()
[all …]
DSatelliteSessionControllerTest.java97 replaceInstance(DatagramReceiver.class, "sInstance", null, in setUp()
99 replaceInstance(DatagramDispatcher.class, "sInstance", null, in setUp()
101 replaceInstance(SatelliteController.class, "sInstance", null, in setUp()
103 replaceInstance(DatagramController.class, "sInstance", null, in setUp()
DNtnCapabilityResolverTest.java78 replaceInstance(SatelliteController.class, "sInstance", null, in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DEmergencyCallDomainSelectionConnectionTest.java101 replaceInstance(DomainSelectionConnection.class, "mLooper", in setUp()
116 replaceInstance(EmergencyCallDomainSelectionConnection.class, in testSelectDomainWifi()
165 replaceInstance(EmergencyCallDomainSelectionConnection.class, in testSelectDomainCs()
203 replaceInstance(EmergencyCallDomainSelectionConnection.class, in testSelectDomainPs()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/configupdate/
DTelephonyConfigUpdateInstallReceiverTest.java110 replaceInstance(TelephonyConfigUpdateInstallReceiver.class, "sReceiverAdaptorInstance", in testPostInstall()
142 replaceInstance(TelephonyConfigUpdateInstallReceiver.class, "mConfigParser", in testPostInstall()
246 replaceInstance(TelephonyConfigUpdateInstallReceiver.class, "sReceiverAdaptorInstance", in testGetConfig()
257 replaceInstance(TelephonyConfigUpdateInstallReceiver.class, "sReceiverAdaptorInstance", in testGetConfig()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataNetworkTest.java389 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mMockedPhoneSwitcher); in setUp()
480 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testCreateDataNetwork()
590 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testCreateDataNetworkWhenOos()
796 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testCreateDataNetworkOnEnterpriseSlice()
830 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testCreateDataNetworkOnUrllcSlice()
863 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testCreateDataNetworkOnEmbbSlice()
897 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testCreateDataNetworkOnCbsSlice()
929 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testSlicingDataNetworkHasSlicingCapabilitiesBeforeConnected()
1010 replaceInstance(DataNetwork.class, "mDataCallSessionStats", in testCreateDataNetworkOnIwlan()
1098 replaceInstance(DataNetwork.class, "mNetworkAgent", in testHandover()
[all …]
DTelephonyNetworkFactoryTest.java152 replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig); in setUp()
192 replaceInstance(PhoneSwitcher.class, "sPhoneSwitcher", null, mPhoneSwitcher); in createMockedTelephonyComponents()
DQosCallbackTrackerTest.java112 replaceInstance(NetworkAgent.class, "mRegistry", mNetworkAgent, mINetworkAgentRegistry); in setUp()
113 replaceInstance(NetworkAgent.class, "mPreConnectedQueue", mNetworkAgent, new ArrayList()); in setUp()
120 replaceInstance(QosCallbackTracker.class, "mRcsStats", mQosCallbackTracker, mRcsStats); in setUp()
DKeepAliveTrackerTest.java70 replaceInstance(NetworkAgent.class, "mPreConnectedQueue", in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java103 replaceInstance(Handler.class, "mLooper", mImsCT, Looper.myLooper()); in setUp()
104 replaceInstance(ImsPhoneCallTracker.class, "mForegroundCall", mImsCT, mForeGroundCall); in setUp()
105 replaceInstance(ImsPhoneCallTracker.class, "mBackgroundCall", mImsCT, mBackGroundCall); in setUp()
106 replaceInstance(ImsPhoneCallTracker.class, "mRingingCall", mImsCT, mRingGroundCall); in setUp()
107 replaceInstance(ImsPhoneCallTracker.class, "mPhone", mImsCT, mImsPhone); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTrackerTest.java329 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setDsdsPhones()
334 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setSinglePhone()
459 replaceInstance(ShortNumberInfo.class, "INSTANCE", null, mShortNumberInfo); in testIsEmergencyNumber_FallbackToShortNumberXml_NoSims()
502 replaceInstance(ShortNumberInfo.class, "INSTANCE", null, mShortNumberInfo); in testIsEmergencyNumber_NoFallbackToShortNumberXml()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java1020 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredUserLocked()
1077 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredUserUnlocked()
1114 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredDeleted()
1154 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredMultiPart()
1180 replaceInstance(SmsBroadcastUndelivered.class, "instance", null, null); in testBroadcastUndeliveredMultiSim()
DUsimDataDownloadHandlerTest.java87 replaceInstance(PhoneFactory.class, "sPhones", null, mPhoneslist); in setUp()
88 replaceInstance(PhoneFactory.class, "sPhone", null, mMockPhone); in setUp()

123