| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
fix transport adapter test
|
|/ |
|
| |
|
| |
|
|
|
|
| |
This reverts commit f6e7b7e3f3ee4a7f1721475b1ddcd3ce118e27de.
|
|\
| |
| | |
workaround with logger re-init
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
remarks in ini file
|
|\
| |
| | |
Merge release 8.0.0
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There was found a misprint for a VR interface in
`ChangeRegistration` request. Because of that,
there might be a situations when HMI responds to one
part of request faster than another part was actually
sent.
All required ordering and checks were updated.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix wrong behavior of RCOnRemoteControlSettingsNotification
Looks like `kAllowed` parameter was swithing on/off the RC functionality
even if it was not present and previous value should be taken.
Processing of `kAllowed` and `kAccessMode` was split on two separate
and independent functions make it really isolated.
Processing of both parameters was aligned, so now core does not perform
extra actions if one of parameter is missing.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* Check specifically for invalid HMI level before suspending notifications
Checking for main window ID caused a very rare race condition where the notification was not suspended when necessary
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fix last state impl
111
fix style
fix s
fix linux build
111
small fixes
fix tests for linux build
111
|
| |\ \
|/ / /
| | _ |
|
| |
| |
| |
| | |
(#3782)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add missing internal error codes to security manager
* Add internal error notification to SSL handshake failure
* Remove unused handshake result
* Add unit tests for new error codes
Co-authored-by: JackLivio <jack@livio.io>
|
| |
| |
| |
| |
| | |
* WebSocketServerTransportAdapter::Store write to last state
* hold lock until we set dict or decide not to
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* clear any parent reference to the state being erased even when it is the begin state
* Apply suggestions from code review
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* fix defect with stoping video without audio streaming
* Isolate audio and video streaming
* Remove app unregistration if EndServiceAck not received
Also, application should not be switched to NONE in case
when at least one streaming is already approved and active
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Change command request inheritance structure.
Fix data races during requests event processing.
* Change commands according to new inheritance structure.
* Change unit tests according new inheritance structure.
* Fix review comments
* Fix build after merge
* Fix format style
* Fix recursion in SetGlobalProperties
* Add delay before request releasing
That gives to event dispatcher some time to figure
out that event should not be rasied for a finalized request
and this request will be released soon. Also, this allows
to avoid calling some virtual functions on pointer to
invalidated object.
* Fix data races in EventDispatcher
Now reference counter is increased indirectly
by event dispatcher before calling `HandleOnEvent()`
of specific observer.
This will guarantee that during `HandleOnEvent` the
command object is still be alive.
* Revert changes for SetGlobalProperties
Co-authored-by: v-seme12 <vsemenyuk@kiev.luxoft.com>
Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
|
| |
| |
| |
| |
| | |
* Send REQUEST type and generated sequence number in SendHandshakeData
* Update query type in tests
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* Add method for delete empty message
* Add WARNINGS code when some parameters were cut off
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
|
| |
| |
| |
| |
| |
| |
| | |
* remove invalid language code es-en from preloaded pt
* remove es-en from other pt files
* remove en-ie language
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Added handling of cases with type overflow
* Update generator logic and schema validation
* Add validation info
Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
|
| |
| |
| | |
Co-authored-by: VladSemenyuk <vsemenyuk@luxoft.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add SubscribeButtonRequest and SubscribeButtonResponse classes
* unsubscribe buttons implementation (#197)
* Resume button subscriptions
* Remove OnButtonSubscription notification
* Unify approach to result codes processing
* Add shared base class for mobile button notifications
* Revert expired button requests if response was received after timeout
* Fix CUSTOM_BUTTON subscription logic
Was removed subscription to custom button by default.
Also, added check if app is actually subscribed to
CUSTOM_BUTTON like for all other buttons.
* Separate subscription processing for mobile requests and resumption
* Fix affected unit tests
* Return on_event() back to HMI subscription request
* Add unit tests for subscribe and unsubscribe button
* Avoid subscribe to custom button by default
* Address Livio comments
* Address Livio comments
* fixup! Address Livio comments
* Update CUSTOM_BUTTON logic
* Fix tests after merge conflicts
Co-authored-by: Yana Chernysheva <ychernysheva@luxoft.com>
Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
Co-authored-by: Olha Vorobiova <olha.vorobiova@dxc.com>
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit ce9fc4455093d4914dfec55a6e5003da3c28fc83
Author: Andrii Kalinich <AKalinich@luxoft.com>
Date: Thu Aug 5 18:50:33 2021 -0400
Update CUSTOM_BUTTON logic
commit 237562b555dc78322f6c6dd5b9c83ded0226998d
Author: Andrii Kalinich <AKalinich@luxoft.com>
Date: Thu Aug 5 09:10:59 2021 -0400
fixup! Address Livio comments
commit 16142947000f2ed54279306468a6c4cb1594805f
Author: Andrii Kalinich <AKalinich@luxoft.com>
Date: Wed Aug 4 17:17:17 2021 -0400
Address Livio comments
commit daa1060833441f38a7219d8a852c6d44e852e76e
Author: Andrii Kalinich <AKalinich@luxoft.com>
Date: Tue Jul 27 20:15:06 2021 -0400
Address Livio comments
commit a327f0694db958a1925b6526e8d25ce9c86bd735
Author: Olha Vorobiova <olha.vorobiova@dxc.com>
Date: Tue Jul 20 16:40:27 2021 +0300
Add unit tests for subscribe and unsubscribe button
commit dce94e5d84698f5d85bddbc8b5324518d4c1f9f4
Merge: f78f0c82ea 82703c98bb
Author: Andrii Kalinich (GitHub) <AKalinich@luxoft.com>
Date: Fri Jul 16 19:12:45 2021 -0400
Merge pull request #206 from LuxoftSDL/impl/sdl_0192_fix_resumption_of_button_subscriptions
Separate subscription processing logic for mobile requests and resumption
commit 82703c98bb2b68c11bfc642bc976d7b29be416c8
Author: Andrii Kalinich <AKalinich@luxoft.com>
Date: Fri Jul 16 15:07:15 2021 -0400
Return on_event() back to HMI subscription request
commit f78f0c82ea495376298dae5efda25dde05a7ec7b
Merge: 94c770b314 e7e1ebf3ce
Author: Andrii Kalinich (GitHub) <AKalinich@luxoft.com>
Date: Fri Jul 16 19:00:15 2021 -0400
Merge pull request #205 from LuxoftSDL/fix/sdl_0192_fix_custom_button_subscription_logic
Fix CUSTOM_BUTTON subscription logic
commit e7e1ebf3ce7b49139f3ddfb77046a642d049294e
Author: Andrii Kalinich <AKalinich@luxoft.com>
Date: Fri Jul 16 13:02:46 2021 -0400
Fix affected unit tests
commit d156a9f0067a61b32323b1e0eae680e488780045
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Fri Jul 16 16:09:27 2021 +0300
Separate subscription processing for mobile requests and resumption
commit 9e461d05d2843dedb4a3e3945d907d6e8a376311
Author: Andrii Kalinich <AKalinich@luxoft.com>
Date: Fri Jul 16 01:31:05 2021 -0400
Fix CUSTOM_BUTTON subscription logic
Was removed subscription to custom button by default.
Also, added check if app is actually subscribed to
CUSTOM_BUTTON like for all other buttons.
commit 94c770b314659a33555d81bd47e4c76325c322eb
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Wed Jul 14 15:32:40 2021 +0300
Revert expired button requests if response was received after timeout
commit de6c7aac0650d6ac823cd3e6cc0ff4ff9d96eef9
Merge: 0343ea4e9f eaec9b47a5
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Thu Jul 15 15:23:10 2021 +0300
Merge branch 'develop' into feature/sdl_0192_button_subscription_response_from_hmi
commit 0343ea4e9f2ef844aa096f76b85719f66eb6db36
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Mon Jul 5 14:46:21 2021 +0300
Add shared base class for mobile button notifications
commit 3d7d670476634bf687271dd5a5ebc95b907cab05
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Fri Jul 9 16:13:21 2021 +0300
Unify approach to result codes processing
commit e5dfa88fbddd3ec71c05e3e49f68379470e24233
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Thu Jul 8 11:40:13 2021 +0300
Remove OnButtonSubscription notification
commit 06dc97859063cfc8a654365db3396a8752cb4f9b
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Wed Jul 7 13:39:12 2021 +0300
Resume button subscriptions
commit 4cf9954b46c0496356200ce0d2c4a96ace5e0b6d
Author: Vadym Luchko (GitHub) <76956836+VadymLuchko@users.noreply.github.com>
Date: Fri Jul 9 14:09:43 2021 +0300
unsubscribe buttons implementation (#197)
commit 13045471a9de73b8a37d081efbbe31b1552aa159
Author: Yana Chernysheva <ychernysheva@luxoft.com>
Date: Wed Jun 30 17:16:30 2021 +0300
Add SubscribeButtonRequest and SubscribeButtonResponse classes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add Reset Timeout Handler, remove deprecated functionality, create Request Controller interface.
* fixup! Add Reset Timeout Handler, remove deprecated functionality, create Request Controller interface.
* Fix compilation errors after merge of develop branch
* Remove deprecated functions from SubtleAlert request and remove redundant UTs
* Add changes to HMI API
* Increase timeout in case if SIVD need Consent popup
* Increase timeout for ButtonPress request
* Restrict timeout for Subtle Alert with soft buttons
* update timeout for hmi request
* careful stopping of the request controller
* Fix OnResetTimeout for Alerts with soft buttons (#192)
* Do not manage requests with NULL timeout
* Revert double timeouts from core
* Apply smaller timeout to requests
* Address Livio comments
* Add timeout compensation parameter
Update default timeout logic accordingly
for all commands. Added new file to ini file.
* Fix affected unit tests
* Address Livio comments
* Update rpc_spec
* Update rpc_spec one more time
Co-authored-by: Yevhenii <dem.yevhenii@gmail.com>
Co-authored-by: Yevhenii <ydementieiev@luxoft.com>
Co-authored-by: Vadym Luchko (gitHub) <vluchko@luxoft.com>
Co-authored-by: Vadym Luchko (GitHub) <76956836+VadymLuchko@users.noreply.github.com>
Co-authored-by: Dmytro Boltovskyi (GitHub) <dboltovskyi@luxoft.com>
Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Removed dependence on allowed when updating accessMode
* Update src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/commands/hmi/rc_on_remote_control_settings_notification.cc
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
Co-authored-by: Roman Reznichenko <roman.reznichenko@dxc.com>
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix wrong requests order for recursive deletion
The issue which was observed is that SDL sends `DeleteSubMenu`
request to HMI for a "parent node" submenu and then sends
subsequent `DeleteSubMenu` requests recursively for all child
nodes starting from the bottom one. Such order confuses HMI
because deletion of parent node may automatically trigger
deletion of all its child nodes on HMI side so subsequent
requests from SDL for a child nodes might be rejected.
To make sure that HMI removes all the hierarchy properly,
SDL should start deletion sequence from the bottom nodes
and delete the parent node in the end.
To resolve that issue, DeleteSubMenu request logic was
updated. Currently, SDL recursively iterates through the
submenu and command nodes and collects them in a queue.
Once queue is ready, SDL sends requests one by one, waiting
for a HMI response for each sent request before sending the
subsequent. Once the responses to all requests are received,
SDL sends the final response to mobile app and finalizes the
command.
* Updated DeleteSubMenu unit tests to cover new logic
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Added result processing and wrote a test for RC_SetGlobalProperties
* Apply suggestions from code review
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
* Added result processing and wrote a test for RC_SetGlobalProperties
Co-authored-by: Roman Reznichenko <roman.reznichenko@dxc.com>
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
|