Home
last modified time | relevance | path

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

/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/
DSatelliteEntitlementControllerTest.java121 replaceInstance(SubscriptionManagerService.class, "sInstance", null, in setUp()
123 replaceInstance(SatelliteController.class, "sInstance", null, mSatelliteController); in setUp()
214 replaceInstance(SatelliteEntitlementController.class, "mRetryCountPerSub", in testShouldStartQueryEntitlement()
222 replaceInstance(SatelliteEntitlementController.class, "mRetryCountPerSub", in testShouldStartQueryEntitlement()
228 replaceInstance(SatelliteEntitlementController.class, "mIsEntitlementInProgressPerSub", in testShouldStartQueryEntitlement()
236 replaceInstance(SatelliteEntitlementController.class, "mIsEntitlementInProgressPerSub", in testShouldStartQueryEntitlement()
267 replaceInstance(SatelliteEntitlementController.class, in testCheckSatelliteEntitlementStatus()
870 replaceInstance(SatelliteEntitlementController.class, "mRetryCountPerSub", in setIsQueryAvailableTrue()
872 replaceInstance(SatelliteEntitlementController.class, "mIsEntitlementInProgressPerSub", in setIsQueryAvailableTrue()
876 replaceInstance(SatelliteEntitlementController.class, in setIsQueryAvailableTrue()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DMockedServiceManager.java67 replaceInstance(ServiceManager.class, "sCache", null, mServiceManagerMockedServices); in MockedServiceManager()
78 synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() method in MockedServiceManager
DCellBroadcastAlertDialogTest.java175 mMockedActivityManagerHelper.replaceInstance(ActivityManager.class, in setUp()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/utils/
DMockedServiceManager.java68 replaceInstance(ServiceManager.class, "sCache", null, mServiceManagerMockedServices); in MockedServiceManager()
79 public synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() method in MockedServiceManager
/packages/services/Telephony/tests/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessControllerTest.java226 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setUp()
227 replaceInstance(SatelliteController.class, "sInstance", null, in setUp()
229 replaceInstance(SatelliteModemInterface.class, "sInstance", null, in setUp()
231 replaceInstance(TelephonyCountryDetector.class, "sInstance", null, in setUp()
469 replaceInstance(SatelliteAccessController.class, "mCachedAccessRestrictionMap", in testUpdateSatelliteConfigData()
616 private static void replaceInstance(final Class c, in replaceInstance() method in SatelliteAccessControllerTest
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java125 replaceInstance(SubscriptionManagerService.class, "sInstance", null, in setUp()
439 replaceInstance(CarrierConfigLoader.class, "mVendorApiLevel", mCarrierConfigLoader, in testGetConfigForSubIdWithFeature_withTelephonyFeatureMapping()
479 replaceInstance(TelephonyManager.class, "sInstance", null, mTelephonyManager); in testMultiSimConfigChanged()
DPhoneUtilsTest.java66 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setUp()
DPhoneInterfaceManagerTest.java504 replaceInstance(PhoneInterfaceManager.class, "mVendorApiLevel", mPhoneInterfaceManager, in testWithoutTelephonyFeatureAndCompatChanges()
DNotificationMgrTest.java141 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setUp()
DImsStateCallbackControllerTest.java934 replaceInstance(ImsStateCallbackController.class, in createController()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastHandlerTest.java210 replaceInstance(ActivityManager.class, "IActivityManagerSingleton", null, in setUp()
213 replaceInstance(Singleton.class, "mInstance", mIActivityManagerSingleton, in setUp()
215 replaceInstance(ServiceManager.class, "sCache", null, mServiceManagerMockedServices); in setUp()
DCellBroadcastServiceTestBase.java208 synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() method in CellBroadcastServiceTestBase
DGsmCellBroadcastHandlerTest.java220 replaceInstance(CellBroadcastHandler.class, "mResourcesCache", in setUp()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java123 protected synchronized void replaceInstance(final Class c, final String instanceName, in replaceInstance() method in TelephonyTestBase
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java474 replaceInstance(OpportunisticNetworkService.class, "mVendorApiLevel", in testTelephonyFeatureAndCompatChanges()
500 private void replaceInstance(final Class c, final String instanceName, final Object obj, in replaceInstance() method in OpportunisticNetworkServiceTest
/packages/services/Telephony/tests/src/com/android/services/telephony/
DDisconnectCauseUtilTest.java258 replaceInstance(PhoneFactory.class, "sPhones", null, mPhones); in setSinglePhone()
DTelephonyConnectionServiceTest.java306 replaceInstance(TelephonyConnectionService.class, "mDomainSelectionResolver", in setUp()
308 replaceInstance(TelephonyConnectionService.class, "mEmergencyStateTracker", in setUp()
310 replaceInstance(TelephonyConnectionService.class, "mSatelliteSOSMessageRecommender", in setUp()
318 replaceInstance(TelephonyConnectionService.class, in setUp()
323 replaceInstance(TelephonyConnectionService.class, in setUp()
2252 replaceInstance(TelephonyConnectionService.class, in testDomainSelectionCsForTty()
4047 replaceInstance(TelephonyConnectionService.class, in setupForReDialForDomainSelection()
4050 replaceInstance(TelephonyConnectionService.class, "mEmergencyConnection", in setupForReDialForDomainSelection()
4055 replaceInstance(TelephonyConnectionService.class, "mDomainSelectionConnection", in setupForReDialForDomainSelection()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTelephonyRcsServiceTest.java106 replaceInstance(TelephonyManager.class, "sInstance", null, mTelephonyManager); in setUp()
/packages/services/Telephony/tests/src/com/android/phone/slice/
DSlicePurchaseControllerTest.java163 replaceInstance(SlicePurchaseController.class, "sInstances", mSlicePurchaseController, in setUp()
165 replaceInstance(SlicePurchaseController.class, "mIsSlicingUpsellEnabled", in setUp()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DEmergencyCallDomainSelectorTest.java4373 replaceInstance(DomainSelectorBase.class,
4564 private static void replaceInstance(final Class c,