tag | bfd57ac202259f9516fb610c61ae8b31ea9fe4ab | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 31 17:36:09 2017 -0700 |
object | 7f346c9058f39a533a2eaadc9ebc4001397c6ff9 |
Android CTS 6.0 Release 24 (4400446)
commit | 7f346c9058f39a533a2eaadc9ebc4001397c6ff9 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Thu Jul 16 14:56:26 2015 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Thu Jul 16 14:56:26 2015 -0700 |
tree | c311562a5f9dbbdb26492d9e097ddc1bd1250c6d | |
parent | a9be2d378b7ad84e679a48efa81f42fb54f85d9a [diff] |
Exclude from Mac build. The code doesn't build on Mac. Temporarily exclude this project from Mac builld. Change-Id: Ibfd8a3ca804f463425247f27c709cf46be6ffdd8
The parameter-framework is a plugin-based and rule-based framework for handling parameters. This means that you can:
The parameter-framework can be used to set the value of alsa controls (switches, volumes, etc.) on smartphones/tablets based on parameter-framework rules (in this example, they transcribe use-cases). For accessing parameters (i.e. alsa controls), you may use the alsa plugin.
The filesystem plugin can be used to write parameters in files. This is particularly useful for files in /sys
managing GPIOs.
The parameter-framework's core comes in the form of a shared library. Its client has to provide:
At runtime, the most usual communication between the client and the parameter-framework are:
The parameter-framework comes with several tools, including a command-line interface: remote-process
.
See the wiki on github.
Run cmake .
then make
. You may then install libraries, headers and binaries with make install
. By default, they are installed under /usr/local
on unix OSes; if you want to install them under a custom directory, you may do so by passing it to the cmake .
command; e.g.
cmake -DCMAKE_INSTALL_PREFIX=/path/to/custom/install .
Also, CMake can build a project out-of-tree, which is the recommended method:
mkdir /path/to/build/directory cd /path/to/build/directory cmake /path/to/parameter-framework/sources make
After an install you may want to run the parameter-framework tests with make test
.