summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong2017-04-12 21:40:00 -0500
committerYifan Hong2017-04-13 20:02:41 -0500
commitfa2b18bda6b3f8611dc93ebb32209943578a6539 (patch)
tree6c05bf3b91ae44ed3ed21341939cead3f58df712 /RuntimeInfo-target.cpp
parent9a36158780229984f6d46ad9c1a80d41c1f64d9e (diff)
downloadplatform-system-libvintf-fa2b18bda6b3f8611dc93ebb32209943578a6539.tar.gz
platform-system-libvintf-fa2b18bda6b3f8611dc93ebb32209943578a6539.tar.xz
platform-system-libvintf-fa2b18bda6b3f8611dc93ebb32209943578a6539.zip
RuntimeInfo::sepolicyFilePaths for sepolicy files.
Create an API to report sepolicy files. The file paths are TBD. This is for device info reporting purposes. Test: pass Bug: 36456394 Change-Id: Ia769dbb951aa1056e679dbd16f0a7cab1670aaa6
Diffstat (limited to 'RuntimeInfo-target.cpp')
-rw-r--r--RuntimeInfo-target.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/RuntimeInfo-target.cpp b/RuntimeInfo-target.cpp
index 30fac7a..2d91fa5 100644
--- a/RuntimeInfo-target.cpp
+++ b/RuntimeInfo-target.cpp
@@ -185,9 +185,11 @@ status_t RuntimeInfoFetcher::parseKernelVersion() {
185 return OK; 185 return OK;
186} 186}
187 187
188// Grab sepolicy files. 188// Grab sepolicy file paths.
189status_t RuntimeInfoFetcher::fetchSepolicyFiles() { 189status_t RuntimeInfoFetcher::fetchSepolicyFiles() {
190 // TODO implement this 190 mRuntimeInfo->mSepolicyFilePaths = {
191 // TODO(b/36456394) need a list of sepolicy files
192 };
191 return OK; 193 return OK;
192} 194}
193 195