Searched refs:subs (Results 1 – 14 of 14) sorted by relevance
88 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in updateState() local90 preference.setEnabled(!subs.isEmpty()); in updateState()91 preference.setSummary(getSummary(subs)); in updateState()96 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in handlePreferenceClicked() local98 if (subs.isEmpty()) { in handlePreferenceClicked()102 if (subs.size() == 1) { in handlePreferenceClicked()104 MobileNetworkFragment.newInstance(subs.get(0).getSubscriptionId())); in handlePreferenceClicked()116 private CharSequence getSummary(List<SubscriptionInfo> subs) { in getSummary() argument117 int count = subs.size(); in getSummary()118 if (subs.isEmpty()) { in getSummary()[all …]
112 List<SubscriptionAnnotation> subs = mStatusCache.getSubscriptionList(); in getSummary() local114 if (subs.isEmpty()) { in getSummary()121 } else if (subs.size() == 1) { in getSummary()122 SubscriptionAnnotation info = subs.get(0); in getSummary()131 return getSummaryForProviderModel(subs); in getSummary()133 final int count = subs.size(); in getSummary()139 private CharSequence getSummaryForProviderModel(List<SubscriptionAnnotation> subs) { in getSummaryForProviderModel() argument140 return subs.stream() in getSummaryForProviderModel()172 List<SubscriptionAnnotation> subs = mStatusCache.getSubscriptionList(); in update() local173 if (subs.isEmpty()) { in update()[all …]
89 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions( in getSummary() local92 if (subs.isEmpty()) { in getSummary()96 for (SubscriptionInfo subInfo : subs) { in getSummary()97 int subsSize = subs.size(); in getSummary()121 if (subInfo != subs.get(subs.size() - 1)) { in getSummary()172 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions( in update() local174 if (subs.isEmpty()) { in update()
75 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local77 assertThat(subs).isNotNull(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()78 assertThat(subs).isEmpty(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()86 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_oneSubscription_oneResult() local88 assertThat(subs).isNotNull(); in getAvailableSubscriptions_oneSubscription_oneResult()89 assertThat(subs).hasSize(1); in getAvailableSubscriptions_oneSubscription_oneResult()100 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_twoSubscriptions_twoResults() local102 assertThat(subs).isNotNull(); in getAvailableSubscriptions_twoSubscriptions_twoResults()103 assertThat(subs).hasSize(2); in getAvailableSubscriptions_twoSubscriptions_twoResults()110 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in getActiveSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local[all …]
242 final List<SubscriptionInfo> subs = setupMockSubscriptions(2); in onSubscriptionsChanged_countBecameTwo_eventFired() local243 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameTwo_eventFired()251 SubscriptionUtil.setActiveSubscriptionsForTesting(subs); in onSubscriptionsChanged_countBecameTwo_eventFired()262 final List<SubscriptionInfo> subs = setupMockSubscriptions(2); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved() local271 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved()283 final List<SubscriptionInfo> subs = setupMockSubscriptions(3); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged() local284 doReturn(subs).when(mSubscriptionManager).getAvailableSubscriptionInfoList(); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()287 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 2)); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()298 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(subs.get(0), subs.get(2))); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()377 final List<SubscriptionInfo> subs = setupMockSubscriptions(2, 1, true); in setIcon_greatSignal_correctLevels() local[all …]
93 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in getAvailabilityStatus() local94 if (subs.size() > 1 || Utils.isProviderModelEnabled(mContext)) { in getAvailabilityStatus()154 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in updateEntries() local161 if (Utils.isProviderModelEnabled(mContext) && subs.size() == 1) { in updateEntries()164 subs.get(0), mContext)); in updateEntries()171 for (SubscriptionInfo sub : subs) { in updateEntries()
927 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions( in getPreferredStatus() local929 if (!subs.isEmpty()) { in getPreferredStatus()931 for (SubscriptionInfo subInfo : subs) { in getPreferredStatus()932 int subsSize = subs.size(); in getPreferredStatus()956 if (subInfo != subs.get(subs.size() - 1)) { in getPreferredStatus()
106 List<SubscriptionInfo> subs = mSubscriptionManager.getActiveSubscriptionInfoList(); in load() local107 if (subs == null || subs.size() < 1) { in load()114 for (SubscriptionInfo sub : subs) { in load()
93 public void bind(final List<ParticipantData> subs) { in bind() argument96 for (final ParticipantData sub : subs) { in bind()
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...