Home
last modified time | relevance | path

Searched refs:mSubscriptionId (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DSimCard.java42 private final int mSubscriptionId; field in SimCard
59 mSubscriptionId = other.mSubscriptionId; in SimCard()
74 mSubscriptionId = subscriptionId; in SimCard()
91 return mSubscriptionId; in getSubscriptionId()
95 return mSubscriptionId != NO_SUBSCRIPTION_ID; in hasValidSubscriptionId()
209 return mSubscriptionId == simCard.mSubscriptionId && mDismissed == simCard.mDismissed && in equals()
218 result = 31 * result + mSubscriptionId; in hashCode()
228 ", mSubscriptionId=" + mSubscriptionId + in toString()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java98 private int mSubscriptionId; field in DataUsageSummaryPreferenceController
111 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
113 mDefaultTemplate = DataUsageUtils.getDefaultTemplate(activity, mSubscriptionId); in DataUsageSummaryPreferenceController()
118 && mSubscriptionId != SubscriptionManager.INVALID_SUBSCRIPTION_ID; in DataUsageSummaryPreferenceController()
121 mDataUsageController.setSubscriptionId(mSubscriptionId); in DataUsageSummaryPreferenceController()
162 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
270 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(mSubscriptionId); in refreshDataplanInfo()
273 i -> i.getSubscriptionId() == mSubscriptionId).findFirst().orElse(null); in refreshDataplanInfo()
278 mSubscriptionId); in refreshDataplanInfo()
280 mSubscriptionId); in refreshDataplanInfo()
[all …]
DBillingCyclePreferenceController.java35 private int mSubscriptionId; field in BillingCyclePreferenceController
42 mSubscriptionId = subscriptionId; in init()
61 NetworkTemplate template = DataUsageUtils.getMobileTemplate(mContext, mSubscriptionId); in displayPreference()
63 preference.setTemplate(template, mSubscriptionId, services); in displayPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java99 private int mSubscriptionId; field in DataUsageSummaryPreferenceController
112 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
114 mDefaultTemplate = DataUsageUtils.getDefaultTemplate(activity, mSubscriptionId); in DataUsageSummaryPreferenceController()
119 && mSubscriptionId != SubscriptionManager.INVALID_SUBSCRIPTION_ID; in DataUsageSummaryPreferenceController()
122 mDataUsageController.setSubscriptionId(mSubscriptionId); in DataUsageSummaryPreferenceController()
163 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
271 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(mSubscriptionId); in refreshDataplanInfo()
274 i -> i.getSubscriptionId() == mSubscriptionId).findFirst().orElse(null); in refreshDataplanInfo()
279 mSubscriptionId); in refreshDataplanInfo()
281 mSubscriptionId); in refreshDataplanInfo()
[all …]
DBillingCyclePreferenceController.java35 private int mSubscriptionId; field in BillingCyclePreferenceController
42 mSubscriptionId = subscriptionId; in init()
62 services.mTelephonyManager.getSubscriberId(mSubscriptionId)); in displayPreference()
66 preference.setTemplate(template, mSubscriptionId, services); in displayPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragmentTest.java73 private int mSubscriptionId = 1234; field in RenameMobileNetworkDialogFragmentTest
80 when(mSubscriptionInfo.getSubscriptionId()).thenReturn(mSubscriptionId); in setUp()
83 mFragment = spy(RenameMobileNetworkDialogFragment.newInstance(mSubscriptionId)); in setUp()
89 when(mTelephonyMgr.getServiceStateForSubscriber(mSubscriptionId)).thenReturn(serviceState); in setUp()
102 when(mSubscriptionMgr.getActiveSubscriptionInfo(mSubscriptionId)).thenReturn( in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled()
117 when(mSubscriptionMgr.getActiveSubscriptionInfo(mSubscriptionId)).thenReturn( in dialog_saveButtonClicked_setDisplayNameAndIconTint()
131 verify(mSubscriptionMgr).setDisplayName(captor.capture(), eq(mSubscriptionId), in dialog_saveButtonClicked_setDisplayNameAndIconTint()
135 .setIconTint(eq(Color.parseColor("#ff00796b" /* teal */)), eq(mSubscriptionId)); in dialog_saveButtonClicked_setDisplayNameAndIconTint()
142 when(mSubscriptionMgr.getActiveSubscriptionInfo(mSubscriptionId)).thenReturn( in populateView_infoIsOpportunistic_hideNumberLabel()
DCarrierSettingsVersionPreferenceControllerTest.java41 private int mSubscriptionId = 1234; field in CarrierSettingsVersionPreferenceControllerTest
48 mController.init(mSubscriptionId); in setUp()
55 mCarrierConfigManager.setConfigForSubId(mSubscriptionId, null); in getSummary_nullConfig_noCrash()
61 mCarrierConfigManager.setConfigForSubId(mSubscriptionId, new PersistableBundle()); in getSummary_nullVersionString_noCrash()
70 mCarrierConfigManager.setConfigForSubId(mSubscriptionId, bundle); in getSummary_hasVersionString_correctSummary()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DCarrierSettingsVersionPreferenceController.java28 private int mSubscriptionId; field in CarrierSettingsVersionPreferenceController
34 mSubscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in CarrierSettingsVersionPreferenceController()
38 mSubscriptionId = subscriptionId; in init()
43 final PersistableBundle config = mManager.getConfigForSubId(mSubscriptionId); in getSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DCarrierSettingsVersionPreferenceController.java28 private int mSubscriptionId; field in CarrierSettingsVersionPreferenceController
34 mSubscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in CarrierSettingsVersionPreferenceController()
38 mSubscriptionId = subscriptionId; in init()
43 final PersistableBundle config = mManager.getConfigForSubId(mSubscriptionId); in getSummary()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java93 private int mSubscriptionId; field in SimImportFragment
105 mSubscriptionId = args == null ? SimCard.NO_SUBSCRIPTION_ID : in onCreate()
242 return new SimContactLoader(getContext(), mSubscriptionId); in onCreateLoader()
300 SimImportService.startImport(getContext(), mSubscriptionId, importableContacts, in importCurrentSelections() local
451 private final int mSubscriptionId; field in SimImportFragment.SimContactLoader
457 mSubscriptionId = subscriptionId; in SimContactLoader()
484 final SimCard sim = mDao.getSimBySubscriptionId(mSubscriptionId); in loadFromSim()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java59 final private int mSubscriptionId; field in AccountSelectionUtil.AccountSelectedListener
71 mSubscriptionId = subscriptionId; in AccountSelectedListener()
83 doImport(mActivity, mResId, mAccountList.get(which), mSubscriptionId); in onClick()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DExportDialogFragment.java220 public final int mSubscriptionId; field in ExportDialogFragment.AdapterEntry
225 mSubscriptionId = subId; in AdapterEntry()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java192 private TextView mSubscriptionId; field in RadioInfo
446 mSubscriptionId = (TextView) findViewById(R.id.subid); in onCreate()
986 mSubscriptionId.setText(Integer.toString(mPhone.getSubId())); in updateSubscriptionIds()