Searched refs:subs (Results 1 – 15 of 15) sorted by relevance
67 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local68 assertThat(subs).isNotNull(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()69 assertThat(subs).isEmpty(); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()76 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_oneSubscription_oneResult() local77 assertThat(subs).isNotNull(); in getAvailableSubscriptions_oneSubscription_oneResult()78 assertThat(subs).hasSize(1); in getAvailableSubscriptions_oneSubscription_oneResult()86 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_twoSubscriptions_twoResults() local87 assertThat(subs).isNotNull(); in getAvailableSubscriptions_twoSubscriptions_twoResults()88 assertThat(subs).hasSize(2); in getAvailableSubscriptions_twoSubscriptions_twoResults()115 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_oneSelectableOneDisabledPSim_twoResults() local[all …]
192 final List<SubscriptionInfo> subs = setupMockSubscriptions(2); in onSubscriptionsChanged_countBecameTwo_eventFired() local193 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameTwo_eventFired()199 SubscriptionUtil.setActiveSubscriptionsForTesting(subs); in onSubscriptionsChanged_countBecameTwo_eventFired()207 final List<SubscriptionInfo> subs = setupMockSubscriptions(2); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved() local214 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved()224 final List<SubscriptionInfo> subs = setupMockSubscriptions(3); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged() local227 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 2)); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()239 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(subs.get(0), subs.get(2))); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged()259 final List<SubscriptionInfo> subs = setupMockSubscriptions(subscriptionCount); in runPreferenceClickTest() local274 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()
149 List<SubscriptionInfo> subs = mSubscriptionManager.getActiveSubscriptionInfoList(); in load() local150 if (subs == null || subs.size() < 1) { in load()159 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:fr,locale=fr,description=Français,date=1414726264, ...
1dictionary=main:es,locale=es,description=Español,date=1414726268, ...