Home
last modified time | relevance | path

Searched refs:subs (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DSubscriptionUtilTest.java67 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local
68 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() local
77 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() local
87 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 …]
DSubscriptionsPreferenceControllerTest.java192 final List<SubscriptionInfo> subs = setupMockSubscriptions(2); in onSubscriptionsChanged_countBecameTwo_eventFired() local
193 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() local
214 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved()
224 final List<SubscriptionInfo> subs = setupMockSubscriptions(3); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged() local
227 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() local
274 subs.get(selectedPrefIndex).getSubscriptionId()); in runPreferenceClickTest()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceController.java89 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in updateState() local
91 preference.setEnabled(!subs.isEmpty()); in updateState()
92 preference.setSummary(getSummary(subs)); in updateState()
97 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in handlePreferenceClicked() local
99 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() argument
118 int count = subs.size(); in getSummary()
119 if (subs.isEmpty()) { in getSummary()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkSummaryController.java102 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in getSummary() local
104 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() local
145 if (subs.isEmpty()) { in update()
162 if (subs.size() == 1) { in update()
164 final SubscriptionInfo info = subs.get(0); in update()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMobileNetworkSummaryController.java98 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in getSummary() local
100 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() local
134 if (subs.isEmpty()) { in update()
149 if (subs.size() == 1) { in update()
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java149 List<SubscriptionInfo> subs = mSubscriptionManager.getActiveSubscriptionInfoList(); in load() local
150 if (subs == null || subs.size() < 1) { in load()
159 for (SubscriptionInfo sub : subs) { in load()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDefaultSubscriptionController.java78 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in getAvailabilityStatus() local
79 if (subs.size() > 1) { in getAvailabilityStatus()
129 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in updateEntries() local
139 for (SubscriptionInfo sub : subs) { in updateEntries()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DDefaultSubscriptionController.java78 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in getAvailabilityStatus() local
79 if (subs.size() > 1) { in getAvailabilityStatus()
124 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in updateEntries() local
134 for (SubscriptionInfo sub : subs) { in updateEntries()
DMobileNetworkSwitchController.java96 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in update() local
98 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID || subs.size() < 2) { in update()
103 for (SubscriptionInfo info : subs) { in update()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSubscriptionListData.java93 public void bind(final List<ParticipantData> subs) { in bind() argument
96 for (final ParticipantData sub : subs) { in bind()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Dlv_wordlist.combined.gz
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...