/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | EmbmsTestStreamingService.java | 104 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 …]
|
D | FrontendAppIdentifier.java | 21 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()
|
D | EmbmsSampleDownloadService.java | 105 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/ |
D | MobileNetworkActivity.java | 217 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()
|
D | DefaultSubscriptionController.java | 74 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()
|
D | SmsDefaultSubscriptionController.java | 40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument 41 mManager.setDefaultSmsSubId(subscriptionId); in setDefaultSubscription()
|
D | CallsDefaultSubscriptionController.java | 40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument 41 mManager.setDefaultVoiceSubId(subscriptionId); in setDefaultSubscription()
|
D | CarrierSettingsVersionPreferenceController.java | 37 public void init(int subscriptionId) { in init() argument 38 mSubscriptionId = subscriptionId; in init()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkActivity.java | 269 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()
|
D | DefaultSubscriptionController.java | 74 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()
|
D | CallsDefaultSubscriptionController.java | 40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument 41 mManager.setDefaultVoiceSubscriptionId(subscriptionId); in setDefaultSubscription()
|
D | SmsDefaultSubscriptionController.java | 40 protected void setDefaultSubscription(int subscriptionId) { in setDefaultSubscription() argument 41 mManager.setDefaultSmsSubId(subscriptionId); in setDefaultSubscription()
|
D | CarrierSettingsVersionPreferenceController.java | 38 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/ |
D | SimStatusDialogController.java | 294 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/ |
D | AccountSelectionUtil.java | 64 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/ |
D | ShadowSubscriptionManager.java | 87 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/ |
D | DataUsageUtils.java | 48 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/ |
D | FakeSimContactDao.java | 80 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/ |
D | SimImportService.java | 139 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/ |
D | SimStatusDialogController.java | 424 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/ |
D | ResetNetworkSubscriptionPreferenceController.java | 85 int subscriptionId = subscription.getSubscriptionId(); in updateState() local 86 if (subscriptionId == defaultSubscriptionId) { in updateState() 91 subscriptionIds.add(String.valueOf(subscriptionId)); in updateState()
|
D | ResetNetworkConfirmFragment.java | 159 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/ |
D | DataUsageSummaryPreferenceController.java | 104 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/ |
D | SimContactDaoImpl.java | 134 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/ |
D | DataUsageSummaryPreferenceController.java | 107 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()
|