Home
last modified time | relevance | path

Searched refs:mSubMgr (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionUtilTest.java77 private SubscriptionManager mSubMgr; field in SubscriptionUtilTest
89 when(mContext.getSystemService(SubscriptionManager.class)).thenReturn(mSubMgr); in setUp()
98 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(null); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()
109 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getAvailableSubscriptions_oneSubscription_oneResult()
122 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in hasSubscriptionWithRacCarrier_containsRac_returnTrue()
132 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in hasSubscriptionWithRacCarrier_doesNotContainsRac_returnFalse()
156 when(mSubMgr.getAvailableSubscriptionInfoList()).thenReturn(Arrays.asList(info1, info2)); in getAvailableSubscriptions_twoSubscriptions_twoResults()
168 when(mSubMgr.getActiveSubscriptionInfoList()).thenReturn(null); in getActiveSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()
170 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in getActiveSubscriptions_nullInfoFromSubscriptionManager_nonNullResult()
179 when(mSubMgr.getActiveSubscriptionInfoList()).thenReturn(Arrays.asList(info)); in getActiveSubscriptions_oneSubscription_oneResult()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java84 private SubscriptionManager mSubMgr; field in DefaultSubscriptionControllerTest
115 when(mContext.getSystemService(SubscriptionManager.class)).thenReturn(mSubMgr); in setUp()
117 when(mSubMgr.createForAllUserProfiles()).thenReturn(mSubMgr); in setUp()
/packages/apps/Settings/src/com/android/settings/sim/receivers/
DSimSlotChangeHandler.java78 private SubscriptionManager mSubMgr; field in SimSlotChangeHandler
184 mSubMgr = in init()
339 List<SubscriptionInfo> activeSubs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in hasActiveEsimSubscription()