summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22fix(confg.cmake): set PROJECT_URL to silence CMake warningicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.28.99.58.99.48.99.38.99.2Li Xiaoming1-0/+1
No homepage url found. Please set a PROJECT_URL cmake variable in your config.cmake. Bug-AGL: SPEC-2804 Change-Id: I6135a22f2068551daa5a8b238e8d45d059253b02 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-07-09Fix lua cmake dependencyicefish_8.99.1icefish/8.99.1halibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.38.99.18.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.3halibutFrederic Marec3-2/+3
Lua dependency is still present in config.cmake Need to avoid conflict between config.cmake & 00-default-osconfig.cmake Bug-Agl: SPEC-2396 Change-Id: I2ee3e9da99d26b4d523bb269d5c305aa5ae62ef4 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-06-14Request permission :system:capability:keep-allhalibut_7.99.2halibut/7.99.27.99.2José Bollo1-0/+1
The capabilities must be removed (see SPEC-2006) but at the moment, running audio service without capabilities is not possible. That commit request the permission to keep all capabilities. This is a temporary solution needed for running AVIRT with Smack LSM. Bug-AGL: SPEC-1016 Change-Id: I1b81cb677f1bec4b81edda90e6c3336b9b1bfd97 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-14Add permissions to manage audioJosé Bollo1-0/+2
The permission to manage audio must be required by the service. Bug-AGL: SPEC-2006 Change-Id: Ib06e341132963fdd24ef3962e47c873293b6e074 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-14Require to run at platform scopeJosé Bollo1-0/+1
Add the required permission urn:AGL:permission::partner:scope-platform to run at platform scope. Bug-AGL: SPEC-545 Bug-AGL: SPEC-2006 Change-Id: I94c4474f6257ca16ea7d29f1d3e113c882d0ffa1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-06Audio Framework: 4a Tools - Fixed broken link.Scott Rifenbark1-1/+1
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Change-Id: I201cabc8e9cdfda99d2cb5daec978e8691446822
2019-05-10Fix lua cmake dependancyhalibut_7.99.1halibut/7.99.17.99.1Frederic Marec1-0/+1
Add 00-debian-osconfig.cmake Avoid missing library error during build due to miss match on ubuntu and debian Bug-AGL: SPEC-2396 Change-Id: I465ea75728dfd8ba33f8cc7101224d551d900aac Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-04-29Removed controller and utilities submodulesLoïc Collignon5-10/+3
Controller and submodules are now provided as static libraries so submodules are not required anymore. Bug: SPEC-2139 Change-Id: Ie5dfa0d678390f167ffbecd53355d9f8b5f98209 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2019-04-11README.md: added a paragraph about the softmixerThierry Bultel1-0/+48
Change-Id: I5781a6af4eceb990ba87d540c3ea4a71936fdbb4 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-04-04.gitignore: add build_*Thierry Bultel1-0/+1
Change-Id: I06de8e45d1fc44dcc6050ce3431a21ee14f8e8e6 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-03-01autobuild: fix warnings due to cp command exit codeRaquel Medina2-4/+12
Change-Id: Ie821be475cc3cdb56514aec924a44f0947d7d3bf Bug-AGL: SPEC-2164 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-02-13api-services-book: fix hierarchical errorsClément Bénier1-15/+19
- it is 4a framework, reproduce the behavior of the old documentation: I] 4a Framework i) high-level-api a) Tips And Tricks Change-Id: Ida95fa738d57bd20e289882edafc02ffed26d0ce Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-12-20docs: add yaml bookhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.37.90.06.99.46.99.3Frederic Marec1-0/+30
Bug-AGL: SPEC-1988 Change-Id: If6ced9e652c610630e7b48ec91efb1c44ea19531 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-12-20removed the dependency to bluetooth managerThierry Bultel1-1/+0
This commit removes the dependency to bluetooth manager, since 4a-hal-generic no longer listens to it for connections and disconnections events, but instead uses the libbluealsa to be notified from the bluealsa daemon. Change-Id: Idbb1510ee1e0729317299067255e783b3292d1f6 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-12-18Change the tuner priority and add a ramp on radioLoïc Collignon2-92/+98
This will mute the radio if the mediaplayer is opened. Mediaplayer should close the role when it's paused. Change-Id: Ife8746a161c9241299f926241732af1ea9361ca4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-18Added an 'activerole' verbLoïc Collignon4-2/+56
Control the currently opened role with the higher priority. Volume changed event nows specify if the corresponding role was the active one when the event was emitted. Bug: SPEC-1313 Change-Id: I87ae89ef03357a3537ada86f1dd3f319d13cbe85 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-18Clean up some codeLoïc Collignon2-160/+209
Added comments, remove unused declarations and move around some declarations and implementations to be more logic and tidy. Change-Id: I4b392f9aa2471067b6d102532b620acc6afe3cb2 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-18Moved non class member to a different fileLoïc Collignon4-104/+154
The ahl-binding.cpp file should contain only ahl_binding_t members. Change-Id: I00508eb7e188b72bed7ae3a8abdc212c8e28949d Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-18Fix indentation and trailing whitespacesLoïc Collignon10-737/+736
Convert every indentation to tab instead of spaces and get rid of mixed tab/spaces indentations. Also remove few trailing whitespaces. Change-Id: Ic4a8f2adcacb99789a403aefe6a16daaffee5cd6 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-13Fix issues with session and policiesLoïc Collignon3-58/+152
When a policy does a 'ramp-down' on an audio role, it never does the 'ramp-up' when closing the role that triggered the policy. Also, session handling was very buggy and had to be reworked to allow the policy to do its job. Bug: SPEC-1949 Bug: SPEC-1950 Change-Id: I668044201c9addbc185ea953c6e3239abfda91c5 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-12-13Added volume_changed event plus verbsLoïc Collignon3-20/+118
New subscribe and unsubscribe verbs to get the volume_changed event. Bug: SPEC-2053 Change-Id: Iedeb542c7c3d880f0d6294b0310d2662e0ac11f1 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-11-25Move autobuild to top treeguppy_6.99.2guppy/6.99.26.99.2Frederic Marec2-26/+42
Bug-AGL: SPEC-495 Change-Id: I24745e9e1aee2f7222a7cfb17333db993ba58fee Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-22Update version of controller submodule.guppy_6.99.1guppy/6.99.16.99.1Frederic Marec1-0/+0
Changes of controller: (33abde5 - Romain Forlot) Reworked pluginConfig function (8094951 - Romain Forlot) Retrieve plugin list from api rather than a global (871bd64 - Romain Forlot) Add setter/getter for user free defined pointer (f543f05 - Romain Forlot) Pass the plugin to action. Change-Id: I9e3d2af5db470a5f5e3d4c02b5e0a8c7c6000615 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-22Change .gitmodules following submodule migrationFrederic Marec1-3/+0
Remove app-template in .gitmodules Change-Id: I4e450f231f26fbc0dab5d046301ad16da73340bb Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-22Add tests for 4a high level APIFrederic Marec10-0/+435
Bug-AGL: SPEC-1796 Change-Id: I7296be555eb8929d090a944b002197a7da754824 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-02Merge "Don't automatically close already closed roles"Jan-Simon Moeller1-17/+21
2018-10-31Merge "Fix undefined role's state at construct"Jan-Simon Moeller1-5/+5
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-4/+8
Bug-AGL SPEC-1682 Change-Id: Id8ecc71afed1e9383a15f595a8eaf78d5e3d2b0b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-31Don't automatically close already closed rolesLoïc Collignon1-17/+21
On connection close, opened roles are closed as well. This prevent the auto-close to happen if the role is already closed. Bug: SPEC-1835 Change-Id: I9d8d8265927e758009108cdade26600d408b93e0 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-31Fix undefined role's state at constructLoïc Collignon1-5/+5
Role's state should be set to closed at construct. Bug: SPEC-1834 Change-Id: If2dde2d8614fd55048a8a91209a5a5ae842c3fb1 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-27Bump revision for submodule app-templatessandbox/claneys/moduleStephane Desneux1-0/+0
Changes for app-templates: * 7ba3013 Select the test set to run * 92c55f0 Add another mode to build a test widget. * cc7933f Always use wgt when talking about widget This fixes a build issue with test widget (when agl-ptest feature is enabled) Change-Id: Ic9f49defa1b17da77635a0ddbe0d1ac278406c14 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-24Merge "permission: add required unicens plugin permission"José Bollo1-0/+1
2018-10-23Merge "Removed unused dependency on 4a-softmixer"Loïc Collignon [ IoT.bzh ]2-11/+0
2018-10-23Merge "Migration to Afb API v3"Loïc Collignon [ IoT.bzh ]5-136/+136
2018-10-23Merge "Use latest version of controller submodule."Loïc Collignon [ IoT.bzh ]2-1/+1
2018-10-23Merge "Use latest version of afb-utilities submodule."Loïc Collignon [ IoT.bzh ]1-0/+0
2018-10-23Merge "Use latest version of app-templates submodule."Loïc Collignon [ IoT.bzh ]2-7/+1
2018-10-23permission: add required unicens plugin permissionTobias Jahnke1-0/+1
Bug-AGL: SPEC-1758 Adds permission, required to send control messages by agl-service-unicens. The permission is required by the 4a-hal-unicens plugin. Change-Id: I53b55b7ab3756b311b00cf17c1c19f0cde5d7f74 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
2018-10-22Removed unused dependency on 4a-softmixerLoïc Collignon2-11/+0
Softmixer was used a long time ago as a workaround of a lacking feature of HALs. It's not used anymore. Also removed an old commented dependency from the widget file. Change-Id: Id9e77adf7cb2470b720d387f6f8026da2025d162 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-22Migration to Afb API v3Loïc Collignon5-136/+136
Migrate the API to get rid of dynapi by using API v3 instead. Also fix possible bugs and memory leaks when startup fails. Bug: SPEC-1546 Change-Id: I7cf8e9454d6910b1258dfe671dedde3b84855fc4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-19Use latest version of controller submodule.Loïc Collignon2-1/+1
Changes of controller: (ce07538 - Romain Forlot) Abort if one required API is missing (625ce77 - Jonathan Aillet) Correct an error when no plugins are defined (0f708ba - Jonathan Aillet) Decrease print level when no onload action (8d53984 - Jonathan Aillet) Add a 'params' fields for controller plugins (35398f2 - Jonathan Aillet) Call wasn't done correctly in 'CtlConfigExec' (bc13eef - Romain Forlot) Add ctlPlugins array to the ctlConfig structure (0176d18 - Romain Forlot) Add an Init step to the plugins load (d6eb01e - Romain Forlot) Change loading configuration object behavior (c3a70d7 - CorentinLGS) app-controller-submodule doc: Changed doc to fit new format. (82820f4 - Romain Forlot) Fix: compatibility with binder FF.RC4 (02bbf59 - Romain Forlot) Fix: Wrong variable definition (bdf1a6b - Thierry Bultel) ctl-lua: Fixed memory corruption (4386ec5 - Romain Forlot) Migration to v3 (789a8ae - Romain Forlot) Adds v3 function to get binding settings (3891dcc - Romain Forlot) New function returning the binding root directory (e7132f1 - Romain Forlot) Change the default GLOB pattern (36ed31c - Romain Forlot) Fix wrong computed length (29307ea - Romain Forlot) Add path to the installed widget path. (191292f - CorentinLGS) Controller: Converted README to a gitbook version. (4e30eb1 - Romain Forlot) New defaults useful functions on lua table (61cbc9a - Romain Forlot) More precise log message when loading a Lua file (535df7f - Romain Forlot) Fix: wrong legacy function signature (b79a761 - Romain Forlot) Split loading JSON controller file. (c3d7de2 - Romain Forlot) Release arguments once C function returned. (a58d83b - Romain Forlot) Fix : typo introduced in a previous commit. (86f65bd - 8000ff) Fixed character counting that was shortening paths (e32d98c - Jonathan Aillet) Keep json unmodified during action execution (88892db - Romain Forlot) Use prefix variable to find controller's plugins Change-Id: Ia5b49c10a608fdef79084c2f86da75887a1e2737 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-19Use latest version of afb-utilities submodule.Loïc Collignon1-0/+0
Changes of afb-utilities: (f0ce5b6 - José Bollo) wrap-json: Fix duplicated lines in header file (764c355 - Romain Forlot) Add '@' as binder middle name separator. (74be4cc - Jonathan Aillet) Enhance 'wrap_json_clone_depth' description (a37225f - Romain Forlot) Fix: use of GetBindingDirPath without dynapi (4f99d16 - Romain Forlot) Retrieve directory list from environment variables (f46a0dc - Jose Bollo) Remove the file .gitmodules Change-Id: I7eea8a4cc11fb4c5093b827195c936c97876d8c8 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-19Use latest version of app-templates submodule.Loïc Collignon2-7/+1
Changes of conf.d/app-templates: (d6c7b96 - Romain Forlot) Minor fixes (35065ca - Romain Forlot) Improved test widget launcher script (f75c2d7 - Romain Forlot) Set default link flags to the target property (765504e - Romain Forlot) Use a custom test-config.xml file for test widget (210e7a7 - Matt Ranostay) cmake: coverage: disable compiler optimization for COVERAGE build (0f25ab2 - Romain Forlot) Adding warning message to migrate on CMake module (3dc85ec - Thierry Bultel) common.cmake: fixed erroneous search path for os-release (7fa5e5a - Romain Forlot) Fix: missing gcov symbol in compiled binaries (76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format. (02f45f1 - Romain Forlot) Update Docs (52ae181 - Romain Forlot) Fix: typo (f0b24b0 - Romain Forlot) Rollback about TEST build type (e841a77 - Romain Forlot) Adding a TEST build type (994ebc1 - Romain Forlot) Change default compilation options. (85d5ffd - Romain Forlot) Test widget only if there are test materials (d14bdce - Romain Forlot) Handles more test LABELS. (70cf8fd - Romain Forlot) Missing flag for COVERAGE build type (3c99b8a - Romain Forlot) Create a test widget (9c1a0fb - Romain Forlot) Fix: interpreted '&' character (9202fac - Romain Forlot) More accurate comment about widget template file. (f94e45e - Romain Forlot) Align sample on actual default compile options (d0acc2a - Romain Forlot) Add support to binding version 3. (6fb3846 - Romain Forlot) Warning if not using wgtpkg-pack to make a widget (35f3af1 - Sebastien Douheret) Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var Change-Id: Ie9bfbd48a52a56fd3a722b40e87ee92fd6ecf694 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-09Use feature 'required-binding'Jose Bollo1-0/+2
The feature "urn:AGL:widget:required-binding" is now preferred to the feature "urn:AGL:widget:required-api" for requiring a local binding. Bug-AGL: SPEC-1800 Change-Id: I9e9d9720f86126794ef903cad2bb1c5e53d09099 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-10-05Merge "Added a more detailed diagram"Stéphane Desneux4-122/+653
2018-10-04Added a more detailed diagramLoïc Collignon4-122/+653
Also edit a bit an existing diagram to show that multiple hals can live together. Change-Id: I95a60cef7fccd0caf05e27dbeee5ff51318c9aab Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-01Merge "Updated documentation"Loïc Collignon [ IoT.bzh ]21-138/+931
2018-10-01Updated documentationLoïc Collignon21-138/+931
Updated documentation up to date and using the gitbook format. Change-Id: Ie5d6a3bb489b9a9a95e21f5edd05bdd77bff5816 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-09-11added service dependency to Bluetooth-Managerguppy_6.90.0guppy/6.90.06.90.0Thierry Bultel1-0/+1
Since the integration of bluetooth playback support, the bluetooth hal must communicate with the Bluetooth-Manager service. Change-Id: I4f2b24893c8846d0933100d5c3741a14a2f76bae Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-09-10Fix gitreview for masterJan-Simon Möller1-1/+1
Change-Id: I7cb5afdae3ad550a004c25a332d3e796dd1d1784 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>