Home
last modified time | relevance | path

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

/development/tools/privapp_permissions/
Dprivapp_permissions.py495 priv_perms = get_priv_permissions(pkg_info['permissions'],
500 priv_perms = remove_base_permissions(priv_perms,
502 if priv_perms:
504 if priv_perms:
505 results[pkg_name] = sorted(priv_perms)
527 def remove_base_permissions(priv_perms, base_perms): argument
529 if (not priv_perms) or (not base_perms):
530 return priv_perms
531 return set(priv_perms) - set(base_perms)
534 def get_priv_permissions(requested_perms, priv_perms): argument
[all …]