/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
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 | 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 | 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/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 108 Lifecycle lifecycle, PreferenceFragmentCompat fragment, int subscriptionId) { in DataUsageSummaryPreferenceController() argument 113 init(subscriptionId); in DataUsageSummaryPreferenceController() 120 public void init(int subscriptionId) { in init() argument 121 mSubId = subscriptionId; in init() 127 int subscriptionId, SubscriptionInfo subInfo) { in updateConfiguration() argument 133 mDataUsageController.setSubscriptionId(subscriptionId); in updateConfiguration() 138 mDefaultTemplate = DataUsageLib.getMobileTemplate(context, subscriptionId); in updateConfiguration() 145 mDefaultTemplate = DataUsageUtils.getDefaultTemplate(context, subscriptionId); in updateConfiguration() 160 int subscriptionId) { in DataUsageSummaryPreferenceController() argument 171 mSubId = subscriptionId; in DataUsageSummaryPreferenceController() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimPhonebookProvider.java | 309 result, getActiveSubscriptionInfo(args.subscriptionId), args.efType); in queryElementaryFilesItem() 378 row.second.add(args.subscriptionId); in querySimRecords() 421 .add(SimRecords.SUBSCRIPTION_ID, args.subscriptionId) in querySimRecordsItem() 506 return SimRecords.getItemUri(args.subscriptionId, args.efType, emptyRecord.getRecId()); in insertSimRecord() 609 args.subscriptionId != SubscriptionManager.INVALID_SUBSCRIPTION_ID in validateSubscriptionAndEf() 610 ? getActiveSubscriptionInfo(args.subscriptionId) in validateSubscriptionAndEf() 614 + args.subscriptionId); in validateSubscriptionAndEf() 620 + " is not supported for SIM with subscription ID " + args.subscriptionId); in validateSubscriptionAndEf() 660 || telephonyManager.hasCarrierPrivileges(args.subscriptionId); in hasPermissionsForFdnWrite() 672 args.subscriptionId, existingRecord.getEfid(), values, in updateRecord() [all …]
|
D | CarrierConfigLoader.java | 1196 public PersistableBundle getConfigForSubId(int subscriptionId, String callingPackage) { in getConfigForSubId() argument 1197 return getConfigForSubIdWithFeature(subscriptionId, callingPackage, null); in getConfigForSubId() 1202 public PersistableBundle getConfigForSubIdWithFeature(int subscriptionId, String callingPackage, in getConfigForSubIdWithFeature() argument 1204 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subscriptionId, in getConfigForSubIdWithFeature() 1209 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in getConfigForSubIdWithFeature() 1245 public void overrideConfig(int subscriptionId, @Nullable PersistableBundle overrides, in overrideConfig() argument 1250 int phoneId = SubscriptionManager.getPhoneId(subscriptionId); in overrideConfig() 1252 logd("Ignore invalid phoneId: " + phoneId + " for subId: " + subscriptionId); in overrideConfig() 1254 "Invalid phoneId " + phoneId + " for subId " + subscriptionId); in overrideConfig() 1293 public void notifyConfigChangedForSubId(int subscriptionId) { in notifyConfigChangedForSubId() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | BackupCallingPreferenceController.java | 150 private boolean hasBackupCallingFeature(int subscriptionId) { in hasBackupCallingFeature() argument 151 return isCrossSimEnabledByPlatform(mContext, subscriptionId); in hasBackupCallingFeature() 154 protected boolean isCrossSimEnabledByPlatform(Context context, int subscriptionId) { in isCrossSimEnabledByPlatform() argument 157 if ((new WifiCallingQueryImsState(context, subscriptionId)).isWifiCallingSupported()) { in isCrossSimEnabledByPlatform() 158 PersistableBundle bundle = getCarrierConfigForSubId(subscriptionId); in isCrossSimEnabledByPlatform() 163 Log.d(LOG_TAG, "Not supported by framework. subId = " + subscriptionId); in isCrossSimEnabledByPlatform()
|
D | NetworkProviderBackupCallingGroup.java | 235 protected boolean hasBackupCallingFeature(int subscriptionId) { in hasBackupCallingFeature() argument 236 return isCrossSimEnabledByPlatform(mContext, subscriptionId); in hasBackupCallingFeature() 243 protected boolean isCrossSimEnabledByPlatform(Context context, int subscriptionId) { in isCrossSimEnabledByPlatform() argument 246 if ((new WifiCallingQueryImsState(context, subscriptionId)).isWifiCallingSupported()) { in isCrossSimEnabledByPlatform() 247 PersistableBundle bundle = getCarrierConfigForSubId(subscriptionId); in isCrossSimEnabledByPlatform() 252 Log.d(TAG, "WifiCalling is not supported by framework. subId = " + subscriptionId); in isCrossSimEnabledByPlatform()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | NetworkProviderDownloadedSimListControllerTest.java | 112 public void setDefaultVoiceSubscriptionId(int subscriptionId) { in setDefaultVoiceSubscriptionId() argument 113 mDefaultVoiceSubscriptionId = subscriptionId; in setDefaultVoiceSubscriptionId() 116 public void setDefaultSmsSubscriptionId(int subscriptionId) { in setDefaultSmsSubscriptionId() argument 117 mDefaultSmsSubscriptionId = subscriptionId; in setDefaultSmsSubscriptionId() 120 public void setDefaultDataSubscriptionId(int subscriptionId) { in setDefaultDataSubscriptionId() argument 121 mDefaultDataSubscriptionId = subscriptionId; in setDefaultDataSubscriptionId()
|
D | NetworkProviderSimListControllerTest.java | 107 public void setDefaultVoiceSubscriptionId(int subscriptionId) { in setDefaultVoiceSubscriptionId() argument 108 mDefaultVoiceSubscriptionId = subscriptionId; in setDefaultVoiceSubscriptionId() 111 public void setDefaultSmsSubscriptionId(int subscriptionId) { in setDefaultSmsSubscriptionId() argument 112 mDefaultSmsSubscriptionId = subscriptionId; in setDefaultSmsSubscriptionId() 115 public void setDefaultDataSubscriptionId(int subscriptionId) { in setDefaultDataSubscriptionId() argument 116 mDefaultDataSubscriptionId = subscriptionId; in setDefaultDataSubscriptionId()
|
/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/modules/StatsD/statsd/src/external/ |
D | Perfetto.cpp | 48 char subscriptionId[25]; in CollectPerfettoTraceAndUploadToDropbox() local 52 snprintf(subscriptionId, sizeof(subscriptionId), "%" PRId64, subscription_id); in CollectPerfettoTraceAndUploadToDropbox() 96 configUid, "--subscription-id", subscriptionId, nullptr); in CollectPerfettoTraceAndUploadToDropbox()
|
/packages/services/Telephony/src/com/android/phone/callcomposer/ |
D | CallComposerPictureManager.java | 57 public static CallComposerPictureManager getInstance(Context context, int subscriptionId) { in getInstance() argument 62 if (!sInstances.contains(subscriptionId)) { in getInstance() 63 sInstances.put(subscriptionId, in getInstance() 64 new CallComposerPictureManager(context, subscriptionId)); in getInstance() 66 return sInstances.get(subscriptionId); in getInstance() 114 private CallComposerPictureManager(Context context, int subscriptionId) { in CallComposerPictureManager() argument 116 mSubscriptionId = subscriptionId; in CallComposerPictureManager()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 513 public @NonNull Builder setSubscriptionId(int subscriptionId) { in setSubscriptionId() argument 517 if (subscriptionId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in setSubscriptionId() 520 mSubscriptionId = subscriptionId; in setSubscriptionId() 978 wifiConfiguration.subscriptionId = mSubscriptionId; in buildWifiConfiguration() 1010 wifiConfiguration.subscriptionId = mSubscriptionId; in buildWifiConfigurationForPasspoint() 1288 wifiConfiguration.subscriptionId, wifiConfiguration.carrierId); in hashCode() 1311 && this.wifiConfiguration.subscriptionId == lhs.wifiConfiguration.subscriptionId; in equals() 1337 .append(", subscriptionId=").append(wifiConfiguration.subscriptionId) in toString() 1515 return wifiConfiguration.subscriptionId; in getSubscriptionId()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageUtils.java | 51 int subscriptionId) { in getMobileNetworkTemplate() argument 53 telephonyManager.getSubscriberId(subscriptionId)); in getMobileNetworkTemplate() 108 int subscriptionId) { in getPrimaryPlan() argument 109 List<SubscriptionPlan> plans = subManager.getSubscriptionPlans(subscriptionId); in getPrimaryPlan()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | NonCarrierMergedNetworksStatusTracker.java | 59 public void disableAllNonCarrierMergedNetworks(int subscriptionId, long minDisableDurationMs, in disableAllNonCarrierMergedNetworks() argument 61 mSubscriptionId = subscriptionId; in disableAllNonCarrierMergedNetworks() 112 if (config.carrierMerged && config.subscriptionId == mSubscriptionId) { in isNetworkDisabled()
|
D | NetworkSuggestionNominator.java | 299 if (!mWifiCarrierInfoManager.isSimReady(config.subscriptionId)) { in isCarrierNetworkAvailableToAutoConnect() 300 mLocalLog.log("SIM is not present for subId: " + config.subscriptionId); in isCarrierNetworkAvailableToAutoConnect() 310 .isCarrierNetworkOffloadEnabled(config.subscriptionId, config.carrierMerged)) { in isCarrierNetworkAvailableToAutoConnect() 313 + " network from subId: " + config.subscriptionId); in isCarrierNetworkAvailableToAutoConnect() 324 int subId = config.subscriptionId; in isSimBasedNetworkAvailableToAutoConnect()
|
/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/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/registration/ |
D | RegistrationControllerImpl.java | 68 private final int subscriptionId; field in RegistrationControllerImpl 73 public RegistrationControllerImpl(int subscriptionId, Executor executor, in RegistrationControllerImpl() argument 75 this.subscriptionId = subscriptionId; in RegistrationControllerImpl() 77 this.sipDelegateManager = imsManager.getSipDelegateManager(subscriptionId); in RegistrationControllerImpl()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneStateBroadcaster.java | 145 int subscriptionId = tm.getSubscriptionId(call.getTargetPhoneAccount()); in sendOutgoingEmergencyCallEvent() local 151 subscriptionManager.getActiveSubscriptionInfo(subscriptionId); in sendOutgoingEmergencyCallEvent() 159 simSlotIndex, subscriptionId, emergencyNumber.get()); in sendOutgoingEmergencyCallEvent()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | ResetNetworkSubscriptionPreferenceController.java | 84 int subscriptionId = subscription.getSubscriptionId(); in updateState() local 85 if (subscriptionId == defaultSubscriptionId) { in updateState() 90 subscriptionIds.add(String.valueOf(subscriptionId)); in updateState()
|
/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NonCarrierMergedNetworksStatusTrackerTest.java | 104 testConfig.subscriptionId = INVALID_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() 109 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled() 114 testConfig.subscriptionId = TEST_SUBSCRIPTION_ID; in testCarrierMergedNetworkWithMatchingSubscriptionIdIsEnabled()
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsCompanion.java | 152 public void sendSubscriberBroadcast(long configUid, long configId, long subscriptionId, in sendSubscriberBroadcast() argument 161 .putExtra(StatsManager.EXTRA_STATS_SUBSCRIPTION_ID, subscriptionId) in sendSubscriberBroadcast() 175 configUid, configId, subscriptionId, subscriptionRuleId, in sendSubscriberBroadcast()
|