/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IPhoneSubInfo.aidl | 35 String getNaiForSubscriber(int subId, String callingPackage); 46 String getImeiForSubscriber(int subId, String callingPackage); 55 * Retrieves the software version number of a subId for the device, e.g., IMEI/SV 58 String getDeviceSvnUsingSubId(int subId, String callingPackage); 66 * Retrieves the unique subscriber ID of a given subId, e.g., IMSI for GSM phones. 68 String getSubscriberIdForSubscriber(int subId, String callingPackage); 71 * Retrieves the Group Identifier Level1 for GSM phones of a subId. 73 String getGroupIdLevel1ForSubscriber(int subId, String callingPackage); 81 * Retrieves the serial number of a given subId. 83 String getIccSerialNumberForSubscriber(int subId, Strin [all...] |
H A D | ICarrierConfigLoader.aidl | 26 PersistableBundle getConfigForSubId(int subId); 28 void notifyConfigChangedForSubId(int subId);
|
H A D | ITelephony.aidl | 85 * End call on particular subId or go to the Home screen 86 * @param subId user preferred subId. 89 boolean endCallForSubscriber(int subId); 109 * Answer the currently-ringing call on particular subId . 123 void answerRingingCallForSubscriber(int subId); 146 * Check if a particular subId has an active or holding call 148 * @param subId user preferred subId. 152 boolean isOffhookForSubscriber(int subId, Strin [all...] |
H A D | ISub.aidl | 38 * Get the active SubscriptionInfo with the subId key 39 * @param subId The unique SubscriptionInfo key in database 43 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage); 121 * @param subId the unique SubscriptionInfo index in database 124 int setIconTint(int tint, int subId); 129 * @param subId the unique SubscriptionInfo index in database 132 int setDisplayName(String displayName, int subId); 137 * @param subId the unique SubscriptionInfo index in database 141 int setDisplayNameUsingSrc(String displayName, int subId, long nameSource); 144 * Set phone number by subId [all...] |
H A D | ISms.aidl | 40 * @param subId the subId id. 43 List<SmsRawData> getAllMessagesFromIccEfForSubscriber(in int subId, String callingPkg); 53 * @param subId the subId id. 57 boolean updateMessageOnIccEfForSubscriber(in int subId, String callingPkg, 66 * @param subId the subId id. 70 boolean copyMessageToIccEfForSubscriber(in int subId, String callingPkg, int status, 95 * @param subId th [all...] |
H A D | ITelephonyRegistry.aidl | 37 void listenForSubscriber(in int subId, String pkg, IPhoneStateListener callback, int events, 40 void notifyCallStateForPhoneId(in int phoneId, in int subId, int state, String incomingNumber); 41 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state); 42 void notifySignalStrengthForPhoneId(in int phoneId, in int subId, 44 void notifyMessageWaitingChangedForPhoneId(in int phoneId, in int subId, in boolean mwi); 46 void notifyCallForwardingChangedForSubscriber(in int subId, boolean cfi); 48 void notifyDataActivityForSubscriber(in int subId, int state); 52 void notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, 56 void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType); 58 void notifyCellLocationForSubscriber(in int subId, i [all...] |
H A D | TelephonyPermissions.java | 52 * READ_PHONE_STATE runtime permission, or carrier privileges on the given subId. 67 * @param subId the subId of the relevant subscription; used to check carrier privileges. May be 73 Context context, int subId, String callingPackage, String message) { 74 return checkReadPhoneState(context, subId, Binder.getCallingPid(), Binder.getCallingUid(), 84 * READ_PHONE_STATE runtime permission, or carrier privileges on the given subId. 100 Context context, int subId, int pid, int uid, String callingPackage, String message) { 102 context, TELEPHONY_SUPPLIER, subId, pid, uid, callingPackage, message); 107 Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, 122 if (SubscriptionManager.isValidSubscriptionId(subId)) { 72 checkCallingOrSelfReadPhoneState( Context context, int subId, String callingPackage, String message) argument 99 checkReadPhoneState( Context context, int subId, int pid, int uid, String callingPackage, String message) argument 106 checkReadPhoneState( Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, String callingPackage, String message) argument 142 checkReadCallLog( Context context, int subId, int pid, int uid, String callingPackage) argument 149 checkReadCallLog( Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, String callingPackage) argument 177 checkCallingOrSelfReadPhoneNumber( Context context, int subId, String callingPackage, String message) argument 185 checkReadPhoneNumber( Context context, Supplier<ITelephony> telephonySupplier, int subId, int pid, int uid, String callingPackage, String message) argument 241 enforceCallingOrSelfModifyPermissionOrCarrierPrivilege( Context context, int subId, String message) argument 257 enforceCallingOrSelfCarrierPrivilege(int subId, String message) argument 265 enforceCarrierPrivilege(int subId, int uid, String message) argument 269 enforceCarrierPrivilege( Supplier<ITelephony> telephonySupplier, int subId, int uid, String message) argument 278 getCarrierPrivilegeStatus( Supplier<ITelephony> telephonySupplier, int subId, int uid) argument [all...] |
H A D | DcParamObject.java | 26 public DcParamObject(int subId) { argument 27 mSubId = subId;
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
H A D | IMbmsStreamingService.aidl | 29 int initialize(IMbmsStreamingSessionCallback callback, int subId); 31 int requestUpdateStreamingServices(int subId, in List<String> serviceClasses); 33 int startStreaming(int subId, String serviceId, 36 Uri getPlaybackUri(int subId, String serviceId); 38 void stopStreaming(int subId, String serviceId); 40 void dispose(int subId);
|
H A D | IMbmsDownloadService.aidl | 32 int initialize(int subId, IMbmsDownloadSessionCallback listener); 34 int requestUpdateFileServices(int subId, in List<String> serviceClasses); 36 int setTempFileRootDirectory(int subId, String rootDirectoryPath); 60 void dispose(int subId);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneSubInfoController.java | 79 public String getNaiForSubscriber(int subId, String callingPackage) { argument 80 Phone phone = getPhone(subId); 83 mContext, subId, callingPackage, "getNai")) { 88 loge("getNai phone is null for Subscription:" + subId); 93 public String getImeiForSubscriber(int subId, String callingPackage) { argument 94 Phone phone = getPhone(subId); 97 mContext, subId, callingPackage, "getImei")) { 102 loge("getDeviceId phone is null for Subscription:" + subId); 107 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, argument 109 Phone phone = getPhone(subId); 123 setCarrierInfoForImsiEncryption(int subId, String callingPackage, ImsiEncryptionInfo imsiEncryptionInfo) argument 142 resetCarrierKeysForImsiEncryption(int subId, String callingPackage) argument 159 getDeviceSvnUsingSubId(int subId, String callingPackage) argument 177 getSubscriberIdForSubscriber(int subId, String callingPackage) argument 198 getIccSerialNumberForSubscriber(int subId, String callingPackage) argument 216 getLine1NumberForSubscriber(int subId, String callingPackage) argument 235 getLine1AlphaTagForSubscriber(int subId, String callingPackage) argument 253 getMsisdnForSubscriber(int subId, String callingPackage) argument 271 getVoiceMailNumberForSubscriber(int subId, String callingPackage) argument 292 getCompleteVoiceMailNumberForSubscriber(int subId) argument 309 getVoiceMailAlphaTagForSubscriber(int subId, String callingPackage) argument 326 getPhone(int subId) argument 339 enforcePrivilegedPermissionOrCarrierPrivilege(int subId, String message) argument 365 getIsimImpi(int subId) argument 385 getIsimDomain(int subId) argument 405 getIsimImpu(int subId) argument 425 getIsimIst(int subId) argument 445 getIsimPcscf(int subId) argument 462 getIccSimChallengeResponse(int subId, int appType, int authType, String data) argument 494 getGroupIdLevel1ForSubscriber(int subId, String callingPackage) argument [all...] |
H A D | UiccSmsController.java | 51 private Phone getPhone(int subId) { argument 52 Phone phone = PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); 61 updateMessageOnIccEfForSubscriber(int subId, String callingPackage, int index, int status, argument 63 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); 68 " for Subscription: " + subId); 74 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPackage, int status, argument 76 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); 81 " for Subscription: " + subId); 87 public List<SmsRawData> getAllMessagesFromIccEfForSubscriber(int subId, String callingPackage) argument 89 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); 100 sendDataForSubscriber(int subId, String callingPackage, String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) argument 115 sendDataForSubscriberWithSelfPermissions(int subId, String callingPackage, String destAddr, String scAddr, int destPort, byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent) argument 135 sendTextForSubscriber(int subId, String callingPackage, String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessageForNonDefaultSmsApp) argument 149 sendTextForSubscriberWithSelfPermissions(int subId, String callingPackage, String destAddr, String scAddr, String text, PendingIntent sentIntent, PendingIntent deliveryIntent, boolean persistMessage) argument 163 sendTextForSubscriberWithOptions(int subId, String callingPackage, String destAddr, String scAddr, String parts, PendingIntent sentIntents, PendingIntent deliveryIntents, boolean persistMessage, int priority, boolean expectMore, int validityPeriod) argument 186 sendMultipartTextForSubscriber(int subId, String callingPackage, String destAddr, String scAddr, List<String> parts, List<PendingIntent> sentIntents, List<PendingIntent> deliveryIntents, boolean persistMessageForNonDefaultSmsApp) argument 202 sendMultipartTextForSubscriberWithOptions(int subId, String callingPackage, String destAddr, String scAddr, List<String> parts, List<PendingIntent> sentIntents, List<PendingIntent> deliveryIntents, boolean persistMessage, int priority, boolean expectMore, int validityPeriod) argument 218 enableCellBroadcastForSubscriber(int subId, int messageIdentifier, int ranType) argument 225 enableCellBroadcastRangeForSubscriber(int subId, int startMessageId, int endMessageId, int ranType) argument 238 disableCellBroadcastForSubscriber(int subId, int messageIdentifier, int ranType) argument 245 disableCellBroadcastRangeForSubscriber(int subId, int startMessageId, int endMessageId, int ranType) argument 263 getPremiumSmsPermissionForSubscriber(int subId, String packageName) argument 280 setPremiumSmsPermissionForSubscriber(int subId, String packageName, int permission) argument 290 isImsSmsSupportedForSubscriber(int subId) argument 301 isSmsSimPickActivityNeeded(int subId) argument 334 getImsSmsFormatForSubscriber(int subId) argument 345 injectSmsPduForSubscriber( int subId, byte[] pdu, String format, PendingIntent receivedIntent) argument 361 getIccSmsInterfaceManager(int subId) argument 384 sendStoredText(int subId, String callingPkg, Uri messageUri, String scAddress, PendingIntent sentIntent, PendingIntent deliveryIntent) argument 397 sendStoredMultipartText(int subId, String callingPkg, Uri messageUri, String scAddress, List<PendingIntent> sentIntents, List<PendingIntent> deliveryIntents) argument 412 createAppSpecificSmsToken(int subId, String callingPkg, PendingIntent intent) argument [all...] |
H A D | UiccPhoneBookController.java | 53 updateAdnRecordsInEfBySearchForSubscriber(int subId, int efid, String oldTag, argument 57 getIccPhoneBookInterfaceManager(subId); 63 " null for Subscription:"+subId); 78 updateAdnRecordsInEfByIndexForSubscriber(int subId, int efid, String newTag, argument 81 getIccPhoneBookInterfaceManager(subId); 87 " null for Subscription:"+subId); 99 getAdnRecordsSizeForSubscriber(int subId, int efid) throws android.os.RemoteException { argument 101 getIccPhoneBookInterfaceManager(subId); 106 " null for Subscription:"+subId); 117 public List<AdnRecord> getAdnRecordsInEfForSubscriber(int subId, in argument 134 getIccPhoneBookInterfaceManager(int subId) argument [all...] |
H A D | IIccPhoneBook.aidl | 53 * @param subId user preferred subId 56 List<AdnRecord> getAdnRecordsInEfForSubscriber(int subId, int efid); 99 * @param subId user preferred subId 102 boolean updateAdnRecordsInEfBySearchForSubscriber(int subId, int efid, 138 * @param subId user preferred subId 141 boolean updateAdnRecordsInEfByIndexForSubscriber(int subId, int efid, String newTag, 160 * @param subId use [all...] |
H A D | DefaultPhoneNotifier.java | 52 int subId = sender.getSubId(); 60 mRegistry.notifyCallStateForPhoneId(phoneId, subId, 73 int subId = sender.getSubId(); 76 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId); 83 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss); 93 int subId = sender.getSubId(); 101 mRegistry.notifySignalStrengthForPhoneId(phoneId, subId, 112 int subId = sender.getSubId(); 116 mRegistry.notifyMessageWaitingChangedForPhoneId(phoneId, subId, 337 notifyOemHookRawEventForSubscriber(int subId, byte[] rawData) argument [all...] |
H A D | SubscriptionController.java | 73 * Any setters which take subId, slotIndex or phoneId as a parameter will throw an exception if the 335 * @param subId The subscription ID 338 private String getSubscriptionCountryIso(int subId) { argument 339 final int phoneId = getPhoneId(subId); 414 * Get the active SubscriptionInfo with the subId key 415 * @param subId The unique SubscriptionInfo key in database 420 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { argument 422 mContext, subId, callingPackage, "getActiveSubscriptionInfo")) { 433 if (si.getSubscriptionId() == subId) { 435 logd("[getActiveSubscriptionInfo]+ subId 1158 setCarrierText(String text, int subId) argument 1191 setIconTint(int tint, int subId) argument 1226 setDisplayName(String displayName, int subId) argument 1239 setDisplayNameUsingSrc(String displayName, int subId, long nameSource) argument 1290 setDisplayNumber(String number, int subId) argument 1337 setDataRoaming(int roaming, int subId) argument 1375 setMccMnc(String mccMnc, int subId) argument 1401 getSlotIndex(int subId) argument 1496 getPhoneId(int subId) argument 1637 setDefaultSmsSubId(int subId) argument 1649 broadcastDefaultSmsSubIdChanged(int subId) argument 1670 setDefaultVoiceSubId(int subId) argument 1687 broadcastDefaultVoiceSubIdChanged(int subId) argument 1716 setDefaultDataSubId(int subId) argument 1771 broadcastDefaultDataSubIdChanged(int subId) argument 1785 setDefaultFallbackSubId(int subId) argument 1846 shouldDefaultBeCleared(List<SubscriptionInfo> records, int subId) argument 1923 validateSubId(int subId) argument 1959 isActiveSubId(int subId) argument 2009 setSubscriptionProperty(int subId, String propKey, String propValue) argument 2022 setSubscriptionPropertyIntoContentResolver( int subId, String propKey, String propValue, ContentResolver resolver) argument 2064 getSubscriptionProperty(int subId, String propKey, String callingPackage) argument [all...] |
/frameworks/base/core/java/android/service/carrier/ |
H A D | ICarrierMessagingService.aidl | 36 * @param subId SMS subscription ID of the SIM 40 in MessagePdu pdu, String format, int destPort, int subId, 49 * @param subId SMS subscription ID of the SIM 54 void sendTextSms(String text, int subId, String destAddress, int sendSmsFlag, 63 * @param subId SMS subscription ID of the SIM 69 void sendDataSms(in byte[] data, int subId, String destAddress, int destPort, 78 * @param subId SMS subscription ID of the SIM 83 void sendMultipartTextSms(in List<String> parts, int subId, String destAddress, 92 * @param subId SMS subscription ID of the SIM 97 void sendMms(in Uri pduUri, int subId, i [all...] |
H A D | CarrierMessagingService.java | 120 * @param subId SMS subscription ID of the SIM 127 int subId, @NonNull ResultCallback<Boolean> callback) { 148 * @param subId SMS subscription ID of the SIM 155 int destPort, int subId, @NonNull final ResultCallback<Integer> callback) { 156 onFilterSms(pdu, format, destPort, subId, new ResultCallback<Boolean>() { 170 * @param subId SMS subscription ID of the SIM 176 @NonNull String text, int subId, @NonNull String destAddress, 189 * @param subId SMS subscription ID of the SIM 196 @NonNull String text, int subId, @NonNull String destAddress, 199 onSendTextSms(text, subId, destAddres 126 onFilterSms(@onNull MessagePdu pdu, @NonNull String format, int destPort, int subId, @NonNull ResultCallback<Boolean> callback) argument 154 onReceiveTextSms(@onNull MessagePdu pdu, @NonNull String format, int destPort, int subId, @NonNull final ResultCallback<Integer> callback) argument 175 onSendTextSms( @onNull String text, int subId, @NonNull String destAddress, @NonNull ResultCallback<SendSmsResult> callback) argument 195 onSendTextSms( @onNull String text, int subId, @NonNull String destAddress, int sendSmsFlag, @NonNull ResultCallback<SendSmsResult> callback) argument 213 onSendDataSms(@onNull byte[] data, int subId, @NonNull String destAddress, int destPort, @NonNull ResultCallback<SendSmsResult> callback) argument 234 onSendDataSms(@onNull byte[] data, int subId, @NonNull String destAddress, int destPort, int sendSmsFlag, @NonNull ResultCallback<SendSmsResult> callback) argument 251 onSendMultipartTextSms(@onNull List<String> parts, int subId, @NonNull String destAddress, @NonNull ResultCallback<SendMultipartSmsResult> callback) argument 272 onSendMultipartTextSms(@onNull List<String> parts, int subId, @NonNull String destAddress, int sendSmsFlag, @NonNull ResultCallback<SendMultipartSmsResult> callback) argument 288 onSendMms(@onNull Uri pduUri, int subId, @Nullable Uri location, @NonNull ResultCallback<SendMmsResult> callback) argument 307 onDownloadMms(@onNull Uri contentUri, int subId, @NonNull Uri location, @NonNull ResultCallback<Integer> callback) argument 465 filterSms(MessagePdu pdu, String format, int destPort, int subId, final ICarrierMessagingCallback callback) argument 477 sendTextSms(String text, int subId, String destAddress, int sendSmsFlag, final ICarrierMessagingCallback callback) argument 489 sendDataSms(byte[] data, int subId, String destAddress, int destPort, int sendSmsFlag, final ICarrierMessagingCallback callback) argument 501 sendMultipartTextSms(List<String> parts, int subId, String destAddress, int sendSmsFlag, final ICarrierMessagingCallback callback) argument 515 sendMms(Uri pduUri, int subId, Uri location, final ICarrierMessagingCallback callback) argument 526 downloadMms(Uri pduUri, int subId, Uri location, final ICarrierMessagingCallback callback) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | SubscriptionControllerMock.java | 78 public void setDefaultDataSubId(int subId) { argument 79 if (subId == DEFAULT_SUBSCRIPTION_ID) { 83 mDefaultDataSubId.set(subId); 84 broadcastDefaultDataSubIdChanged(subId); 87 private void broadcastDefaultDataSubIdChanged(int subId) { argument 91 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); 111 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { argument 152 public int setIconTint(int tint, int subId) { argument 156 public int setDisplayName(String displayName, int subId) { argument 160 public int setDisplayNameUsingSrc(String displayName, int subId, lon argument 164 setDisplayNumber(String number, int subId) argument 168 setDataRoaming(int roaming, int subId) argument 172 setMccMnc(String mccMnc, int subId) argument 176 getSlotIndex(int subId) argument 192 setSlotSubId(int slotIndex, int subId) argument 204 getPhoneId(int subId) argument 225 setDefaultSmsSubId(int subId) argument 233 setDefaultVoiceSubId(int subId) argument 261 isActiveSubId(int subId) argument 269 setSubscriptionProperty(int subId, String propKey, String propValue) argument 273 getSubscriptionProperty(int subId, String propKey, String callingPackage) argument [all...] |
H A D | TelephonyRegistryMock.java | 53 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in class:TelephonyRegistryMock.Record 73 + " callerUserId=" + callerUserId + " subId=" + subId + " phoneId=" + phoneId 183 public void listenForSubscriber(int subId, String pkg, IPhoneStateListener callback, int events, argument 194 public void notifyCallStateForPhoneId(int phoneId, int subId, int state, argument 200 public void notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) { argument 205 public void notifySignalStrengthForPhoneId(int phoneId, int subId, argument 211 public void notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) { argument 221 public void notifyCallForwardingChangedForSubscriber(int subId, boolean cfi) { argument 231 public void notifyDataActivityForSubscriber(int subId, in argument 243 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 256 notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) argument 266 notifyCellLocationForSubscriber(int subId, Bundle cellLocation) argument 286 notifyPhysicalChannelConfigurationForSubscriber(int subId, List<PhysicalChannelConfig> configs) argument 309 notifyCellInfoForSubscriber(int subId, List<CellInfo> cellInfo) argument 319 notifyOemHookRawEventForSubscriber(int subId, byte[] rawData) argument 329 notifySimActivationStateChangedForPhoneId(int phoneId, int subId, int activationType, int state) argument 335 notifyUserMobileDataStateChangedForPhoneId(int phoneId, int subId, boolean state) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | SubscriptionManager.java | 661 * Get the active SubscriptionInfo with the input subId. 667 * @param subId The unique SubscriptionInfo key in database. 672 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { argument 673 if (VDBG) logd("[getActiveSubscriptionInfo]+ subId=" + subId); 674 if (!isValidSubscriptionId(subId)) { 676 logd("[getActiveSubscriptionInfo]- invalid subId"); 686 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName()); 1034 * @param subId the unique SubInfoRecord index in database 1038 public int setIconTint(int tint, int subId) { argument 1067 setDisplayName(String displayName, int subId) argument 1080 setDisplayName(String displayName, int subId, long nameSource) argument 1112 setDisplayNumber(String number, int subId) argument 1140 setDataRoaming(int roaming, int subId) argument 1167 getSlotIndex(int subId) argument 1211 getPhoneId(int subId) argument 1288 setDefaultVoiceSubId(int subId) argument 1341 setDefaultSmsSubId(int subId) argument 1394 setDefaultDataSubId(int subId) argument 1473 isValidSubscriptionId(int subId) argument 1482 isUsableSubIdValue(int subId) argument 1507 putPhoneIdAndSubIdExtra(Intent intent, int phoneId, int subId) argument 1551 isNetworkRoaming(int subId) argument 1598 setSubscriptionProperty(int subId, String propKey, String propValue) argument 1616 getSubscriptionProperty(int subId, String propKey, Context context) argument 1639 getBooleanSubscriptionProperty(int subId, String propKey, boolean defValue, Context context) argument 1660 getIntegerSubscriptionProperty(int subId, String propKey, int defValue, Context context) argument 1680 getResourcesForSubId(Context context, int subId) argument 1703 isActiveSubId(int subId) argument 1731 getSubscriptionPlans(int subId) argument 1763 setSubscriptionPlans(int subId, @NonNull List<SubscriptionPlan> plans) argument 1773 getSubscriptionPlansOwner(int subId) argument 1805 setSubscriptionOverrideUnmetered(int subId, boolean overrideUnmetered, @DurationMillisLong long timeoutMillis) argument 1841 setSubscriptionOverrideCongested(int subId, boolean overrideCongested, @DurationMillisLong long timeoutMillis) argument 1862 createManageSubscriptionIntent(int subId) argument 1885 createRefreshSubscriptionIntent(int subId) argument 1914 isSubscriptionPlansRefreshSupported(int subId) argument 1928 requestSubscriptionPlansRefresh(int subId) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | INetworkPolicyListener.aidl | 25 void onSubscriptionOverride(int subId, int overrideMask, int overrideValue);
|
H A D | INetworkPolicyManager.aidl | 69 SubscriptionPlan[] getSubscriptionPlans(int subId, String callingPackage); 70 void setSubscriptionPlans(int subId, in SubscriptionPlan[] plans, String callingPackage); 71 String getSubscriptionPlansOwner(int subId); 72 void setSubscriptionOverride(int subId, int overrideMask, int overrideValue, long timeoutMillis, String callingPackage);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 78 * a subId changes from to a dummy value when a SIM is removed and thus won't 79 * compare properly. Because SubscriptionManager.getPhoneId(int subId) handles 108 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in class:TelephonyRegistry.Record 123 context, subId, callerPid, callerUid, callingPackage); 135 + " callerUid=" + callerUid + " subId=" + subId + " phoneId=" + phoneId 251 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 464 public void listenForSubscriber(int subId, String pkgForDebug, IPhoneStateListener callback, argument 466 listen(pkgForDebug, callback, events, notifyNow, subId); 470 boolean notifyNow, int subId) { 469 listen(String callingPackage, IPhoneStateListener callback, int events, boolean notifyNow, int subId) argument 765 notifyCallStateForPhoneId(int phoneId, int subId, int state, String incomingNumber) argument 796 notifyServiceStateForPhoneId(int phoneId, int subId, ServiceState state) argument 838 notifySimActivationStateChangedForPhoneId(int phoneId, int subId, int activationType, int activationState) argument 899 notifySignalStrengthForPhoneId(int phoneId, int subId, SignalStrength signalStrength) argument 984 notifyCellInfoForSubscriber(int subId, List<CellInfo> cellInfo) argument 1020 notifyPhysicalChannelConfigurationForSubscriber(int subId, List<PhysicalChannelConfig> configs) argument 1055 notifyMessageWaitingChangedForPhoneId(int phoneId, int subId, boolean mwi) argument 1082 notifyUserMobileDataStateChangedForPhoneId(int phoneId, int subId, boolean state) argument 1113 notifyCallForwardingChangedForSubscriber(int subId, boolean cfi) argument 1145 notifyDataActivityForSubscriber(int subId, int state) argument 1177 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1248 notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) argument 1282 notifyCellLocationForSubscriber(int subId, Bundle cellLocation) argument 1431 notifyOemHookRawEventForSubscriber(int subId, byte[] rawData) argument 1511 broadcastServiceStateChanged(ServiceState state, int phoneId, int subId) argument 1532 broadcastSignalStrengthChanged(SignalStrength signalStrength, int phoneId, int subId) argument 1558 broadcastCallStateChanged(int state, String incomingNumber, int phoneId, int subId) argument 1607 broadcastDataConnectionStateChanged(int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument 1641 broadcastDataConnectionFailed(String reason, String apnType, int subId) argument 1704 checkListenerPermission( int events, int subId, String callingPackage, String message) argument 1775 idMatch(int rSubId, int subId, int phoneId) argument [all...] |
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
H A D | CarrierActionUtils.java | 101 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 103 logd("onDisableAllMeteredApns subId: " + subId); 105 telephonyMgr.carrierActionSetMeteredApnsEnabled(subId, !ENABLE); 109 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 111 logd("onEnableAllMeteredApns subId: " + subId); 113 telephonyMgr.carrierActionSetMeteredApnsEnabled(subId, ENABLE); 133 int subId = intent.getIntExtra(PhoneConstants.SUBSCRIPTION_KEY, 135 logd("onRegisterDefaultNetworkAvail subId [all...] |