| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Removing python packages installation from the CmakeLists
|
|
|
|
|
|
|
|
|
| |
* Fix onsystemrequest retry logic
* Cache policy update file from HMI for retries
* Fix issues with previous commit
Co-authored-by: jacobkeeler <jacob.keeler@livioradio.com>
|
| |
|
|
|
| |
The style has been broken on develop branch - commit f5cfd151d82
|
|
|
|
|
|
|
|
|
|
|
| |
* Increase speed for Policy unit-tests: External policy
Increase speed for unit-tests:
- External policy tests
- Regular policy tests
* Increase speed for Policy unit-tests: Regular policy
Co-authored-by: Collin <iCollin@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new file with unit tests for CacheManager
* Add new tests for PolicyManagerImpl
* Add new preloaded tables
* Add changes in CMakeLists.txt
* Delete unused files
* Re-add file with test
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new file with unit tests for CacheManager
* Add new tests for PolicyManagerImpl
* Add changes in CMakeLists.txt
* Add new preloaded tables
* Delete unused files
* Re-add test files
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix messages protocol version check
Fixed the messages protocol version check and
name of ProcessData method parameter 'result' was changed
to 'out_result' for more clarity
* fix copy-paste error and fix style
Co-authored-by: Collin <iCollin@users.noreply.github.com>
Co-authored-by: collin <collin+i@collinmcqueen.com>
|
|
|
|
|
|
|
| |
* unsubscripe app from waypoints when it is unregistered
* address review comments
* fix style
|
|
|
|
|
|
|
|
|
| |
LIMITED HMI Level (#3378)
* initialize app in non custom button path of on_button_press run
* fixup! initialize app in non custom button path of on_button_press run
fix unit tests with changes in run
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix implementation for SDLGetUserFriendlyMessage
* Unit test for SDLGetUserFriendlyMessage: checking syntax
* Changes according to comments
* add invalid syntax error response info
Co-authored-by: ZhdanovP <pzhdanov@luxoft.com>
|
| |
|
| |
|
|
|
| |
Co-authored-by: collin <collin@livio.io>
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove deadlock danger when removing Connections from a ConnectionMap
* fix style, use log debug instead of trace for singular messages
* Revert "fix style, use log debug instead of trace for singular messages"
This reverts commit c83288ec9fc9007e48044b09ad038edbf612e038.
* fix style, use log debug instead of trace for singular messages
* restore condition updates lost with merge of old versions
Co-authored-by: Frank <fronneburg@xevo.com>
|
|
|
|
|
|
|
| |
* Add Startup PTU check
* Reset Stop PTU etry when first app is registered
* Address review comment
|
|\
| |
| | |
Fix Start Stream retry count
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
values (#3357)
* Fix bug `ResetGlobalProperties` (#2337)
Fix bug `ResetGlobalProperties` does't reset `HELPPROMPT`
and `VRHELPITEMS` to default values
Fix UT's after bugfixing
- Fix `ResetGlobalPropertiesRequestTest`
- Add mock function into `MockApplicationManagerSettings`
Github issue #1306
Co-authored-by: v-malko4 <vmalkov@luxoft.com>
* fix vr_help_title SO type, rename help_prompt_ in unit tests to so_help_prompt
* fix style
Co-authored-by: v-malko4 <vmalkov@luxoft.com>
|
| | |
|
| |
| |
| |
| | |
This reverts commit 236bdbaa283147044a6144f8c96cc43b82ff1014.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* fix warning:maybe-uninitialized in CStringToEnum
* fix out of buffer write warning in unit tests
* Apply suggestions from code review
|
| |
| |
| |
| |
| |
| |
| |
| | |
The check for existence directory of app icons folder
has been added to SetAppIconRequest.
Co-authored-by: ValeriiMalkov <vmalkov@luxoft.com>
Co-authored-by: ValeriiMalkov <vmalkov@luxoft.com>
|
| | |
|
| |
| |
| | |
* Fixing problem with validation of array
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* SDL crash during StopComponents() if StartComponents() failed.
If resumption_storage_ in ResumeCtrlImpl is failed to initialize,
SDL will try to stop components and exit with error code.
At this time application manager tries to unregister all applications and
call ResumeCtrlImpl::OnIgnitionOff() where resumption_storage_ is used. As a result, a crash will occur.
As an example, if AppStorageFolder have no read/write access, resumption_storage_
fails to initialize.
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Update HMI_API.xml
* Update src/components/interfaces/HMI_API.xml
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
|
|\ \ |
|
| |\ \
|/ / /
| | | |
Hotfix Release 6.1.1
|
| | | |
|
|/ /
| |
| |
| |
| | |
* do not retry ptu if no apps are connected
* no URL should be returned if there is no app to do PTU
|
| | |
|
| |
| |
| | |
* Add permission checking for all messages to and from mobile
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix capability window update when window_id is missing
* Refactor comments
* Update src/components/application_manager/src/application_data_impl.cc
Co-Authored-By: Collin <iCollin@users.noreply.github.com>
Co-authored-by: Collin <iCollin@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix iteration on set with possible erase
* Add and process set with skiped result codes
* fixup! Add and process set with skiped result codes
* fixup! Add and process set with skiped result codes
|
|\ \
| | |
| | | |
Move cached app logic to ChoosePTUApplication
|
| | |
| | |
| | |
| | | |
Also add macro guards for uses of last_ptu_app_id_
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix UpdateAppList/UpdateDeviceList spam
There was noticed a continuous spam of update app
and device list requests from SDL to HMI even if
thre is no any devices connected and apps registered.
After analysis, there was found a couple of places
where logic should be updated:
- In OnHMIStartedCooperation don't send update app
list after refreshing cloud app information as this
function able to trigger the same request itself when
needed
- When update app list timer is expired, don't send
update app list if no any apps were registered or
unregistered while timer was running
- In transport manager, don't raise OnDeviceListUpdated
event if no any devices were added/removed
- When WebEngine device is created, it makes sense to
connect it automatically and set its status to CONNECTED
as its internal communication between SDL and HMI
- In transport adapter, don't notify listeners via
OnConnectionStatusUpdated() callbacks if device connection
status was not actually changed
All these actions together prevents all possible reasons
of UpdateAppList/UpdateDeviceList spam observed before fix.
* fixup! Fix UpdateAppList/UpdateDeviceList spam
* fixup! fixup! Fix UpdateAppList/UpdateDeviceList spam
* fixup! fixup! fixup! Fix UpdateAppList/UpdateDeviceList spam
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix PROPRIETARY and HTTP retry sequences
For PROPRIETARY policy updates, Core is responsible for the retry sequence and cycling through update URLs. This fixes the PROPRIETARY flow with a few specific changes:
1. Apps for PTU are chosen randomly using the existing process, but after an application is chosen, all URLs that are associated with that application will be attempted before moving onto the next application.
2. When an OnSystemRequest(PROPRIETARY) is received from the HMI, Core will ignore the `appID` and `url` properties and populate them itself. This is because Core is responsible for providing these fields in PROPRIETARY mode.
* Add caching for PTU URLs if provided by HMI
* Fix bug in HTTP mode
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#3334)
* Protect navi_app_to_stop_
* Prevent EndService double sending
Remove app_id from navi_service_status_ before unregistering the app
in case EndServiceAck did not come for at least one of the services,
in order to avoid sending the EndService again during unregistration
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix response message structure of GetVehicleData request
In case of GetVehicleData error response from HMI,
SDL put only part of message to event. This way
event was not processed properly and GENERIC_ERROR
was sent to HMI.
This commit fixes error response message structure.
* Update existing unit tests
* fixup! Update existing unit tests
Co-authored-by: YarikMamykin <ymamykin@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Rework the use of AbortConnection for a usb connection
Sometimes we get a deadlock because we use the same lock in the same thread.
The situation is possible when calling the SendData, OnOutTransfer or AbortConnection functions.
They block the mutex at the start.
If in the PostOutTransfer function, which is called in SendData or indirectly in OnOutTransfer via PopOutMessage, we get the error LIBUSB_ERROR_NO_DEVICE,
this will call AbortConnection.
Which will cause a deadlock.
* fixup! Rework the use of AbortConnection for a usb connection
Co-authored-by: sniukalov <sniukaov@luxoft.com>
|
| |
| |
| |
| |
| |
| |
| | |
* Update compare for the nicknames
* UTs update
Co-authored-by: sniukalov <sniukaov@luxoft.com>
|
| |
| |
| | |
Co-authored-by: xiatian <xiatian@iauto.com>
|
| |
| |
| |
| |
| | |
#1409 (#2425)
* Fix SDL doesn't send EndService for Video/Audio Service upon IGNITION_OFF
|
| | |
|