| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| | |
| | | |
Update .pfw gedit syntax grammar
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add the new Extended Domain Description keywords to
gedit syntax grammar.
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
|
|\ \ \
| |_|/
|/| | |
Clarify the "Non accessible element" error
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This error happens, among others, when trying to set an element as if it was a
parameter. The error message was not very helpful.
Previous error message:
Non accessible element
New error message:
Can't set /A/b/c because it is not a parameter
Signed-off-by: David Wagner <david.wagner@intel.com>
|
|\ \
| | |
| | | |
Remove flood debug trace on xml generation error
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The patch 0b3ff88 "Add log in case of failure"
added system process and network log on failure.
It was planed to be used to debug a tricky socket
error bug.
The bug was since fixed and the traces now only
flood build log, making xml generation
error root cause spotting a lot harder.
Remove extra debug message (netstat and ps invocation)
on error.
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
|
|\ \
| | |
| | | |
hostDomainGenerator: Fix the stripping of the temporary directory name
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We didn't properly remove the name of the temporary directory in the generated
files which caused two generation from identical sources result in different
generated files.
We know the full name of the temporary directory so we can simply completly
remove it from the generated file.
Issue: GMINL-1953
Change-Id: I1f360cea249328d30318a24643b524c87424475e
Signed-off-by: David Wagner <david.wagner@intel.com>
|
|\ \
| | |
| | | |
Fix a use-after-free issue
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In CBinaryStream, a member gets used after it has been destroyed. This was
caught by a static code analyser.
Issue: GMINL-1702
Change-Id: I5c93855f12a8f392e1f4249a15048816fb0f13ce
Signed-off-by: David Wagner <david.wagner@intel.com>
Reviewed-on: https://android.intel.com/278483
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
Reviewed-by: Beatty, Robert M <robert.m.beatty@intel.com>
Tested-by: Beatty, Robert M <robert.m.beatty@intel.com>
|
|\ \
| | |
| | | |
Remove non ascii char
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some comments representing a file tree were
using non ASCII characters.
They are not readable on many editors leading to
incoherent display.
Replace them by plain ASCII characters.
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Some string printed in log were containing Non-breaking spaces
leading to terminal corruption.
Replace them with normal ASCII spaces.
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
|
|\ \
| | |
| | | |
Fix build issues bis
|
| | |
| | |
| | |
| | |
| | |
| | | |
It does not compile yet; this issue will have to be tackled.
Signed-off-by: David Wagner <david.wagner@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The unicode library in AOSP's master branch has moved. libxml2 has been updated
and xmlserializer needs to be too.
Signed-off-by: David Wagner <david.wagner@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This seems to be mandatory.
Change-Id: Idba8c7a3ec9e2f05b28ee593d1d15a420a0bd9ed
Signed-off-by: David Wagner <david.wagner@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to the sem_init(3) manpage, we must pass the -pthread flag at
link-time when using it. When using pthread_join(3), this flag must also be
passed at compile time.
The flags were wrong for libremote-processor and were missing for
test-platform_host.
Change-Id: Iec2797592d6d25297c87ceb2983e87e75624a576
Signed-off-by: David Wagner <david.wagner@intel.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
LOCAL_MODULE_PATH is deprecated and in this case, useless.
Change-Id: I72054e3a5c70c2779d170f07f24734d75fdf48f8
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Reviewed-on: https://android.intel.com/211229
Reviewed-by: cactus <cactus@intel.com>
|
|\ \
| | |
| | | |
some C++ cleanup
|
| | |
| | |
| | |
| | |
| | | |
This is a bad practice to have using in headers because it pollutes the
namespace of any user of that header.
|
| |/
| |
| |
| |
| | |
Those files are empty or almost empty, put remaining stuff in header if
necessary.
|
|\ \
| |/
|/| |
Allow the plugin libraries to have empty path for location
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the xml defines the path of plugin library as empty, as a
slash is always added between the folder path and the library name,
the parameter framework will look for the library at the root of the
file system.
This patch prevents from adding the slash except if the path
is not empty.
Issue: GMINL-1748
Change-Id: I14ed5a5ddbef7e0305300479f4fd44bf611f3442
Signed-off-by: Louis Le Gall <louis.le.gall@intel.com>
|
|
|
|
|
|
|
| |
- More details in the root README.md file; add a nice diagram
- Add a lot of README files in subdirectories
Signed-off-by: David Wagner <david.wagner@intel.com>
|
|\
| |
| | |
Realign from internal tree
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
BZ: 207083
License headers were missing in CMake makefiles.
This patch adds the 3-clause BSD license header to each CMakeLists.txt.
Change-Id: Ia4da92e139e02d6348d655d0d88a16166d8431ca
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
BZ: 207083
According to libstlport.mk, to use stlport for a given target, we shall
"include external/stlport/libstlport.mk" in the target.
This was not done in the parameter-framework's makefiles.
This patch change all targets which require stlport to include it in the
correct way.
Change-Id: Ie9b75af6269f172ad6a6c753e15efd0c7baafdd9
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
|\
| |
| | |
Xml validator script
|
|/
|
|
|
|
|
|
|
|
|
|
| |
This tool can be used to validate a set of xml files against w3c
schemas.
It scans a directory recursively and checks for .xml files in it.
For each file, it extracts the current schema file based on a convention
(the corresponding schema file must have the same name as the root node)
which is used in the parameter-framework.
Change-Id: I27e32028e39a450ed18f86cb095348f73d59ade5
|
|\
| |
| | |
Added cmake rules for installing tools in bin dir
|
|/
|
|
|
|
|
|
|
| |
When performing the tutorials, I wanted to use the
tools/xmlGenerator/hostDomainGenerator.sh script.
In order to do that, i had to copy manually my scripts files
to the pfwInstalledDir/bin directory.
This patchs completes the install target by copying the needed files
|
|\
| |
| | |
Help messages
|
| |
| |
| |
| |
| |
| |
| | |
For new users, it was not very clear that you had
to give an .xml to the test-platform executable
This patch implements -h an explicits that
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
New users should be aware of the existence
of the "help" command when they try the
pfw for their first time
|
|\ \ \
| | | |
| | | | |
Skeleton plugin fixes
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As a new pfw plugin developer, i encountered an undocumented
(in the plugin) naming issue related to how the pfw
loads subsystem builders.
This patchs just added a comment to inform other
developers not to make the same mistake
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The system class convention needs the get<TYPE>SubsystemBuilder
function to have type in caps lock, otherwise the
pfw will loop infinitely when attempting to load plugin.
|
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We have forgotten to update the list of headers to be installed after some
recent developments.
Change-Id: Iaeadde5bd566021e9ee34c5fd49f3649f1509e3e
Signed-off-by: David Wagner <david.wagner@intel.com>
|
|\ \ \
| |/ /
|/| | |
Realign from internal tree
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 203091
Hard coded relative or absolute paths shall be avoided.
To allow other components to import necessary headers we created two new targets.
Change-Id: I95e8f13765537f431f5730a7cdde4f85f4b7d06a
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 189941
There is an issue when trying to set parameter value in a
configuration using the setConfigurationParameter command.
The error returned is "Unable to forward synchronize
configurable element, Failed to write value in mixer control".
The root cause is a recent update concerning the
auto synchronization mode which is now turned on by default.
The setConfigurationParameter command first updates the local
Configuration blackboard, and then the Main blackboard if this
Configuration is the one applicable for the domain. However,
this local blackboard should not be synchronized, only the
main blackboard should be. This patch deactivates synchronization
for the local blackboard.
Change-Id: I7ca71806309d19ae482399f474d32a0c1b70ae6c
Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 192861
When hostDomainGenerator.sh is called by the build system, it needs to
copy schema files to /tmp/tmp.XXXXXXX. This is because
parameter-framework needs to have the schema files next to the .xml
files in order to apply validation.
In order to do that, hostDomainGenerator.sh needs to know where he can
copy the .xsd files from.
Currently, the .xsd files are copied from
$HOST_OUT/etc/parameter-framework/Schemas via a dedicated makefile.
This used a phony package to group all the files that have to be copied.
The problem is that phony packages the phony package is not calling the
prebuildt rules we need. So the files we want to export to
/etc/parameter-framework/Schemas are not copied.
This patch removes the phony package in order to produce the expected
behaviour.
Change-Id: I96da56f85a8c3d512fcfb97244181dc6c1cb9401
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 192861
The makefile contained a lot of redundancy regarding the source files.
This patch reorders some variables and uses a less error prone way to
declare the LOCAL_SRC_FILES variable by avoiding the repeat of the source files.
Change-Id: Idfff93ef4a9d4aff91d2bc864abf38bf904df685
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 197723
This python script performs several checks on fixed point parameters:
- Bound check: Can we set a value?
- Sanity check: If we get this previously set parameter, is the
value approximately the same? There should be at maximum a
quantum difference between the original value and the returned value.
- Consistency check: Can we set the value we got from the sanity check?
- Bijectivity check: If we get the parameter we set a second time,
is the result the same as the value we got from the set we did in the
Sanity check?
Change-Id: I7b4d61ec740139b0ee70a44b6b38009507a569ee
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 197723
This contains the configuration files which contains a lot of fixedpoint
parameters which can be used for testing.
Change-Id: I261120d16eb6f4d28b6b61a5b2845f1fdc18e91f
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 197723
Give a few functions more meaningful names.
Add some cast fixes and doxygen to the renamed functions.
Change-Id: I002a3fa9b397294153c23b9883c3ad3b1c136e54
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
BZ: 197723
When adding parameters which are far out of bounds, the range check does
not refuse to set the value. This is unexpected behaviour.
This patch adds a correct range check.
Change-Id: I325920bcabc9485bd8f95aadcaff36a67182b97c
Signed-off-by: Mattijs Korpershoek <mattijsx.korpershoek@intel.com>
|