Home
last modified time | relevance | path

Searched refs:SubscriptionInfoInternal (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionDatabaseManager.java94 private static final Map<String, Function<SubscriptionInfoInternal, ?>>
98 SubscriptionInfoInternal::getSubscriptionId),
101 SubscriptionInfoInternal::getIccId),
104 SubscriptionInfoInternal::getSimSlotIndex),
107 SubscriptionInfoInternal::getDisplayName),
110 SubscriptionInfoInternal::getCarrierName),
113 SubscriptionInfoInternal::getDisplayNameSource),
116 SubscriptionInfoInternal::getIconTint),
119 SubscriptionInfoInternal::getNumber),
122 SubscriptionInfoInternal::getDataRoaming),
[all …]
DSubscriptionManagerService.java582 SubscriptionInfoInternal subInfo = in SubscriptionManagerService()
660 .map(SubscriptionInfoInternal::toSubscriptionInfo) in canPackageManageGroup()
693 SubscriptionInfoInternal subInfo = mSubscriptionDatabaseManager in checkCarrierPrivilegeOnSubList()
725 SubscriptionInfoInternal reference = mSubscriptionDatabaseManager in syncGroupedSetting()
1097 SubscriptionInfoInternal.Builder builder = new SubscriptionInfoInternal.Builder() in insertSubscriptionInfo()
1175 SubscriptionInfoInternal subInfo = mSubscriptionDatabaseManager in updateEmbeddedSubscriptions()
1191 SubscriptionInfoInternal.Builder builder = new SubscriptionInfoInternal in updateEmbeddedSubscriptions()
1280 .filter(SubscriptionInfoInternal::isEmbedded) in updateEmbeddedSubscriptions()
1353 SubscriptionInfoInternal subInfo = mSubscriptionDatabaseManager in areUiccAppsEnabledOnCard()
1487 SubscriptionInfoInternal subInfo = mSubscriptionDatabaseManager.getAllSubscriptions() in updateSubscription()
[all …]
DSubscriptionInfoInternal.java75 public class SubscriptionInfoInternal { class
499 private SubscriptionInfoInternal(@NonNull Builder builder) { in SubscriptionInfoInternal() method in SubscriptionInfoInternal
1381 public boolean equalsDbItemsOnly(@NonNull SubscriptionInfoInternal that) { in equalsDbItemsOnly()
1440 SubscriptionInfoInternal that = (SubscriptionInfoInternal) o; in equals()
1885 public Builder(@NonNull SubscriptionInfoInternal info) { in Builder()
2930 public SubscriptionInfoInternal build() { in build()
2931 return new SubscriptionInfoInternal(this); in build()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionDatabaseManagerTest.java144 static final SubscriptionInfoInternal FAKE_SUBSCRIPTION_INFO1 =
145 new SubscriptionInfoInternal.Builder()
219 static final SubscriptionInfoInternal FAKE_SUBSCRIPTION_INFO2 =
220 new SubscriptionInfoInternal.Builder()
468 private void verifySubscription(@NonNull SubscriptionInfoInternal subInfo) throws Exception { in verifySubscription()
489 private SubscriptionInfoInternal insertSubscriptionAndVerify( in insertSubscriptionAndVerify()
490 @NonNull SubscriptionInfoInternal subInfo) throws Exception { in insertSubscriptionAndVerify()
492 new SubscriptionInfoInternal.Builder(subInfo) in insertSubscriptionAndVerify()
497 subInfo = new SubscriptionInfoInternal.Builder(subInfo).setId(subId).build(); in insertSubscriptionAndVerify()
532 SubscriptionInfoInternal subInfo = new SubscriptionInfoInternal in testUpdateSubscription()
[all …]
DSubscriptionInfoInternalTest.java38 private final SubscriptionInfoInternal mSubInfo =
39 new SubscriptionInfoInternal.Builder()
127 private final SubscriptionInfoInternal mSubInfoNull =
128 new SubscriptionInfoInternal.Builder()
259 SubscriptionInfoInternal another = new SubscriptionInfoInternal.Builder(mSubInfo).build(); in testEquals()
348 SubscriptionInfoInternal regularSub = in testIsVisible()
349 new SubscriptionInfoInternal.Builder() in testIsVisible()
361 SubscriptionInfoInternal provSub = in testIsVisible()
362 new SubscriptionInfoInternal.Builder() in testIsVisible()
373 SubscriptionInfoInternal ntnSub = in testIsVisible()
[all …]
DSubscriptionManagerServiceTest.java291 private int insertSubscription(@NonNull SubscriptionInfoInternal subInfo) { in insertSubscription()
293 subInfo = new SubscriptionInfoInternal.Builder(subInfo) in insertSubscription()
354 SubscriptionInfoInternal subInfo = mSubscriptionManagerServiceUT in testAddSubInfo()
380 SubscriptionInfoInternal subInfo = mSubscriptionManagerServiceUT in testSetMccMnc()
400 SubscriptionInfoInternal subInfo = mSubscriptionManagerServiceUT in testSetCountryIso()
419 SubscriptionInfoInternal subInfo = mSubscriptionManagerServiceUT in testSetCarrierId()
436 SubscriptionInfoInternal subInfo = in testSetAdminOwned()
492 SubscriptionInfoInternal subInfo = mSubscriptionManagerServiceUT in testSetPhoneNumber()
616 SubscriptionInfoInternal anotherSubInfo = in testGetSubscriptionsInGroup()
617 new SubscriptionInfoInternal.Builder(FAKE_SUBSCRIPTION_INFO2) in testGetSubscriptionsInGroup()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java60 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
95 private final SubscriptionInfoInternal[] mSubInfo = new SubscriptionInfoInternal[10];
98 mSubInfo[1] = new SubscriptionInfoInternal.Builder() in initializeSubs()
112 mSubInfo[2] = new SubscriptionInfoInternal.Builder(mSubInfo[1]) in initializeSubs()
119 mSubInfo[3] = new SubscriptionInfoInternal.Builder(mSubInfo[1]) in initializeSubs()
126 mSubInfo[4] = new SubscriptionInfoInternal.Builder( in initializeSubs()
136 mSubInfo[subId] = new SubscriptionInfoInternal.Builder(mSubInfo[subId]) in setSimSlotIndex()
433 mSubInfo[2] = new SubscriptionInfoInternal.Builder().setId(2).setSimSlotIndex(1).build(); in testActivatingSecondSub()
641 mSubInfo[1] = new SubscriptionInfoInternal.Builder(mSubInfo[1]).setOpportunistic(1).build(); in testCbrs()
688 mSubInfo[1] = new SubscriptionInfoInternal.Builder(mSubInfo[1]) in testGroupedCbrs()
[all …]
DGsmCdmaPhoneTest.java99 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
1774 SubscriptionInfoInternal si = new SubscriptionInfoInternal.Builder() in testLoadAllowedNetworksFromSubscriptionDatabase_allValidData()
1799 SubscriptionInfoInternal si = new SubscriptionInfoInternal.Builder() in testLoadAllowedNetworksFromSubscriptionDatabase_invalidKeys()
1823 SubscriptionInfoInternal si = new SubscriptionInfoInternal.Builder() in testLoadAllowedNetworksFromSubscriptionDatabase_invalidValues()
1974 private SubscriptionInfoInternal makeSubscriptionInfoInternal( in makeSubscriptionInfoInternal()
1976 return new SubscriptionInfoInternal.Builder() in makeSubscriptionInfoInternal()
2001 final SubscriptionInfoInternal si = makeSubscriptionInfoInternal( in testUsageSettingUpdate_DataCentric()
2025 final SubscriptionInfoInternal si = makeSubscriptionInfoInternal( in testUsageSettingUpdate_DefaultOpportunistic()
2048 final SubscriptionInfoInternal si = makeSubscriptionInfoInternal( in testUsageSettingUpdate_DefaultNonOpportunistic()
3043 SubscriptionInfoInternal subInfo = new SubscriptionInfoInternal.Builder().setSimSlotIndex( in testUpdateNullCipherNotifier_activeSubscription()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySourceTest.java46 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
68 SubscriptionInfoInternal info0 = new SubscriptionInfoInternal.Builder() in setUp()
73 SubscriptionInfoInternal info1 = new SubscriptionInfoInternal.Builder() in setUp()
DCellularIdentifierDisclosureNotifierTest.java39 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
255 SubscriptionInfoInternal subInfoMock = mock(SubscriptionInfoInternal.class); in testLogDisclsoure()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPerSimStatusTest.java48 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
97 doReturn(new SubscriptionInfoInternal.Builder().setId(1).setSimSlotIndex(0) in onPullAtom_perSimStatus()
144 doReturn(new SubscriptionInfoInternal.Builder().setId(2).setSimSlotIndex(1) in onPullAtom_perSimStatus()
248 doReturn(new SubscriptionInfoInternal.Builder().setId(1).setSimSlotIndex(0) in onPullAtom_perSimStatus_noImsManager()
308 doReturn(new SubscriptionInfoInternal.Builder().setId(1).setSimSlotIndex(0) in onPullAtom_perSimStatus_noImsMmTelManager()
370 doReturn(new SubscriptionInfoInternal.Builder().setId(1).setSimSlotIndex(0) in onPullAtom_perSimStatus_noUiccSlot()
DDataCallSessionStatsTest.java43 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
363 SubscriptionInfoInternal mSubInfoInternal = new SubscriptionInfoInternal.Builder() in testIsProvisioningProfile()
390 mSubInfoInternal = new SubscriptionInfoInternal.Builder() in testIsProvisioningProfile()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java60 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
984 SubscriptionInfoInternal subInfo = mSubscriptionManagerService in getSimCombinationWarningParams()
1016 SubscriptionInfoInternal subInfo = mSubscriptionManagerService in disableDataForNonDefaultNonOpportunisticSubscriptions()
1037 SubscriptionInfoInternal subInfo1 = in areSubscriptionsInSameGroup()
1039 SubscriptionInfoInternal subInfo2 = in areSubscriptionsInSameGroup()
1053 SubscriptionInfoInternal subInfo = mSubscriptionManagerService in setUserDataEnabledForGroup()
1090 SubscriptionInfoInternal subInfo = mSubscriptionManagerService in setRoamingDataEnabledForGroup()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataSettingsManagerTest.java44 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
76 doReturn(new SubscriptionInfoInternal.Builder().setId(1).build()) in setUp()
DPhoneSwitcherTest.java94 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
586 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testSetPreferredData()
709 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testSetAutoSelectedValidationFeatureNotSupported()
772 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testSetPreferredDataModemCommand()
840 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testSetPreferredDataWithValidation()
1418 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testSetPreferredDataCallback()
1548 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testSetPreferredDataCallback_voiceCall()
1629 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testValidationOffSwitch_shouldSwitchOnNetworkAvailable()
1670 doReturn(new SubscriptionInfoInternal.Builder(mSubscriptionManagerService in testValidationOffSwitch_shouldSwitchOnTimeOut()
2210 return new SubscriptionInfoInternal.Builder() in initializeSubControllerMock()
DCellularNetworkValidatorTest.java52 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
81 doReturn(new SubscriptionInfoInternal.Builder().setSimSlotIndex(0).setId(1).build()) in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySource.java39 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
217 SubscriptionInfoInternal subInfo = in getNullCipherIssue()
301 SubscriptionInfoInternal subInfo = in getIdentifierDisclosureIssue()
DCellularIdentifierDisclosureNotifier.java25 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
146 SubscriptionInfoInternal subInfo = in runLogDisclosure()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataCallSessionStats.java45 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
355 SubscriptionInfoInternal subInfo = SubscriptionManagerService.getInstance() in getIsOpportunistic()
361 SubscriptionInfoInternal subInfo = SubscriptionManagerService.getInstance() in getIsProvisioningProfile()
DPerSimStatus.java46 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
204 SubscriptionInfoInternal subInfo = SubscriptionManagerService.getInstance() in getNumberIds()
DDataStallRecoveryStats.java58 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
371 SubscriptionInfoInternal subInfo = SubscriptionManagerService.getInstance() in getIsOpportunistic()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DCarrierRoamingSatelliteSessionStats.java33 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
321 SubscriptionInfoInternal subscriptionInfoInternal = in updateNtnRoamingInHomeCountry()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DCellularNetworkValidator.java46 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
249 SubscriptionInfoInternal subInfo = SubscriptionManagerService.getInstance()
DDataSettingsManager.java54 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
444 SubscriptionInfoInternal subInfo = SubscriptionManagerService.getInstance() in isStandAloneOpportunistic()
630 SubscriptionInfoInternal subInfo = SubscriptionManagerService.getInstance() in refreshEnabledMobileDataPolicy()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccProfileTest.java54 import com.android.internal.telephony.subscription.SubscriptionInfoInternal;
580 doReturn(new SubscriptionInfoInternal.Builder().setSimSlotIndex(0).setId(1) in testSetOperatorBrandOverride()
588 doReturn(new SubscriptionInfoInternal.Builder().setSimSlotIndex(0).setId(1) in testSetOperatorBrandOverride()

12