Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java89 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetDeviceIdWithOutPermission()
107 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetDeviceIdWithOutPermission()
115 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetDeviceIdWithOutPermission()
139 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetNaiWithOutPermission()
157 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetNaiWithOutPermission()
165 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetNaiWithOutPermission()
189 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testGetImeiWithOutPermission()
207 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetImeiWithOutPermission()
215 mContextFixture.addCallingOrSelfPermission(READ_PHONE_STATE); in testGetImeiWithOutPermission()
239 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()
DCellularNetworkServiceTest.java59 mContextFixture.addService( in addNetworkService()
75 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
DCarrierServicesSmsFilterTest.java133 mContextFixture.addService( in mockCarrierApp()
153 mContextFixture.addService( in mockSystemApp()
DAppSmsManagerTest.java54 mAppSmsManagerUT = new AppSmsManager(mContextFixture.getTestDouble()); in setUp()
DSmsNumberUtilsTest.java124 ((MockContentResolver) mContextFixture.getTestDouble().getContentResolver()) in setUp()
126 mContextFixture.getCarrierConfigBundle(). in setUp()
DServiceStateTrackerTest.java146 mContextFixture.addService( in addNetworkService()
161 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
169 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
299 verify(mContextFixture.getTestDouble(), times(3)) in testSpnUpdateShowPlmnOnly()
1233 mContextFixture.putBooleanResource( in testSetPsNotifications()
1240 mContextFixture.putResource(com.android.internal.R.string.RestrictedOnDataTitle, "test1"); in testSetPsNotifications()
1260 mContextFixture.putBooleanResource( in testSetCsNotifications()
1267 mContextFixture.putResource(com.android.internal.R.string.RestrictedOnAllVoiceTitle, in testSetCsNotifications()
1288 mContextFixture.putBooleanResource( in testSetCsNormalNotifications()
1295 mContextFixture.putResource(com.android.internal.R.string.RestrictedOnNormalTitle, "test3"); in testSetCsNormalNotifications()
[all …]
DGsmCdmaPhoneTest.java421 mContextFixture.getCarrierConfigBundle(). in testVoiceMailNumberGsm()
427 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberGsm()
460 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberCdma()
468 mContextFixture.getCarrierConfigBundle(). in testVoiceMailNumberCdma()
474 mContextFixture.getCarrierConfigBundle() in testVoiceMailNumberCdma()
DTelephonyTest.java208 protected ContextFixture mContextFixture; field in TelephonyTest
316 mContextFixture = new ContextFixture(); in setUp()
317 mContext = mContextFixture.getTestDouble(); in setUp()
DCarrierServiceStateTrackerTest.java97 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
DCarrierSignalAgentTest.java77 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandlerTest.java76 mContextFixture.getTestDouble(), mPhone); in onLooperPrepared()
104 mContextFixture.putResource( in testBroadcastSms()
120 verify(mContextFixture.getTestDouble(), times(2)).sendOrderedBroadcastAsUser( in testBroadcastSms()
DGsmSmsDispatcherTest.java152 mContextFixture.setSystemService(Context.COUNTRY_DETECTOR, mCountryDetector); in testSendSmsToRegularNumber_doesNotNotifyblockedNumberProvider()
171 mContextFixture.setSystemService(Context.COUNTRY_DETECTOR, mCountryDetector); in testSendSmsToEmergencyNumber_notifiesBlockedNumberProvider()
232 mContextFixture.removeCallingOrSelfPermission(ContextFixture.PERMISSION_ENABLE_ALL); in testSendRawPduWithEventStopSending()
DGsmInboundSmsHandlerTest.java214 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifySmsIntentBroadcasts()
223 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in verifySmsIntentBroadcasts()
277 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.java86 mUiccProfile = new UiccProfile(mContextFixture.getTestDouble(), in onLooperPrepared()
98 mUiccProfile.update(mContextFixture.getTestDouble(), in onLooperPrepared()
104 mUiccProfile.update(mContextFixture.getTestDouble(), in onLooperPrepared()
262 mUiccProfile.update(mContextFixture.getTestDouble(), mSimulatedCommands, mIccCardStatus); in testUpdateUiccProfilePinState()
511 PersistableBundle carrierConfigBundle = mContextFixture.getCarrierConfigBundle(); in testCarrierConfigHandling()
DUiccControllerTest.java86 mContextFixture.putIntResource(com.android.internal.R.integer.config_num_physical_slots, 1); in setUp()
DUiccSlotTest.java83 mContextFixture.putBooleanResource(com.android.internal.R.bool.config_hotswapCapable, true); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java184 mContextFixture.addService( in addDataService()
210 mContextFixture.putStringArrayResource(com.android.internal.R.array. in setUp()
223 mContextFixture.putResource(R.string.config_wwan_data_service_package, in setUp()
409 mContextFixture.getCarrierConfigBundle().putStringArray( in testNetworkCapability()
440 mContextFixture.getCarrierConfigBundle(). in testMeteredCapability()
455 mContextFixture.getCarrierConfigBundle(). in testNonMeteredCapability()
467 mContextFixture.getCarrierConfigBundle().putStringArray( in testOverrideUnmetered()
488 mContextFixture.getCarrierConfigBundle().putStringArray( in testOverrideCongested()
DApnContextTest.java177 mContextFixture.putResource(R.string.mobile_provisioning_apn, "fake_apn"); in testProvisionApn()
233 mContextFixture.putStringArrayResource( in testErrorCodeRetry()
DDcTrackerTest.java166 mContextFixture.addService( in addDataService()
425 mContextFixture.putStringArrayResource(com.android.internal.R.array.networkAttributes, in setUp()
427 mContextFixture.putStringArrayResource(com.android.internal.R.array. in setUp()
440 mContextFixture.putResource(R.string.config_wwan_data_service_package, in setUp()
468 mContextFixture.putStringArrayResource( in setUp()
473 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
903 mContextFixture.putBooleanResource( in testDDSResetAutoAttach()
DDcFailCauseTest.java160 PersistableBundle mBundle = mContextFixture.getCarrierConfigBundle(); in testPermanentFailConfigured()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandlerTest.java111 UserManager userManager = (UserManager) mContextFixture.getTestDouble(). in setUp()
198 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in testNewSms()
206 mContextFixture.sendBroadcastToOrderedBroadcastReceivers(); in testNewSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java125 mContextFixture.putBooleanResource(com.android.internal.R.bool.config_voice_capable, true); in setUp()
610 PersistableBundle bundle = mContextFixture.getCarrierConfigBundle(); in testProcessDisconnectReason()
618 mContextFixture.putStringArrayResource( in testProcessDisconnectReason()
621 mContextFixture.putStringArrayResource( in testProcessDisconnectReason()
624 mContextFixture.putResource(com.android.internal.R.string.wfcRegErrorTitle, title); in testProcessDisconnectReason()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java78 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()

12