Searched refs:mSubMgr (Results 1 – 3 of 3) sorted by relevance
77 private SubscriptionManager mSubMgr; field in SubscriptionUtilTest89 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 …]
84 private SubscriptionManager mSubMgr; field in DefaultSubscriptionControllerTest115 when(mContext.getSystemService(SubscriptionManager.class)).thenReturn(mSubMgr); in setUp()117 when(mSubMgr.createForAllUserProfiles()).thenReturn(mSubMgr); in setUp()
78 private SubscriptionManager mSubMgr; field in SimSlotChangeHandler184 mSubMgr = in init()339 List<SubscriptionInfo> activeSubs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in hasActiveEsimSubscription()