/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | DefaultSubscriptionControllerTest.java | 40 import com.android.settings.network.SubscriptionUtil; 77 SubscriptionUtil.setActiveSubscriptionsForTesting(null); in tearDown() 82 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList( in getAvailabilityStatus_onlyOneSubscription_notAvailable() 89 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList( in getAvailabilityStatus_twoSubscriptions_isAvailable() 113 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 141 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 174 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2, sub3)); in displayPreference_threeSubsOneIsOpportunistic_correctListPreferenceValues() 197 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onPreferenceChange_prefChangedToSub2_callbackCalledCorrectly() 210 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onPreferenceChange_prefChangedToAlwaysAsk_callbackCalledCorrectly() 227 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(sub1)); in onPreferenceChange_prefBecomesAvailable_onPreferenceChangeCallbackNotNull() [all …]
|
D | MobileNetworkSwitchControllerTest.java | 34 import com.android.settings.network.SubscriptionUtil; 87 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mSubscription, sub2)); in setUp() 100 SubscriptionUtil.setAvailableSubscriptionsForTesting(null); in cleanUp() 117 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mSubscription)); in displayPreference_oneEnabledSubscription_switchBarNotHidden() 125 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mSubscription)); in displayPreference_oneDisabledSubscription_switchBarNotHidden()
|
D | DeleteSimProfilePreferenceControllerTest.java | 37 import com.android.settings.network.SubscriptionUtil; 76 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mSubscriptionInfo)); in setUp() 89 SubscriptionUtil.setAvailableSubscriptionsForTesting(null); in tearDown() 94 SubscriptionUtil.setAvailableSubscriptionsForTesting(new ArrayList<>()); in getAvailabilityStatus_noSubs_notAvailable()
|
D | DisableSimFooterPreferenceControllerTest.java | 29 import com.android.settings.network.SubscriptionUtil; 60 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(mInfo)); in setUp()
|
D | ContactDiscoveryPreferenceControllerTest.java | 51 import com.android.settings.network.SubscriptionUtil; 106 SubscriptionUtil.setAvailableSubscriptionsForTesting(Collections.emptyList()); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 105 SubscriptionUtil.setAvailableSubscriptionsForTesting(null); in tearDown() 155 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneSubscription_correctSummaryAndClickHandler() 175 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler() 193 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler() 219 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummary_twoSubscriptions_correctSummaryAndFragment() 235 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 243 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment() 263 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 275 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment() 294 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1)); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener() [all …]
|
D | SubscriptionUtilTest.java | 61 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() 70 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_oneSubscription_oneResult() 80 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions(mContext); in getAvailableSubscriptions_twoSubscriptions_twoResults() 88 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in getActiveSubscriptions_nullInfoFromSubscriptionManager_nonNullResult() 97 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in getActiveSubscriptions_oneSubscription_oneResult() 108 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mSubMgr); in getActiveSubscriptions_twoSubscriptions_twoResults() 115 assertThat(SubscriptionUtil.isInactiveInsertedPSim(null)).isFalse(); in isInactiveInsertedPSim_nullSubInfo_doesNotCrash()
|
D | MobileNetworkListControllerTest.java | 95 SubscriptionUtil.setAvailableSubscriptionsForTesting(null); in tearDown() 131 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_twoSubscriptions_correctlySetup() 166 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup() 197 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2)); in onSubscriptionsChanged_twoSubscriptionsOneChangesName_preferenceUpdated() 215 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub2, sub3)); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved() 223 SubscriptionUtil.setAvailableSubscriptionsForTesting(Arrays.asList(sub1, sub3)); in onSubscriptionsChanged_startWithThreeSubsAndRemoveOne_correctPreferenceRemoved()
|
D | SubscriptionsPreferenceControllerTest.java | 134 SubscriptionUtil.setActiveSubscriptionsForTesting(null); in tearDown() 195 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameTwo_eventFired() 201 SubscriptionUtil.setActiveSubscriptionsForTesting(subs); in onSubscriptionsChanged_countBecameTwo_eventFired() 216 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 1)); in onSubscriptionsChanged_countBecameOne_eventFiredAndPrefsRemoved() 229 SubscriptionUtil.setActiveSubscriptionsForTesting(subs.subList(0, 2)); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged() 241 SubscriptionUtil.setActiveSubscriptionsForTesting(Arrays.asList(subs.get(0), subs.get(2))); in onSubscriptionsChanged_subscriptionReplaced_preferencesChanged() 518 SubscriptionUtil.setActiveSubscriptionsForTesting(infos); in setupMockSubscriptions()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkSummaryController.java | 108 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in getSummary() 120 && !SubscriptionUtil.showToggleForPhysicalSim(mSubscriptionManager)) { in getSummary() 122 SubscriptionUtil.getDisplayName(info)); in getSummary() 149 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in update() 182 && !SubscriptionUtil.showToggleForPhysicalSim(mSubscriptionManager)) { in update()
|
D | MobileNetworkListController.java | 100 final List<SubscriptionInfo> subscriptions = SubscriptionUtil.getAvailableSubscriptions( in update() 120 } else if (SubscriptionUtil.showToggleForPhysicalSim(mSubscriptionManager)) { in update() 124 SubscriptionUtil.getDisplayName(info))); in update() 130 && !SubscriptionUtil.showToggleForPhysicalSim(mSubscriptionManager)) { in update()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | DisableSimFooterPreferenceController.java | 23 import com.android.settings.network.SubscriptionUtil; 52 for (SubscriptionInfo info : SubscriptionUtil.getAvailableSubscriptions(mContext)) { in getAvailabilityStatus() 54 if (info.isEmbedded() || SubscriptionUtil.showToggleForPhysicalSim(subManager)) { in getAvailabilityStatus()
|
D | MobileNetworkSwitchController.java | 33 import com.android.settings.network.SubscriptionUtil; 96 for (SubscriptionInfo info : SubscriptionUtil.getAvailableSubscriptions(mContext)) { in update() 105 if (subInfo == null || (!subInfo.isEmbedded() && !SubscriptionUtil.showToggleForPhysicalSim( in update()
|
D | DefaultSubscriptionController.java | 39 import com.android.settings.network.SubscriptionUtil; 88 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in getAvailabilityStatus() 145 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in updateEntries()
|
D | DeleteSimProfilePreferenceController.java | 31 import com.android.settings.network.SubscriptionUtil; 53 for (SubscriptionInfo info : SubscriptionUtil.getAvailableSubscriptions(mContext)) { in init()
|
D | ContactDiscoveryPreferenceController.java | 38 import com.android.settings.network.SubscriptionUtil; 143 for (SubscriptionInfo info : SubscriptionUtil.getAvailableSubscriptions(context)) { in getCarrierDisplayName()
|
D | MobileDataSlice.java | 42 import com.android.settings.network.SubscriptionUtil; 184 SubscriptionUtil.getSelectableSubscriptionInfoList(mContext); in isMobileDataAvailable()
|
D | MobileNetworkActivity.java | 42 import com.android.settings.network.SubscriptionUtil; 240 return SubscriptionUtil.getAvailableSubscription(this, in getSubscriptionForSubId()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsTest.java | 36 import com.android.settings.network.SubscriptionUtil; 99 SubscriptionUtil.setActiveSubscriptionsForTesting(new ArrayList<>( in setupFragment_oneSubscription_noCrash() 123 SubscriptionUtil.setActiveSubscriptionsForTesting(new ArrayList<>( in setupFragment_twoSubscriptions_correctSelection() 147 SubscriptionUtil.setActiveSubscriptionsForTesting(new ArrayList<>( in setupFragment_twoSubscriptionsOneNotProvisionedOnDevice_oneResult()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | DefaultSubscriptionController.java | 28 import com.android.car.developeroptions.network.SubscriptionUtil; 78 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in getAvailabilityStatus() 124 final List<SubscriptionInfo> subs = SubscriptionUtil.getActiveSubscriptions(mManager); in updateEntries()
|
D | MobileNetworkSwitchController.java | 31 import com.android.car.developeroptions.network.SubscriptionUtil; 96 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in update()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MobileNetworkSummaryController.java | 98 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in getSummary() 131 final List<SubscriptionInfo> subs = SubscriptionUtil.getAvailableSubscriptions( in update()
|
D | SubscriptionsPreferenceController.java | 132 for (SubscriptionInfo info : SubscriptionUtil.getActiveSubscriptions(mManager)) { in update() 219 return SubscriptionUtil.getActiveSubscriptions(mManager).size() >= 2; in isAvailable()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettings.java | 38 import com.android.settings.network.SubscriptionUtil; 197 mSil = SubscriptionUtil.getActiveSubscriptions( in updateSubList()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | WifiCallingSettings.java | 39 import com.android.car.developeroptions.network.SubscriptionUtil; 203 mSil = SubscriptionUtil.getActiveSubscriptions( in updateSubList()
|