Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java110 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetDeviceIdWithOutPermission()
128 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetDeviceIdWithOutPermission()
149 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetDeviceIdWithOutPermission()
191 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetNaiWithOutPermission()
209 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetNaiWithOutPermission()
229 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetNaiWithOutPermission()
271 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetImeiWithOutPermission()
289 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetImeiWithOutPermission()
309 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetImeiWithOutPermission()
346 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetDeviceSvnWithOutPermission()
[all …]
DTelephonyRegistryTest.java257 mContextFixture.addCallingOrSelfPermission(""); in testSrvccStateChangedNoPermission()
359 mContextFixture.addCallingOrSelfPermission(""); in testReadPhoneStatePermission()
365 mContextFixture.addCallingOrSelfPermission(android.Manifest.permission.READ_PHONE_STATE); in testReadPhoneStatePermission()
381 mContextFixture.addCallingOrSelfPermission(""); in testReadPrecisePhoneStatePermission()
387 mContextFixture.addCallingOrSelfPermission( in testReadPrecisePhoneStatePermission()
400 mContextFixture.addCallingOrSelfPermission(""); in testReadPrivilegedPhoneStatePermission()
406 mContextFixture.addCallingOrSelfPermission( in testReadPrivilegedPhoneStatePermission()
419 mContextFixture.addCallingOrSelfPermission(""); in testReadActiveEmergencySessionPermission()
425 mContextFixture.addCallingOrSelfPermission( in testReadActiveEmergencySessionPermission()
DSmsStorageMonitorTest.java62 verify(mContextFixture.getTestDouble()).sendBroadcast(intentArgumentCaptor.capture()); in testEventIccFull()
77 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus()
90 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus()
DSubscriptionControllerTest.java113 mContextFixture.putIntArrayResource(com.android.internal.R.array.sim_colors, new int[]{5}); in setUp()
118 mContextFixture.addCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in tearDown()
669 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testSetSubscriptionGroupWithModifyPermission()
670 mContextFixture.addCallingOrSelfPermission(Manifest.permission.READ_PHONE_STATE); in testSetSubscriptionGroupWithModifyPermission()
682 mContextFixture.addCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in testSetSubscriptionGroupWithModifyPermission()
707 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
708 mContextFixture.addCallingOrSelfPermission(Manifest.permission.READ_PHONE_STATE); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
739 mContextFixture.addCallingOrSelfPermission( in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
743 mContextFixture.removeCallingOrSelfPermission( in testCreateSubscriptionGroupWithCarrierPrivilegePermission()
768 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission()
[all …]
DRatRatcheterTest.java135 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsFamily()
153 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsNotFamily()
DServiceStateTrackerTest.java195 mContextFixture.addService( in addNetworkService()
209 mContextFixture.addService( in addNetworkService()
225 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
227 mContextFixture.putResource(R.string.config_wlan_network_service_package, in setUp()
237 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
270 mContextFixture.putResource( in setUp()
273 mContextFixture.putResource( in setUp()
276 mContextFixture.putStringArrayResource( in setUp()
304 mContextFixture.putStringArrayResource( in setUp()
485 verify(mContextFixture.getTestDouble(), times(3)) in testSpnUpdateShowPlmnOnly()
[all …]
DCellularNetworkServiceTest.java62 mContextFixture.addService( in addNetworkService()
78 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
DAppSmsManagerTest.java54 mAppSmsManagerUT = new AppSmsManager(mContextFixture.getTestDouble()); in setUp()
DCarrierServicesSmsFilterTest.java172 mContextFixture.addService( in mockCarrierApp()
192 mContextFixture.addService( in mockSystemApp()
DSmsNumberUtilsTest.java123 ((MockContentResolver) mContextFixture.getTestDouble().getContentResolver()) in setUp()
125 mContextFixture.getCarrierConfigBundle(). in setUp()
DGsmCdmaPhoneTest.java511 mContextFixture.getCarrierConfigBundle().putInt( in testEmergencySmsMode()
528 mContextFixture.getCarrierConfigBundle().putInt( in testEmergencySmsMode()
577 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberGsm()
584 mContextFixture.getCarrierConfigBundle(). in testVoiceMailNumberGsm()
590 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberGsm()
596 mContextFixture.getCarrierConfigBundle().putString( in testVoiceMailNumberGsm()
634 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberCdma()
642 mContextFixture.getCarrierConfigBundle(). in testVoiceMailNumberCdma()
648 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberCdma()
654 mContextFixture.getCarrierConfigBundle().putString( in testVoiceMailNumberCdma()
[all …]
DMissedIncomingCallSmsFilterTest.java56 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
DCarrierDisplayNameResolverTest.java83 mConfig = mContextFixture.getCarrierConfigBundle(); in setUp()
DCarrierServiceStateTrackerTest.java70 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
DCarrierSignalAgentTest.java65 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java273 mContextFixture.addService( in addDataService()
298 mContextFixture.putStringArrayResource(com.android.internal.R.array. in setUp()
311 mContextFixture.putResource(R.string.config_wwan_data_service_package, in setUp()
582 mContextFixture.getCarrierConfigBundle().putStringArray( in testNetworkCapability()
595 mContextFixture.getCarrierConfigBundle().putStringArray( in testNetworkCapability()
617 mContextFixture.getCarrierConfigBundle(). in testMeteredCapability()
632 mContextFixture.getCarrierConfigBundle(). in testNonMeteredCapability()
643 mContextFixture.getCarrierConfigBundle().putStringArray( in testOverrideUnmetered()
665 mContextFixture.getCarrierConfigBundle().putStringArray( in testOverrideCongested()
1024 mContextFixture.getCarrierConfigBundle().putStringArray( in testIsUnmeteredUseOnly()
[all …]
DApnContextTest.java204 mContextFixture.putResource(R.string.mobile_provisioning_apn, "fake_apn"); in testProvisionApn()
252 mContextFixture.putStringArrayResource( in testErrorCodeRetry()
DDcTrackerTest.java178 mContextFixture.addService( in addDataService()
476 mContextFixture.putStringArrayResource(com.android.internal.R.array. in setUp()
489 mContextFixture.putResource(R.string.config_wwan_data_service_package, in setUp()
519 mContextFixture.putStringArrayResource( in setUp()
524 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
959 mContextFixture.putBooleanResource( in testDDSResetAutoAttach()
DDataFailCauseTest.java176 PersistableBundle mBundle = mContextFixture.getCarrierConfigBundle(); in testPermanentFailConfigured()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java105 UserManager userManager = (UserManager) mContextFixture.getTestDouble(). in setUp()
199 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in testNewSms()
207 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in testNewSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java152 mContextFixture.setSystemService(Context.COUNTRY_DETECTOR, mCountryDetector); in testSendSmsToRegularNumber_doesNotNotifyblockedNumberProvider()
171 mContextFixture.setSystemService(Context.COUNTRY_DETECTOR, mCountryDetector); in testSendSmsToEmergencyNumber_notifiesBlockedNumberProvider()
233 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testSendRawPduWithEventStopSending()
DGsmInboundSmsHandlerTest.java291 Bundle broadcastOptions = mContextFixture.getLastBroadcastOptions(); in verifySmsIntentBroadcasts()
296 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifySmsIntentBroadcasts()
309 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifySmsIntentBroadcasts()
364 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifyDataSmsIntentBroadcasts()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccSlotTest.java86 mContextFixture.putBooleanResource(com.android.internal.R.bool.config_hotswapCapable, true); in setUp()
343 mContextFixture.putIntArrayResource(com.android.internal.R.array.non_removable_euicc_slots, in testNotRemovable()
359 mContextFixture.putIntArrayResource(com.android.internal.R.array.non_removable_euicc_slots, in testIsRemovable()
DUiccControllerTest.java99 mContextFixture.putIntResource(com.android.internal.R.integer.config_num_physical_slots, 1); in setUp()
127 mContextFixture.putIntResource(com.android.internal.R.integer.config_num_physical_slots, in reconfigureSlots()
129 mContextFixture.putIntArrayResource( in reconfigureSlots()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java164 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
647 mContextFixture.putStringArrayResource( in testProcessDisconnectReason()
650 mContextFixture.putStringArrayResource( in testProcessDisconnectReason()
653 mContextFixture.putResource(com.android.internal.R.string.wfcRegErrorTitle, title); in testProcessDisconnectReason()

12