/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 956 ParcelUuid groupUuid = mSubscriptionControllerUT.createSubscriptionGroup( in testSetSubscriptionGroup() local 958 assertNotEquals(null, groupUuid); in testSetSubscriptionGroup() 962 groupUuid, mContext.getOpPackageName(), mContext.getAttributionTag()); in testSetSubscriptionGroup() 970 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup() 971 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup(groupUuid, in testSetSubscriptionGroup() 979 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup() 980 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup(groupUuid, in testSetSubscriptionGroup() 986 groupUuid = new ParcelUuid(UUID.randomUUID()); in testSetSubscriptionGroup() 988 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup() 989 infoList = mSubscriptionControllerUT.getSubscriptionsInGroup(groupUuid, in testSetSubscriptionGroup() [all …]
|
D | SubscriptionInfoUpdaterTest.java | 704 boolean isOpportunistic, String groupUuid) { in getCarrierConfigForSubInfoUpdate() argument 707 p.putString(CarrierConfigManager.KEY_SUBSCRIPTION_GROUP_UUID_STRING, groupUuid); in getCarrierConfigForSubInfoUpdate()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 2877 ParcelUuid groupUuid = null; in createSubscriptionGroup() local 2882 groupUuid = iSub.createSubscriptionGroup(subIdArray, pkgForDebug); in createSubscriptionGroup() 2895 return groupUuid; in createSubscriptionGroup() 2919 @NonNull ParcelUuid groupUuid) { in addSubscriptionsIntoGroup() argument 2921 Preconditions.checkNotNull(groupUuid, "groupUuid can't be null."); in addSubscriptionsIntoGroup() 2932 iSub.addSubscriptionsIntoGroup(subIdArray, groupUuid, pkgForDebug); in addSubscriptionsIntoGroup() 2971 @NonNull ParcelUuid groupUuid) { in removeSubscriptionsFromGroup() argument 2973 Preconditions.checkNotNull(groupUuid, "groupUuid can't be null."); in removeSubscriptionsFromGroup() 2984 iSub.removeSubscriptionsFromGroup(subIdArray, groupUuid, pkgForDebug); in removeSubscriptionsFromGroup() 3017 public @NonNull List<SubscriptionInfo> getSubscriptionsInGroup(@NonNull ParcelUuid groupUuid) { in getSubscriptionsInGroup() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 3307 private String getOwnerPackageOfSubGroup(ParcelUuid groupUuid) { in getOwnerPackageOfSubGroup() argument 3308 if (groupUuid == null) return null; in getOwnerPackageOfSubGroup() 3311 + "=\'" + groupUuid.toString() + "\'", null); in getOwnerPackageOfSubGroup() 3322 public boolean canPackageManageGroup(ParcelUuid groupUuid, String callingPackage) { in canPackageManageGroup() argument 3323 if (groupUuid == null) { in canPackageManageGroup() 3337 + "=\'" + groupUuid.toString() + "\'", null); in canPackageManageGroup() 3358 private int updateGroupOwner(ParcelUuid groupUuid, String groupOwner) { in updateGroupOwner() argument 3373 value, SubscriptionManager.GROUP_UUID + "=\"" + groupUuid + "\"", null); in updateGroupOwner() 3377 public void addSubscriptionsIntoGroup(int[] subIdList, ParcelUuid groupUuid, in addSubscriptionsIntoGroup() argument 3383 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(), mContext.getAttributionTag()); in onSubscriptionGroupChanged()
|
D | SubscriptionInfoUpdater.java | 1048 ParcelUuid groupUuid = null; in updateSubscriptionByCarrierConfig() local 1079 groupUuid = ParcelUuid.fromString(groupUuidString); in updateSubscriptionByCarrierConfig() 1080 if (groupUuid.equals(REMOVE_GROUP_UUID) in updateSubscriptionByCarrierConfig() 1084 } else if (SubscriptionController.getInstance().canPackageManageGroup(groupUuid, in updateSubscriptionByCarrierConfig() 1086 cv.put(SubscriptionManager.GROUP_UUID, groupUuid.toString()); in updateSubscriptionByCarrierConfig() 1091 + groupUuid); in updateSubscriptionByCarrierConfig() 1102 MultiSimSettingController.getInstance().notifySubscriptionGroupChanged(groupUuid); in updateSubscriptionByCarrierConfig()
|