Home
last modified time | relevance | path

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

12345

/frameworks/base/telephony/java/android/telephony/
DImsManager.java120 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 …]
DSubscriptionManager.java314 public static Uri getUriForSubscriptionId(int subscriptionId) { in getUriForSubscriptionId() argument
315 return Uri.withAppendedPath(CONTENT_URI, String.valueOf(subscriptionId)); in getUriForSubscriptionId()
2471 public static int getSlotIndex(int subscriptionId) { in getSlotIndex() argument
2472 return sGetSlotIndexCache.query(subscriptionId); in getSlotIndex()
2603 public void setDefaultVoiceSubscriptionId(int subscriptionId) { in setDefaultVoiceSubscriptionId() argument
2604 if (VDBG) logd("setDefaultVoiceSubId sub id = " + subscriptionId); in setDefaultVoiceSubscriptionId()
2608 iSub.setDefaultVoiceSubId(subscriptionId); in setDefaultVoiceSubscriptionId()
2670 public void setDefaultSmsSubId(int subscriptionId) { in setDefaultSmsSubId() argument
2671 if (VDBG) logd("setDefaultSmsSubId sub id = " + subscriptionId); in setDefaultSmsSubId()
2675 iSub.setDefaultSmsSubId(subscriptionId); in setDefaultSmsSubId()
[all …]
DTelephonyLocalConnection.java29 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/
DMbmsStreamingServiceBase.java56 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 …]
DMbmsGroupCallServiceBase.java47 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 …]
DMbmsDownloadServiceBase.java109 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 …]
DIMbmsGroupCallService.aidl33 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/
DDownloadRequest.java65 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/
DSimPhonebookContract.java280 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/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DSimBouncerInteractor.kt70 val subId: StateFlow<Int> = repository.subscriptionId
82 val subscriptionId = repository.subscriptionId.value in getDefaultMessage() constant
84 if (subscriptionId == INVALID_SUBSCRIPTION_ID) { in getDefaultMessage()
134 val subId = repository.subscriptionId.value in disableEsim()
176 val subscriptionId = repository.subscriptionId.value in verifySimPin() constant
186 telephonyManager.createForSubscriptionId(subscriptionId) in verifySimPin()
191 keyguardUpdateMonitor.reportSimUnlocked(subscriptionId) in verifySimPin()
218 val subscriptionId: Int = repository.subscriptionId.value in verifySimPuk() constant
258 val telephonyManager = telephonyManager.createForSubscriptionId(subscriptionId) in verifySimPuk()
265 keyguardUpdateMonitor.reportSimUnlocked(subscriptionId) in verifySimPuk()
/frameworks/av/drm/common/
DDrmRights.cpp23 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/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java76 public void setSubscriptionId(int subscriptionId) { in setSubscriptionId() argument
77 mSubscriptionId = subscriptionId; in setSubscriptionId()
171 int subscriptionId = mSubscriptionId; in getTelephonyManager() local
174 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getTelephonyManager()
175 subscriptionId = SubscriptionManager.getDefaultDataSubscriptionId(); in getTelephonyManager()
179 if (!SubscriptionManager.isValidSubscriptionId(subscriptionId)) { in getTelephonyManager()
182 subscriptionId = activeSubIds[0]; in getTelephonyManager()
187 .createForSubscriptionId(subscriptionId); in getTelephonyManager()
DSignalStrengthUtil.java31 public static boolean shouldInflateSignalStrength(Context context, int subscriptionId) { in shouldInflateSignalStrength() argument
36 bundle = carrierConfigMgr.getConfigForSubId(subscriptionId); in shouldInflateSignalStrength()
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccController.aidl42 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/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepository.kt87 val currentValidSubscriptionIds = newInfos.map { it.subscriptionId } in <lambda>()
98 subscriptionId = subId, in <lambda>()
114 infos.firstOrNull()?.subscriptionId ?: INVALID_SUBSCRIPTION_ID in <lambda>()
119 subscriptions.value.firstOrNull()?.subscriptionId ?: INVALID_SUBSCRIPTION_ID in <lambda>()
268 if (carrierMergedSubId != event.subscriptionId) { in <lambda>()
273 val subId = event.subscriptionId in <lambda>()
306 _subscriptions.value[0].subscriptionId in <lambda>()
329 _subscriptions.value = currentSubscriptions.filter { it.subscriptionId != subId } in <lambda>()
333 _subscriptions.value.joinToString(",") { it.subscriptionId.toString() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractorTest.kt303 subscriptionId = SUB_1_ID, in filteredSubscriptions_doesNotFilterProvisioningWhenFlagIsFalse()
323 subscriptionId = SUB_1_ID, in filteredSubscriptions_filtersOutProvisioningSubs()
330 subscriptionId = SUB_2_ID, in filteredSubscriptions_filtersOutProvisioningSubs()
354 subscriptionId = 1, in filteredSubscriptions_filtersOutProvisioningSubsBeforeOpportunistic()
363 subscriptionId = 2, in filteredSubscriptions_filtersOutProvisioningSubsBeforeOpportunistic()
396 subscriptionId = 2, in filteredSubscriptions_groupedPairAndNonProvisioned_groupedFilteringStillHappens()
417 subscriptionId = 5, in filteredSubscriptions_subNotExclusivelyNonTerrestrial_hasSub()
435 subscriptionId = 5, in filteredSubscriptions_subExclusivelyNonTerrestrial_doesNotHaveSub()
453 subscriptionId = 5, in filteredSubscription_mixOfExclusivelyNonTerrestrialAndOther_hasOtherSubsOnly()
460 subscriptionId = 1, in filteredSubscription_mixOfExclusivelyNonTerrestrialAndOther_hasOtherSubsOnly()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepositoryTest.kt62 whenever(telephonyManager.subscriptionId).thenReturn(SUB_ID) in setUp()
128 subscriptionId = SUB_ID, in carrierMergedWifi_isValidAndFieldsComeFromWifiNetwork()
149 subscriptionId = SUB_ID, in activity_comesFromWifiActivity()
187 subscriptionId = SUB_ID + 10, in carrierMergedWifi_wrongSubId_isDefault()
209 subscriptionId = SUB_ID, in carrierMergedButNotEnabled_isDefault()
230 subscriptionId = SUB_ID, in carrierMergedButWifiNotDefault_isDefault()
250 subscriptionId = SUB_ID, in numberOfLevels_comesFromCarrierMerged()
314 subscriptionId = SUB_ID, in networkName_updatesOnNetworkUpdate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccOperation.java192 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/drm/java/android/drm/
DProcessedData.java52 /* package */ ProcessedData(byte[] data, String accountId, String subscriptionId) { in ProcessedData() argument
55 mSubscriptionId = subscriptionId; in ProcessedData()
/frameworks/base/telephony/java/android/service/carrier/
DCarrierService.java151 public PersistableBundle onLoadConfig(int subscriptionId, @Nullable CarrierIdentifier id) { in onLoadConfig() argument
204 public final void notifyCarrierNetworkChange(int subscriptionId, boolean active) { in notifyCarrierNetworkChange() argument
208 telephonyRegistryMgr.notifyCarrierNetworkChange(subscriptionId, active); in notifyCarrierNetworkChange()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl286 void setUiccApplicationsEnabled(boolean enabled, int subscriptionId); in setUiccApplicationsEnabled() argument
290 int setDeviceToDeviceStatusSharingContacts(String contacts, int subscriptionId); in setDeviceToDeviceStatusSharingContacts() argument
356 boolean isSubscriptionAssociatedWithCallingUser(int subscriptionId); in isSubscriptionAssociatedWithCallingUser() argument
372 boolean isSubscriptionAssociatedWithUser(int subscriptionId, in UserHandle userHandle); in isSubscriptionAssociatedWithUser() argument
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/data/repository/
DSimBouncerRepositoryTest.kt80 fun subscriptionId() = in subscriptionId() method
82 val subscriptionId = in subscriptionId() constant
83 emitSubscriptionIdAndCollectLastValue(underTest.subscriptionId, subId = 2) in subscriptionId()
84 assertThat(subscriptionId).isEqualTo(2) in subscriptionId()
94 assertThat(activeSubscriptionInfo?.subscriptionId).isEqualTo(2) in activeSubscriptionInfo()
/frameworks/av/include/drm/
DDrmRights.h46 const String8& subscriptionId = String8(""));
59 const String8& subscriptionId = String8(""));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepositoryTest.kt125 assertThat(latest!![0].subscriptionId).isEqualTo(1) in <lambda>()
141 assertThat(latest!![0].subscriptionId).isEqualTo(5) in <lambda>()
157 assertThat(latest!![0].subscriptionId).isEqualTo(1) in <lambda>()
163 assertThat(latest!![0].subscriptionId).isEqualTo(1) in <lambda>()
179 assertThat(latest!![0].subscriptionId).isEqualTo(5) in <lambda>()
185 assertThat(latest!![0].subscriptionId).isEqualTo(5) in <lambda>()
345 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>()
371 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>()
429 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>()
461 infos.map { info -> underTest.getRepoForSubId(info.subscriptionId) } in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/
DWifiNetworkModel.kt147 val subscriptionId: Int, constant in com.android.systemui.statusbar.pipeline.wifi.shared.model.WifiNetworkModel.CarrierMerged
159 require(subscriptionId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in <lambda>()
173 if (prevVal.subscriptionId != subscriptionId) { in logDiffs()
174 row.logChange(COL_SUB_ID, subscriptionId) in logDiffs()
187 row.logChange(COL_SUB_ID, subscriptionId) in logFull()

12345