Home
last modified time | relevance | path

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

/frameworks/base/telephony/common/com/android/internal/telephony/
DCarrierAppUtils.java169 boolean hasPrivileges = telephonyManager != null in disableCarrierAppsUntilPrivileged()
188 if (hasPrivileges) { in disableCarrierAppsUntilPrivileged()
319 boolean hasPrivileges = in getDefaultCarrierApps()
322 if (!hasPrivileges) { in getDefaultCarrierApps()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1152 private void setHasCarrierPrivilegesOnActiveSubscription(boolean hasPrivileges) in setHasCarrierPrivilegesOnActiveSubscription() argument
1156 hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, "", CARD_ID, in setHasCarrierPrivilegesOnActiveSubscription()
1159 hasPrivileges); in setHasCarrierPrivilegesOnActiveSubscription()
1164 private void setCanManageSubscriptionOnTargetSim(boolean isTargetEuicc, boolean hasPrivileges) in setCanManageSubscriptionOnTargetSim() argument
1177 hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, "", CARD_ID, in setCanManageSubscriptionOnTargetSim()
1181 hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, "", in setCanManageSubscriptionOnTargetSim()
1184 hasPrivileges); in setCanManageSubscriptionOnTargetSim()
1186 hasPrivileges); in setCanManageSubscriptionOnTargetSim()
1191 private void prepareOperationSubscription(boolean hasPrivileges) throws Exception { in prepareOperationSubscription() argument
1194 true /* isEmbedded */, hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, in prepareOperationSubscription()
[all …]
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java163 private void setHasCarrierPrivileges(boolean hasPrivileges) { in setHasCarrierPrivileges() argument
165 hasPrivileges ? TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS in setHasCarrierPrivileges()