Home
last modified time | relevance | path

Searched refs:mSubscriptionInfos (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java79 private List<SubscriptionInfo> mSubscriptionInfos; field in MobileNetworkActivityTest
104 mSubscriptionInfos = new ArrayList<>(); in setUp()
107 mMobileNetworkActivity.mSubscriptionInfos = mSubscriptionInfos; in setUp()
132 mSubscriptionInfos.add(mSubscriptionInfo); in updateBottomNavigationView_oneSubscription_shouldBeGone()
133 doReturn(mSubscriptionInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList( in updateBottomNavigationView_oneSubscription_shouldBeGone()
144 mSubscriptionInfos.add(mSubscriptionInfo); in updateBottomNavigationView_twoSubscription_updateMenu()
145 mSubscriptionInfos.add(mSubscriptionInfo); in updateBottomNavigationView_twoSubscription_updateMenu()
146 doReturn(mSubscriptionInfos).when(mSubscriptionManager).getActiveSubscriptionInfoList( in updateBottomNavigationView_twoSubscription_updateMenu()
226 mSubscriptionInfos.add(mSubscriptionInfo); in getSubscriptionId_hasIntent_getIdFromIntent()
227 mSubscriptionInfos.add(mSubscriptionInfo2); in getSubscriptionId_hasIntent_getIdFromIntent()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkActivity.java63 List<SubscriptionInfo> mSubscriptionInfos = new ArrayList<>(); field in MobileNetworkActivity
71 if (!Objects.equals(mSubscriptionInfos,
97 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in onCreate()
145 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in updateSubscriptions()
176 if (CollectionUtils.isEmpty(mSubscriptionInfos)) { in getSubscription()
179 return mSubscriptionInfos.get(0); in getSubscription()
198 if (CollectionUtils.size(mSubscriptionInfos) <= 1) { in updateBottomNavigationView()
203 for (int i = 0, size = mSubscriptionInfos.size(); i < size; i++) { in updateBottomNavigationView()
204 final SubscriptionInfo subscriptionInfo = mSubscriptionInfos.get(i); in updateBottomNavigationView()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java67 List<SubscriptionInfo> mSubscriptionInfos = new ArrayList<>(); field in MobileNetworkActivity
75 if (!Objects.equals(mSubscriptionInfos,
137 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in onCreate()
187 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(true); in updateSubscriptions()
211 if (CollectionUtils.isEmpty(mSubscriptionInfos)) { in getSubscription()
214 return mSubscriptionInfos.get(0); in getSubscription()
250 if (CollectionUtils.size(mSubscriptionInfos) <= 1) { in updateBottomNavigationView()
255 for (int i = 0, size = mSubscriptionInfos.size(); i < size; i++) { in updateBottomNavigationView()
256 final SubscriptionInfo subscriptionInfo = mSubscriptionInfos.get(i); in updateBottomNavigationView()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkUpdateManager.java51 private List<SubscriptionInfo> mSubscriptionInfos; field in MobileNetworkUpdateManager
59 if (!Objects.equals(mSubscriptionInfos,
70 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(); in MobileNetworkUpdateManager()
119 mSubscriptionInfos = mSubscriptionManager.getActiveSubscriptionInfoList(); in updateSubscriptions()
155 return CollectionUtils.isEmpty(mSubscriptionInfos) ? null : mSubscriptionInfos.get(0); in getSubscription()