summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-11-20 17:46:19 -0800
committerCalin Juravle <calin@google.com>2017-11-27 18:56:52 -0800
commit29591736958a7ed45f4b5982ca9a46756baa0f6d (patch)
treeec5d424d2cbbbc57cb527404f8511fbb2243810b /opengl/tests/gl_basic/gl_basic.cpp
parent8a21353442e82017d6a794e1905177be9d5119a4 (diff)
Add snapshotProfile APIs to installd
Add APIs that will snapshot the profile information of packages in a well known location. The snapshot ownership is given to AID_SYSTEM. The location is next to the application reference profile: /data/misc/profiles/ref/pkg_name/primary.prof.snapshot. The intended flow for snapshotting profiles is: mInstaller.snapshotProfile(appId, packageName, codePath); // open profile snapshot mInstaller.destroyProfileSnapshot(packageName, codePath); The reference profile directory is made searchable by others (in order for the system to be able to open the snapshot profile). Test: installd_dexopt_test installd_utils_test Bug: 30934496 Change-Id: Ic4973d5c67243d7724ecd24a238ed0ae8baadcc6
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions