Searched refs:toSubscriptionInfo (Results 1 – 7 of 7) sorted by relevance
181 return mSubInfo[subId].toSubscriptionInfo(); in setUp()194 subscriptionInfoList.add(mSubInfo[i].toSubscriptionInfo()); in setUp()218 subscriptionInfoList.add(mSubInfo[i].toSubscriptionInfo()); in setUp()585 doReturn(Arrays.asList(mSubInfo[2].toSubscriptionInfo(), mSubInfo[3].toSubscriptionInfo(), in testDsdsGrouping()586 mSubInfo[4].toSubscriptionInfo())).when(mSubscriptionManagerService) in testDsdsGrouping()706 doReturn(Arrays.asList(mSubInfo[1].toSubscriptionInfo(), mSubInfo[2].toSubscriptionInfo())) in testGroupedCbrs()779 doReturn(Arrays.asList(mSubInfo[1].toSubscriptionInfo(), mSubInfo[2].toSubscriptionInfo())) in testGroupedPrimarySubscriptions()847 doReturn(Arrays.asList(mSubInfo[2].toSubscriptionInfo(), mSubInfo[3].toSubscriptionInfo(), in testGroupChangeOnInactiveSub_shouldNotMarkAsDefaultDataSub()848 mSubInfo[4].toSubscriptionInfo())).when(mSubscriptionManagerService) in testGroupChangeOnInactiveSub_shouldNotMarkAsDefaultDataSub()998 doReturn(Arrays.asList(mSubInfo[2].toSubscriptionInfo())).when(mSubscriptionManagerService) in onSubscriptionGroupChanged_hasActiveSubNotPartOfGroup()[all …]
660 .map(SubscriptionInfoInternal::toSubscriptionInfo) in canPackageManageGroup()707 if (!mSubscriptionManager.canManageSubscription(subInfo.toSubscriptionInfo(), in checkCarrierPrivilegeOnSubList()1903 .map(subInfo -> conditionallyRemoveIdentifiers(subInfo.toSubscriptionInfo(), in getAllSubInfoList()1941 return conditionallyRemoveIdentifiers(subInfo.toSubscriptionInfo(), callingPackage, in getActiveSubscriptionInfo()1974 return (subInfo != null && subInfo.isActive()) ? subInfo.toSubscriptionInfo() : null; in getActiveSubscriptionInfoForIccId()2022 return conditionallyRemoveIdentifiers(subInfo.toSubscriptionInfo(), callingPackage, in getActiveSubscriptionInfoForSimSlotIndex()2076 .map(subInfo -> conditionallyRemoveIdentifiers(subInfo.toSubscriptionInfo(), in getActiveSubscriptionInfoList()2162 .map(SubscriptionInfoInternal::toSubscriptionInfo) in getAvailableSubscriptionInfoList()2230 .map(SubscriptionInfoInternal::toSubscriptionInfo) in getAccessibleSubscriptionInfoList()2753 .map(subInfo -> conditionallyRemoveIdentifiers(subInfo.toSubscriptionInfo(), in getOpportunisticSubscriptions()[all …]
1271 public SubscriptionInfo toSubscriptionInfo() { in toSubscriptionInfo() method in SubscriptionInfoInternal
560 assertThat(subInfos.get(0)).isEqualTo(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo()); in testGetAllSubInfoList()562 assertThat(subInfos.get(1)).isEqualTo(FAKE_SUBSCRIPTION_INFO2.toSubscriptionInfo()); in testGetAllSubInfoList()634 assertThat(subInfos.get(0)).isEqualTo(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo()); in testGetSubscriptionsInGroup()635 assertThat(subInfos.get(1)).isEqualTo(anotherSubInfo.toSubscriptionInfo()); in testGetSubscriptionsInGroup()666 List.of(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo(), in testGetSubscriptionsInGroup()667 anotherSubInfo.toSubscriptionInfo())); in testGetSubscriptionsInGroup()702 assertThat(subInfos.get(0)).isEqualTo(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo()); in testGetAvailableSubscriptionInfoList()895 assertThat(subInfos.get(0)).isEqualTo(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo()); in testGetActiveSubscriptionInfoList()926 assertThat(subInfo).isEqualTo(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo()); in testGetActiveSubscriptionInfoForSimSlotIndex()1050 assertThat(subInfo).isEqualTo(FAKE_SUBSCRIPTION_INFO1.toSubscriptionInfo()); in testGetActiveSubscriptionInfo()[all …]
267 SubscriptionInfo subInfo = mSubInfo.toSubscriptionInfo(); in testConvertToSubscriptionInfo()326 SubscriptionInfo subInfoNull = mSubInfoNull.toSubscriptionInfo(); in testNullability()
1747 subInfos.add(subInfo.toSubscriptionInfo()); in setOperatorBrandOverride()
4440 subInfo = subInfoInternal.toSubscriptionInfo(); in getResolvedUsageSetting()