Searched refs:hasCarrierPrivileges (Results 1 – 10 of 10) sorted by relevance
111 boolean hasCarrierPrivileges = tm != null && in checkAccessLevel()116 if (hasCarrierPrivileges || isDeviceOwner in checkAccessLevel()
720 doReturn(true).when(mTelephonyManager).hasCarrierPrivileges(1); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()729 doReturn(true).when(mTelephonyManager).hasCarrierPrivileges(2); in testCreateSubscriptionGroupWithCarrierPrivilegePermission()773 doReturn(true).when(mTelephonyManager).hasCarrierPrivileges(1); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission()787 doReturn(false).when(mTelephonyManager).hasCarrierPrivileges(1); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission()788 doReturn(true).when(mTelephonyManager).hasCarrierPrivileges(2); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission()799 doReturn(true).when(mTelephonyManager).hasCarrierPrivileges(1); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission()824 doReturn(true).when(mTelephonyManager).hasCarrierPrivileges(1); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()825 doReturn(true).when(mTelephonyManager).hasCarrierPrivileges(2); in testUpdateSubscriptionGroupWithCarrierPrivilegePermission()
1130 boolean hasPhoneStatePrivileged, boolean hasCarrierPrivileges) throws Exception { in setGetEidPermissions() argument1136 setHasCarrierPrivilegesOnActiveSubscription(hasCarrierPrivileges); in setGetEidPermissions()
3116 .hasCarrierPrivileges(info.getSubscriptionId()) in isSubscriptionVisible()
8191 public boolean hasCarrierPrivileges() { in hasCarrierPrivileges() method in TelephonyManager8192 return hasCarrierPrivileges(getSubId()); in hasCarrierPrivileges()8206 public boolean hasCarrierPrivileges(int subId) { in hasCarrierPrivileges() method in TelephonyManager
3366 if (!mTelephonyManager.hasCarrierPrivileges(subId)) { in checkCarrierPrivilegeOnSubList()
28678 method public boolean hasCarrierPrivileges();
45933 method public boolean hasCarrierPrivileges();
46077 method public boolean hasCarrierPrivileges();
69585 Landroid/telephony/TelephonyManager;->hasCarrierPrivileges(I)Z