/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 102 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 …]
|
D | SmsStorageMonitorTest.java | 82 verify(mContextFixture.getTestDouble()).sendBroadcast(intentArgumentCaptor.capture()); in testEventIccFull() 97 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus() 110 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus()
|
D | SubscriptionControllerTest.java | 100 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 …]
|
D | ServiceStateTrackerTest.java | 194 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 …]
|
D | AppSmsManagerTest.java | 54 mAppSmsManagerUT = new AppSmsManager(mContextFixture.getTestDouble()); in setUp()
|
D | CellularNetworkServiceTest.java | 64 mContextFixture.addService( in addNetworkService() 80 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
|
D | GsmCdmaPhoneTest.java | 350 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()
|
D | SmsNumberUtilsTest.java | 124 ((MockContentResolver) mContextFixture.getTestDouble().getContentResolver()) in setUp() 126 mContextFixture.getCarrierConfigBundle(). in setUp()
|
D | CarrierServicesSmsFilterTest.java | 173 mContextFixture.addService( in mockCarrierApp() 193 mContextFixture.addService( in mockSystemApp()
|
D | TelephonyRegistryTest.java | 182 mContextFixture.addCallingOrSelfPermission(""); in testSrvccStateChangedNoPermission()
|
D | CarrierDisplayNameResolverTest.java | 83 mConfig = mContextFixture.getCarrierConfigBundle(); in setUp()
|
D | TelephonyTest.java | 254 protected ContextFixture mContextFixture; field in TelephonyTest 364 mContextFixture = new ContextFixture(); in setUp() 365 mContext = mContextFixture.getTestDouble(); in setUp()
|
D | CarrierServiceStateTrackerTest.java | 81 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmCellBroadcastHandlerTest.java | 74 mContextFixture.getTestDouble(), mPhone); in onLooperPrepared() 102 mContextFixture.putStringArrayResource( in testBroadcastSms() 118 verify(mContextFixture.getTestDouble(), times(2)).sendOrderedBroadcastAsUser( in testBroadcastSms()
|
D | GsmSmsDispatcherTest.java | 154 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()
|
D | GsmInboundSmsHandlerTest.java | 249 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/ |
D | UiccCardTest.java | 65 mUicccard = new UiccCard(mContextFixture.getTestDouble(), in onLooperPrepared() 77 mUicccard.update(mContextFixture.getTestDouble(), in onLooperPrepared() 83 mUicccard.update(mContextFixture.getTestDouble(), in onLooperPrepared()
|
D | UiccProfileTest.java | 88 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()
|
D | UiccSlotTest.java | 86 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/ |
D | DataConnectionTest.java | 271 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()
|
D | ApnContextTest.java | 205 mContextFixture.putResource(R.string.mobile_provisioning_apn, "fake_apn"); in testProvisionApn() 253 mContextFixture.putStringArrayResource( in testErrorCodeRetry()
|
D | TelephonyNetworkFactoryTest.java | 110 mContextFixture.putStringArrayResource(com.android.internal.R.array.networkAttributes, in setUp() 152 mContextFixture.setSystemService(Context.CONNECTIVITY_SERVICE, in createMockedTelephonyComponents()
|
D | DcTrackerTest.java | 169 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/ |
D | CdmaInboundSmsHandlerTest.java | 115 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/ |
D | ImsPhoneTest.java | 130 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()
|