Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java302 final int currentPermission) { in isHigherNetworkPermission() argument
305 return targetPermission > currentPermission; in isHigherNetworkPermission()
669 protected int highestPermissionForUid(int uid, int currentPermission, String name) { in highestPermissionForUid() argument
672 if (currentPermission == PERMISSION_SYSTEM) { in highestPermissionForUid()
673 return currentPermission; in highestPermissionForUid()
676 if (app == null) return currentPermission; in highestPermissionForUid()
679 if (isHigherNetworkPermission(permission, currentPermission)) { in highestPermissionForUid()
682 return currentPermission; in highestPermissionForUid()
807 final int currentPermission = mUidToNetworkPerm.get(uid, PERMISSION_NONE); in onPackageAdded() local
808 final int permission = highestPermissionForUid(uid, currentPermission, packageName); in onPackageAdded()
[all …]