/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
H A D | KeyguardUpdateMonitorTest.java | 87 protected void handleSimStateChange(int subId, int slotId, argument 90 super.handleSimStateChange(subId, slotId, state);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | DcParamObject.java | 26 public DcParamObject(int subId) { argument 27 mSubId = subId;
|
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 | CallerInfo.java | 330 int subId = SubscriptionManager.getDefaultSubscriptionId(); 331 return getCallerInfo(context, number, subId); 339 * @param subId the subscription for checking for if voice mail number or not 345 public static CallerInfo getCallerInfo(Context context, String number, int subId) { argument 356 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) { 447 int subId = SubscriptionManager.getDefaultSubscriptionId(); 448 return markAsVoiceMail(subId); 452 /* package */ CallerInfo markAsVoiceMail(int subId) { argument 456 String voiceMailLabel = TelephonyManager.getDefault().getVoiceMailAlphaTag(subId);
|
H A D | CallerInfoAsyncQuery.java | 89 public int subId; field in class:CallerInfoAsyncQuery.CookieWrapper 328 mCallerInfo = new CallerInfo().markAsVoiceMail(cw.subId); 433 int subId = SubscriptionManager.getDefaultSubscriptionId(); 434 return startQuery(token, context, number, listener, cookie, subId); 449 OnQueryCompleteListener listener, Object cookie, int subId) { 477 cw.subId = subId; 482 } else if (PhoneNumberUtils.isVoiceMailNumber(context, subId, number)) { 448 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, int subId) argument
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
H A D | CarrierDefaultReceiverTest.java | 62 private static int subId = 0; field in class:CarrierDefaultReceiverTest 92 intent.putExtra(PhoneConstants.SUBSCRIPTION_KEY, subId); 107 verify(mTelephonyMgr).carrierActionSetMeteredApnsEnabled(eq(subId), eq(false));
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardEsimArea.java | 99 public static boolean isEsimLocked(Context context, int subId) { argument 105 SubscriptionInfo sub = SubscriptionManager.from(context).getActiveSubscriptionInfo(subId);
|
H A D | KeyguardSimPinView.java | 67 public void onSimStateChanged(int subId, int slotId, State simState) { 68 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")"); 161 int subId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED); 162 if (subId != mSubId && SubscriptionManager.isValidSubscriptionId(subId)) { 163 mSubId = subId; 258 protected CheckSimPin(String pin, int subId) { argument 260 mSubId = subId;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | NetworkScan.java | 140 * @param subId the id of the subscription 143 public NetworkScan(int scanId, int subId) { argument 145 mSubId = subId;
|
H A D | TelephonyScanManager.java | 194 public NetworkScan requestNetworkScan(int subId, argument 199 int scanId = telephony.requestNetworkScan(subId, request, mMessenger, new Binder()); 201 return new NetworkScan(scanId, subId);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
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 | PhoneNotifier.java | 72 public void notifyOemHookRawEventForSubscriber(int subId, byte[] rawData); argument
|
H A D | VisualVoicemailSmsFilter.java | 59 * Convert the subId to a {@link PhoneAccountHandle} 61 PhoneAccountHandle fromSubId(int subId); argument 78 public PhoneAccountHandle fromSubId(int subId) { 79 if (!SubscriptionManager.isValidSubscriptionId(subId)) { 82 int phoneId = SubscriptionManager.getPhoneId(subId); 119 int subId) { 124 settings = telephonyManager.getActiveVisualVoicemailSmsFilterSettings(subId); 130 PhoneAccountHandle phoneAccountHandle = sPhoneAccountHandleConverter.fromSubId(subId); 133 Log.e(TAG, "Unable to convert subId " + subId 118 filter(Context context, byte[][] pdus, String format, int destPort, int subId) argument [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 | IccProvider.java | 72 URL_MATCHER.addURI("icc", "adn/subId/#", ADN_SUB); 74 URL_MATCHER.addURI("icc", "fdn/subId/#", FDN_SUB); 76 URL_MATCHER.addURI("icc", "sdn/subId/#", SDN_SUB); 131 int subId; 134 subId = subInfoList.get(i).getSubscriptionId(); 135 result[i] = loadFromEf(efType, subId); 136 Rlog.i(TAG,"ADN Records loaded for Subscription ::" + subId); 165 int subId; 173 subId = SubscriptionManager.getDefaultSubscriptionId(); 178 subId 393 loadFromEf(int efType, int subId) argument 427 addIccRecordToEf(int efType, String name, String number, String[] emails, String pin2, int subId) argument 457 updateIccRecordInEf(int efType, String oldName, String oldNumber, String newName, String newNumber, String pin2, int subId) argument 483 deleteIccRecordFromEf(int efType, String name, String number, String[] emails, String pin2, int subId) argument [all...] |
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 | WapPushOverSms.java | 175 // Should we "abort" if no subId for now just no supplying extra param below 258 int subId = (subIds != null) && (subIds.length > 0) ? subIds[0] 265 parsedPdu = new PduParser(intentData, shouldParseContentDisposition(subId)).parse(); 299 result.subId = subId; 335 writeInboxMessage(result.subId, result.parsedPdu); 429 private static boolean shouldParseContentDisposition(int subId) { argument 431 .getSmsManagerForSubscriptionId(subId) 436 private void writeInboxMessage(int subId, GenericPdu pdu) { argument 480 Bundle configs = SmsManager.getSmsManagerForSubscriptionId(subId) 628 int subId; field in class:WapPushOverSms.DecodedResult [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
H A D | TestImsServiceControllerAdapter.java | 115 public void removeImsFeature(int subId, int feature) throws RemoteException { argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneSwitcherTest.java | 154 private NetworkRequest makeSubSpecificDefaultRequest(ConnectivityServiceMock cs, int subId) { argument 159 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); 163 private NetworkRequest makeSubSpecificMmsRequest(ConnectivityServiceMock cs, int subId) { argument 168 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); 349 fail("after loss of request due to subId map change, ActivePhoneSwitchCount not 9!"); 358 fail("after gain of request due to subId map change, ActivePhoneSwitchCount not 10!");
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | TelephonyNetworkFactoryTest.java | 123 private NetworkRequest makeSubSpecificDefaultRequest(TestSetup ts, int subId) { argument 128 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); 131 private NetworkRequest makeSubSpecificMmsRequest(TestSetup ts, int subId) { argument 136 netCap.setNetworkSpecifier(new StringNetworkSpecifier(Integer.toString(subId))); 150 final int subId = 0; 156 ts.subscriptionControllerMock.setDefaultDataSubId(subId); 157 ts.subscriptionControllerMock.setSlotSubId(phoneId, subId); 175 log("makeSubSpecificDefaultRequest: subId = " + subId); 176 NetworkRequest subSpecificDefault = makeSubSpecificDefaultRequest(ts, subId); [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 100 || styleId == mStyleIDs.subId || styleId == mStyleIDs.supId 124 mStyleIDs.subId = styleId; 159 private int subId = -1; field in class:StringBlock.StyleIDs 202 } else if (type == ids.subId) {
|
/frameworks/base/core/java/android/service/carrier/ |
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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CallbackHandler.java | 128 final String description, final boolean isWide, final int subId, boolean roaming) { 135 subId, roaming); 125 setMobileDataIndicators(final IconState statusIcon, final IconState qsIcon, final int statusType, final int qsType,final boolean activityIn, final boolean activityOut, final String typeContentDescription, final String description, final boolean isWide, final int subId, boolean roaming) argument
|
/frameworks/opt/telephony/src/java/android/telephony/ |
H A D | CellBroadcastMessage.java | 53 * Indicates the subId 64 public void setSubId(int subId) { argument 65 mSubId = subId;
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkPolicyManager.java | 381 @Override public void onSubscriptionOverride(int subId, int overrideMask, int overrideValue) { } argument
|