Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceController.java97 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in updateState() local
100 preference.setSummary(getSummary(subs)); in updateState()
154 List<SubscriptionInfo> subs = SubscriptionUtils.getAvailableSubscriptions( in handlePreferenceClicked() local
156 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() local
172 preference.setSummary(getSummary(subs)); in handlePreferenceChanged()
183 private CharSequence getSummary(List<SubscriptionInfo> subs) { in getSummary() argument
191 int count = subs.size(); in getSummary()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionUtilTest.java100 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() local
102 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() local
113 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() local
162 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 …]
DSubscriptionsPreferenceControllerTest.java500 final List<SubscriptionInfo> subs = setupMockSubscriptions(1); in getIcon_dataStateConnectedAndMobileDataOn_iconIsSignalIcon() local
501 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() local
519 final int subId = subs.get(0).getSubscriptionId(); in getIcon_voiceInServiceAndMobileDataOff_iconIsSignalIcon()
520 doReturn(subs.get(0)).when(mSubscriptionManager).getDefaultDataSubscriptionInfo(); in getIcon_voiceInServiceAndMobileDataOff_iconIsSignalIcon()
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java111 List<SubscriptionInfo> subs = mSubscriptionManager.getActiveSubscriptionInfoList(); in load() local
112 if (subs == null || subs.size() < 1) { in load()
119 for (SubscriptionInfo sub : subs) { in load()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionActivity.java268 List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(sm); in getAnyPhoneNumberFromSubscriptions() local
269 if ((subs == null) || (subs.size() == 0)) { in getAnyPhoneNumberFromSubscriptions()
272 return subs.stream() in getAnyPhoneNumberFromSubscriptions()
/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/apps/Settings/src/com/android/settings/network/
DSubscriptionUtil.java866 List<SubscriptionInfo> subs = getAvailableSubscriptions(context);
871 .anyMatch(cid -> subs.stream().anyMatch(sub -> sub.getCarrierId() == cid));
/packages/apps/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/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.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...