Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStatsAccess.java117 final boolean hasCarrierPrivileges; in checkAccessLevel()
121 hasCarrierPrivileges = tm != null in checkAccessLevel()
135 if (hasCarrierPrivileges || isDeviceOwner in checkAccessLevel()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java469 private void setCarrierPrivilegesForSubId(boolean hasCarrierPrivileges, int subId) { in setCarrierPrivilegesForSubId() argument
472 doReturn(hasCarrierPrivileges ? TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS in setCarrierPrivilegesForSubId()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DOpportunisticNetworkService.java212 return mTelephonyManager.hasCarrierPrivileges(subId) in hasOpportunisticSubPrivilege()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java332 mTelephonyManager.createForSubscriptionId(subId).hasCarrierPrivileges()); in doBroadcastCarrierConfigsAndVerifyOnConnectivityReportAvailable()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java1807 considerCarrierPrivileges && hasCarrierPrivileges(targetPkgName, in dumpCarrierServiceIfBound()
1857 private boolean hasCarrierPrivileges(@NonNull String pkgName, int phoneId) { in hasCarrierPrivileges() method in CarrierConfigLoader
DTelephonyShellCommand.java3009 boolean hasCarrierPrivileges; in handleHasCarrierPrivilegesCommand()
3012 hasCarrierPrivileges = in handleHasCarrierPrivilegesCommand()
3023 getOutPrintWriter().println(hasCarrierPrivileges); in handleHasCarrierPrivilegesCommand()
DSimPhonebookProvider.java684 || telephonyManager.hasCarrierPrivileges(args.subscriptionId); in hasPermissionsForFdnWrite()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionUtil.java600 boolean hasCarrierPrivilegePermission = telephonyManager.hasCarrierPrivileges()