summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Destroy timer instead or restarting during app list updatefix/update_app_list_timer_android_portJacob Keeler2021-12-132-15/+56
|
* Merge pull request #310 from CustomSDL/fix/fix_transport_testAndrii Kalinich (GitHub)2021-10-261-1/+2
|\ | | | | fix transport adapter test
| * fix transport adapter testVadym Luchko (gitHub)2021-10-261-1/+2
|/
* Disconnect Android device when app was unregisteredAndrii Kalinich2021-10-251-1/+4
|
* Add separate types for Android BLE and BTAndrii Kalinich2021-10-2510-18/+24
|
* Revert "workaround with logger re-init"Andrii Kalinich2021-10-222-14/+11
| | | | This reverts commit f6e7b7e3f3ee4a7f1721475b1ddcd3ce118e27de.
* Merge pull request #309 from CustomSDL/fix/sdl_restart_logAndrii Kalinich (GitHub)2021-10-222-11/+14
|\ | | | | workaround with logger re-init
| * workaround with logger re-initVadym Luchko (gitHub)2021-10-222-11/+14
|/
* tags for Android IPCs in log (#308)Vadym Luchko (GitHub)2021-10-229-70/+97
|
* Fix logger static assertion for AndroidAndrii Kalinich2021-10-211-1/+4
|
* Remove ignored git filesAndrii Kalinich2021-10-211-28/+0
|
* Update ini file paramsAndrii Kalinich2021-10-211-3/+7
|
* Delete old MOBILE_APIAndrii Kalinich2021-10-211-8893/+0
|
* Android section in ini file (#305)Vadym Luchko (GitHub)2021-10-201-0/+15
| | | remarks in ini file
* Merge pull request #304 from CustomSDL/feature/merge_release_8.0.0Andrii Kalinich (GitHub)2021-10-19809-16831/+17799
|\ | | | | Merge release 8.0.0
| * Merge branch 'release/8.0.0' into feature/merge_release_8.0.0Vadym Luchko (gitHub)2021-10-1946-234/+482
| |\
| | * Removed the unit that interrupted the sequence of closing the connect… (#3785)RomanReznichenkoLuxoft2021-10-151-49/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 (#3796)Andrii Kalinich (GitHub)2021-10-148-39/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| | * Fix/crash after ptu for another app hmi type (#3795)Andrii Kalinich (GitHub)2021-10-1427-121/+186
| | | | | | | | | | | | | | | | | | | | | * Added RC plugin extension after PTU * Add new event `kAppHmiTypesChanged` Co-authored-by: OlhaVorobiova <olha.vorobiova@dxc.com>
| | * Fix VR.ChangeRegistration issue (#3794)Andrii Kalinich (GitHub)2021-10-131-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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 (#3792)Andrii Kalinich (GitHub)2021-10-124-20/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * Fix SDL build with USE_COTIRE=OFF (#3791)Andrii Kalinich (GitHub)2021-10-115-2/+15
| | |
| | * Check specifically for invalid HMI level when suspending notifications (#3784)Jacob Keeler2021-10-061-2/+4
| | | | | | | | | | | | | | | * 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 Linux buildAndrii Kalinich2021-10-181-0/+4
| | |
| * | fix after mergeVadym Luchko (gitHub)2021-10-1363-1165/+1217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix last state impl 111 fix style fix s fix linux build 111 small fixes fix tests for linux build 111
| * | merge from release/8.0.0Vadym Luchko (gitHub)2021-10-05750-15488/+16152
| |\ \ |/ / / | | _
| * Fix descriptions for AudioControlCapabilities and SeatControlCapabilities ↵8.0.0-RC1Jacob Keeler2021-09-291-2/+2
| | | | | | | | (#3782)
| * Prevent HMI commands processing while SDL is stopping (#3781)VladSemenyuk2021-09-282-1/+4
| |
| * Add missing internal error codes to security manager (#3773)Jacob Keeler2021-09-147-16/+139
| | | | | | | | | | | | | | | | | | | | | | * 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>
| * fix WebSocketServerTransportAdapter::Store write to last state (#3772)Collin2021-09-101-1/+4
| | | | | | | | | | * WebSocketServerTransportAdapter::Store write to last state * hold lock until we set dict or decide not to
| * Clear Parent Reference to Begin State When it is Erased (#3769)Collin2021-09-091-1/+6
| | | | | | | | | | | | | | | | | | * 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 stopping video without audio streaming (#3752)Andrii Kalinich (GitHub)2021-08-276-144/+289
| | | | | | | | | | | | | | | | | | | | * 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
| * Fix/ccb 3141 change command request inheritance structure (#3591)VladSemenyuk2021-08-27290-2276/+3047
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 (#3761)Jacob Keeler2021-08-274-20/+38
| | | | | | | | | | * Send REQUEST type and generated sequence number in SendHandshakeData * Update query type in tests
| * Fix build failure when EXTENDED_MEDIA_MODE=ON (#3766)Jacob Keeler2021-08-271-4/+0
| |
| * Add method for delete empty message (#3751)Andrii Kalinich (GitHub)2021-08-256-0/+79
| | | | | | | | | | | | | | * 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 language code ES-EN and EN-IE from the project (#3757)Collin2021-08-256-831/+0
| | | | | | | | | | | | | | * remove invalid language code es-en from preloaded pt * remove es-en from other pt files * remove en-ie language
| * Add check for audio streaming state (#3763)Shobhit Adlakha2021-08-251-1/+5
| |
| * Remove unused files (#3753)JackLivio2021-08-2550-3600/+0
| |
| * Fix SDL crash on validation of numeric schemas with type overflow (#3750)Andrii Kalinich (GitHub)2021-08-254-20/+45
| | | | | | | | | | | | | | | | | | * 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>
| * Ignore frame data for single and first frames (#3762)Andrii Kalinich (GitHub)2021-08-242-13/+1
| | | | | | Co-authored-by: VladSemenyuk <vsemenyuk@luxoft.com>
| * Modify the code files according to sdl0264 proposal (#3738)Akihiro-Miyazaki2021-08-183-34/+6
| |
| * Remove minimum value for AppIconsFolderMaxSize (#3756)Jacob Keeler2021-08-171-4/+0
| |
| * [SDL 0205] Avoid custom button subscription by default (#3744)Vadym Luchko (GitHub)2021-08-166-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * IsHMIResultSuccess was moved (#3754)Collin2021-08-121-2/+2
| |
| * Squashed commit of the following:collin2021-08-1262-894/+2395
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * [SDL-0189] Restructuring OnResetTimeout (#3726)Yana Chernysheva (GitHub)2021-08-1179-721/+1470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * Remove dependency between optional params in OnRemoteControlSettings (#3749)Andrii Kalinich (GitHub)2021-08-112-21/+21
| | | | | | | | | | | | | | | | | | | | * 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 sub menues deletion wrong order (#3748)Andrii Kalinich (GitHub)2021-08-103-198/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Fix handling of RC.SetGlobalProperties response (#3741)Andrii Kalinich (GitHub)2021-08-095-10/+112
| | | | | | | | | | | | | | | | | | | | | | | | * 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>