Home
last modified time | relevance | path

Searched refs:groupUuid (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl230 void removeSubscriptionsFromGroup(in int[] subIdList, in ParcelUuid groupUuid, in removeSubscriptionsFromGroup() argument
233 void addSubscriptionsIntoGroup(in int[] subIdList, in ParcelUuid groupUuid, in addSubscriptionsIntoGroup() argument
236 List<SubscriptionInfo> getSubscriptionsInGroup(in ParcelUuid groupUuid, String callingPackage); in getSubscriptionsInGroup() argument
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2811 ParcelUuid groupUuid = null; in createSubscriptionGroup() local
2816 groupUuid = iSub.createSubscriptionGroup(subIdArray, pkgForDebug); in createSubscriptionGroup()
2829 return groupUuid; in createSubscriptionGroup()
2854 @NonNull ParcelUuid groupUuid) { in addSubscriptionsIntoGroup() argument
2856 Preconditions.checkNotNull(groupUuid, "groupUuid can't be null."); in addSubscriptionsIntoGroup()
2867 iSub.addSubscriptionsIntoGroup(subIdArray, groupUuid, pkgForDebug); in addSubscriptionsIntoGroup()
2906 @NonNull ParcelUuid groupUuid) { in removeSubscriptionsFromGroup() argument
2908 Preconditions.checkNotNull(groupUuid, "groupUuid can't be null."); in removeSubscriptionsFromGroup()
2919 iSub.removeSubscriptionsFromGroup(subIdArray, groupUuid, pkgForDebug); in removeSubscriptionsFromGroup()
2951 public @NonNull List<SubscriptionInfo> getSubscriptionsInGroup(@NonNull ParcelUuid groupUuid) { in getSubscriptionsInGroup() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java2960 private String getOwnerPackageOfSubGroup(ParcelUuid groupUuid) { in getOwnerPackageOfSubGroup() argument
2961 if (groupUuid == null) return null; in getOwnerPackageOfSubGroup()
2964 + "=\'" + groupUuid.toString() + "\'", null); in getOwnerPackageOfSubGroup()
2975 public boolean canPackageManageGroup(ParcelUuid groupUuid, String callingPackage) { in canPackageManageGroup() argument
2976 if (groupUuid == null) { in canPackageManageGroup()
2990 + "=\'" + groupUuid.toString() + "\'", null); in canPackageManageGroup()
3011 private int updateGroupOwner(ParcelUuid groupUuid, String groupOwner) { in updateGroupOwner() argument
3026 value, SubscriptionManager.GROUP_UUID + "=\"" + groupUuid + "\"", null); in updateGroupOwner()
3030 public void addSubscriptionsIntoGroup(int[] subIdList, ParcelUuid groupUuid, in addSubscriptionsIntoGroup() argument
3036 if (groupUuid == null || groupUuid.equals(INVALID_GROUP_UUID)) { in addSubscriptionsIntoGroup()
[all …]
DMultiSimSettingController.java184 public void notifySubscriptionGroupChanged(ParcelUuid groupUuid) { in notifySubscriptionGroupChanged() argument
185 obtainMessage(EVENT_SUBSCRIPTION_GROUP_CHANGED, groupUuid).sendToTarget(); in notifySubscriptionGroupChanged()
217 ParcelUuid groupUuid = (ParcelUuid) msg.obj; in handleMessage() local
218 onSubscriptionGroupChanged(groupUuid); in handleMessage()
292 private void onSubscriptionGroupChanged(ParcelUuid groupUuid) { in onSubscriptionGroupChanged() argument
296 groupUuid, mContext.getOpPackageName()); in onSubscriptionGroupChanged()
DSubscriptionInfoUpdater.java972 ParcelUuid groupUuid = null; in updateSubscriptionByCarrierConfig() local
976 groupUuid = ParcelUuid.fromString(groupUuidString); in updateSubscriptionByCarrierConfig()
977 if (groupUuid.equals(REMOVE_GROUP_UUID) in updateSubscriptionByCarrierConfig()
981 } else if (SubscriptionController.getInstance().canPackageManageGroup(groupUuid, in updateSubscriptionByCarrierConfig()
983 cv.put(SubscriptionManager.GROUP_UUID, groupUuid.toString()); in updateSubscriptionByCarrierConfig()
988 + groupUuid); in updateSubscriptionByCarrierConfig()
998 MultiSimSettingController.getInstance().notifySubscriptionGroupChanged(groupUuid); in updateSubscriptionByCarrierConfig()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java868 ParcelUuid groupUuid = mSubscriptionControllerUT.createSubscriptionGroup( in testSetSubscriptionGroup() local
870 assertNotEquals(null, groupUuid); in testSetSubscriptionGroup()
874 .getSubscriptionsInGroup(groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup()
882 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup()
884 .getSubscriptionsInGroup(groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup()
891 subIdList, groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup()
893 .getSubscriptionsInGroup(groupUuid, mContext.getOpPackageName()); in testSetSubscriptionGroup()
DSubscriptionInfoUpdaterTest.java630 boolean isOpportunistic, String groupUuid) { in getCarrierConfigForSubInfoUpdate() argument
633 p.putString(CarrierConfigManager.KEY_SUBSCRIPTION_GROUP_UUID_STRING, groupUuid); in getCarrierConfigForSubInfoUpdate()