Skip to content

Generates JSON/HTML pages of permission groups and permissions mentioned in AOSP Framework Base.

License

Notifications You must be signed in to change notification settings

mayankmetha/aosp_framework_perm_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AOSP framework permissions list

This tool is meant to extract:

  • permission groups (name, icon, label, description)
  • permissions (name, label, description, group, protection level)

from the AOSP framework base source and generate a JSON file containing information listed above in the locale you choose.

This tool uses the VectorDrawable2Svg script of Alessandro Lucchet which has been lightly modified.

This tool is only compatible with Python >= 3.5

Preliminaries

First of all, you have to clone the huge AOSP repository:

mkdir AOSP
git clone https://android.googlesource.com/platform/frameworks/base AOSP

Usage

pip install git+https://github.com/mayankmetha/aosp_framework_perm_list
aosp_framework_perm_list [path to AOSP folder] [2-letter locale] [destination folder]

the destination folder will be automatically created.

About

Generates JSON/HTML pages of permission groups and permissions mentioned in AOSP Framework Base.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages