Home
last modified time | relevance | path

Searched refs:mContextFixture (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java102 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetDeviceIdWithOutPermission()
120 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetDeviceIdWithOutPermission()
141 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetDeviceIdWithOutPermission()
178 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetNaiWithOutPermission()
196 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetNaiWithOutPermission()
203 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetNaiWithOutPermission()
230 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetImeiWithOutPermission()
248 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetImeiWithOutPermission()
268 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetImeiWithOutPermission()
305 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetDeviceSvnWithOutPermission()
[all …]
DSmsStorageMonitorTest.java82 verify(mContextFixture.getTestDouble()).sendBroadcast(intentArgumentCaptor.capture()); in testEventIccFull()
97 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus()
110 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus()
DSubscriptionControllerTest.java100 mContextFixture.putIntArrayResource(com.android.internal.R.array.sim_colors, new int[]{5}); in setUp()
107 mContextFixture.addCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in tearDown()
648 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testSetSubscriptionGroupWithModifyPermission()
649 mContextFixture.addCallingOrSelfPermission(Manifest.permission.READ_PHONE_STATE); in testSetSubscriptionGroupWithModifyPermission()
661 mContextFixture.addCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in testSetSubscriptionGroupWithModifyPermission()
686 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
687 mContextFixture.addCallingOrSelfPermission(Manifest.permission.READ_PHONE_STATE); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
717 mContextFixture.addCallingOrSelfPermission( in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
721 mContextFixture.removeCallingOrSelfPermission( in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
746 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
[all …]
DServiceStateTrackerTest.java194 mContextFixture.addService( in addNetworkService()
208 mContextFixture.addService( in addNetworkService()
224 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
226 mContextFixture.putResource(R.string.config_wlan_network_service_package, in setUp()
236 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
269 mContextFixture.putResource( in setUp()
272 mContextFixture.putResource( in setUp()
275 mContextFixture.putStringArrayResource( in setUp()
303 mContextFixture.putBooleanResource( in setUp()
418 verify(mContextFixture.getTestDouble(), times(3)) in testSpnUpdateShowPlmnOnly()
[all …]
DAppSmsManagerTest.java54 mAppSmsManagerUT = new AppSmsManager(mContextFixture.getTestDouble()); in setUp()
DCellularNetworkServiceTest.java64 mContextFixture.addService( in addNetworkService()
80 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
DGsmCdmaPhoneTest.java350 mContextFixture.getCarrierConfigBundle().putInt( in testEmergencySmsMode()
365 mContextFixture.getCarrierConfigBundle().putInt( in testEmergencySmsMode()
414 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberGsm()
421 mContextFixture.getCarrierConfigBundle(). in testVoiceMailNumberGsm()
427 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberGsm()
457 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberCdma()
465 mContextFixture.getCarrierConfigBundle(). in testVoiceMailNumberCdma()
471 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberCdma()
1000 mContextFixture.getCarrierConfigBundle().putBoolean( in testGetLine1NumberForCdmaPhone()
DSmsNumberUtilsTest.java124 ((MockContentResolver) mContextFixture.getTestDouble().getContentResolver()) in setUp()
126 mContextFixture.getCarrierConfigBundle(). in setUp()
DCarrierServicesSmsFilterTest.java173 mContextFixture.addService( in mockCarrierApp()
193 mContextFixture.addService( in mockSystemApp()
DTelephonyRegistryTest.java182 mContextFixture.addCallingOrSelfPermission(""); in testSrvccStateChangedNoPermission()
DCarrierDisplayNameResolverTest.java83 mConfig = mContextFixture.getCarrierConfigBundle(); in setUp()
DTelephonyTest.java254 protected ContextFixture mContextFixture; field in TelephonyTest
364 mContextFixture = new ContextFixture(); in setUp()
365 mContext = mContextFixture.getTestDouble(); in setUp()
DCarrierServiceStateTrackerTest.java81 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java74 mContextFixture.getTestDouble(), mPhone); in onLooperPrepared()
102 mContextFixture.putStringArrayResource( in testBroadcastSms()
118 verify(mContextFixture.getTestDouble(), times(2)).sendOrderedBroadcastAsUser( in testBroadcastSms()
DGsmSmsDispatcherTest.java154 mContextFixture.setSystemService(Context.COUNTRY_DETECTOR, mCountryDetector); in testSendSmsToRegularNumber_doesNotNotifyblockedNumberProvider()
173 mContextFixture.setSystemService(Context.COUNTRY_DETECTOR, mCountryDetector); in testSendSmsToEmergencyNumber_notifiesBlockedNumberProvider()
235 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testSendRawPduWithEventStopSending()
DGsmInboundSmsHandlerTest.java249 Bundle broadcastOptions = mContextFixture.getLastBroadcastOptions(); in verifySmsIntentBroadcasts()
254 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifySmsIntentBroadcasts()
263 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifySmsIntentBroadcasts()
322 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifyDataSmsIntentBroadcasts()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardTest.java65 mUicccard = new UiccCard(mContextFixture.getTestDouble(), in onLooperPrepared()
77 mUicccard.update(mContextFixture.getTestDouble(), in onLooperPrepared()
83 mUicccard.update(mContextFixture.getTestDouble(), in onLooperPrepared()
DUiccProfileTest.java88 mUiccProfile = new UiccProfile(mContextFixture.getTestDouble(), in onLooperPrepared()
100 mUiccProfile.update(mContextFixture.getTestDouble(), in onLooperPrepared()
106 mUiccProfile.update(mContextFixture.getTestDouble(), in onLooperPrepared()
264 mUiccProfile.update(mContextFixture.getTestDouble(), mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfilePinState()
611 PersistableBundle carrierConfigBundle = mContextFixture.getCarrierConfigBundle(); in testCarrierConfigHandling()
DUiccSlotTest.java86 mContextFixture.putBooleanResource(com.android.internal.R.bool.config_hotswapCapable, true); in setUp()
344 mContextFixture.putIntArrayResource(com.android.internal.R.array.non_removable_euicc_slots, in testNotRemovable()
360 mContextFixture.putIntArrayResource(com.android.internal.R.array.non_removable_euicc_slots, in testIsRemovable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java271 mContextFixture.addService( in addDataService()
296 mContextFixture.putStringArrayResource(com.android.internal.R.array. in setUp()
309 mContextFixture.putResource(R.string.config_wwan_data_service_package, in setUp()
512 mContextFixture.getCarrierConfigBundle().putStringArray( in testNetworkCapability()
543 mContextFixture.getCarrierConfigBundle(). in testMeteredCapability()
558 mContextFixture.getCarrierConfigBundle(). in testNonMeteredCapability()
570 mContextFixture.getCarrierConfigBundle().putStringArray( in testOverrideUnmetered()
591 mContextFixture.getCarrierConfigBundle().putStringArray( in testOverrideCongested()
929 mContextFixture.getCarrierConfigBundle().putStringArray( in testIsUnmeteredUseOnly()
DApnContextTest.java205 mContextFixture.putResource(R.string.mobile_provisioning_apn, "fake_apn"); in testProvisionApn()
253 mContextFixture.putStringArrayResource( in testErrorCodeRetry()
DTelephonyNetworkFactoryTest.java110 mContextFixture.putStringArrayResource(com.android.internal.R.array.networkAttributes, in setUp()
152 mContextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, in createMockedTelephonyComponents()
DDcTrackerTest.java169 mContextFixture.addService( in addDataService()
467 mContextFixture.putStringArrayResource(com.android.internal.R.array.networkAttributes, in setUp()
469 mContextFixture.putStringArrayResource(com.android.internal.R.array. in setUp()
482 mContextFixture.putResource(R.string.config_wwan_data_service_package, in setUp()
512 mContextFixture.putStringArrayResource( in setUp()
517 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
929 mContextFixture.putBooleanResource( in testDDSResetAutoAttach()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java115 UserManager userManager = (UserManager) mContextFixture.getTestDouble(). in setUp()
207 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in testNewSms()
215 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in testNewSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java130 mContextFixture.putBooleanResource(com.android.internal.R.bool.config_voice_capable, true); in setUp()
613 PersistableBundle bundle = mContextFixture.getCarrierConfigBundle(); in testProcessDisconnectReason()
621 mContextFixture.putStringArrayResource( in testProcessDisconnectReason()
624 mContextFixture.putStringArrayResource( in testProcessDisconnectReason()
627 mContextFixture.putResource(com.android.internal.R.string.wfcRegErrorTitle, title); in testProcessDisconnectReason()

12