Searched refs:subs (Results 1 – 13 of 13) sorted by relevance
97 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in updateState() local100 preference.setSummary(getSummary(subs)); in updateState()154 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in handlePreferenceClicked() local156 if (subs.isEmpty()) { in handlePreferenceClicked()158 } else if (subs.size() == 1) { in handlePreferenceClicked()160 MobileNetworkFragment.newInstance(subs.get(0).getSubscriptionId())); in handlePreferenceClicked()170 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in handlePreferenceChanged() local172 preference.setSummary(getSummary(subs)); in handlePreferenceChanged()183 private CharSequence getSummary(List<SubscriptionInfo> subs) { in getSummary() argument191 int count = subs.size(); in getSummary()[all …]
100 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local102 assertThat(subs).isNotNull(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()103 assertThat(subs).isEmpty(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()111 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_oneSubscription_oneResult() local113 assertThat(subs).isNotNull(); in getAvailableSubscriptions_oneSubscription_oneResult()114 assertThat(subs).hasSize(1); in getAvailableSubscriptions_oneSubscription_oneResult()160 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_twoSubscriptions_twoResults() local162 assertThat(subs).isNotNull(); in getAvailableSubscriptions_twoSubscriptions_twoResults()163 assertThat(subs).hasSize(2); in getAvailableSubscriptions_twoSubscriptions_twoResults()170 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in getActiveSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local[all …]
500 final List<SubscriptionInfo> subs = setupMockSubscriptions(1); in getIcon_dataStateConnectedAndMobileDataOn_iconIsSignalIcon() local501 final int subId = subs.get(0).getSubscriptionId(); in getIcon_dataStateConnectedAndMobileDataOn_iconIsSignalIcon()502 doReturn(subs.get(0)).when(mSubscriptionManager).getDefaultDataSubscriptionInfo(); in getIcon_dataStateConnectedAndMobileDataOn_iconIsSignalIcon()518 final List<SubscriptionInfo> subs = setupMockSubscriptions(1); in getIcon_voiceInServiceAndMobileDataOff_iconIsSignalIcon() local519 final int subId = subs.get(0).getSubscriptionId(); in getIcon_voiceInServiceAndMobileDataOff_iconIsSignalIcon()520 doReturn(subs.get(0)).when(mSubscriptionManager).getDefaultDataSubscriptionInfo(); in getIcon_voiceInServiceAndMobileDataOff_iconIsSignalIcon()
111 List<SubscriptionInfo> subs = mSubscriptionManager.getActiveSubscriptionInfoList(); in load() local112 if (subs == null || subs.size() < 1) { in load()119 for (SubscriptionInfo sub : subs) { in load()
268 List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(sm); in getAnyPhoneNumberFromSubscriptions() local269 if ((subs == null) || (subs.size() == 0)) { in getAnyPhoneNumberFromSubscriptions()272 return subs.stream() in getAnyPhoneNumberFromSubscriptions()
93 public void bind(final List<ParticipantData> subs) { in bind() argument96 for (final ParticipantData sub : subs) { in bind()
866 List<SubscriptionInfo> subs = getAvailableSubscriptions(context);871 .anyMatch(cid -> subs.stream().anyMatch(sub -> sub.getCarrierId() == cid));
META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
1dictionary=main:es,locale=es,description=Español,date=1414726268, ...