Home
last modified time | relevance | path

Searched refs:subId (Results 1 – 25 of 138) sorted by relevance

123456

/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl106 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber() argument
123 boolean supplyPinForSubscriber(int subId, String pin); in supplyPinForSubscriber() argument
142 boolean supplyPukForSubscriber(int subId, String puk, String pin); in supplyPukForSubscriber() argument
160 int[] supplyPinReportResultForSubscriber(int subId, String pin); in supplyPinReportResultForSubscriber() argument
182 int[] supplyPukReportResultForSubscriber(int subId, String puk, String pin); in supplyPukReportResultForSubscriber() argument
202 void handleUssdRequest(int subId, String ussdRequest, in ResultReceiver wrappedCallback); in handleUssdRequest() argument
213 boolean handlePinMmiForSubscriber(int subId, String dialString); in handlePinMmiForSubscriber() argument
225 void toggleRadioOnOffForSubscriber(int subId); in toggleRadioOnOffForSubscriber() argument
237 boolean setRadioForSubscriber(int subId, boolean turnOn); in setRadioForSubscriber() argument
254 void updateServiceLocationForSubscriber(int subId); in updateServiceLocationForSubscriber() argument
[all …]
DIPhoneSubInfo.aidl35 String getNaiForSubscriber(int subId, String callingPackage); in getNaiForSubscriber() argument
46 String getImeiForSubscriber(int subId, String callingPackage); in getImeiForSubscriber() argument
58 String getDeviceSvnUsingSubId(int subId, String callingPackage); in getDeviceSvnUsingSubId() argument
69 String getSubscriberIdForSubscriber(int subId, String callingPackage); in getSubscriberIdForSubscriber() argument
74 String getGroupIdLevel1ForSubscriber(int subId, String callingPackage); in getGroupIdLevel1ForSubscriber() argument
85 String getIccSerialNumberForSubscriber(int subId, String callingPackage); in getIccSerialNumberForSubscriber() argument
95 String getLine1NumberForSubscriber(int subId, String callingPackage); in getLine1NumberForSubscriber() argument
106 String getLine1AlphaTagForSubscriber(int subId, String callingPackage); in getLine1AlphaTagForSubscriber() argument
117 String getMsisdnForSubscriber(int subId, String callingPackage); in getMsisdnForSubscriber() argument
127 String getVoiceMailNumberForSubscriber(int subId, String callingPackage); in getVoiceMailNumberForSubscriber() argument
[all …]
DISms.aidl45 List<SmsRawData> getAllMessagesFromIccEfForSubscriber(in int subId, String callingPkg); in getAllMessagesFromIccEfForSubscriber() argument
59 boolean updateMessageOnIccEfForSubscriber(in int subId, String callingPkg, in updateMessageOnIccEfForSubscriber() argument
72 boolean copyMessageToIccEfForSubscriber(in int subId, String callingPkg, int status, in copyMessageToIccEfForSubscriber() argument
99 void sendDataForSubscriber(int subId, String callingPkg, in String destAddr, in sendDataForSubscriber() argument
127 void sendDataForSubscriberWithSelfPermissions(int subId, String callingPkg, in String destAddr, in sendDataForSubscriberWithSelfPermissions() argument
159 void sendTextForSubscriber(in int subId, String callingPkg, in String destAddr, in sendTextForSubscriber() argument
187 void sendTextForSubscriberWithSelfPermissions(in int subId, String callingPkg, in sendTextForSubscriberWithSelfPermissions() argument
237 void sendTextForSubscriberWithOptions(in int subId, String callingPkg, in String destAddr, in sendTextForSubscriberWithOptions() argument
255 int subId, in byte[] pdu, String format, in PendingIntent receivedIntent); in injectSmsPduForSubscriber() argument
284 void sendMultipartTextForSubscriber(in int subId, String callingPkg, in sendMultipartTextForSubscriber() argument
[all …]
DITelephonyRegistry.aidl43 void listenForSubscriber(in int subId, String pkg, IPhoneStateListener callback, int events, in listenForSubscriber() argument
47 void notifyCallStateForPhoneId(in int phoneId, in int subId, int state, String incomingNumber); in notifyCallStateForPhoneId() argument
48 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state); in notifyServiceStateForPhoneId() argument
49 void notifySignalStrengthForPhoneId(in int phoneId, in int subId, in notifySignalStrengthForPhoneId() argument
51 void notifyMessageWaitingChangedForPhoneId(in int phoneId, in int subId, in boolean mwi); in notifyMessageWaitingChangedForPhoneId() argument
53 void notifyCallForwardingChangedForSubscriber(in int subId, boolean cfi); in notifyCallForwardingChangedForSubscriber() argument
55 void notifyDataActivityForSubscriber(in int subId, int state); in notifyDataActivityForSubscriber() argument
59 void notifyDataConnectionForSubscriber(int phoneId, int subId, int state, in notifyDataConnectionForSubscriber() argument
65 void notifyDataConnectionFailedForSubscriber(int phoneId, int subId, String apnType); in notifyDataConnectionFailedForSubscriber() argument
67 void notifyCellLocationForSubscriber(in int subId, in Bundle cellLocation); in notifyCellLocationForSubscriber() argument
[all …]
DISmsImplBase.java32 public List<SmsRawData> getAllMessagesFromIccEfForSubscriber(int subId, String callingPkg) { in getAllMessagesFromIccEfForSubscriber() argument
37 public boolean updateMessageOnIccEfForSubscriber(int subId, String callingPkg, int messageIndex, in updateMessageOnIccEfForSubscriber() argument
43 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPkg, int status, in copyMessageToIccEfForSubscriber() argument
49 public void sendDataForSubscriber(int subId, String callingPkg, String destAddr, in sendDataForSubscriber() argument
56 public void sendDataForSubscriberWithSelfPermissions(int subId, String callingPkg, in sendDataForSubscriberWithSelfPermissions() argument
63 public void sendTextForSubscriber(int subId, String callingPkg, String destAddr, in sendTextForSubscriber() argument
70 public void sendTextForSubscriberWithSelfPermissions(int subId, String callingPkg, in sendTextForSubscriberWithSelfPermissions() argument
77 public void sendTextForSubscriberWithOptions(int subId, String callingPkg, String destAddr, in sendTextForSubscriberWithOptions() argument
86 int subId, byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPduForSubscriber() argument
91 public void sendMultipartTextForSubscriber(int subId, String callingPkg, in sendMultipartTextForSubscriber() argument
[all …]
DISub.aidl44 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage); in getActiveSubscriptionInfo() argument
145 int setIconTint(int tint, int subId); in setIconTint() argument
154 int setDisplayNameUsingSrc(String displayName, int subId, int nameSource); in setDisplayNameUsingSrc() argument
162 int setDisplayNumber(String number, int subId); in setDisplayNumber() argument
170 int setDataRoaming(int roaming, int subId); in setDataRoaming() argument
179 int setOpportunistic(boolean opportunistic, int subId, String callingPackage); in setOpportunistic() argument
211 void setPreferredDataSubscriptionId(int subId, boolean needValidation, in setPreferredDataSubscriptionId() argument
238 int getSlotIndex(int subId); in getSlotIndex() argument
246 int getPhoneId(int subId); in getPhoneId() argument
254 void setDefaultDataSubId(int subId); in setDefaultDataSubId() argument
[all …]
DTelephonyPermissions.java98 Context context, int subId, String callingPackage, String message) { in checkCallingOrSelfReadPhoneState() argument
99 return checkReadPhoneState(context, subId, Binder.getCallingPid(), Binder.getCallingUid(), in checkCallingOrSelfReadPhoneState()
105 Context context, int subId, String callingPackage, String message) { in checkCallingOrSelfReadPhoneStateNoThrow() argument
107 return checkCallingOrSelfReadPhoneState(context, subId, callingPackage, message); in checkCallingOrSelfReadPhoneStateNoThrow()
135 Context context, int subId, int pid, int uid, String callingPackage, String message) { in checkReadPhoneState() argument
137 context, TELEPHONY_SUPPLIER, subId, pid, uid, callingPackage, message); in checkReadPhoneState()
144 public static boolean checkCarrierPrivilegeForSubId(int subId) { in checkCarrierPrivilegeForSubId() argument
145 if (SubscriptionManager.isValidSubscriptionId(subId) in checkCarrierPrivilegeForSubId()
146 && getCarrierPrivilegeStatus(TELEPHONY_SUPPLIER, subId, Binder.getCallingUid()) in checkCarrierPrivilegeForSubId()
155 Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, in checkReadPhoneState() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java64 private Phone getPhone(int subId) { in getPhone() argument
65 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in getPhone()
72 private SmsPermissions getSmsPermissions(int subId) { in getSmsPermissions() argument
73 Phone phone = getPhone(subId); in getSmsPermissions()
81 public boolean updateMessageOnIccEfForSubscriber(int subId, String callingPackage, int index, in updateMessageOnIccEfForSubscriber() argument
83 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); in updateMessageOnIccEfForSubscriber()
88 + " for Subscription: " + subId); in updateMessageOnIccEfForSubscriber()
95 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPackage, int status, in copyMessageToIccEfForSubscriber() argument
97 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); in copyMessageToIccEfForSubscriber()
102 + " for Subscription: " + subId); in copyMessageToIccEfForSubscriber()
[all …]
DPhoneSubInfoController.java70 public String getNaiForSubscriber(int subId, String callingPackage) { in getNaiForSubscriber() argument
71 return callPhoneMethodForSubIdWithReadCheck(subId, callingPackage, "getNai", in getNaiForSubscriber()
75 public String getImeiForSubscriber(int subId, String callingPackage) { in getImeiForSubscriber() argument
76 return callPhoneMethodForSubIdWithReadDeviceIdentifiersCheck(subId, callingPackage, in getImeiForSubscriber()
80 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, in getCarrierInfoForImsiEncryption() argument
82 return callPhoneMethodForSubIdWithReadCheck(subId, callingPackage, in getCarrierInfoForImsiEncryption()
87 public void setCarrierInfoForImsiEncryption(int subId, String callingPackage, in setCarrierInfoForImsiEncryption() argument
89 callPhoneMethodForSubIdWithModifyCheck(subId, callingPackage, in setCarrierInfoForImsiEncryption()
104 public void resetCarrierKeysForImsiEncryption(int subId, String callingPackage) { in resetCarrierKeysForImsiEncryption() argument
105 callPhoneMethodForSubIdWithModifyCheck(subId, callingPackage, in resetCarrierKeysForImsiEncryption()
[all …]
DSubscriptionController.java487 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo() argument
489 mContext, subId, callingPackage, "getActiveSubscriptionInfo")) { in getActiveSubscriptionInfo()
500 if (si.getSubscriptionId() == subId) { in getActiveSubscriptionInfo()
502 logd("[getActiveSubscriptionInfo]+ subId=" + subId + " subInfo=" + si); in getActiveSubscriptionInfo()
510 logd("[getActiveSubscriptionInfo]- subId=" + subId in getActiveSubscriptionInfo()
527 public SubscriptionInfo getSubscriptionInfo(int subId) { in getSubscriptionInfo() argument
529 SubscriptionManager.UNIQUE_KEY_SUBSCRIPTION_ID + "=" + subId, null); in getSubscriptionInfo()
546 final int subId = si != null in getActiveSubscriptionInfoForIccId() local
549 mContext, subId, callingPackage, "getActiveSubscriptionInfoForIccId")) { in getActiveSubscriptionInfoForIccId()
1055 int subId = cursor.getInt(0); in addSubInfo() local
[all …]
DGlobalSettingsHelper.java34 public static int getInt(Context context, String settingName, int subId, in getInt() argument
36 settingName = getSettingName(context, settingName, subId); in getInt()
43 public static boolean getBoolean(Context context, String settingName, int subId, in getBoolean() argument
45 settingName = getSettingName(context, settingName, subId); in getBoolean()
53 public static boolean getBoolean(Context context, String settingName, int subId) in getBoolean() argument
55 settingName = getSettingName(context, settingName, subId); in getBoolean()
63 public static boolean setInt(Context context, String settingName, int subId, int value) { in setInt() argument
64 settingName = getSettingName(context, settingName, subId); in setInt()
81 public static boolean setBoolean(Context context, String settingName, int subId, in setBoolean() argument
83 return setInt(context, settingName, subId, value ? 1 : 0); in setBoolean()
[all …]
DMultiSimSettingController.java155 public void notifyUserDataEnabled(int subId, boolean enable) { in notifyUserDataEnabled() argument
156 obtainMessage(EVENT_USER_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyUserDataEnabled()
162 public void notifyRoamingDataEnabled(int subId, boolean enable) { in notifyRoamingDataEnabled() argument
163 obtainMessage(EVENT_ROAMING_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyRoamingDataEnabled()
199 int subId = msg.arg1; in handleMessage() local
201 onUserDataEnabled(subId, enable); in handleMessage()
205 int subId = msg.arg1; in handleMessage() local
207 onRoamingDataEnabled(subId, enable); in handleMessage()
232 private void onUserDataEnabled(int subId, boolean enable) { in onUserDataEnabled() argument
235 setUserDataEnabledForGroup(subId, enable); in onUserDataEnabled()
[all …]
DUiccPhoneBookController.java56 updateAdnRecordsInEfBySearchForSubscriber(int subId, int efid, String oldTag, in updateAdnRecordsInEfBySearchForSubscriber() argument
60 getIccPhoneBookInterfaceManager(subId); in updateAdnRecordsInEfBySearchForSubscriber()
66 " null for Subscription:"+subId); in updateAdnRecordsInEfBySearchForSubscriber()
81 updateAdnRecordsInEfByIndexForSubscriber(int subId, int efid, String newTag, in updateAdnRecordsInEfByIndexForSubscriber() argument
84 getIccPhoneBookInterfaceManager(subId); in updateAdnRecordsInEfByIndexForSubscriber()
90 " null for Subscription:"+subId); in updateAdnRecordsInEfByIndexForSubscriber()
102 getAdnRecordsSizeForSubscriber(int subId, int efid) throws android.os.RemoteException { in getAdnRecordsSizeForSubscriber() argument
104 getIccPhoneBookInterfaceManager(subId); in getAdnRecordsSizeForSubscriber()
109 " null for Subscription:"+subId); in getAdnRecordsSizeForSubscriber()
120 public List<AdnRecord> getAdnRecordsInEfForSubscriber(int subId, int efid) in getAdnRecordsInEfForSubscriber() argument
[all …]
DIccProvider.java135 int subId; in loadAllSimContacts() local
138 subId = subInfoList.get(i).getSubscriptionId(); in loadAllSimContacts()
139 result[i] = loadFromEf(efType, subId); in loadAllSimContacts()
140 Rlog.i(TAG,"ADN Records loaded for Subscription ::" + subId); in loadAllSimContacts()
169 int subId; in insert() local
177 subId = SubscriptionManager.getDefaultSubscriptionId(); in insert()
182 subId = getRequestSubId(url); in insert()
187 subId = SubscriptionManager.getDefaultSubscriptionId(); in insert()
193 subId = getRequestSubId(url); in insert()
205 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert()
[all …]
DDefaultPhoneNotifier.java60 int subId = sender.getSubId(); in notifyPhoneState() local
68 mRegistry.notifyCallStateForPhoneId(phoneId, subId, in notifyPhoneState()
81 int subId = sender.getSubId(); in notifyServiceState() local
84 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId); in notifyServiceState()
91 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss); in notifyServiceState()
101 int subId = sender.getSubId(); in notifySignalStrength() local
109 mRegistry.notifySignalStrengthForPhoneId(phoneId, subId, in notifySignalStrength()
120 int subId = sender.getSubId(); in notifyMessageWaitingChanged() local
124 mRegistry.notifyMessageWaitingChangedForPhoneId(phoneId, subId, in notifyMessageWaitingChanged()
134 int subId = sender.getSubId(); in notifyCallForwardingChanged() local
[all …]
DCellularNetworkValidator.java71 void onValidationResult(boolean validated, int subId); in onValidationResult() argument
111 public synchronized void validate(int subId, int timeoutInMs, in validate() argument
114 if (subId == mSubId) return; in validate()
116 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); in validate()
118 logd("Failed to start validation. Inactive subId " + subId); in validate()
119 callback.onValidationResult(false, subId); in validate()
128 mSubId = subId; in validate()
137 mNetworkCallback = new ConnectivityNetworkCallback(subId); in validate()
178 private synchronized void reportValidationResult(boolean passed, int subId) { in reportValidationResult() argument
180 if (mSubId != subId) return; in reportValidationResult()
[all …]
DCallManager.java215 private Phone getPhone(int subId) { in getPhone() argument
218 if (phone.getSubId() == subId && in getPhone()
254 public PhoneConstants.State getState(int subId) { in getState() argument
258 if (phone.getSubId() == subId) { in getState()
307 public int getServiceState(int subId) { in getServiceState() argument
311 if (phone.getSubId() == subId) { in getServiceState()
432 public Phone getFgPhone(int subId) { in getFgPhone() argument
433 return getActiveFgCall(subId).getPhone(); in getFgPhone()
456 public Phone getRingingPhone(int subId) { in getRingingPhone() argument
457 return getFirstActiveRingingCall(subId).getPhone(); in getRingingPhone()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java78 public void setDefaultDataSubId(int subId) { in setDefaultDataSubId() argument
79 if (subId == DEFAULT_SUBSCRIPTION_ID) { in setDefaultDataSubId()
83 mDefaultDataSubId.set(subId); in setDefaultDataSubId()
84 broadcastDefaultDataSubIdChanged(subId); in setDefaultDataSubId()
87 private void broadcastDefaultDataSubIdChanged(int subId) { in broadcastDefaultDataSubIdChanged() argument
91 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); in broadcastDefaultDataSubIdChanged()
111 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo() argument
161 public int setIconTint(int tint, int subId) { in setIconTint() argument
165 public int setDisplayNameUsingSrc(String displayName, int subId, int nameSource) { in setDisplayNameUsingSrc() argument
169 public int setDisplayNumber(String number, int subId) { in setDisplayNumber() argument
[all …]
DTelephonyRegistryMock.java57 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in TelephonyRegistryMock.Record
84 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId in toString()
258 public void listenForSubscriber(int subId, String pkg, IPhoneStateListener callback, int events, in listenForSubscriber() argument
269 public void notifyCallStateForPhoneId(int phoneId, int subId, int state, in notifyCallStateForPhoneId() argument
275 public void notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) { in notifyServiceStateForPhoneId() argument
280 public void notifySignalStrengthForPhoneId(int phoneId, int subId, in notifySignalStrengthForPhoneId() argument
286 public void notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) { in notifyMessageWaitingChangedForPhoneId() argument
296 public void notifyCallForwardingChangedForSubscriber(int subId, boolean cfi) { in notifyCallForwardingChangedForSubscriber() argument
306 public void notifyDataActivityForSubscriber(int subId, int state) { in notifyDataActivityForSubscriber() argument
318 public void notifyDataConnectionForSubscriber(int phoneId, int subId, int state, in notifyDataConnectionForSubscriber() argument
[all …]
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java1169 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo() argument
1170 if (VDBG) logd("[getActiveSubscriptionInfo]+ subId=" + subId); in getActiveSubscriptionInfo()
1171 if (!isValidSubscriptionId(subId)) { in getActiveSubscriptionInfo()
1183 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName()); in getActiveSubscriptionInfo()
1651 public int setIconTint(int tint, int subId) { in setIconTint() argument
1652 if (VDBG) logd("[setIconTint]+ tint:" + tint + " subId:" + subId); in setIconTint()
1653 return setSubscriptionPropertyHelper(subId, "setIconTint", in setIconTint()
1654 (iSub)-> iSub.setIconTint(tint, subId) in setIconTint()
1668 public int setDisplayName(String displayName, int subId, int nameSource) { in setDisplayName() argument
1670 logd("[setDisplayName]+ displayName:" + displayName + " subId:" + subId in setDisplayName()
[all …]
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java127 int subId, @NonNull ResultCallback<Boolean> callback) { in onFilterSms() argument
155 int destPort, int subId, @NonNull final ResultCallback<Integer> callback) { in onReceiveTextSms() argument
156 onFilterSms(pdu, format, destPort, subId, new ResultCallback<Boolean>() { in onReceiveTextSms()
176 @NonNull String text, int subId, @NonNull String destAddress, in onSendTextSms() argument
196 @NonNull String text, int subId, @NonNull String destAddress, in onSendTextSms() argument
199 onSendTextSms(text, subId, destAddress, callback); in onSendTextSms()
213 public void onSendDataSms(@NonNull byte[] data, int subId, in onSendDataSms() argument
234 public void onSendDataSms(@NonNull byte[] data, int subId, in onSendDataSms() argument
238 onSendDataSms(data, subId, destAddress, destPort, callback); in onSendDataSms()
252 int subId, @NonNull String destAddress, in onSendMultipartTextSms() argument
[all …]
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java123 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in TelephonyRegistry.Record
142 context, subId, callerPid, callerUid, callingPackage); in canReadCallLog()
156 + " callerUid=" + callerUid + " subId=" + subId + " phoneId=" + phoneId in toString()
300 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) {
617 public void listenForSubscriber(int subId, String pkgForDebug, IPhoneStateListener callback, in listenForSubscriber() argument
619 listen(pkgForDebug, callback, events, notifyNow, subId); in listenForSubscriber()
623 boolean notifyNow, int subId) { in listen() argument
627 + " notifyNow=" + notifyNow + " subId=" + subId + " myUserId=" in listen()
638 if (!checkListenerPermission(events, subId, callingPackage, "listen")) { in listen()
642 int phoneId = SubscriptionManager.getPhoneId(subId); in listen()
[all …]
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java105 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in onDisableAllMeteredApns() local
107 logd("onDisableAllMeteredApns subId: " + subId); in onDisableAllMeteredApns()
109 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(!ENABLE); in onDisableAllMeteredApns()
113 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in onEnableAllMeteredApns() local
115 logd("onEnableAllMeteredApns subId: " + subId); in onEnableAllMeteredApns()
117 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(ENABLE); in onEnableAllMeteredApns()
137 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in onRegisterDefaultNetworkAvail() local
139 logd("onRegisterDefaultNetworkAvail subId: " + subId); in onRegisterDefaultNetworkAvail()
141 telephonyMgr.carrierActionReportDefaultNetworkStatus(subId, true); in onRegisterDefaultNetworkAvail()
145 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, in onDeregisterDefaultNetworkAvail() local
[all …]
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DIMbmsStreamingService.aidl30 int initialize(IMbmsStreamingSessionCallback callback, int subId); in initialize() argument
33 int requestUpdateStreamingServices(int subId, in List<String> serviceClasses); in requestUpdateStreamingServices() argument
36 int startStreaming(int subId, String serviceId, in startStreaming() argument
40 Uri getPlaybackUri(int subId, String serviceId); in getPlaybackUri() argument
42 void stopStreaming(int subId, String serviceId); in stopStreaming() argument
44 void dispose(int subId); in dispose() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DTelephonyNetworkFactoryTest.java84 private NetworkRequest makeSubSpecificInternetRequest(int subId) { in makeSubSpecificInternetRequest() argument
89 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); in makeSubSpecificInternetRequest()
92 private NetworkRequest makeSubSpecificMmsRequest(int subId) { in makeSubSpecificMmsRequest() argument
97 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); in makeSubSpecificMmsRequest()
180 final int subId = 0; in testActive() local
185 mSubscriptionControllerMock.setDefaultDataSubId(subId); in testActive()
186 mSubscriptionControllerMock.setSlotSubId(phoneId, subId); in testActive()
199 log("makeSubSpecificInternetRequest: subId = " + subId); in testActive()
200 NetworkRequest subSpecificDefault = makeSubSpecificInternetRequest(subId); in testActive()
209 log("makeSubSpecificInternetRequest: subId = " + subId); in testActive()
[all …]

123456