Searched refs:currentPermission (Results 1 – 1 of 1) sorted by relevance
302 final int currentPermission) { in isHigherNetworkPermission() argument305 return targetPermission > currentPermission; in isHigherNetworkPermission()669 protected int highestPermissionForUid(int uid, int currentPermission, String name) { in highestPermissionForUid() argument672 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() local808 final int permission = highestPermissionForUid(uid, currentPermission, packageName); in onPackageAdded()[all …]