/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 243 void removeSubscriptionsFromGroup(in int[] subIdList, in ParcelUuid groupUuid, in removeSubscriptionsFromGroup() argument 246 void addSubscriptionsIntoGroup(in int[] subIdList, in ParcelUuid groupUuid, in addSubscriptionsIntoGroup() argument 249 List<SubscriptionInfo> getSubscriptionsInGroup(in ParcelUuid groupUuid, String callingPackage, in getSubscriptionsInGroup() argument
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 2929 ParcelUuid groupUuid = null; in createSubscriptionGroup() local 2934 groupUuid = iSub.createSubscriptionGroup(subIdArray, pkgForDebug); in createSubscriptionGroup() 2947 return groupUuid; in createSubscriptionGroup() 2971 @NonNull ParcelUuid groupUuid) { in addSubscriptionsIntoGroup() argument 2973 Preconditions.checkNotNull(groupUuid, "groupUuid can't be null."); in addSubscriptionsIntoGroup() 2984 iSub.addSubscriptionsIntoGroup(subIdArray, groupUuid, pkgForDebug); in addSubscriptionsIntoGroup() 3023 @NonNull ParcelUuid groupUuid) { in removeSubscriptionsFromGroup() argument 3025 Preconditions.checkNotNull(groupUuid, "groupUuid can't be null."); in removeSubscriptionsFromGroup() 3036 iSub.removeSubscriptionsFromGroup(subIdArray, groupUuid, pkgForDebug); in removeSubscriptionsFromGroup() 3069 public @NonNull List<SubscriptionInfo> getSubscriptionsInGroup(@NonNull ParcelUuid groupUuid) { in getSubscriptionsInGroup() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 3169 private String getOwnerPackageOfSubGroup(ParcelUuid groupUuid) { in getOwnerPackageOfSubGroup() argument 3170 if (groupUuid == null) return null; in getOwnerPackageOfSubGroup() 3173 + "=\'" + groupUuid.toString() + "\'", null); in getOwnerPackageOfSubGroup() 3184 public boolean canPackageManageGroup(ParcelUuid groupUuid, String callingPackage) { in canPackageManageGroup() argument 3185 if (groupUuid == null) { in canPackageManageGroup() 3199 + "=\'" + groupUuid.toString() + "\'", null); in canPackageManageGroup() 3220 private int updateGroupOwner(ParcelUuid groupUuid, String groupOwner) { in updateGroupOwner() argument 3235 value, SubscriptionManager.GROUP_UUID + "=\"" + groupUuid + "\"", null); in updateGroupOwner() 3239 public void addSubscriptionsIntoGroup(int[] subIdList, ParcelUuid groupUuid, in addSubscriptionsIntoGroup() argument 3245 if (groupUuid == null || groupUuid.equals(INVALID_GROUP_UUID)) { in addSubscriptionsIntoGroup() [all …]
|
D | MultiSimSettingController.java | 235 public void notifySubscriptionGroupChanged(ParcelUuid groupUuid) { in notifySubscriptionGroupChanged() argument 236 obtainMessage(EVENT_SUBSCRIPTION_GROUP_CHANGED, groupUuid).sendToTarget(); in notifySubscriptionGroupChanged() 268 ParcelUuid groupUuid = (ParcelUuid) msg.obj; in handleMessage() local 269 onSubscriptionGroupChanged(groupUuid); in handleMessage() 425 private void onSubscriptionGroupChanged(ParcelUuid groupUuid) { in onSubscriptionGroupChanged() argument 429 groupUuid, mContext.getOpPackageName(), null); in onSubscriptionGroupChanged()
|
D | SubscriptionInfoUpdater.java | 1090 ParcelUuid groupUuid = null; in updateSubscriptionByCarrierConfig() local 1121 groupUuid = ParcelUuid.fromString(groupUuidString); in updateSubscriptionByCarrierConfig() 1122 if (groupUuid.equals(REMOVE_GROUP_UUID) in updateSubscriptionByCarrierConfig() 1126 } else if (SubscriptionController.getInstance().canPackageManageGroup(groupUuid, in updateSubscriptionByCarrierConfig() 1128 cv.put(SubscriptionManager.GROUP_UUID, groupUuid.toString()); in updateSubscriptionByCarrierConfig() 1133 + groupUuid); in updateSubscriptionByCarrierConfig() 1144 MultiSimSettingController.getInstance().notifySubscriptionGroupChanged(groupUuid); in updateSubscriptionByCarrierConfig()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 945 ParcelUuid groupUuid = mSubscriptionControllerUT.createSubscriptionGroup( in testSetSubscriptionGroup() local 947 assertNotEquals(null, groupUuid); in testSetSubscriptionGroup() 951 groupUuid, mContext.getOpPackageName(), null); in testSetSubscriptionGroup() 959 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup() 960 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup(groupUuid, in testSetSubscriptionGroup() 968 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup() 969 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup(groupUuid, in testSetSubscriptionGroup() 975 groupUuid = new ParcelUuid(UUID.randomUUID()); in testSetSubscriptionGroup() 977 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup() 978 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup(groupUuid, in testSetSubscriptionGroup()
|
D | SubscriptionInfoUpdaterTest.java | 729 boolean isOpportunistic, String groupUuid) { in getCarrierConfigForSubInfoUpdate() argument 732 p.putString(CarrierConfigManager.KEY_SUBSCRIPTION_GROUP_UUID_STRING, groupUuid); in getCarrierConfigForSubInfoUpdate()
|