Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/sim/
DSimListDialogFragment.java54 List<SubscriptionInfo> mSubscriptions; field in SimListDialogFragment
68 mSubscriptions = new ArrayList<>(); in onCreateDialog()
73 mAdapter = new SelectSubscriptionAdapter(builder.getContext(), mSubscriptions); in onCreateDialog()
83 if (selectionIndex >= 0 && selectionIndex < mSubscriptions.size()) { in onClick()
85 final SubscriptionInfo subscription = mSubscriptions.get(selectionIndex); in onClick()
113 if (currentSubscriptions.equals(mSubscriptions)) { in updateDialog()
116 mSubscriptions.clear(); in updateDialog()
117 mSubscriptions.addAll(currentSubscriptions); in updateDialog()
134 List<SubscriptionInfo> mSubscriptions; field in SimListDialogFragment.SelectSubscriptionAdapter
137 mSubscriptions = subscriptions; in SelectSubscriptionAdapter()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DResetNetwork.java74 private List<SubscriptionInfo> mSubscriptions; field in ResetNetwork
120 if (mSubscriptions != null && mSubscriptions.size() > 0) { in showFinalConfirmation()
122 SubscriptionInfo subscription = mSubscriptions.get(selectedIndex); in showFinalConfirmation()
167 mSubscriptions = SubscriptionManager.from(getActivity()) in establishInitialState()
169 if (mSubscriptions != null && mSubscriptions.size() > 0) { in establishInitialState()
183 int size = mSubscriptions.size(); in establishInitialState()
185 for (SubscriptionInfo record : mSubscriptions) { in establishInitialState()
208 if (mSubscriptions.size() > 1) { in establishInitialState()
/packages/apps/Settings/src/com/android/settings/
DResetNetwork.java74 private List<SubscriptionInfo> mSubscriptions; field in ResetNetwork
120 if (mSubscriptions != null && mSubscriptions.size() > 0) { in showFinalConfirmation()
122 SubscriptionInfo subscription = mSubscriptions.get(selectedIndex); in showFinalConfirmation()
167 mSubscriptions = SubscriptionManager.from(getActivity()) in establishInitialState()
169 if (mSubscriptions != null && mSubscriptions.size() > 0) { in establishInitialState()
183 int size = mSubscriptions.size(); in establishInitialState()
185 for (SubscriptionInfo record : mSubscriptions) { in establishInitialState()
208 if (mSubscriptions.size() > 1) { in establishInitialState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimListDialogFragmentTest.java71 assertThat(mFragment.mSubscriptions).hasSize(2); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
107 assertThat(mFragment.mSubscriptions).hasSize(3); in onCreateDialog_twoSubscriptionsAskEveryTime_threeSubsForDisplay()
108 assertThat(mFragment.mSubscriptions.get(0)).isNull(); in onCreateDialog_twoSubscriptionsAskEveryTime_threeSubsForDisplay()