/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 110 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 …]
|
D | TelephonyRegistryTest.java | 257 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()
|
D | SmsStorageMonitorTest.java | 62 verify(mContextFixture.getTestDouble()).sendBroadcast(intentArgumentCaptor.capture()); in testEventIccFull() 77 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus() 90 mContextFixture.getTestDouble().sendBroadcast( in testSmsMemoryStatus()
|
D | SubscriptionControllerTest.java | 113 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 …]
|
D | RatRatcheterTest.java | 135 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsFamily() 153 mBundle = mContextFixture.getCarrierConfigBundle(); in testRatchetIsNotFamily()
|
D | ServiceStateTrackerTest.java | 195 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 …]
|
D | CellularNetworkServiceTest.java | 62 mContextFixture.addService( in addNetworkService() 78 mContextFixture.putResource(R.string.config_wwan_network_service_package, in setUp()
|
D | AppSmsManagerTest.java | 54 mAppSmsManagerUT = new AppSmsManager(mContextFixture.getTestDouble()); in setUp()
|
D | CarrierServicesSmsFilterTest.java | 172 mContextFixture.addService( in mockCarrierApp() 192 mContextFixture.addService( in mockSystemApp()
|
D | SmsNumberUtilsTest.java | 123 ((MockContentResolver) mContextFixture.getTestDouble().getContentResolver()) in setUp() 125 mContextFixture.getCarrierConfigBundle(). in setUp()
|
D | GsmCdmaPhoneTest.java | 511 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 …]
|
D | MissedIncomingCallSmsFilterTest.java | 56 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
|
D | CarrierDisplayNameResolverTest.java | 83 mConfig = mContextFixture.getCarrierConfigBundle(); in setUp()
|
D | CarrierServiceStateTrackerTest.java | 70 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
|
D | CarrierSignalAgentTest.java | 65 mBundle = mContextFixture.getCarrierConfigBundle(); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 273 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 …]
|
D | ApnContextTest.java | 204 mContextFixture.putResource(R.string.mobile_provisioning_apn, "fake_apn"); in testProvisionApn() 252 mContextFixture.putStringArrayResource( in testErrorCodeRetry()
|
D | DcTrackerTest.java | 178 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()
|
D | DataFailCauseTest.java | 176 PersistableBundle mBundle = mContextFixture.getCarrierConfigBundle(); in testPermanentFailConfigured()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 105 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/ |
D | GsmSmsDispatcherTest.java | 152 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()
|
D | GsmInboundSmsHandlerTest.java | 291 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/ |
D | UiccSlotTest.java | 86 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()
|
D | UiccControllerTest.java | 99 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/ |
D | ImsPhoneTest.java | 164 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()
|