Home
last modified time | relevance | path

Searched refs:getSubscriptionUserHandle (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/
DTelephonyUtilsTest.java65 TelephonyUtils.getSubscriptionUserHandle(mContext, invalidSubId); in getSubscriptionUserHandle_subId_invalid()
68 verify(mSubscriptionManager, never()).getSubscriptionUserHandle(eq(invalidSubId)); in getSubscriptionUserHandle_subId_invalid()
76 TelephonyUtils.getSubscriptionUserHandle(mContext, activeSubId); in getSubscriptionUserHandle_subId_valid()
79 verify(mSubscriptionManager, times(1)).getSubscriptionUserHandle(eq(activeSubId)); in getSubscriptionUserHandle_subId_valid()
/frameworks/base/telephony/common/com/android/internal/telephony/util/
DTelephonyUtils.java269 public static UserHandle getSubscriptionUserHandle(Context context, int subId) { in getSubscriptionUserHandle() method
273 userHandle = subManager.getSubscriptionUserHandle(subId); in getSubscriptionUserHandle()
305 UserHandle associatedUserHandle = subscriptionManager.getSubscriptionUserHandle(subId); in showSwitchToManagedProfileDialogIfAppropriate()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISub.aidl344 UserHandle getSubscriptionUserHandle(int subId); in getSubscriptionUserHandle() method
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsPermissions.java186 UserHandle userHandle = TelephonyUtils.getSubscriptionUserHandle(mContext, in isCallerDefaultSmsPackage()
DSmsStorageMonitor.java271 UserHandle userHandle = TelephonyUtils.getSubscriptionUserHandle(mContext, in handleIccFull()
DMissedIncomingCallSmsFilter.java283 UserHandle userHandle = subscriptionManager.getSubscriptionUserHandle(phone.getSubId()); in makePstnPhoneAccountHandle()
DVisualVoicemailSmsFilter.java92 UserHandle userHandle = subscriptionManager.getSubscriptionUserHandle(subId);
DWapPushOverSms.java403 UserHandle userHandle = TelephonyUtils.getSubscriptionUserHandle(mContext, subId); in dispatchWapPdu()
DInboundSmsHandler.java1487 userHandle = TelephonyUtils.getSubscriptionUserHandle(mContext, subId); in dispatchSmsDeliveryIntent()
DSMSDispatcher.java2558 userHandle = TelephonyUtils.getSubscriptionUserHandle(context, mSubId); in isFromDefaultSmsApplication()
DPhone.java5157 userHandle = subManager.getSubscriptionUserHandle(subId); in getUserHandle()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaPhoneTest.java2771 doReturn(userHandle).when(mSubscriptionManager).getSubscriptionUserHandle(anyInt()); in testGetUserHandle()
2774 doReturn(null).when(mSubscriptionManager).getSubscriptionUserHandle(anyInt()); in testGetUserHandle()
2778 .getSubscriptionUserHandle(anyInt()); in testGetUserHandle()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java1220 .getSubscriptionUserHandle(1)); in testSetGetSubscriptionUserHandle()
1225 assertThat(mSubscriptionManagerServiceUT.getSubscriptionUserHandle(1)) in testSetGetSubscriptionUserHandle()
1235 assertThat(mSubscriptionManagerServiceUT.getSubscriptionUserHandle(10)) in testGetSubscriptionUserHandleUnknownSubscription()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java4091 public UserHandle getSubscriptionUserHandle(int subId) { in getSubscriptionUserHandle() method
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java24115 subscriptionManager.getSubscriptionUserHandle(subId);