| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
PTU (#3880)
* Clear endpoint_properties from policy DB if empty endpoint_properties are recieved in a PTU
* Add check to only overwrite endpoint_properties if parameter is defined and empty
* Add is_initialized check for external proprietary
|
|
|
|
| |
core receives PTU with no consumer messages(with key defined) (#3879)
|
|
|
|
|
| |
* Fix crash on shutdown during streaming
* Fix iterative erase
|
|
|
|
|
| |
* Fix reported coverity issues
* Add null check for message_ptr
|
|
|
|
| |
certificate (#3875)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Check if app id exists in cloud_app_id_map_
* Update cloud_app_id_map_ if does not exist or endpoint changed
* Fix style
* Expand unit tests for connection handler
|
| |
|
|
|
|
|
|
|
| |
(#3863)
* set last_ptu_app_id_ when forwarding on system request in HTTP policy mode
* fixup! set last_ptu_app_id_ when forwarding on system request in HTTP policy mode
|
|
|
|
|
| |
* Fix result code for PrepareAudioPassThru
* Fix result code for PrepareAudioPassThru in error structure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* reject PTU system request when PTU not in progress
* track last_ptu_app_id_ in ext prop policy mode
* fix style
* Apply suggestions from code review
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
* fix style
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
* fix for rejected Perform Interaction
* avoid close popup for VR_ONLY PI
Co-authored-by: Yana Chernysheva (GitHub) <59469418+ychernysheva@users.noreply.github.com>
fixup
Co-authored-by: Vadym Luchko (gitHub) <vluchko@luxoft.com>
|
|
|
| |
An empty entry in the messages table would be created if the key being searched for didn't exist. This adds a check before accessing this data so that an entry isn't created accidentally
|
| |
|
|
|
| |
Co-authored-by: Yana Chernysheva <ychernysheva@luxoft.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add changes to transform SetDisplayLayout into UI.Show
* Remove deprecated RPC UI.SetDisplayLayout from the HMI API
* Style fix
* Add HMI capabilities to SetDisplayLayout response
* Fix failed unit tests
* Address review comments
|
|
|
|
| |
disallowed by policies (#3847)
|
|
|
|
|
| |
* Fixed deadlock
* Delete useless members in EventDispatcher
|
|
|
|
|
|
|
|
|
|
| |
* Fix PerformInteractionChoiceSet request behavior
* Update src/components/application_manager/src/application_data_impl.cc
Co-authored-by: Collin <iCollin@users.noreply.github.com>
Co-authored-by: Iryna Lytvynenko (GitHub) <ILytvynenko@luxoft.com>
Co-authored-by: Collin <iCollin@users.noreply.github.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Move app launcher stop before unregister app
The applauncher has to be stopped before appropriate application
will be unregistered. Otherwise it could lead to core crash, when
Launch controller will try to run already non existed application
Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
Co-authored-by: OlhaVorobiova <olha.vorobiova@dxc.com>
Co-authored-by: VladSemenyuk <vsemenyuk@luxoft.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Avoid processing streaming data packets after streaming stopping
In some situations streaming data packets may be received during
streaming stopping. In this case processing of such packet will be
performed right after completion of streaming stopping process due to
streaming_stop_lock_. So in this case we need to skip processing of such
packet, that's why new flags are added for both services, and also
removed outdated comments and locks, which now are redundant due to
streaming_stop_lock_.
* Changed the text in the logs. The flag setting line above the Stop method has been moved
* Move flag setting to the top of the method
Co-authored-by: RomanReznichenkoLuxoft <85177915+RomanReznichenkoLuxoft@users.noreply.github.com>
Co-authored-by: LitvinenkoIra <ilytvynenko@luxoft.com>
|
|
|
| |
* Added a check to make the script does not work when there is not device
|
|
|
|
|
| |
* Correct UpdateStatusManager behavior after kOnValidUpdateReceived
* Added an initialization of flags in external proprietary mode
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
cachefile (#3820)
* sdl_read_value_navigation_and_phonecall_from_hmicapabilities_and_did_not_from_systemcapabilities
* Update src/appMain/hmi_capabilities.json
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
|
|
|
| |
fix validation of synonyms in QUERY_APPS system request
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
FinishSendingResponseToMobile (#3815)
* don't use null application ptr in RAI::CheckLanguage or FinishSendingResponseToMobile
* prevent application nullptr deref in SendRegisterAppInterfaceResponseToMobile
* check application valid in ApplicationDataShouldBeResumed
* restore ResumeCtrlImpl DCHECKs
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* do not modify applications array while iterating it
* remove unnecessary and dangerous iterator++
* fixup! do not modify applications array while iterating it
restore sending on language change to mobile
* deref app ptr while holding app list lock
* SendNotificationToMobile can also invalidate apps list iterator by calling unregister application
* apply fix to TTS and VR on language change
* Revert "Fix early IsRegistered() state of application (#3796)"
This reverts commit 0ed38e8d2f7cb3a61a303cca2806a06ce9a1d58d.
* revert #3799
* prevent crash with null app in rai response
* do not deactivate app before unregistering in case of vr language change
* make copy of ApplicationSet instead of pushing app_ids to vector
* address failure of 3797_3798 atf test in extprop policy mode
* fixup! address failure of 3797_3798 atf test in extprop policy mode
only send NO_APPS_REGISTERED when no apps are registered
* fix ext prop unit test and APPLICATION_NOT_REGISTERED log message
* fixup! fix ext prop unit test and APPLICATION_NOT_REGISTERED log message
fix style
* simplify code copying applicationset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix ThreadedSocket disconnect logic
There was noticed an issue with ThreadedSocket connection
which often closes connection like an "unexpected disconnect"
calling `ConnectionAborted()` every time even if it is handled
disconnect. Also, there were no any events raised to Transport
Manager for rare cases when disconnect is expected.
To fix that, flow has been separated for handling expected and
unexpected disconnect. Expected disconnect will be handled in
case when external component calls `Disconnect()` and socket
thread is alive. In that case should be called `DisconnectDone()`
when thread is stopped.
Unexpected disconnect will be handled in case when internal thread
has been aborted and `Abort()` was called. In that case internal
thread `ConnectionAborted()` will be called from internal thread
to notify Transport Manager that physical disconnect has happened.
This issue is pretty hard to detect just because business logic
handles both disconnect types in the same way for now, but this
might be changed in the future.
* Update Boost Download URL
Co-authored-by: JackLivio <jack@livio.io>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix unstable policy handler unit tests
Looks like there was a missing async waiter in some
unit tests so Async thread is still working when
unit test is already finalized. That causes a core
crashes and random unit tests failures.
Was added `UnloadPolicyLibrary()` call to stop the
async thread before finalizing the unit test.
* Increase timeout for tests
|
|
|
|
|
|
|
| |
Looks like we have to properly shutdown message queue
in the unit test which emulates data sending over the
secured websocket session. Otherwise, unit test might
be terminated earlier and data sending will be failed
which causes a core crash.
|
|
|
| |
If this value is set to 1, no apps can register because SDL Core responds with UNSUPPORTED_VERSION to protocol V1 messages (besides the initial StartService)
|
|\ |
|
| |\
| | |
| | | |
Release 8.0.0
|
| | | |
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add initial states for pending applications
This would prevent crashes for cases when app will be
attempted to be activated.
* Fix UpdateAppList content
* Fix checks in SDL.ActivateApp
* Fix unit tests
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Removed the unit that interrupted the sequence of closing the connection to the device via usb
* Update logic for USB in transfer
* fixup! Update logic for USB in transfer
Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix early IsRegistered state of application
Mark application as registered only when app registration
was finalized and all corresponding requests were sent to
HMI. This prevents data races in case when language has been
changed by HMI and application is in intermediate registration
state yet.
* fixup! Fix early IsRegistered state of application
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Added RC plugin extension after PTU
* Add new event `kAppHmiTypesChanged`
Co-authored-by: OlhaVorobiova <olha.vorobiova@dxc.com>
|