Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/sim/
DSimListDialogFragment.java61 List<SubscriptionInfo> mSubscriptions = new ArrayList<>(); field in SimListDialogFragment
82 mAdapter = new SelectSubscriptionAdapter(builder.getContext(), mSubscriptions); in onCreateDialog()
113 if (selectionIndex >= 0 && selectionIndex < mSubscriptions.size()) { in onClick()
115 final SubscriptionInfo subscription = mSubscriptions.get(selectionIndex); in onClick()
168 if (currentSubscriptions.equals(mSubscriptions)) { in updateDialog()
172 mSubscriptions.clear(); in updateDialog()
173 mSubscriptions.addAll(currentSubscriptions); in updateDialog()
190 List<SubscriptionInfo> mSubscriptions; field in SimListDialogFragment.SelectSubscriptionAdapter
193 mSubscriptions = subscriptions; in SelectSubscriptionAdapter()
199 return mSubscriptions.size(); in getCount()
[all …]
/packages/apps/Settings/src/com/android/settings/
DResetNetwork.java78 private List<SubscriptionInfo> mSubscriptions; field in ResetNetwork
136 if (mSubscriptions != null && mSubscriptions.size() > 0) { in showFinalConfirmation()
138 SubscriptionInfo subscription = mSubscriptions.get(selectedIndex); in showFinalConfirmation()
202 mSubscriptions = subscriptionsList; in establishInitialState()
203 if (mSubscriptions != null && mSubscriptions.size() > 0) { in establishInitialState()
217 int size = mSubscriptions.size(); in establishInitialState()
219 for (SubscriptionInfo record : mSubscriptions) { in establishInitialState()
244 if (mSubscriptions.size() > 1) { in establishInitialState()
290 if ((mSubscriptions != null) in onResume()
291 && (mSubscriptions.size() == updatedSubscriptions.size()) in onResume()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDeleteEuiccSubscriptionSidecar.java36 private List<SubscriptionInfo> mSubscriptions; field in DeleteEuiccSubscriptionSidecar
56 mSubscriptions = new ArrayList<>(subscriptions); in run()
63 && !mSubscriptions.isEmpty()) { in onActionReceived()
72 SubscriptionInfo subscription = mSubscriptions.remove(0); in deleteSubscription()
/packages/modules/StatsD/statsd/src/anomaly/
DAlarmTracker.cpp59 mSubscriptions.push_back(subscription); in addSubscription()
78 if (!mSubscriptions.empty() && in informAlarmsFired()
87 0 /* metricValue N/A */, mConfigKey, mSubscriptions); in informAlarmsFired()
DAnomalyTracker.cpp48 mSubscriptions.clear(); in onConfigUpdated()
234 if (!mSubscriptions.empty()) { in declareAnomaly()
275 triggerSubscribers(mAlert.id(), metric_id, key, metricValue, mConfigKey, mSubscriptions); in informSubscribers()
DAnomalyTracker.h50 mSubscriptions.push_back(subscription); in addSubscription()
162 std::vector<Subscription> mSubscriptions; variable
DAlarmTracker.h64 std::vector<Subscription> mSubscriptions; variable
/packages/apps/Settings/src/com/android/settings/network/helper/
DSelectableSubscriptions.java59 private Supplier<List<SubscriptionInfo>> mSubscriptions; field in SelectableSubscriptions
71 mSubscriptions = disabledSlotsIncluded ? (() -> getAvailableSubInfoList(context)) : in SelectableSubscriptions()
110 List<SubscriptionInfo> subInfoList = mSubscriptions.get(); in call()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimListDialogFragmentTest.java76 assertThat(mFragment.mSubscriptions).hasSize(2); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
116 assertThat(mFragment.mSubscriptions).hasSize(3); in onCreateDialog_twoSubscriptionsAskEveryTime_threeSubsForDisplay()
117 assertThat(mFragment.mSubscriptions.get(0)).isNull(); in onCreateDialog_twoSubscriptionsAskEveryTime_threeSubsForDisplay()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp3866 for (const Subscription& subscription : newAnomalyTrackers[alert1Index]->mSubscriptions) { in TEST_F()
3871 for (const Subscription& subscription : newAnomalyTrackers[alert2Index]->mSubscriptions) { in TEST_F()
3875 EXPECT_THAT(newAnomalyTrackers[alert3Index]->mSubscriptions, IsEmpty()); in TEST_F()
3876 EXPECT_THAT(newAnomalyTrackers[alert4Index]->mSubscriptions, IsEmpty()); in TEST_F()
3935 for (const Subscription& subscription : newAlarmTrackers[0]->mSubscriptions) { in TEST_F()
3940 for (const Subscription& subscription : newAlarmTrackers[1]->mSubscriptions) { in TEST_F()
3944 EXPECT_THAT(newAlarmTrackers[2]->mSubscriptions, IsEmpty()); in TEST_F()