Home
last modified time | relevance | path

Searched refs:subscriptionId (Results 1 – 25 of 50) sorted by relevance

12

/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DEmbmsTestStreamingService.java104 public int requestUpdateStreamingServices(int subscriptionId, List<String> serviceClasses) {
106 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId);
124 public int startStreaming(int subscriptionId, String serviceId,
127 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId);
144 public Uri getPlaybackUri(int subscriptionId, String serviceId) {
146 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId);
158 public void stopStreaming(int subscriptionId, String serviceId) {
160 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId);
170 public void dispose(int subscriptionId) {
172 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId);
[all …]
DFrontendAppIdentifier.java21 private final int subscriptionId; field in FrontendAppIdentifier
23 public FrontendAppIdentifier(int uid, int subscriptionId) { in FrontendAppIdentifier() argument
25 this.subscriptionId = subscriptionId; in FrontendAppIdentifier()
33 return subscriptionId; in getSubscriptionId()
50 return this.subscriptionId == that.subscriptionId; in equals()
56 result = 31 * result + subscriptionId; in hashCode()
DEmbmsSampleDownloadService.java105 public int requestUpdateFileServices(int subscriptionId,
108 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId);
123 public int setTempFileRootDirectory(int subscriptionId,
126 new FrontendAppIdentifier(Binder.getCallingUid(), subscriptionId);
174 public void onAppCallbackDied(int uid, int subscriptionId) {
175 FrontendAppIdentifier appKey = new FrontendAppIdentifier(uid, subscriptionId);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkActivity.java217 void switchFragment(Fragment fragment, int subscriptionId) { in switchFragment() argument
218 switchFragment(fragment, subscriptionId, false /* forceUpdate */); in switchFragment()
222 void switchFragment(Fragment fragment, int subscriptionId, boolean forceUpdate) { in switchFragment() argument
223 if (mCurSubscriptionId != SUB_ID_NULL && subscriptionId == mCurSubscriptionId in switchFragment()
230 bundle.putInt(Settings.EXTRA_SUB_ID, subscriptionId); in switchFragment()
234 buildFragmentTag(subscriptionId)); in switchFragment()
236 mCurSubscriptionId = subscriptionId; in switchFragment()
239 private String buildFragmentTag(int subscriptionId) { in buildFragmentTag() argument
240 return MOBILE_SETTINGS_TAG + subscriptionId; in buildFragmentTag()
DDefaultSubscriptionController.java74 protected abstract void setDefaultSubscription(int subscriptionId); in setDefaultSubscription() argument
161 final int subscriptionId = Integer.parseInt((String) newValue); in onPreferenceChange() local
162 setDefaultSubscription(subscriptionId); in onPreferenceChange()
DSmsDefaultSubscriptionController.java40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument
41 mManager.setDefaultSmsSubId(subscriptionId); in setDefaultSubscription()
DCallsDefaultSubscriptionController.java40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument
41 mManager.setDefaultVoiceSubId(subscriptionId); in setDefaultSubscription()
DCarrierSettingsVersionPreferenceController.java37 public void init(int subscriptionId) { in init() argument
38 mSubscriptionId = subscriptionId; in init()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java269 void switchFragment(Fragment fragment, int subscriptionId) { in switchFragment() argument
270 switchFragment(fragment, subscriptionId, false /* forceUpdate */); in switchFragment()
274 void switchFragment(Fragment fragment, int subscriptionId, boolean forceUpdate) { in switchFragment() argument
275 if (mCurSubscriptionId != SUB_ID_NULL && subscriptionId == mCurSubscriptionId in switchFragment()
282 bundle.putInt(Settings.EXTRA_SUB_ID, subscriptionId); in switchFragment()
286 buildFragmentTag(subscriptionId)); in switchFragment()
288 mCurSubscriptionId = subscriptionId; in switchFragment()
292 private String buildFragmentTag(int subscriptionId) { in buildFragmentTag() argument
293 return MOBILE_SETTINGS_TAG + subscriptionId; in buildFragmentTag()
DDefaultSubscriptionController.java74 protected abstract void setDefaultSubscription(int subscriptionId); in setDefaultSubscription() argument
166 final int subscriptionId = Integer.parseInt((String) newValue); in onPreferenceChange() local
167 setDefaultSubscription(subscriptionId); in onPreferenceChange()
DCallsDefaultSubscriptionController.java40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument
41 mManager.setDefaultVoiceSubscriptionId(subscriptionId); in setDefaultSubscription()
DSmsDefaultSubscriptionController.java40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument
41 mManager.setDefaultSmsSubId(subscriptionId); in setDefaultSubscription()
DCarrierSettingsVersionPreferenceController.java38 public void init(int subscriptionId) { in init() argument
39 mSubscriptionId = subscriptionId; in init()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogController.java294 final int subscriptionId = mSubscriptionInfo.getSubscriptionId(); in updateSignalStrength() local
296 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateSignalStrength()
376 final int subscriptionId = mSubscriptionInfo.getSubscriptionId(); in updateIccidNumber() local
378 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateIccidNumber()
389 mDialog.setText(ICCID_INFO_VALUE_ID, getSimSerialNumber(subscriptionId)); in updateIccidNumber()
402 final int subscriptionId = mSubscriptionInfo.getSubscriptionId(); in updateImsRegistrationState() local
404 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateImsRegistrationState()
408 final boolean isImsRegistered = mTelephonyManager.isImsRegistered(subscriptionId); in updateImsRegistrationState()
477 String getSimSerialNumber(int subscriptionId) {
478 return mTelephonyManager.getSimSerialNumber(subscriptionId);
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java64 int resId, int subscriptionId) { in AccountSelectedListener() argument
71 mSubscriptionId = subscriptionId; in AccountSelectedListener()
158 int subscriptionId) { in doImport() argument
160 doImportFromSim(activity, account, subscriptionId); in doImport()
167 int subscriptionId) { in doImportFromSim() argument
175 importIntent.putExtra("subscription_id", (Integer) subscriptionId); in doImportFromSim()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowSubscriptionManager.java87 protected boolean isActiveSubscriptionId(int subscriptionId) { in isActiveSubscriptionId() argument
88 return mCurrentActiveSubscriptionId == subscriptionId; in isActiveSubscriptionId()
91 public void setCurrentActiveSubscriptionId(int subscriptionId) { in setCurrentActiveSubscriptionId() argument
92 mCurrentActiveSubscriptionId = subscriptionId; in setCurrentActiveSubscriptionId()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageUtils.java48 int subscriptionId) { in getMobileNetworkTemplate() argument
50 telephonyManager.getSubscriberId(subscriptionId)); in getMobileNetworkTemplate()
90 int subscriptionId) { in getPrimaryPlan() argument
91 List<SubscriptionPlan> plans = subManager.getSubscriptionPlans(subscriptionId); in getPrimaryPlan()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DFakeSimContactDao.java80 public SimCard getSimBySubscriptionId(int subscriptionId) { in getSimBySubscriptionId() argument
81 if (subscriptionId == SimCard.NO_SUBSCRIPTION_ID) { in getSimBySubscriptionId()
85 if (sim.getSubscriptionId() == subscriptionId) { in getSimBySubscriptionId()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java139 public static void startImport(Context context, int subscriptionId, in startImport() argument
143 .putExtra(EXTRA_SIM_SUBSCRIPTION_ID, subscriptionId) in startImport()
179 final int subscriptionId = intent.getIntExtra(EXTRA_SIM_SUBSCRIPTION_ID, in createTaskForIntent() local
182 final SimCard sim = dao.getSimBySubscriptionId(subscriptionId); in createTaskForIntent()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java424 final int subscriptionId = mSubscriptionInfo.getSubscriptionId(); in updateSignalStrength() local
426 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateSignalStrength()
526 final int subscriptionId = mSubscriptionInfo.getSubscriptionId(); in updateIccidNumber() local
528 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateIccidNumber()
587 final int subscriptionId = mSubscriptionInfo.getSubscriptionId(); in isImsRegistrationStateShowUp() local
589 mCarrierConfigManager.getConfigForSubId(subscriptionId); in isImsRegistrationStateShowUp()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceController.java85 int subscriptionId = subscription.getSubscriptionId(); in updateState() local
86 if (subscriptionId == defaultSubscriptionId) { in updateState()
91 subscriptionIds.add(String.valueOf(subscriptionId)); in updateState()
DResetNetworkConfirmFragment.java159 private void restoreDefaultApn(Context context, int subscriptionId) { in restoreDefaultApn() argument
162 if (SubscriptionManager.isUsableSubIdValue(subscriptionId)) { in restoreDefaultApn()
163 uri = Uri.withAppendedPath(uri, "subId/" + subscriptionId); in restoreDefaultApn()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java104 Lifecycle lifecycle, PreferenceFragmentCompat fragment, int subscriptionId) { in DataUsageSummaryPreferenceController() argument
112 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
150 int subscriptionId) { in DataUsageSummaryPreferenceController() argument
163 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java134 public ArrayList<SimContact> loadSimContacts(int subscriptionId) { in loadSimContacts() argument
137 .appendPath(String.valueOf(subscriptionId)) in loadSimContacts()
171 public SimCard getSimBySubscriptionId(int subscriptionId) { in getSimBySubscriptionId() argument
173 if (subscriptionId == SimCard.NO_SUBSCRIPTION_ID && !sims.isEmpty()) { in getSimBySubscriptionId()
177 if (sim.getSubscriptionId() == subscriptionId) { in getSimBySubscriptionId()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceController.java107 Lifecycle lifecycle, PreferenceFragmentCompat fragment, int subscriptionId) { in DataUsageSummaryPreferenceController() argument
115 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()
153 int subscriptionId) { in DataUsageSummaryPreferenceController() argument
166 mSubscriptionId = subscriptionId; in DataUsageSummaryPreferenceController()

12