Lines Matching refs:subId
139 private MmsNetworkManager getNetworkManager(int subId) {
141 MmsNetworkManager manager = mNetworkManagerCache.get(subId);
143 manager = new MmsNetworkManager(this, subId);
144 mNetworkManagerCache.put(subId, manager);
156 private int checkSubId(int subId) {
157 if (!SubscriptionManager.isValidSubscriptionId(subId)) {
158 throw new RuntimeException("Invalid subId " + subId);
160 if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) {
163 return subId;
182 public void sendMessage(int subId, String callingPkg, Uri contentUri,
187 // Make sure the subId is correct
188 subId = checkSubId(subId);
189 final SendRequest request = new SendRequest(MmsService.this, subId, contentUri,
203 public void downloadMessage(int subId, String callingPkg, String locationUrl,
208 // Make sure the subId is correct
209 subId = checkSubId(subId);
210 final DownloadRequest request = new DownloadRequest(MmsService.this, subId,
222 public Bundle getCarrierConfigValues(int subId) {
224 // Make sure the subId is correct
225 subId = checkSubId(subId);
226 final MmsConfig mmsConfig = MmsConfigManager.getInstance().getMmsConfigBySubId(subId);
340 public void sendStoredMessage(int subId, String callingPkg, Uri messageUri,
395 + "current subId=" + mCurrentSubId + ", "
401 + " Request subId=" + request.getSubId() + ","
402 + " current subId=" + mCurrentSubId);
417 Log.d(TAG, "Add request to running queue for subId " + request.getSubId());