/frameworks/base/telephony/java/android/telephony/ |
D | ImsManager.java | 120 public ImsRcsManager getImsRcsManager(int subscriptionId) { in getImsRcsManager() argument 121 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getImsRcsManager() 122 throw new IllegalArgumentException("Invalid subscription ID: " + subscriptionId); in getImsRcsManager() 125 return new ImsRcsManager(mContext, subscriptionId, sRcsCache, sTelephonyCache); in getImsRcsManager() 136 public ImsMmTelManager getImsMmTelManager(int subscriptionId) { in getImsMmTelManager() argument 137 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getImsMmTelManager() 138 throw new IllegalArgumentException("Invalid subscription ID: " + subscriptionId); in getImsMmTelManager() 141 return new ImsMmTelManager(mContext, subscriptionId, sTelephonyCache); in getImsMmTelManager() 158 public SipDelegateManager getSipDelegateManager(int subscriptionId) { in getSipDelegateManager() argument 159 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getSipDelegateManager() [all …]
|
D | SubscriptionManager.java | 286 public static Uri getUriForSubscriptionId(int subscriptionId) { in getUriForSubscriptionId() argument 287 return Uri.withAppendedPath(CONTENT_URI, String.valueOf(subscriptionId)); in getUriForSubscriptionId() 2126 public static int getSlotIndex(int subscriptionId) { in getSlotIndex() argument 2127 return sSlotIndexCache.query(subscriptionId); in getSlotIndex() 2227 public void setDefaultVoiceSubscriptionId(int subscriptionId) { in setDefaultVoiceSubscriptionId() argument 2228 if (VDBG) logd("setDefaultVoiceSubId sub id = " + subscriptionId); in setDefaultVoiceSubscriptionId() 2232 iSub.setDefaultVoiceSubId(subscriptionId); in setDefaultVoiceSubscriptionId() 2289 public void setDefaultSmsSubId(int subscriptionId) { in setDefaultSmsSubId() argument 2290 if (VDBG) logd("setDefaultSmsSubId sub id = " + subscriptionId); in setDefaultSmsSubId() 2294 iSub.setDefaultSmsSubId(subscriptionId); in setDefaultSmsSubId() [all …]
|
D | TelephonyLocalConnection.java | 29 String getCallComposerServerUrlForHandle(int subscriptionId, UUID uuid); in getCallComposerServerUrlForHandle() argument 33 public static String getCallComposerServerUrlForHandle(int subscriptionId, UUID uuid) { in getCallComposerServerUrlForHandle() argument 35 return sInstance.getCallComposerServerUrlForHandle(subscriptionId, uuid); in getCallComposerServerUrlForHandle()
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | MbmsStreamingServiceBase.java | 56 public int initialize(MbmsStreamingSessionCallback callback, int subscriptionId) in initialize() argument 67 final int subscriptionId) throws RemoteException { in initialize() argument 84 onAppCallbackDied(uid, subscriptionId); in initialize() 93 onAppCallbackDied(uid, subscriptionId); in initialize() 102 onAppCallbackDied(uid, subscriptionId); in initialize() 105 }, subscriptionId); in initialize() 111 onAppCallbackDied(uid, subscriptionId); in initialize() 138 public int requestUpdateStreamingServices(int subscriptionId, in requestUpdateStreamingServices() argument 155 public int startStreaming(int subscriptionId, String serviceId, in startStreaming() argument 166 public int startStreaming(final int subscriptionId, String serviceId, in startStreaming() argument [all …]
|
D | MbmsGroupCallServiceBase.java | 47 final int subscriptionId) throws RemoteException { 65 onAppCallbackDied(uid, subscriptionId); 75 onAppCallbackDied(uid, subscriptionId); 85 onAppCallbackDied(uid, subscriptionId); 94 onAppCallbackDied(uid, subscriptionId); 97 }, subscriptionId); 103 onAppCallbackDied(uid, subscriptionId); 117 public void updateGroupCall(int subscriptionId, long tmgi, List saiList, 120 subscriptionId, tmgi, saiList, frequencyList); 124 public int startGroupCall(final int subscriptionId, final long tmgi, [all …]
|
D | MbmsDownloadServiceBase.java | 109 public int initialize(int subscriptionId, MbmsDownloadSessionCallback callback) in initialize() argument 119 public final int initialize(final int subscriptionId, in initialize() argument 127 int result = initialize(subscriptionId, new MbmsDownloadSessionCallback() { in initialize() 137 onAppCallbackDied(uid, subscriptionId); in initialize() 146 onAppCallbackDied(uid, subscriptionId); in initialize() 155 onAppCallbackDied(uid, subscriptionId); in initialize() 164 onAppCallbackDied(uid, subscriptionId); in initialize() 190 public int requestUpdateFileServices(int subscriptionId, List<String> serviceClasses) in requestUpdateFileServices() argument 211 public int setTempFileRootDirectory(int subscriptionId, in setTempFileRootDirectory() argument 234 int subscriptionId, @NonNull byte[] contents) { in addServiceAnnouncement() argument [all …]
|
D | IMbmsGroupCallService.aidl | 33 void updateGroupCall(int subscriptionId, long tmgi, in List saiList, in updateGroupCall() argument 37 int startGroupCall(int subscriptionId, long tmgi, in List saiList, in startGroupCall() argument
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | DownloadRequest.java | 65 private int subscriptionId; field in DownloadRequest.SerializationDataContainer 75 subscriptionId = request.subscriptionId; in SerializationDataContainer() 86 objectOutput.write(subscriptionId); in writeExternal() 96 subscriptionId = objectInput.read(); in readExternal() 106 private int subscriptionId; field in DownloadRequest.Builder 120 .setSubscriptionId(other.subscriptionId); in fromDownloadRequest() 143 builder.subscriptionId = dataContainer.subscriptionId; in fromSerializedRequest() 197 public Builder setSubscriptionId(int subscriptionId) { in setSubscriptionId() argument 198 this.subscriptionId = subscriptionId; in setSubscriptionId() 221 subscriptionId, appIntent, version); in build() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SimPhonebookContract.java | 280 public static Uri getContentUri(int subscriptionId, @ElementaryFiles.EfType int efType) { in getContentUri() argument 281 return buildContentUri(subscriptionId, efType).build(); in getContentUri() 312 int subscriptionId, @ElementaryFiles.EfType int efType, in getItemUri() argument 317 return buildContentUri(subscriptionId, efType) in getItemUri() 355 int subscriptionId, @ElementaryFiles.EfType int efType) { in buildContentUri() argument 359 .appendPath(String.valueOf(subscriptionId)) in buildContentUri() 497 public static Uri getItemUri(int subscriptionId, @EfType int efType) { in getItemUri() argument 499 .appendPath(String.valueOf(subscriptionId)) in getItemUri()
|
/frameworks/av/drm/common/ |
D | DrmRights.cpp | 23 const String8& accountId, const String8& subscriptionId) : in DrmRights() argument 26 mSubscriptionId(subscriptionId), in DrmRights() 36 const String8& accountId, const String8& subscriptionId) : in DrmRights() argument 40 mSubscriptionId(subscriptionId), in DrmRights()
|
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/ |
D | IEuiccController.aidl | 42 oneway void deleteSubscription(int cardId, int subscriptionId, String callingPackage, in deleteSubscription() argument 44 oneway void switchToSubscription(int cardId, int subscriptionId, String callingPackage, in switchToSubscription() argument 46 oneway void switchToSubscriptionWithPort(int cardId, int subscriptionId, int portIndex, in switchToSubscriptionWithPort() argument 48 oneway void updateSubscriptionNickname(int cardId, int subscriptionId, String nickname, in updateSubscriptionNickname() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 77 public void setSubscriptionId(int subscriptionId) { in setSubscriptionId() argument 78 mSubscriptionId = subscriptionId; in setSubscriptionId() 196 int subscriptionId = mSubscriptionId; in getTelephonyManager() local 199 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getTelephonyManager() 200 subscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); in getTelephonyManager() 204 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getTelephonyManager() 207 subscriptionId = activeSubIds[0]; in getTelephonyManager() 212 TelephonyManager.class).createForSubscriptionId(subscriptionId); in getTelephonyManager()
|
D | SignalStrengthUtil.java | 31 public static boolean shouldInflateSignalStrength(Context context, int subscriptionId) { in shouldInflateSignalStrength() argument 36 bundle = carrierConfigMgr.getConfigForSubId(subscriptionId); in shouldInflateSignalStrength()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionsRepository.kt | 86 val currentValidSubscriptionIds = newInfos.map { it.subscriptionId } in <lambda>() 96 SubscriptionModel(subscriptionId = subId, isOpportunistic = false).also { in <lambda>() 109 infos.firstOrNull()?.subscriptionId ?: INVALID_SUBSCRIPTION_ID in <lambda>() 114 subscriptions.value.firstOrNull()?.subscriptionId ?: INVALID_SUBSCRIPTION_ID in <lambda>() 250 if (carrierMergedSubId != event.subscriptionId) { in <lambda>() 255 val subId = event.subscriptionId in <lambda>() 288 _subscriptions.value[0].subscriptionId in <lambda>() 311 _subscriptions.value = currentSubscriptions.filter { it.subscriptionId != subId } in <lambda>() 315 _subscriptions.value.joinToString(",") { it.subscriptionId.toString() } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepositoryTest.kt | 61 whenever(telephonyManager.subscriptionId).thenReturn(SUB_ID) in setUp() 126 subscriptionId = SUB_ID, in carrierMergedWifi_isValidAndFieldsComeFromWifiNetwork() 147 subscriptionId = SUB_ID, in activity_comesFromWifiActivity() 185 subscriptionId = SUB_ID + 10, in carrierMergedWifi_wrongSubId_isDefault() 207 subscriptionId = SUB_ID, in carrierMergedButNotEnabled_isDefault() 228 subscriptionId = SUB_ID, in carrierMergedButWifiNotDefault_isDefault() 248 subscriptionId = SUB_ID, in numberOfLevels_comesFromCarrierMerged() 312 subscriptionId = SUB_ID, in networkName_updatesOnNetworkUpdate()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 953 public void deleteSubscription(int cardId, int subscriptionId, String callingPackage, in deleteSubscription() argument 960 SubscriptionInfo sub = getSubscriptionForSubscriptionId(subscriptionId); in deleteSubscription() 962 Log.e(TAG, "Cannot delete nonexistent subscription: " + subscriptionId); in deleteSubscription() 972 Log.e(TAG, "No permissions: " + subscriptionId); in deleteSubscription() 1016 public void switchToSubscription(int cardId, int subscriptionId, String callingPackage, in switchToSubscription() argument 1019 switchToSubscription(cardId, subscriptionId, 0, false /* forceDeactivateSim */, in switchToSubscription() 1024 public void switchToSubscriptionWithPort(int cardId, int subscriptionId, int portIndex, in switchToSubscriptionWithPort() argument 1026 switchToSubscription(cardId, subscriptionId, portIndex, false /* forceDeactivateSim */, in switchToSubscriptionWithPort() 1030 void switchToSubscription(int cardId, int subscriptionId, int portIndex, in switchToSubscription() argument 1039 Log.d(TAG, " subId: " + subscriptionId + " portIndex: " + portIndex in switchToSubscription() [all …]
|
D | EuiccOperation.java | 192 static EuiccOperation forSwitchDeactivateSim(long callingToken, int subscriptionId, in forSwitchDeactivateSim() argument 195 null /* downloadableSubscription */, subscriptionId, in forSwitchDeactivateSim() 199 static EuiccOperation forSwitchNoPrivileges(long callingToken, int subscriptionId, in forSwitchNoPrivileges() argument 202 null /* downloadableSubscription */, subscriptionId, in forSwitchNoPrivileges() 209 int subscriptionId, in EuiccOperation() argument 216 mSubscriptionId = subscriptionId; in EuiccOperation() 225 int subscriptionId, in EuiccOperation() argument 231 mSubscriptionId = subscriptionId; in EuiccOperation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/ |
D | WifiNetworkModel.kt | 141 val subscriptionId: Int, constant in com.android.systemui.statusbar.pipeline.wifi.shared.model.WifiNetworkModel.CarrierMerged 153 require(subscriptionId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in <lambda>() 167 if (prevVal.subscriptionId != subscriptionId) { in logDiffs() 168 row.logChange(COL_SUB_ID, subscriptionId) in logDiffs() 181 row.logChange(COL_SUB_ID, subscriptionId) in logFull()
|
/frameworks/base/drm/java/android/drm/ |
D | ProcessedData.java | 52 /* package */ ProcessedData(byte[] data, String accountId, String subscriptionId) { in ProcessedData() argument 55 mSubscriptionId = subscriptionId; in ProcessedData()
|
/frameworks/av/include/drm/ |
D | DrmRights.h | 46 const String8& subscriptionId = String8("")); 59 const String8& subscriptionId = String8(""));
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierService.java | 153 public PersistableBundle onLoadConfig(int subscriptionId, @Nullable CarrierIdentifier id) { in onLoadConfig() argument 206 public final void notifyCarrierNetworkChange(int subscriptionId, boolean active) { in notifyCarrierNetworkChange() argument 210 telephonyRegistryMgr.notifyCarrierNetworkChange(subscriptionId, active); in notifyCarrierNetworkChange()
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccManager.java | 1142 public void deleteSubscription(int subscriptionId, PendingIntent callbackIntent) { in deleteSubscription() argument 1149 subscriptionId, mContext.getOpPackageName(), callbackIntent); in deleteSubscription() 1205 public void switchToSubscription(int subscriptionId, PendingIntent callbackIntent) { in switchToSubscription() argument 1211 if (subscriptionId == SubscriptionManager.INVALID_SUBSCRIPTION_ID in switchToSubscription() 1222 subscriptionId, mContext.getOpPackageName(), callbackIntent); in switchToSubscription() 1266 public void switchToSubscription(int subscriptionId, int portIndex, in switchToSubscription() argument 1285 subscriptionId, portIndex, mContext.getOpPackageName(), callbackIntent); in switchToSubscription() 1304 int subscriptionId, @Nullable String nickname, @NonNull PendingIntent callbackIntent) { in updateSubscriptionNickname() argument 1311 subscriptionId, nickname, mContext.getOpPackageName(), callbackIntent); in updateSubscriptionNickname()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionsRepositoryTest.kt | 112 assertThat(latest!![0].subscriptionId).isEqualTo(1) in <lambda>() 128 assertThat(latest!![0].subscriptionId).isEqualTo(5) in <lambda>() 144 assertThat(latest!![0].subscriptionId).isEqualTo(1) in <lambda>() 150 assertThat(latest!![0].subscriptionId).isEqualTo(1) in <lambda>() 166 assertThat(latest!![0].subscriptionId).isEqualTo(5) in <lambda>() 172 assertThat(latest!![0].subscriptionId).isEqualTo(5) in <lambda>() 332 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>() 358 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>() 416 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>() 448 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsService.java | 404 private IImsMmTelFeature createMmTelFeatureInternal(int slotId, int subscriptionId) { in createMmTelFeatureInternal() argument 405 MmTelFeature f = createMmTelFeatureForSubscription(slotId, subscriptionId); in createMmTelFeatureInternal() 617 public void enableImsForSubscription(int slotId, int subscriptionId) { in enableImsForSubscription() argument 627 public void disableImsForSubscription(int slotId, int subscriptionId) { in disableImsForSubscription() argument 658 int subscriptionId) { in createMmTelFeatureForSubscription() argument 671 public @Nullable RcsFeature createRcsFeatureForSubscription(int slotId, int subscriptionId) { in createRcsFeatureForSubscription() argument 726 public @NonNull ImsConfigImplBase getConfigForSubscription(int slotId, int subscriptionId) { in getConfigForSubscription() argument 738 int subscriptionId) { in getRegistrationForSubscription() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileRepositorySwitcherTest.kt | 198 assertThat(latest!![0].subscriptionId).isEqualTo(3) in subscription list updates when demo mode changes() 236 mock<SubscriptionInfo>().also { whenever(it.subscriptionId).thenReturn(SUB_1_ID) } in <lambda>() 237 private val MODEL_1 = SubscriptionModel(subscriptionId = SUB_1_ID) 241 mock<SubscriptionInfo>().also { whenever(it.subscriptionId).thenReturn(SUB_2_ID) } in <lambda>() 242 private val MODEL_2 = SubscriptionModel(subscriptionId = SUB_2_ID)
|