Home
last modified time | relevance | path

Searched refs:hasCarrierPrivileges (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java111 boolean hasCarrierPrivileges = tm != null && in checkAccessLevel()
116 if (hasCarrierPrivileges || isDeviceOwner in checkAccessLevel()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java720 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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1130 boolean hasPhoneStatePrivileged, boolean hasCarrierPrivileges) throws Exception { in setGetEidPermissions() argument
1136 setHasCarrierPrivilegesOnActiveSubscription(hasCarrierPrivileges); in setGetEidPermissions()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java3116 .hasCarrierPrivileges(info.getSubscriptionId()) in isSubscriptionVisible()
DTelephonyManager.java8191 public boolean hasCarrierPrivileges() { in hasCarrierPrivileges() method in TelephonyManager
8192 return hasCarrierPrivileges(getSubId()); in hasCarrierPrivileges()
8206 public boolean hasCarrierPrivileges(int subId) { in hasCarrierPrivileges() method in TelephonyManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java3366 if (!mTelephonyManager.hasCarrierPrivileges(subId)) { in checkCarrierPrivilegeOnSubList()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28678 method public boolean hasCarrierPrivileges();
/frameworks/base/non-updatable-api/
Dcurrent.txt45933 method public boolean hasCarrierPrivileges();
/frameworks/base/api/
Dcurrent.txt46077 method public boolean hasCarrierPrivileges();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt69585 Landroid/telephony/TelephonyManager;->hasCarrierPrivileges(I)Z