From 31f5143c23960b2989fa64fbfb344ee013906b7c Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Wed, 6 Jun 2018 13:03:13 -0700 Subject: [PATCH] Add explicit README for configstore future goals. Previously, supposedly, each individual client of configstore was supposed to add the add_hwservice attribute itself to get ahold of the specific sub-interface of configstore relevant to it. However, there is only one configstore interface, ISurfaceFlingerConfigs. From this point onward, the configstore hal is to be thought of as specifically relating to surface flinger. Other properties may be added as other attributes/packages. For instance, if we want a configstore entry for 'IFooConfig', then we would add the configuration to one of the following packages: - android.hardware.foo@X.Y (to the interface itself) - android.hardware.foo.config@X.Y (to a configuration of the interface) - android.hardware.configstore.foo@X.Y (as a sub-interface of configstore) and then it could be associated with the sepolicy attributes (respectively): - hal_foo - hal_foo_config (or just hal_foo if they are 1-1) - hal_configstore_foo The specific pattern to be followed irrelevant to this CL and subject to future discussion, the point being that we're going to have a separate sepolicy attribute (and package, although this isn't strictly necessary) for each separate domain's configuration. Bug: 109806245 Test: N/A Change-Id: I837e0bdd11e028265756a905c234e087924c1d6b --- configstore/README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 configstore/README.md diff --git a/configstore/README.md b/configstore/README.md new file mode 100644 index 0000000000..3e8a24e9a3 --- /dev/null +++ b/configstore/README.md @@ -0,0 +1 @@ +Configstore is specifically the configuration for surface flinger. Other configurations go in other packages.