/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephony.aidl | 113 boolean isRadioOnForSubscriber(int subId, String callingPackage); in isRadioOnForSubscriber() argument 122 …boolean isRadioOnForSubscriberWithFeature(int subId, String callingPackage, String callingFeatureI… in isRadioOnForSubscriberWithFeature() argument 132 boolean supplyPinForSubscriber(int subId, String pin); in supplyPinForSubscriber() argument 142 boolean supplyPukForSubscriber(int subId, String puk, String pin); in supplyPukForSubscriber() argument 151 int[] supplyPinReportResultForSubscriber(int subId, String pin); in supplyPinReportResultForSubscriber() argument 162 int[] supplyPukReportResultForSubscriber(int subId, String puk, String pin); in supplyPukReportResultForSubscriber() argument 182 void handleUssdRequest(int subId, String ussdRequest, in ResultReceiver wrappedCallback); in handleUssdRequest() argument 193 boolean handlePinMmiForSubscriber(int subId, String dialString); in handlePinMmiForSubscriber() argument 205 void toggleRadioOnOffForSubscriber(int subId); in toggleRadioOnOffForSubscriber() argument 217 boolean setRadioForSubscriber(int subId, boolean turnOn); in setRadioForSubscriber() argument [all …]
|
D | ISms.aidl | 35 List<SmsRawData> getAllMessagesFromIccEfForSubscriber(in int subId, String callingPkg); in getAllMessagesFromIccEfForSubscriber() argument 49 boolean updateMessageOnIccEfForSubscriber(in int subId, String callingPkg, in updateMessageOnIccEfForSubscriber() argument 62 boolean copyMessageToIccEfForSubscriber(in int subId, String callingPkg, int status, in copyMessageToIccEfForSubscriber() argument 89 void sendDataForSubscriber(int subId, String callingPkg, String callingattributionTag, in sendDataForSubscriber() argument 121 void sendTextForSubscriber(in int subId, String callingPkg, String callingAttributionTag, in sendTextForSubscriber() argument 171 void sendTextForSubscriberWithOptions(in int subId, String callingPkg, in sendTextForSubscriberWithOptions() argument 190 int subId, in byte[] pdu, String format, in PendingIntent receivedIntent); in injectSmsPduForSubscriber() argument 219 void sendMultipartTextForSubscriber(in int subId, String callingPkg, in sendMultipartTextForSubscriber() argument 268 void sendMultipartTextForSubscriberWithOptions(in int subId, String callingPkg, in sendMultipartTextForSubscriberWithOptions() argument 291 boolean enableCellBroadcastForSubscriber(int subId, int messageIdentifier, int ranType); in enableCellBroadcastForSubscriber() argument [all …]
|
D | ISmsImplBase.java | 31 public List<SmsRawData> getAllMessagesFromIccEfForSubscriber(int subId, String callingPkg) { in getAllMessagesFromIccEfForSubscriber() argument 36 public boolean updateMessageOnIccEfForSubscriber(int subId, String callingPkg, int messageIndex, in updateMessageOnIccEfForSubscriber() argument 42 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPkg, int status, in copyMessageToIccEfForSubscriber() argument 48 public void sendDataForSubscriber(int subId, String callingPkg, String callingAttributionTag, in sendDataForSubscriber() argument 55 public void sendTextForSubscriber(int subId, String callingPkg, String callingAttributionTag, in sendTextForSubscriber() argument 62 public void sendTextForSubscriberWithOptions(int subId, String callingPkg, in sendTextForSubscriberWithOptions() argument 72 int subId, byte[] pdu, String format, PendingIntent receivedIntent) { in injectSmsPduForSubscriber() argument 77 public void sendMultipartTextForSubscriber(int subId, String callingPkg, in sendMultipartTextForSubscriber() argument 85 public void sendMultipartTextForSubscriberWithOptions(int subId, String callingPkg, in sendMultipartTextForSubscriberWithOptions() argument 94 public boolean enableCellBroadcastForSubscriber(int subId, int messageIdentifier, int ranType) { in enableCellBroadcastForSubscriber() argument [all …]
|
D | IPhoneSubInfo.aidl | 39 String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getNaiForSubscriber() argument 50 String getImeiForSubscriber(int subId, String callingPackage, String callingFeatureId); in getImeiForSubscriber() argument 62 String getDeviceSvnUsingSubId(int subId, String callingPackage, String callingFeatureId); in getDeviceSvnUsingSubId() argument 76 String getSubscriberIdForSubscriber(int subId, String callingPackage, in getSubscriberIdForSubscriber() argument 82 String getGroupIdLevel1ForSubscriber(int subId, String callingPackage, in getGroupIdLevel1ForSubscriber() argument 97 String getIccSerialNumberForSubscriber(int subId, String callingPackage, in getIccSerialNumberForSubscriber() argument 108 String getLine1NumberForSubscriber(int subId, String callingPackage, String callingFeatureId); in getLine1NumberForSubscriber() argument 119 String getLine1AlphaTagForSubscriber(int subId, String callingPackage, in getLine1AlphaTagForSubscriber() argument 131 String getMsisdnForSubscriber(int subId, String callingPackage, String callingFeatureId); in getMsisdnForSubscriber() argument 141 String getVoiceMailNumberForSubscriber(int subId, String callingPackage, in getVoiceMailNumberForSubscriber() argument [all …]
|
D | ISub.aidl | 47 SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage, in getActiveSubscriptionInfo() argument 157 int setIconTint(int tint, int subId); in setIconTint() argument 166 int setDisplayNameUsingSrc(String displayName, int subId, int nameSource); in setDisplayNameUsingSrc() argument 174 int setDisplayNumber(String number, int subId); in setDisplayNumber() argument 182 int setDataRoaming(int roaming, int subId); in setDataRoaming() argument 191 int setOpportunistic(boolean opportunistic, int subId, String callingPackage); in setOpportunistic() argument 223 void setPreferredDataSubscriptionId(int subId, boolean needValidation, in setPreferredDataSubscriptionId() argument 252 int getSlotIndex(int subId); in getSlotIndex() argument 260 int getPhoneId(int subId); in getPhoneId() argument 268 void setDefaultDataSubId(int subId); in setDefaultDataSubId() argument [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellularNetworkValidatorTest.java | 107 int subId = 1; in testValidateSuccess() local 109 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateSuccess() 110 assertInValidation(subId); in testValidateSuccess() 114 assertValidationResult(subId, true); in testValidateSuccess() 120 int subId = 1; in testValidateTimeout() local 122 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateTimeout() 123 assertInValidation(subId); in testValidateTimeout() 128 assertValidationResult(subId, false); in testValidateTimeout() 134 int subId = 1; in testValidateFailure() local 136 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateFailure() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneSubInfoController.java | 75 public String getNaiForSubscriber(int subId, String callingPackage, String callingFeatureId) { in getNaiForSubscriber() argument 76 return callPhoneMethodForSubIdWithReadSubscriberIdentifiersCheck(subId, callingPackage, in getNaiForSubscriber() 80 public String getImeiForSubscriber(int subId, String callingPackage, in getImeiForSubscriber() argument 82 return callPhoneMethodForSubIdWithReadDeviceIdentifiersCheck(subId, callingPackage, in getImeiForSubscriber() 86 public ImsiEncryptionInfo getCarrierInfoForImsiEncryption(int subId, int keyType, in getCarrierInfoForImsiEncryption() argument 88 return callPhoneMethodForSubIdWithPrivilegedCheck(subId, in getCarrierInfoForImsiEncryption() 93 public void setCarrierInfoForImsiEncryption(int subId, String callingPackage, in setCarrierInfoForImsiEncryption() argument 95 callPhoneMethodForSubIdWithModifyCheck(subId, callingPackage, in setCarrierInfoForImsiEncryption() 110 public void resetCarrierKeysForImsiEncryption(int subId, String callingPackage) { in resetCarrierKeysForImsiEncryption() argument 111 callPhoneMethodForSubIdWithModifyCheck(subId, callingPackage, in resetCarrierKeysForImsiEncryption() [all …]
|
D | SmsController.java | 64 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 86 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); in updateMessageOnIccEfForSubscriber() 91 + " for Subscription: " + subId); in updateMessageOnIccEfForSubscriber() 98 public boolean copyMessageToIccEfForSubscriber(int subId, String callingPackage, int status, in copyMessageToIccEfForSubscriber() argument 103 IccSmsInterfaceManager iccSmsIntMgr = getIccSmsInterfaceManager(subId); in copyMessageToIccEfForSubscriber() 108 + " for Subscription: " + subId); in copyMessageToIccEfForSubscriber() [all …]
|
D | CellularNetworkValidator.java | 117 synchronized boolean isRecentlyValidated(int subId) { in isRecentlyValidated() argument 118 long cacheTtl = getValidationCacheTtl(subId); in isRecentlyValidated() 119 String networkIdentity = getValidationNetworkIdentity(subId); in isRecentlyValidated() 125 logd("isRecentlyValidated on subId " + subId + " ? " + recentlyValidated); in isRecentlyValidated() 129 synchronized void storeLastValidationResult(int subId, boolean validated) { 130 String networkIdentity = getValidationNetworkIdentity(subId); 131 logd("storeLastValidationResult for subId " + subId 161 private String getValidationNetworkIdentity(int subId) { 162 if (!SubscriptionManager.isUsableSubscriptionId(subId)) return null; 165 Phone phone = PhoneFactory.getPhone(subController.getPhoneId(subId)); [all …]
|
D | SubscriptionController.java | 526 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage) { in getActiveSubscriptionInfo() argument 527 return getActiveSubscriptionInfo(subId, callingPackage, null); in getActiveSubscriptionInfo() 538 public SubscriptionInfo getActiveSubscriptionInfo(int subId, String callingPackage, in getActiveSubscriptionInfo() argument 540 if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mContext, subId, callingPackage, in getActiveSubscriptionInfo() 552 if (si.getSubscriptionId() == subId) { in getActiveSubscriptionInfo() 554 logd("[getActiveSubscriptionInfo]+ subId=" + subId + " subInfo=" + si); in getActiveSubscriptionInfo() 562 logd("[getActiveSubscriptionInfo]- subId=" + subId in getActiveSubscriptionInfo() 579 public SubscriptionInfo getSubscriptionInfo(int subId) { in getSubscriptionInfo() argument 583 if (subInfo.getSubscriptionId() == subId) { in getSubscriptionInfo() 589 if (subInfo.getSubscriptionId() == subId) { in getSubscriptionInfo() [all …]
|
D | MultiSimSettingController.java | 147 int subId = intent.getIntExtra(CarrierConfigManager.EXTRA_SUBSCRIPTION_INDEX, 149 notifyCarrierConfigChanged(phoneId, subId); 202 public void notifyUserDataEnabled(int subId, boolean enable) { in notifyUserDataEnabled() argument 203 if (SubscriptionManager.isValidSubscriptionId(subId)) { in notifyUserDataEnabled() 204 obtainMessage(EVENT_USER_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyUserDataEnabled() 211 public void notifyRoamingDataEnabled(int subId, boolean enable) { in notifyRoamingDataEnabled() argument 212 if (SubscriptionManager.isValidSubscriptionId(subId)) { in notifyRoamingDataEnabled() 213 obtainMessage(EVENT_ROAMING_DATA_ENABLED, subId, enable ? 1 : 0).sendToTarget(); in notifyRoamingDataEnabled() 250 int subId = msg.arg1; in handleMessage() local 252 onUserDataEnabled(subId, enable); in handleMessage() [all …]
|
D | GlobalSettingsHelper.java | 34 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 …]
|
D | UiccPhoneBookController.java | 50 updateAdnRecordsInEfBySearchForSubscriber(int subId, int efid, String oldTag, in updateAdnRecordsInEfBySearchForSubscriber() argument 54 getIccPhoneBookInterfaceManager(subId); in updateAdnRecordsInEfBySearchForSubscriber() 60 " null for Subscription:"+subId); in updateAdnRecordsInEfBySearchForSubscriber() 75 updateAdnRecordsInEfByIndexForSubscriber(int subId, int efid, String newTag, in updateAdnRecordsInEfByIndexForSubscriber() argument 78 getIccPhoneBookInterfaceManager(subId); in updateAdnRecordsInEfByIndexForSubscriber() 84 " null for Subscription:"+subId); in updateAdnRecordsInEfByIndexForSubscriber() 96 getAdnRecordsSizeForSubscriber(int subId, int efid) throws android.os.RemoteException { in getAdnRecordsSizeForSubscriber() argument 98 getIccPhoneBookInterfaceManager(subId); in getAdnRecordsSizeForSubscriber() 103 " null for Subscription:"+subId); in getAdnRecordsSizeForSubscriber() 114 public List<AdnRecord> getAdnRecordsInEfForSubscriber(int subId, int efid) in getAdnRecordsInEfForSubscriber() argument [all …]
|
D | IccProvider.java | 138 int subId; in loadAllSimContacts() local 141 subId = subInfoList.get(i).getSubscriptionId(); in loadAllSimContacts() 142 result[i] = loadFromEf(efType, subId); in loadAllSimContacts() 143 Rlog.i(TAG,"ADN Records loaded for Subscription ::" + subId); in loadAllSimContacts() 172 int subId; in insert() local 180 subId = SubscriptionManager.getDefaultSubscriptionId(); in insert() 185 subId = getRequestSubId(url); in insert() 190 subId = SubscriptionManager.getDefaultSubscriptionId(); in insert() 196 subId = getRequestSubId(url); in insert() 208 boolean success = addIccRecordToEf(efType, tag, number, null, pin2, subId); in insert() [all …]
|
D | PhoneSwitcher.java | 172 public void onValidationDone(boolean validated, int subId) { 174 EVENT_NETWORK_VALIDATION_DONE, subId, validated ? 1 : 0).sendToTarget(); 178 public void onNetworkAvailable(Network network, int subId) { 180 EVENT_NETWORK_AVAILABLE, subId, 0, network).sendToTarget(); 483 int subId = msg.arg1; in handleMessage() local 487 setOpportunisticDataSubscription(subId, needValidation, callback); in handleMessage() 526 int subId = msg.arg1; in handleMessage() local 528 onValidationDone(subId, passed); in handleMessage() 532 int subId = msg.arg1; in handleMessage() local 534 onNetworkAvailable(subId, network); in handleMessage() [all …]
|
D | DefaultPhoneNotifier.java | 69 int subId = sender.getSubId(); in notifyPhoneState() local 75 mTelephonyRegistryMgr.notifyCallStateChanged(subId, phoneId, in notifyPhoneState() 83 int subId = sender.getSubId(); in notifyServiceState() local 86 + " sender=" + sender + " phondId=" + phoneId + " subId=" + subId); in notifyServiceState() 91 mTelephonyRegistryMgr.notifyServiceStateChanged(subId, phoneId, ss); in notifyServiceState() 97 int subId = sender.getSubId(); in notifySignalStrength() local 103 mTelephonyRegistryMgr.notifySignalStrengthChanged(subId, phoneId, in notifySignalStrength() 110 int subId = sender.getSubId(); in notifyMessageWaitingChanged() local 111 mTelephonyRegistryMgr.notifyMessageWaitingChanged(subId, phoneId, in notifyMessageWaitingChanged() 117 int subId = sender.getSubId(); in notifyCallForwardingChanged() local [all …]
|
/frameworks/base/core/java/android/telephony/ |
D | TelephonyRegistryManager.java | 233 public void notifyCallStateChanged(int subId, int slotIndex, @CallState int state, in notifyCallStateChanged() argument 236 sRegistry.notifyCallState(slotIndex, subId, state, incomingNumber); in notifyCallStateChanged() 267 public void notifyServiceStateChanged(int subId, int slotIndex, @NonNull ServiceState state) { in notifyServiceStateChanged() argument 269 sRegistry.notifyServiceStateForPhoneId(slotIndex, subId, state); in notifyServiceStateChanged() 283 public void notifySignalStrengthChanged(int subId, int slotIndex, in notifySignalStrengthChanged() argument 286 sRegistry.notifySignalStrengthForPhoneId(slotIndex, subId, signalStrength); in notifySignalStrengthChanged() 302 public void notifyMessageWaitingChanged(int subId, int slotIndex, boolean msgWaitingInd) { in notifyMessageWaitingChanged() argument 304 sRegistry.notifyMessageWaitingChangedForPhoneId(slotIndex, subId, msgWaitingInd); in notifyMessageWaitingChanged() 317 public void notifyCallForwardingChanged(int subId, boolean callForwardInd) { in notifyCallForwardingChanged() argument 319 sRegistry.notifyCallForwardingChangedForSubscriber(subId, callForwardInd); in notifyCallForwardingChanged() [all …]
|
/frameworks/base/core/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 52 void listenForSubscriber(in int subId, String pkg, String featureId, in listenForSubscriber() argument 56 void notifyCallState(in int phoneId, in int subId, int state, String incomingNumber); in notifyCallState() argument 57 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state); in notifyServiceStateForPhoneId() argument 58 void notifySignalStrengthForPhoneId(in int phoneId, in int subId, in notifySignalStrengthForPhoneId() argument 60 void notifyMessageWaitingChangedForPhoneId(in int phoneId, in int subId, in boolean mwi); in notifyMessageWaitingChangedForPhoneId() argument 63 void notifyCallForwardingChangedForSubscriber(in int subId, boolean cfi); in notifyCallForwardingChangedForSubscriber() argument 66 void notifyDataActivityForSubscriber(in int subId, int state); in notifyDataActivityForSubscriber() argument 68 int phoneId, int subId, String apnType, in PreciseDataConnectionState preciseState); in notifyDataConnectionForSubscriber() argument 71 void notifyDataConnectionFailedForSubscriber(int phoneId, int subId, String apnType); in notifyDataConnectionFailedForSubscriber() argument 74 void notifyCellLocationForSubscriber(in int subId, in CellIdentity cellLocation); in notifyCellLocationForSubscriber() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | IImsRcsController.aidl | 34 void registerImsRegistrationCallback(int subId, IImsRegistrationCallback c); in registerImsRegistrationCallback() argument 35 void unregisterImsRegistrationCallback(int subId, IImsRegistrationCallback c); in unregisterImsRegistrationCallback() argument 36 void getImsRcsRegistrationState(int subId, IIntegerConsumer consumer); in getImsRcsRegistrationState() argument 37 void getImsRcsRegistrationTransportType(int subId, IIntegerConsumer consumer); in getImsRcsRegistrationTransportType() argument 40 void registerRcsAvailabilityCallback(int subId, IImsCapabilityCallback c); in registerRcsAvailabilityCallback() argument 41 void unregisterRcsAvailabilityCallback(int subId, IImsCapabilityCallback c); in unregisterRcsAvailabilityCallback() argument 42 boolean isCapable(int subId, int capability, int radioTech); in isCapable() argument 43 boolean isAvailable(int subId, int capability); in isAvailable() argument 46 void requestCapabilities(int subId, String callingPackage, String callingFeatureId, in requestCapabilities() argument 48 int getUcePublishState(int subId); in getUcePublishState() argument [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 93 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneState() argument 95 return checkReadPhoneState(context, subId, Binder.getCallingPid(), Binder.getCallingUid(), in checkCallingOrSelfReadPhoneState() 101 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneStateNoThrow() argument 104 return checkCallingOrSelfReadPhoneState(context, subId, callingPackage, in checkCallingOrSelfReadPhoneStateNoThrow() 134 Context context, int subId, int pid, int uid, String callingPackage, in checkReadPhoneState() argument 149 if (SubscriptionManager.isValidSubscriptionId(subId)) { in checkReadPhoneState() 150 enforceCarrierPrivilege(context, subId, uid, message); in checkReadPhoneState() 168 public static boolean checkCarrierPrivilegeForSubId(Context context, int subId) { in checkCarrierPrivilegeForSubId() argument 169 if (SubscriptionManager.isValidSubscriptionId(subId) in checkCarrierPrivilegeForSubId() 170 && getCarrierPrivilegeStatus(context, subId, Binder.getCallingUid()) in checkCarrierPrivilegeForSubId() [all …]
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierMessagingService.java | 127 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/opt/net/ims/src/java/com/android/ims/ |
D | ImsCallbackAdapterManager.java | 93 for (Integer subId : storedSubIds) { in ImsCallbackAdapterManager() 94 removeCallbacksForSubscription(subId); in ImsCallbackAdapterManager() 116 public void addCallbackForSubscription(T localCallback, int subId) { in addCallbackForSubscription() argument 117 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in addCallbackForSubscription() 118 Log.w(TAG + " [" + mSlotId + "]", "add callback: invalid subId " + subId); in addCallbackForSubscription() 123 linkCallbackToSubscription(localCallback, subId); in addCallbackForSubscription() 139 public void removeCallbackForSubscription(T localCallback, int subId) { in removeCallbackForSubscription() argument 140 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in removeCallbackForSubscription() 141 Log.w(TAG + " [" + mSlotId + "]", "remove callback: invalid subId " + subId); in removeCallbackForSubscription() 146 unlinkCallbackFromSubscription(localCallback, subId); in removeCallbackForSubscription() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 1168 public SubscriptionInfo getActiveSubscriptionInfo(int subId) { in getActiveSubscriptionInfo() argument 1169 if (VDBG) logd("[getActiveSubscriptionInfo]+ subId=" + subId); in getActiveSubscriptionInfo() 1170 if (!isValidSubscriptionId(subId)) { in getActiveSubscriptionInfo() 1182 subInfo = iSub.getActiveSubscriptionInfo(subId, mContext.getOpPackageName(), in getActiveSubscriptionInfo() 1687 public int setIconTint(int tint, int subId) { in setIconTint() argument 1688 if (VDBG) logd("[setIconTint]+ tint:" + tint + " subId:" + subId); in setIconTint() 1689 return setSubscriptionPropertyHelper(subId, "setIconTint", in setIconTint() 1690 (iSub)-> iSub.setIconTint(tint, subId) in setIconTint() 1703 public int setDisplayName(String displayName, int subId, @SimDisplayNameSource int nameSource) { in setDisplayName() argument 1705 logd("[setDisplayName]+ displayName:" + displayName + " subId:" + subId in setDisplayName() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 147 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in TelephonyRegistry.Record 166 context, subId, callerPid, callerUid, callingPackage, callingFeatureId); in canReadCallLog() 179 + onOpportunisticSubscriptionsChangedListenerCallback + " subId=" + subId in toString() 375 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 796 public void listenForSubscriber(int subId, String callingPackage, String callingFeatureId, in listenForSubscriber() argument 798 listen(callingPackage, callingFeatureId, callback, events, notifyNow, subId); in listenForSubscriber() 802 IPhoneStateListener callback, int events, boolean notifyNow, int subId) { in listen() argument 807 + subId + " myUserId=" + UserHandle.myUserId() + " callerUserId=" + callerUserId; in listen() 817 if (!checkListenerPermission(events, subId, callingPackage, callingFeatureId, in listen() 822 int phoneId = getPhoneIdFromSubId(subId); in listen() [all …]
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 104 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onDisableAllMeteredApns() local 106 logd("onDisableAllMeteredApns subId: " + subId); in onDisableAllMeteredApns() 108 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(!ENABLE); in onDisableAllMeteredApns() 112 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onEnableAllMeteredApns() local 114 logd("onEnableAllMeteredApns subId: " + subId); in onEnableAllMeteredApns() 116 telephonyMgr.createForSubscriptionId(subId).setCarrierDataEnabled(ENABLE); in onEnableAllMeteredApns() 136 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onRegisterDefaultNetworkAvail() local 138 logd("onRegisterDefaultNetworkAvail subId: " + subId); in onRegisterDefaultNetworkAvail() 140 telephonyMgr.createForSubscriptionId(subId).reportDefaultNetworkStatus(true); in onRegisterDefaultNetworkAvail() 144 int subId = intent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, in onDeregisterDefaultNetworkAvail() local [all …]
|