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/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/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java102 private int mSubscriptionId; field in DataUsageSummaryPreferenceController
115 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
117 mDefaultTemplate = DataUsageUtils.getDefaultTemplate(activity, mSubscriptionId); in DataUsageSummaryPreferenceController()
121 mHasMobileData = SubscriptionManager.isValidSubscriptionId(mSubscriptionId) in DataUsageSummaryPreferenceController()
125 mDataUsageController.setSubscriptionId(mSubscriptionId); in DataUsageSummaryPreferenceController()
166 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
277 .getAccessibleSubscriptionInfo(mSubscriptionId); in refreshDataplanInfo()
281 mSubscriptionId); in refreshDataplanInfo()
283 mSubscriptionId); in refreshDataplanInfo()
302 mManageSubscriptionIntent = createManageSubscriptionIntent(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/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
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()
DRenameMobileNetworkDialogFragmentTest.java81 private int mSubscriptionId = 1234; field in RenameMobileNetworkDialogFragmentTest
92 stm.setTelephonyManagerForSubscriptionId(mSubscriptionId, mTelephonyMgr); in setUp()
98 when(mSubscriptionInfo.getSubscriptionId()).thenReturn(mSubscriptionId); in setUp()
104 mFragment = spy(RenameMobileNetworkDialogFragment.newInstance(mSubscriptionId)); in setUp()
147 verify(mSubscriptionMgr).setDisplayName(captor.capture(), eq(mSubscriptionId), in dialog_saveButtonClicked_setDisplayNameAndIconTint()
151 .setIconTint(eq(Color.parseColor("#ff00796b" /* teal */)), eq(mSubscriptionId)); in dialog_saveButtonClicked_setDisplayNameAndIconTint()
/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/Settings/src/com/android/settings/network/telephony/
DCarrierSettingsVersionPreferenceController.java29 private int mSubscriptionId; field in CarrierSettingsVersionPreferenceController
35 mSubscriptionId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in CarrierSettingsVersionPreferenceController()
39 mSubscriptionId = subscriptionId; in init()
44 final PersistableBundle config = mManager.getConfigForSubId(mSubscriptionId); in getSummary()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java94 private int mSubscriptionId; field in SimImportFragment
106 mSubscriptionId = args == null ? SimCard.NO_SUBSCRIPTION_ID : in onCreate()
243 return new SimContactLoader(getContext(), mSubscriptionId); in onCreateLoader()
301 SimImportService.startImport(getContext(), mSubscriptionId, importableContacts, in importCurrentSelections() local
452 private final int mSubscriptionId; field in SimImportFragment.SimContactLoader
458 mSubscriptionId = subscriptionId; in SimContactLoader()
485 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/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java222 private TextView mSubscriptionId; field in RadioInfo
489 mSubscriptionId = (TextView) findViewById(R.id.subid); in onCreate()
1070 mSubscriptionId.setText(Integer.toString(mPhone.getSubId())); in updateSubscriptionIds()