| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* Add RPCService unit tests
* Add prerequisites for execution of unit tests
* Rearrange and delete unused includes
* Add minor changes
Co-authored-by: JackLivio <jack@livio.io>
|
|
|
| |
* Fix versioning appliance for vehicle data
|
|
|
|
| |
This reverts commit 73b34832829650834ea69b3606ce8127a93ef973.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix versioning appliance for vehicle data
SDL applied SyncMsgVersion=4.5.1 in case mobile app version was < 5.0
With this commit SDL applies SyncMsgVersion respectively to mobile app
* Add unit test
* Fix existing unit tests
* fixup! Fix existing unit tests
* fixup! Fix versioning appliance for vehicle data
* fixup! Fix versioning appliance for vehicle data
* fixup! Add unit test
* fixup! Fix existing unit tests
* fixup! Add unit test
* fixup! Fix existing unit tests
* fixup! Fix versioning appliance for vehicle data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Generate policy enums from MOBILE_API
Policy manager HMI level enum reorder
* Add RPC vehicle data and endpoint_properties to sdl_preloaded_pt
Set default version of custom vehicle data mapping
* Add VehicleDataItem to policy table
SQL storage implementation for VehicleDataItems
Fix validation of double values in policy table
Change isDouble to isNumeric during validation double values
"0" should be validated as correct double value
Add validation vehicle data during PTU
Send in PT snapshot only version of custom VDI
- During snapshot generation remove vehicle data items section
- Add validation for Policy table depended on PT type
Fix wrong check for vehicle data snapshot
Allow empty vehicle data in PTU
Change max value of string for URL from 255 to INT_MAX
* Make Policy Handler forward declared to avoid high coupling
* Add vehicle_info_command_params for vehicle info plugin
Vehicle info params added to hmi commands
* Process CustomVehicleData in GetVehicleData request
* CustomVehicleDataManager implementation
* Process Custom vehicle data subscriptions
Refactored code.
Extracted CheckFrequency to separate method in class
* Check update of content of functional groups
Fixes https://github.com/smartdevicelink/sdl_core/issues/2962
Add additional check for functional group content
before OnPermissionChangeNotification.
* rename comparing functions to make more clear
their return value sense
* change variable names
* extra check for null values in HasNewGroups()
New unit test to cover changes within functional group
* Add GetPolicyConfigurationData
GetPolicyCOnfigurationData Implementation
* Add CustomVehicleData functionality for POLICY_EXTERNAL flow
Change max value url for external policy
fixes for external flow
* since unti validation for the database
* empty vehicle data validation
* Convert data_type to VehicleDataType enum value
* Validation of VehicleDataItem name and key
Introduces validation of vehicle_data_item
name and key validation:
* they should not contain spaces;
* they should not be empty or consist only spaces;
* they should not contain invalid chars like '!@#$%^&*'.
* Add engineOilLife to HMI_API
* Remove deprecated RPC GetUrls due to major version update
* Add ability to extend Smart schema with parameters
Extract SMember from CObjectSchemaItem
Add methods to ISchemaItem (Using composite pattern)
- GetMemberSchemaItem
- AddMemberSchemaItem
Add implementation of VehicleDataItemSchema class
Add appropriate unit tests
Add creation of vehicle_data items schemes on policy event
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add apropriate destruction of plugins
Add Delete exported function to each rpc plugin library
Delete funciton will destroy Plugin instance.
Move type defenition of PluginPtr to Plugin manager, because other components should use olugins only by referance.
Add custom destructor for PluginPtr.
custom destructor will call `Delete` function from shared library for plugin instance and unload plugin dl_handle.
Deprecate GetPlugins method because it not used (and actualy shouldnt) by other components.
Refactored LoadPlugin function, make it more readable, make this function as private RPCPluginManagerImpl private method.
* Fix components dependencies after hiding libraries symbols
* Add `-fvisibility=hidden` to avoid collision of static variables
Remove from ABI all shared objects members except functions that needed.
Fixes double destruction crash on shutdown.
For the case if dynamically linked library contains same static variables as binary.
System allocates the same memory for both static variables (in shared object and in binary).
But during exit both binary and shared object destroying this memory.
Mostly is a specific for binaries generated by gcc compiler.
Inspired by https://stackoverflow.com/questions/3570355/c-fvisibility-hidden-fvisibility-inlines-hidden
http://gcc.gnu.org/wiki/Visibility
* Link Policy code statically
SDL components like Application manager Connection Handler, etc ...
requires symbols from policy library.
Also policy library loaded by SDL in run-time as shared library.
Having same library loaded as dynamic and shared library is definitely bad idea.
This commit link extract static policy component and link policy component statically to other components.
* Static linkage of plugins code un plugins unit tests
Unit tests need to be portable and should not depend from dynamic libraries
* Put logs_enabled_ "default" visibility attribute
Logs enables is static variable and it should be shared across
libraries.
On SDL start if set_enabled_logs should put value shared across
libraries
* Changed the order of destruction of objects
Changed the order of destruction of objects to avoid the crash during destruction of the RequestController.
* Change the order of the waiting and finishing thread
Applications using hotplug support
should stop the thread at program exit
and wait finishing thread after calling
libusb_hotplug_deregister_callback.
This call wakes up libusb_handle_events ()
http://libusb.sourceforge.net/api-1.0/group__libusb__asyncio.html
* fixup! Add apropriate destruction of plugins
* Make saftly usage of logger
Added usage unique_ptr for
LogMessageLoopThread to avoid
the crash when
delete_log_message_loop_thread
was not fired.
|
|
|
|
|
| |
Also, hmi_capabilities_impl.cc is updated to support
both old and new formats of the json file.
|
| |
|
| |
|
|
|
|
| |
Also add minor safety checks in AppServiceManager class
|
|\
| |
| | |
Remove commented code
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
feature/handling_VR_help_requests
# Conflicts:
# src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/set_global_properties_test.cc
# src/components/application_manager/src/application_manager_impl.cc
# src/components/application_manager/test/CMakeLists.txt
# src/components/application_manager/test/application_manager_impl_test.cc
# src/components/application_manager/test/resumption/resume_ctrl_test.cc
# src/components/functional_module/test/include/mock_application.h
# src/components/remote_control/test/include/mock_application.h
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Change enum name from command origin to command source
- Create Mock for command factory class
- Fix mock_app_manager after refactoring
- Fix failed unit test
Fix unit test in progress
Add asser in plugin manager getter
Fixed UT Application manager impl
-Add method "SetRPCService" into the class ApplicationManagerImpl
Fixed UT Application manager impl
-Add method "SetRPCService" into the class ApplicationManagerImpl
Fixed UT Application manager impl
-Add method "SetRPCService" into the class ApplicationManagerImpl
Fixed UTs for hmi and mobile commands.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replaced all usages of passed parameters in implementation from
application manager proxy to indirect call
Add missed factories
Remove commands includes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
add Optional type
Fix compile warnings and use optional for returning plugin
Add descriptions to optional
Fix review issues
Fix header guards
Fix build with unit tests after commands factory refactoring
- Change enum name from command origin to command source
- Create Mock for command factory class
- Fix mock_app_manager after refactoring
- Fix failed unit test
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Stype changes after integration
Fix policy handler remote unit tests
|
| |
|
| |
|
|
|
|
|
| |
application_manager_impl_test includes to statistics additional files, that are not fully covered.
Commenting application_manager_impl_test increase coverage up to 73.1%.
|
|\ |
|
| | |
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
Relates-to: APPLINK-25591
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
Make request_controller_test executable, move actual tests from pre_5_0 branch, move MockRequest in a separate file, raise cover functions up to 75%.
Related task: SDLOPEN-583
|
|\ \ \
| | | |
| | | | |
Moved application manager implementation tests
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Move application manager implementation tests from pre_5_0_0 branch to develop
Added:
- application_manager_impl_test.cc file which contains 5 working unit test cases for ApplicationManagerImpl class:
- ProcessQueryApp_ExpectSuccess
- SubscribeAppForWayPoints_ExpectSubscriptionApp
- UnsubscribeAppForWayPoints_ExpectUnsubscriptionApp
- IsAnyAppSubscribedForWayPoints_SubcribeAppForWayPoints_ExpectCorrectResult
- GetAppsSubscribedForWayPoints_SubcribeAppForWayPoints_ExpectCorrectResult
|
|/ / /
| | |
| | |
| | | |
Related tasks APPLINK-30588 APPLINK-30974
|
|/ /
| |
| |
| |
| | |
Move hmi_language_handler_test from pre_5_0 branch to develop.
Related task: SDLOPEN-587
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Merge components refactoring from Windows port barnch
- add cmake tools
- refactor protocol handler CMakeLists.txt file
- refactor interfaces CMakeLists.txt file
- refactor smart object CMakeLists.txt file
- refactor formatters CMakeLists.txt file
- refactor config profile CMakeLists.txt file
- refactor policy CMakeLists.txt file
- refactor resumption CMakeLists.txt file
- refactor connection handler CMakeLists.txt file
- refactor application manager CMakeLists.txt file
- refactor security manager CMakeLists.txt file
- refactor dbus CMakeLists.txt file
- refactor hmi message handler CMakeLists.txt file
- refactor transport manager CMakeLists.txt file
- refactor utils CMakeLists.txt file
- refactor components root CMakeLists.txt file
- refactor utils CMakeLists.txt file
- refactor components root CMakeLists.txt file
- refactor media manager CMakeLists.txt file
- refactor telemetry monitor CMakeLists.txt file
- refactor appmain CMakeLists.txt file
- refactor plugins CMakeLists.txt file
- refactor 3rd party CMakeLists.txt files
- create cmake helper for interface generation
- refactor root CMakeLists.txt file
Move cmake modules to tools
Rename src/3rd_party-static/MessageBroker to message_broker
Related tasks APPLINK-30588 APPLINK-30972
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed changed to .travis.yml
Restored build configuration defaults
Put back/remove files changed with refactoring
Reverted changes related to MSCV
Removed changes related to QT_PORT
Related taks APPLINK-30588 APPLINK-30972
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge components refactoring from Windows port barnch
- add cmake tools
- refactor protocol handler CMakeLists.txt file
- refactor interfaces CMakeLists.txt file
- refactor smart object CMakeLists.txt file
- refactor formatters CMakeLists.txt file
- refactor config profile CMakeLists.txt file
- refactor policy CMakeLists.txt file
- refactor resumption CMakeLists.txt file
- refactor connection handler CMakeLists.txt file
- refactor application manager CMakeLists.txt file
- refactor security manager CMakeLists.txt file
- refactor dbus CMakeLists.txt file
- refactor hmi message handler CMakeLists.txt file
- refactor transport manager CMakeLists.txt file
- refactor utils CMakeLists.txt file
- refactor components root CMakeLists.txt file
- refactor utils CMakeLists.txt file
- refactor components root CMakeLists.txt file
- refactor media manager CMakeLists.txt file
- refactor telemetry monitor CMakeLists.txt file
- refactor appmain CMakeLists.txt file
- refactor plugins CMakeLists.txt file
- refactor 3rd party CMakeLists.txt files
- create cmake helper for interface generation
- refactor root CMakeLists.txt file
Move cmake modules to tools
Related taks APPLINK-30588 APPLINK-30972
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Been done:
- Added specific abstract classes for
commands testing (CommandsTest
and CommandRequestTest);
- Been added unit tests for base
command classes (CommandImpl,
CommandRequestImpl, CommandResponseImpl);
- Been added unit tests for next
mobile response commands:
- ListFilesResponse
- ReadDIDResponse
- AlertManeuverResponse
- AlertResponse
- SubscribeButtonResponse
Related to: APPLINK-24911
|
|
|
|
| |
Related issue : APPLINK-24892
|
|
|
|
|
|
| |
Mocks and tests moved to correct directories
CMakeFiles corrected
Headers corrected
|
|\
| |
| |
| |
| | |
VVeremjova/feature/Complete_unit_tests_for_policy_handler
Complete unit tests for policy handler
|
| |
| |
| |
| | |
Relates to APPLINK-20069
|
|/
|
|
| |
Relates to APPLINK-22337
|
| |
|