Searched refs:isActiveSubId (Results 1 – 13 of 13) sorted by relevance
112 doReturn(true).when(mSubscriptionManager).isActiveSubId(mSubId); in displayPreference_oneEnabledSubscription_switchBarNotHidden()120 doReturn(false).when(mSubscriptionManager).isActiveSubId(mSubId); in displayPreference_oneDisabledSubscription_switchBarNotHidden()128 when(mSubscriptionManager.isActiveSubId(mSubId)).thenReturn(true); in displayPreference_subscriptionEnabled_switchIsOn()136 when(mSubscriptionManager.isActiveSubId(mSubId)).thenReturn(false); in displayPreference_subscriptionDisabled_switchIsOff()144 when(mSubscriptionManager.isActiveSubId(mSubId)).thenReturn(true); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledCalledCorrectly()156 when(mSubscriptionManager.isActiveSubId(mSubId)).thenReturn(true); in switchChangeListener_fromEnabledToDisabled_setSubscriptionEnabledFailed()167 when(mSubscriptionManager.isActiveSubId(mSubId)).thenReturn(false); in switchChangeListener_fromDisabledToEnabled_setSubscriptionEnabledCalledCorrectly()
214 doReturn(true).when(mSubscriptionManager).isActiveSubId(anyInt()); in testStartProfileSelectionSuccess()299 doReturn(true).when(mSubscriptionManager).isActiveSubId(anyInt()); in testStartProfileSelectionWithDifferentPrioritySubInfo()357 doReturn(false).when(mSubscriptionManager).isActiveSubId(anyInt()); in testStartProfileSelectionWithActivePrimarySimOnESim()568 doReturn(true).when(mSubscriptionManager).isActiveSubId(anyInt()); in testStartProfileSelectionSuccessWithSameArgumentsAgain()605 doReturn(true).when(mSubscriptionManager).isActiveSubId(anyInt()); in testStartProfileSelectionSuccessWithSameArgumentsAgain()653 doReturn(true).when(mSubscriptionManager).isActiveSubId(anyInt()); in testStopProfileSelectionWithPreferredDataOnSame()701 doReturn(true).when(mSubscriptionManager).isActiveSubId(anyInt()); in testStopProfileSelectionWithPreferredDataOnDifferent()
169 if (mSubscriptionManager.isActiveSubId(subId)) {532 … if (!mSubscriptionManager.isActiveSubId(filteredAvailableNetworks.get(0).getSubId())) { in checkProfileUpdate()675 if (!mSubscriptionManager.isActiveSubId(subId)) { in enableModem()762 if (mSubscriptionManager.isActiveSubId(subscriptionInfo.getSubscriptionId())) { in isOpportunisticSubActive()802 || (isOpprotunisticSub(subId) && mSubscriptionManager.isActiveSubId(subId))) { in selectProfileForData()
419 () -> mSubscriptionManager.isActiveSubId( in handleCarrierAppAvailableNetworks()
86 if (mSubscriptionManager.isActiveSubId(mSubId) != isChecked in displayPreference()115 mSwitchBar.setChecked(mSubscriptionManager.isActiveSubId(mSubId)); in update()
345 doReturn(true).when(mSubController).isActiveSubId(eq(1)); in testUpdateCurrentSubscription()420 doReturn(true).when(mSubController).isActiveSubId(eq(1)); in testUpdateCurrentSubscription_WrongURI()
235 private void setUpMockContext(boolean isActiveSubId) { in setUpMockContext() argument236 mContext = new MockContextWithProvider(mTelephonyProviderTestable, isActiveSubId); in setUpMockContext()
731 if (!mSubscriptionManager.isActiveSubId(id)) { in dismissLimitedSimFunctionWarningNotificationForInactiveSubs()851 if (!mSubscriptionManager.isActiveSubId(subId)) { in dismissNetworkSelectionNotificationForInactiveSubId()
4399 return mSubscriptionController.isActiveSubId(subId); in isActiveSubscription()
198 if (!isActiveSubId(subId)) {406 private boolean isActiveSubId(int subId) {
120 when(mSubscriptionManager.isActiveSubId(mSubId)).thenReturn(true); in setUp()
106 if (!subscriptionManager.isActiveSubId(subId)) { in onEnableMmsDataRequest()
621 if (!SubscriptionController.getInstance().isActiveSubId(subId)) { in updateCarrierIdForCurrentSubscription()