Searched refs:subs (Results 1 – 15 of 15) sorted by relevance
66 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local67 assertThat(subs).isNotNull(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()68 assertThat(subs).isEmpty(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()75 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_oneSubscription_oneResult() local76 assertThat(subs).isNotNull(); in getAvailableSubscriptions_oneSubscription_oneResult()77 assertThat(subs).hasSize(1); in getAvailableSubscriptions_oneSubscription_oneResult()85 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_twoSubscriptions_twoResults() local86 assertThat(subs).isNotNull(); in getAvailableSubscriptions_twoSubscriptions_twoResults()87 assertThat(subs).hasSize(2); in getAvailableSubscriptions_twoSubscriptions_twoResults()114 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_oneSelectableOneDisabledPSim_twoResults() local[all …]
194 final List<SubscriptionInfo> subs = setupMockSubscriptions(2); in onSubscriptionsChanged_countBecameTwo_eventFired() local195 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameTwo_eventFired()201 SubscriptionUtil.setActiveSubscriptionsForTesting(subs); in onSubscriptionsChanged_countBecameTwo_eventFired()209 final List<SubscriptionInfo> subs = setupMockSubscriptions(2); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved() local216 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved()226 final List<SubscriptionInfo> subs = setupMockSubscriptions(3); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged() local229 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 2)); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()241 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(subs.get(0), subs.get(2))); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()261 final List<SubscriptionInfo> subs = setupMockSubscriptions(subscriptionCount); in runPreferenceClickTest() local276 subs.get(selectedPrefIndex).getSubscriptionId()); in runPreferenceClickTest()[all …]
89 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in updateState() local91 preference.setEnabled(!subs.isEmpty()); in updateState()92 preference.setSummary(getSummary(subs)); in updateState()97 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in handlePreferenceClicked() local99 if (subs.isEmpty()) { in handlePreferenceClicked()103 if (subs.size() == 1) { in handlePreferenceClicked()105 MobileNetworkFragment.newInstance(subs.get(0).getSubscriptionId())); in handlePreferenceClicked()117 private CharSequence getSummary(List<SubscriptionInfo> subs) { in getSummary() argument118 int count = subs.size(); in getSummary()119 if (subs.isEmpty()) { in getSummary()[all …]
102 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in getSummary() local104 if (subs.isEmpty()) { in getSummary()110 } else if (subs.size() == 1) { in getSummary()111 final SubscriptionInfo info = subs.get(0); in getSummary()117 return subs.get(0).getDisplayName(); in getSummary()120 final int count = subs.size(); in getSummary()142 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in update() local145 if (subs.isEmpty()) { in update()162 if (subs.size() == 1) { in update()164 final SubscriptionInfo info = subs.get(0); in update()[all …]
98 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in getSummary() local100 if (subs.isEmpty()) { in getSummary()106 } else if (subs.size() == 1) { in getSummary()107 return subs.get(0).getDisplayName(); in getSummary()109 final int count = subs.size(); in getSummary()131 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in update() local134 if (subs.isEmpty()) { in update()149 if (subs.size() == 1) { in update()
106 List<SubscriptionInfo> subs = mSubscriptionManager.getActiveSubscriptionInfoList(); in load() local107 if (subs == null || subs.size() < 1) { in load()114 for (SubscriptionInfo sub : subs) { in load()
78 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in getAvailabilityStatus() local79 if (subs.size() > 1) { in getAvailabilityStatus()129 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in updateEntries() local139 for (SubscriptionInfo sub : subs) { in updateEntries()
78 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in getAvailabilityStatus() local79 if (subs.size() > 1) { in getAvailabilityStatus()124 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in updateEntries() local134 for (SubscriptionInfo sub : subs) { in updateEntries()
96 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in update() local98 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID || subs.size() < 2) { in update()103 for (SubscriptionInfo info : subs) { in update()
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, ...
1dictionary=main:es,locale=es,description=Español,date=1414726268, ...