/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 579 for (int phoneId = 0; phoneId < numPhones; phoneId++) { 1424 mIsDataEnabled[r.phoneId], mDataEnabledReason[r.phoneId]); in listen() 2257 if (validatePhoneId(phoneId) in notifyCellLocationForSubscriber() 3050 int phoneId, in addCarrierPrivilegesCallback() argument 3088 r.phoneId = phoneId; in addCarrierPrivilegesCallback() 3908 boolean valid = (phoneId >= 0) && (phoneId < getTelephonyManager().getActiveModemCount()); in validatePhoneId() 3934 return (r.phoneId == phoneId); in idMatch() 4087 + phoneId + " umds=" + mUserMobileDataState[phoneId]); 4099 + phoneId + " dpi=" + mTelephonyDisplayInfos[phoneId]); 4113 + phoneId + " mwi=" + mMessageWaiting[phoneId]); [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 57 void notifySignalStrengthForPhoneId(in int phoneId, in int subId, in notifySignalStrengthForPhoneId() argument 67 int phoneId, int subId, in PreciseDataConnectionState preciseState); in notifyDataConnectionForSubscriber() argument 74 void notifyDisconnectCause(int phoneId, int subId, int disconnectCause, in notifyDisconnectCause() argument 78 void notifySimActivationStateChangedForPhoneId(in int phoneId, in int subId, in notifySimActivationStateChangedForPhoneId() argument 90 void notifyEmergencyNumberList(in int phoneId, in int subId); in notifyEmergencyNumberList() argument 91 void notifyOutgoingEmergencyCall(in int phoneId, in int subId, in notifyOutgoingEmergencyCall() argument 93 void notifyOutgoingEmergencySms(in int phoneId, in int subId, in notifyOutgoingEmergencySms() argument 102 void notifyPhysicalChannelConfigForSubscriber(in int phoneId, in int subId, in notifyPhysicalChannelConfigForSubscriber() argument 106 void notifyLinkCapacityEstimateChanged(in int phoneId, in int subId, in notifyLinkCapacityEstimateChanged() argument 121 void notifyCallbackModeStarted(int phoneId, int subId, int type); in notifyCallbackModeStarted() argument [all …]
|
/aosp14/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsService.aidl | 36 int open(int phoneId, int serviceClass, in PendingIntent incomingCallIntent, in open() argument 51 void addRegistrationListener(int phoneId, int serviceClass, in addRegistrationListener() argument 68 IImsConfig getConfigInterface(int phoneId); in getConfigInterface() argument 73 void turnOnIms(int phoneId); in turnOnIms() argument 79 void turnOffIms(int phoneId); in turnOffIms() argument
|
/aosp14/frameworks/base/core/java/android/telephony/ |
H A D | CellBroadcastIntents.java | 106 private static void putPhoneIdAndSubIdExtra(Context context, Intent intent, int phoneId) { in putPhoneIdAndSubIdExtra() argument 107 int subId = SubscriptionManager.getSubscriptionId(phoneId); in putPhoneIdAndSubIdExtra() 112 intent.putExtra("phone", phoneId); in putPhoneIdAndSubIdExtra() 113 intent.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, phoneId); in putPhoneIdAndSubIdExtra()
|
H A D | TelephonyRegistryManager.java | 590 public void notifyOutgoingEmergencyCall(int phoneId, int subId, in notifyOutgoingEmergencyCall() argument 593 sRegistry.notifyOutgoingEmergencyCall(phoneId, subId, emergencyNumber); in notifyOutgoingEmergencyCall() 606 public void notifyOutgoingEmergencySms(int phoneId, int subId, in notifyOutgoingEmergencySms() argument 609 sRegistry.notifyOutgoingEmergencySms(phoneId, subId, emergencyNumber); in notifyOutgoingEmergencySms() 1554 public void notifyCallBackModeStarted(int phoneId, int subId, in notifyCallBackModeStarted() argument 1558 sRegistry.notifyCallbackModeStarted(phoneId, subId, type); in notifyCallBackModeStarted() 1574 public void notifyCallbackModeStopped(int phoneId, int subId, in notifyCallbackModeStopped() argument 1579 sRegistry.notifyCallbackModeStopped(phoneId, subId, type, reason); in notifyCallbackModeStopped()
|
/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyManager.java | 2586 int phoneId; in getCurrentPhoneType() local 2590 phoneId = 0; in getCurrentPhoneType() 8104 ret.set(phoneId, value); in updateTelephonyProperty() 8208 if ((phoneId >= 0) && (phoneId < values.length) && (values[phoneId] != null)) { in getTelephonyProperty() 8220 if (phoneId >= 0 && phoneId < prop.size()) ret = prop.get(phoneId); in getTelephonyProperty() 11570 int phoneId = getPhoneId(); in setSimOperatorNumeric() local 11594 int phoneId = getPhoneId(); in setSimOperatorName() local 11618 int phoneId = getPhoneId(); in setSimCountryIso() local 11642 int phoneId = getPhoneId(); in setSimState() local 11857 int phoneId = getPhoneId(); in setBasebandVersion() local [all …]
|
H A D | RadioAccessFamily.java | 98 public RadioAccessFamily(int phoneId, int radioAccessFamily) { in RadioAccessFamily() argument 99 mPhoneId = phoneId; in RadioAccessFamily() 161 int phoneId = in.readInt(); 164 return new android.telephony.RadioAccessFamily(phoneId, radioAccessFamily);
|
H A D | SubscriptionManager.java | 2467 public static boolean isValidPhoneId(int phoneId) { in isValidPhoneId() argument 2468 return phoneId >= 0 && phoneId < TelephonyManager.getDefault().getActiveModemCount(); in isValidPhoneId() 2473 public static void putPhoneIdAndSubIdExtra(Intent intent, int phoneId) { in putPhoneIdAndSubIdExtra() argument 2474 int subId = SubscriptionManager.getSubscriptionId(phoneId); in putPhoneIdAndSubIdExtra() 2476 putPhoneIdAndSubIdExtra(intent, phoneId, subId); in putPhoneIdAndSubIdExtra() 2479 intent.putExtra(PhoneConstants.PHONE_KEY, phoneId); in putPhoneIdAndSubIdExtra() 2480 intent.putExtra(EXTRA_SLOT_INDEX, phoneId); in putPhoneIdAndSubIdExtra() 2488 intent.putExtra(EXTRA_SLOT_INDEX, phoneId); in putPhoneIdAndSubIdExtra() 2489 intent.putExtra(PhoneConstants.PHONE_KEY, phoneId); in putPhoneIdAndSubIdExtra() 2553 final int phoneId = getPhoneId(subId); in isNetworkRoaming() local [all …]
|
H A D | CarrierConfigManager.java | 10925 public void updateConfigForPhoneId(int phoneId, String simState) { in updateConfigForPhoneId() argument 10929 Rlog.w(TAG, "Error updating config for phoneId=" + phoneId in updateConfigForPhoneId() 10933 loader.updateConfigForPhoneId(phoneId, simState); in updateConfigForPhoneId() 10935 Rlog.e(TAG, "Error updating config for phoneId=" + phoneId + ": " + ex); in updateConfigForPhoneId()
|
/aosp14/frameworks/base/telephony/java/android/service/carrier/ |
H A D | CarrierService.java | 236 public void getCarrierConfig(int phoneId, CarrierIdentifier id, ResultReceiver result) { in getCarrierConfig() argument 238 int subId = SubscriptionManager.getSubscriptionId(phoneId); in getCarrierConfig()
|
H A D | ICarrierService.aidl | 32 oneway void getCarrierConfig(in int phoneId, in CarrierIdentifier id, in ResultReceiver result); in getCarrierConfig() argument
|
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ICarrierConfigLoader.aidl | 37 void updateConfigForPhoneId(int phoneId, String simState); in updateConfigForPhoneId() argument
|
H A D | IPhoneSubInfo.aidl | 46 String getDeviceIdForPhone(int phoneId, String callingPackage, String callingFeatureId); in getDeviceIdForPhone() argument
|
H A D | ITelephony.aidl | 341 String getNetworkCountryIsoForPhone(int phoneId); in getNetworkCountryIsoForPhone() argument 1099 List<String> getCarrierPackageNamesForIntentAndPhone(in Intent intent, int phoneId); in getCarrierPackageNamesForIntentAndPhone() argument 1224 int getRadioAccessFamily(in int phoneId, String callingPackage); in getRadioAccessFamily() argument 1473 List<String> getPackagesWithCarrierPrivileges(int phoneId); in getPackagesWithCarrierPrivileges() argument
|
/aosp14/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
H A D | SlicePurchaseBroadcastReceiver.java | 154 int phoneId = intent.getIntExtra(SlicePurchaseController.EXTRA_PHONE_ID, in isIntentValid() local 156 if (phoneId == SubscriptionManager.INVALID_PHONE_INDEX) { in isIntentValid() 157 loge("isIntentValid: invalid phone index: " + phoneId); in isIntentValid()
|
/aosp14/frameworks/base/tests/notification/src/com/android/frameworks/tests/notification/ |
H A D | NotificationTests.java | 270 int phoneId = mNotifications.size(); in testCreate() local 272 = FullScreenActivity.getPendingIntent(mContext, phoneId); in testCreate()
|
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | DatabaseHelper.java | 2546 for (int phoneId = 0; phoneId < phoneCount; phoneId++) { in loadGlobalSettings() 2547 int mode = defaultNetworks.size() <= phoneId in loadGlobalSettings() 2548 || defaultNetworks.get(phoneId) == null in loadGlobalSettings() 2549 … ? TelephonyManager.DEFAULT_PREFERRED_NETWORK_MODE : defaultNetworks.get(phoneId); in loadGlobalSettings() 2550 if (phoneId > 0) val.append(','); in loadGlobalSettings()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | BackgroundRestrictionTest.java | 3163 public void registerCarrierPrivilegesCallback(int phoneId, Executor executor, in registerCarrierPrivilegesCallback() argument 3165 mListeners.put(phoneId, Pair.create(executor, callback)); in registerCarrierPrivilegesCallback() 3166 final Pair<String[], int[]> pkgs = mPackages.get(phoneId); in registerCarrierPrivilegesCallback() 3176 public void addNewPrivilegePackages(int phoneId, String[] pkgNames, int[] uids) { in addNewPrivilegePackages() argument 3177 mPackages.put(phoneId, Pair.create(pkgNames, uids)); in addNewPrivilegePackages() 3178 final Pair<Executor, CarrierPrivilegesCallback> callback = mListeners.get(phoneId); in addNewPrivilegePackages()
|
/aosp14/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PermissionPolicyService.java | 483 PhoneCarrierPrivilegesCallback(int phoneId) { in PhoneCarrierPrivilegesCallback() argument 484 mPhoneId = phoneId; in PhoneCarrierPrivilegesCallback()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppRestrictionController.java | 2921 PhoneCarrierPrivilegesCallback(int phoneId) { in PhoneCarrierPrivilegesCallback() argument 2922 mPhoneId = phoneId; in PhoneCarrierPrivilegesCallback()
|