Home
last modified time | relevance | path

Searched refs:hasPrivileges (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java144 boolean hasPrivileges = telephonyManager != null && in disableCarrierAppsUntilPrivileged()
148 if (hasPrivileges) { in disableCarrierAppsUntilPrivileged()
269 boolean hasPrivileges = in getDefaultCarrierApps()
272 if (!hasPrivileges) { in getDefaultCarrierApps()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java162 private void setHasCarrierPrivileges(boolean hasPrivileges) { in setHasCarrierPrivileges() argument
164 hasPrivileges ? TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS in setHasCarrierPrivileges()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java837 private void setHasCarrierPrivilegesOnActiveSubscription(boolean hasPrivileges) in setHasCarrierPrivilegesOnActiveSubscription() argument
841 hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null); in setHasCarrierPrivilegesOnActiveSubscription()
843 hasPrivileges); in setHasCarrierPrivilegesOnActiveSubscription()
848 private void prepareOperationSubscription(boolean hasPrivileges) throws Exception { in prepareOperationSubscription() argument
851 true /* isEmbedded */, hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null); in prepareOperationSubscription()
853 hasPrivileges); in prepareOperationSubscription()