summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins
Commit message (Collapse)AuthorAgeFilesLines
* ensure apps receive default HMI status before activated status (#3559)7.0.0-RC2release/7.0.0Collin2020-10-292-6/+70
| | | | | | | | | | | | | | | | | | | | * remove cloud app exception from StateControllerImpl::OnApplicationRegistered * Fix/ Postpone application activation if registration is not complete yet (#3557) * Postpone application activation if registration is not complete yet * fixup! Postpone application activation if registration is not complete yet * fixup! Postpone application activation if registration is not complete yet Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com> * fix style * fix unit tests Co-authored-by: Ira Lytvynenko (GitHub) <ILytvynenko@luxoft.com> Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
* remove possibility for invalid choice ID to be sent to mobile (#3555)Collin2020-10-291-10/+15
|
* Fix a/v streaming retry sequence issues (#3552)Andrii Kalinich (GitHub)2020-10-264-60/+70
| | | | | | | | | | | | | | | | | | There were noticed two issues related to a/v streaming: 1. Due to object self destruction after TerminateRequest() call any attempt to access member field of that object may cause an undefined behavior - it might be a core crash or corrupted value sometimes. In this particular case, SDL tries to access `message_` field through `application_id()` function after object destruction. As a result, sometimes SDL crashes and sometimes this function just returns 0. Because of that, SDL was not able to find application by zero id and broke the retry sequence. This causes random failures of some ATF scripts. To avoid that issue, all retry logic was extracted into the separate function and `TerminateRequest` was moved after that function. This will guarantee that there is no attempts to access object fields after its destruction. 2. There was noticed that SDL makes one redundant retry attempt. That was because of late retry value increment. To fix that issue, increment has been placed before retry amount check.
* Fix sdl sends unexpected disconnect with resource constraint (#3516)Serhii Niukalov (GitHub)2020-10-232-5/+43
| | | | | | | | | | | | * Rework processing of the OnExitApplication (RESOURCE_CONSTRAINT) notification * Update UTs according to changes Co-authored-by: sniukalov <sniukaov@luxoft.com> Co-authored-by: Aleksandr Kutsan <AKutsan@luxoft.com> Co-authored-by: jacobkeeler <jacob.keeler@livioradio.com> Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
* Fix formatting for logs after logger overhaul (#3554)Jacob Keeler2020-10-234-25/+16
| | | | | * Fix formatting for logs after logger overhaul Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
* Add missed NACK reasons (#3545)Yana Chernysheva (GitHub)2020-10-232-29/+24
| | | * Add missed NACK reasons, update UTs and add minor changes
* Add defvalue to policy table schema (#3530)Jacob Keeler2020-10-222-8/+23
| | | * Add defvalue to policy table schema
* Add check for non-existent parent ID to AddSubMenuRequest (#3534)Yana Chernysheva (GitHub)2020-10-202-3/+38
| | | | | * Add check for non-existent parent ID to AddSubMenuRequest * fixup! Add check for non-existent parent ID to AddSubMenuRequest
* Fix synchronization in WaypointsPendingResumptionHandler (#3531)Yana Chernysheva (GitHub)2020-10-193-137/+138
| | | | | | | | | There was a problem with duplicate subscriptions to shared data due to time gap between check for already subscribed apps in SDLRPCPlugin and further processing of corresponding requests in WayPointsPendingResumptionHandler. That's why this check was moved to WayPointsPendingResumptionHandler. Also refactoring of some methods WayPointsPendingResumptionHandler class was done to make their logic clearer and easier to understand.
* Re-order rai logic for plugins (#3526)JackLivio2020-10-061-6/+10
| | | | | | | | | | | * Re-order rai logic for plugins * style * Add mock method * Add method descriptions * Add timing content
* Bugfix 3173 (#3528)JackLivio2020-10-062-1/+8
| | | | | | | | | | | * Fix 3173 bug:multi-thread access one pointer at same time caused a wild pointer problem in HMICapabilitiesImpl class * modify test code for 3173 * fix Unit tests * Fix merge conflicts Co-authored-by: zhangwenqin <zhangwenqin@iauto.com>
* Fix GetInteriorVehicle request wrong processes result codes from HMI (#3519)Igor Gapchuk (GitHub)2020-10-022-6/+68
| | | | GetInteriorVehicle request RPC should process the next result codes as success: WRONG_LANGUAGE, RETRY, SAVED.
* Merge branch 'release/7.0.0' into ↵Yana Chernysheva2020-10-0241-271/+320
|\ | | | | | | fix/move_duplicate_conversion_functions_to_message_helper
| * Remove ManageMobileCommand call from UnregisterAppInterfaceRequest and ↵Yana Chernysheva (GitHub)2020-10-012-16/+0
| | | | | | | | corresponding unit test (#3389)
| * Merge pull request #3523 from smartdevicelink/fix/play_tone_without_ttsJacob Keeler2020-10-011-3/+4
| |\ | | | | | | Ignore playTone if provided without TTSChunks
| | * Ignore playTone if provided without TTSChunksfix/play_tone_without_ttsjacobkeeler2020-09-301-3/+4
| | |
| * | Fix Cppcheck issues (#3453)Yana Chernysheva (GitHub)2020-10-0133-222/+207
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix noExplicitConstructor issue * Fix functionConst issues * Fix unusedFunction and unusedField issues * Fix redundantInitialization * Fix unreadVariable and unusedVariable issues * Fix postfixOperator issue * Fix variableScope issue * Fix invalidPrintfArgType_sint and unsignedLessThanZero issues * Fix other errors * Add changes, related to functions marked as unused * Fix new issues * Fixe review comment * Fix codestyle * Fix constParameter errors * Fix functionConst errors * Fix noExplicitConstructor, redundantInitialization errors * Fix unreadVariable errors * Fix shadowVariable error * Fix useStlAlgorithm errors * Fixe variableScope error, add FIXME comment * Fix code style * Fix compile error * Remove unsued function * Fix compile error Co-authored-by: Vladislav Semenyuk <vsemenyuk@luxoft.com>
| * Merge branch 'develop' into release/7.0.0collin2020-09-302-0/+2
| |\
| | * Unsubscribe from event in VehicleInfoPendingResumptionHandler (#3515)Yana Chernysheva (GitHub)2020-09-302-0/+2
| | |
| * | Add additional check to avoid duplicate subscriptions to Vehicle Data (#3512)Yana Chernysheva (GitHub)2020-09-294-28/+94
| |/ | | | | | | | | | | | | * Replace check for already existed subscriptions * Delete unused enum * Update unit tests and add new unit test
| * Add check whether restoring of all required data was completed (#3508)Yana Chernysheva (GitHub)2020-09-221-2/+4
| |
| * Fix/Delay OnHMIStatus until RAI response is sent (#3506)Shobhit Adlakha2020-09-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add is_ready flag to apps and handle sending OnHMIStatus after RAI response * Add mock functions * Address review comments * Only send delayed onHMIStatus if RAI was a success * Prevent secondary hmi level none to cloud apps * Move enabled check to last when init new cloud app Co-authored-by: JackLivio <jack@livio.io>
* | Merge branch 'develop' into ↵Yana Chernysheva2020-09-10542-3756/+9142
|\ \ | |/ | | | | fix/move_duplicate_conversion_functions_to_message_helper
| * Validate the data before dereferencing it (#3493)Ira Lytvynenko (GitHub)2020-09-081-2/+7
| |
| * [SDL-0188] Interior Vehicle Data Resumption (#3480)Ira Lytvynenko (GitHub)2020-09-0433-84/+1697
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add changes related to AppExtension and RCAppExtension * Change OnTimeOut() method in affected requests * Add changes related to ApplicationHelper class * Add changes related to EventDispatcher * Fill subscription data for all pending requests Changed SDL logic to update subscription results for each pending subscription request before notifying resumption processor about current subscription is processed. This should be done beforehand because after raising event to processor it can finish resumption process and if it has failed then it can trigger sending of the next subscription request. So at that point, each subscription request should contain updated subscriptions status, otherwise some redundant requests might be sent. * Add RC data to resumption data processor * Add RCPendingResumptionHandler class * Process timeout for get interior vehicle data * Revert Interior vehicle data * Add resumption logic to RC app extension * Resumption logic in RC plugin * Helpers RC functions * Update hash for RC data * Filter RC subscriptions in vehicle data plugin * UTs for the RCPendingResumptionHandler Co-authored-by: Yana Chernysheva <ychernysheva@luxoft.com> Co-authored-by: Andrii Kalinich (GitHub) <AKalinich@luxoft.com> Co-authored-by: Aleksandr Kutsan <AKutsan@luxoft.com> Co-authored-by: Igor Gapchuk <igapchuck@luxoft.com> Co-authored-by: sniukalov <sniukaov@luxoft.com> Co-authored-by: Dmitriy Boltovskiy <dboltovskyi@luxoft.com>
| * [SDL-0190] Handle response from HMI during resumption data (#3475)Yana Chernysheva (GitHub)2020-09-0462-852/+2892
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add changes to RAI request * Add new class ResumptionDataProcessor * Add new class SDLAppExtension * Add new class ExtensionPendingResumptionHandler * Add new class SDLPendingResumptionHandler * New class VehicleInfoPendingResumptionHandler * Add changes related to ApplicationManager class * Add changes related to MessageHelper class * Add changes related to StateController class * Add changes related to ResumeController class * Add changes related to PolicyHandler class * Add changes related to SDLRPCPlugin * Add changes related to VehicleInfoPlugin * Add changes related to AppServiceAppExtension and SystemCapabilitiesAppExtension * Add changes related to ResetGlobalProperties request * Add changes related to VehicleInfoAppExtension * Add changes related to AppExtension and RCAppExtension * Change OnTimeOut() method in affected requests * Add changes related to method IsAppSubscribedForWayPoints * Fix problem with multiple definitions during building of unit tests * Add changes related to ApplicationHelper class * Add changes related to EventDispatcher * Add changes related to OnSystemCapabilitiesUpdated notification * Fix/fix rai default timeout (#108) Fix RAI default timeout As RAI request does not depend on any HMI response there is no need to track any timeout for it. RAI request will be removed from/ RequestController queue upon RAI response which will be sent anyway Update UT * Do not unsubscribe from pending VD Update SDL logic to avoid sending of unsubscribeVD to HMI during vehicle data resumption for case when another application is also have pending subscription for the same vehicle data. * Fill subscription data for all pending requests Changed SDL logic to update subscription results for each pending subscription request before notifying resumption processor about current subscription is processed. This should be done beforehand because after raising event to processor it can finish resumption process and if it has failed then it can trigger sending of the next subscription request. So at that point, each subscription request should contain updated subscriptions status, otherwise some redundant requests might be sent. * fixup! Add new class ResumptionDataProcessor * fixup! Add new class SDLPendingResumptionHandler * fixup! Add new class ExtensionPendingResumptionHandler * fixup! New class VehicleInfoPendingResumptionHandler * fixup! Add changes to RAI request * fixup! Add new class ResumptionDataProcessor * fixup! Add new class SDLAppExtension * fixup! Add new class SDLPendingResumptionHandler * fixup! New class VehicleInfoPendingResumptionHandler * fixup! Add changes related to ApplicationManager class * fixup! Add changes related to MessageHelper class * fixup! Add changes related to ResumeController class * fixup! Add changes related to SDLRPCPlugin * fixup! Add changes related to AppExtension and RCAppExtension * fixup! Add changes related to AppServiceAppExtension and SystemCapabilitiesAppExtension * fixup! Add changes related to OnSystemCapabilitiesUpdated notification * fixup! Add changes related to ResumeController class * fixup! Change OnTimeOut() method in affected requests * fixup! fixup! Add new class SDLAppExtension * Filter RC subscriptions in vehicle data plugin * Timeout process for reset global properties * Use ResumptionDataProcessor interface instead of subscriber function * Rename ExtensionPendingResumptionHandler * Rename SDLAppExtension * Revert "Filter RC subscriptions in vehicle data plugin" This reverts commit f35e573e7587b06472e9f396d249339e8fc05cc8. * Rename resumption_data_processor.cc * Rename SDLPendingResumptionHandler * fixup! fixup! Add changes related to OnSystemCapabilitiesUpdated notification * fixup! fixup! Add changes related to AppServiceAppExtension and SystemCapabilitiesAppExtension * fixup! Use ResumptionDataProcessor interface instead of subscriber function Co-authored-by: Andrii Kalinich (GitHub) <AKalinich@luxoft.com> Co-authored-by: Aleksandr Kutsan <AKutsan@luxoft.com>
| * Fix mutex deadlock on VR.ChangeLanguage received (#3370)Alexander Kutsan2020-09-031-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix mutex deadlock on VR.ChangeLanguage received SYNC-10345 There was a problem that on receiving VR.ChangeLanguage SDL is holding application lock via accessor and tries to send some notifications from the same thread. For sending notifications SDL should check policy permissions for that notification and hance, to acquire policy lock. At the same time, PTU could happen in the separate thread and during PTU policy lock could be acquired. Also, during PTU SDL will try to acquire applications lock from this thread, however it is acquired by another thread which executing VR.ChangeLanguage request. As a result we receive thread deadlock. To avoid this deadlock, accessor in VR.ChangeLanguage was scoped in the same manner as for UI and TTS parts. * Copy apps without redundant scoping data accessor Co-authored-by: Elvis Kuliiev <ekuliiev@luxoft.com> Co-authored-by: Aleksandr Kutsan <AKutsan@luxoft.com>
| * Fix dangerous work with app commands (#3375)Alexander Kutsan (GitHub)2020-09-0215-164/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SDLCORE-665: Fix dangerous work with app commands SDLCORE-665 There was related to a thread safety violation while working with application internal commands array. This array is a thread safe itself as it is protected with mutexes, however FindCommand() function is returing a raw pointer to an internal array element so the external component is able to get access to this element at any time even without locking the mutex. Core crash which was found in DeleteCommand request instance is happening by exactly the same reason - DeleteCommand is using a raw pointer to find the command, however this command might be destroyed from another thread at this point of time. As a result, working thread can access to a destroyed object by pointer. As a quick solution, each FindCommand() was followed by a command accessor which prevents unexpected command destruction. Working thread will use the temporary copy of command, but not command itself. However, the better solution would be to change a design and to avoid using of the raw pointers. * Update an Application class methods to return by value instead of raw pointer Updates the next methods: FindCommand FindSubMenu FindChoiceSet Updates related logic and Unit tests * fixup! Update an Application class methods to return by value instead of raw pointer * fixup! Update an Application class methods to return by value instead of raw pointer * Review fix: log that submenu already exist instead of not found * fixup! Update an Application class methods to return by value instead of raw pointer Co-authored-by: ZhdanovP <pzhdanov@luxoft.com> Co-authored-by: Igor Gapchuk <igapchuck@luxoft.com>
| * [SDL 0046] Implement logger abstraction (#3472)VladSemenyuk2020-09-01473-2662/+3139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement logger abstraction. Integrate it to SDL. Create one logger instance for shared libraries * Rename all logger macros. * Update src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com> * Fix review comments(errors in log messages) * Fix review coments * Fix code style * Add logger variable creation to new commads * Fix review comment * Fixe review comment(class imblemtation moved to .cc file) Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
| * Add check for result codes from HMI IsReady response (#3433)Yana Chernysheva (GitHub)2020-08-244-18/+71
| | | | | | | | | | | | | | | | | | * Add check for result code and minor changes to related responses * Update corresponding unit tests * Add other successful result codes Co-authored-by: Dmitriy Boltovskiy <dboltovskyi@luxoft.com>
| * [SDL 0273] WebEngine Projection mode (#3457)Alexander Kutsan (GitHub)2020-08-219-63/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Temporary commit. Changes rpc_spec submodule reference. NOTE: should be removed before merge * Update Mobile API for the new App HMI type WEB_VIEW * Update HMI API for the new App HMI type WEB_VIEW * Add app registration support of the hmi type WEB_VIEW * Update Unit tests related to app registration Add the new one case to check app registration with AppHMItype WEB_VIEW Update existing Application Manager UTs with the new methods for WEB_VIEW Update Application Mock * Add Unit tests for RAI request test * Implement HMI states management for WEP apps * Add new application exit reason RESOURCE_CONSTRAINT Add RESOURCE_CONSTRAINT to HMI API and its processing to OnExitApplicationNotification, update unit tests * Add web socket connection closing on RESOURCE_CONSTRAINT * Update ProtocolHandlerImpl::OnTMMessageSendFailed * Add Unit test for OnAppInterfaceUnregistedNotification * Remove redundant code * Add WEP media & nonmedia to general test cases * Move function to iface class to allow its testing * Add WEP media/nonmedia apps registration for HMI state checks Added unit test cases for WEP media and non-media applications, which allow to check HMI Level, system context, audio and video streaming states calculation after the following actions: - Initial HMI state after registration - HMI state after app activaion - HMI State after app deactivation - HMI state after app exit Note: HMI state includes HMI level, audio, video streaming state, system context * Make code more clear & easy for debug * Add test case for WEP app in resuming mode * Add missed logging * Close connection after RESOURCE_CONSTRAINT RESOURCE_CONSTRAINT unregister reason will close connection for all applications, but not only Web engine projection * Refactoring no functional changes Use setters instead of direct access to app_hmi_type bool var * Use PolicyHandler::CheckHMIType to avoid code duplication * Update src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc Co-authored-by: JackLivio <jack@livio.io> * Use log to check if web engine is allowed * fixup! Use log to check if web engine is allowed * Revert "fixup! Use log to check if web engine is allowed" This reverts commit baad4aae5ffdeba5502a533b2eeb18de84d92b05. * Revert "Use log to check if web engine is allowed" This reverts commit 94c6a7d9efc6912777834bb5aca22c7b46d43497. * Revert "Update src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/register_app_interface_request.cc" This reverts commit 3296fcc399588f01624c1a27f64ab8bc9176e197. * Revert "Use PolicyHandler::CheckHMIType to avoid code duplication" This reverts commit 2c695099a63b838915cb9b5c91c46ad7fc013b47. * Use log string to check if WEB engine is not allowed * Update submodules Co-authored-by: Igor Gapchuk <igapchuck@luxoft.com> Co-authored-by: sniukalov <sniukaov@luxoft.com> Co-authored-by: Andriy Byzhynar (GitHub) <AByzhynar@luxoft.com> Co-authored-by: Mykhailo Vorobiov (GitHub) <61186891+mvorobio@users.noreply.github.com> Co-authored-by: Your Name <you@example.com> Co-authored-by: JackLivio <jack@livio.io> Co-authored-by: YarikMamykin <ymamykin@gmail.com> Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
| * Merge pull request #3478 from ↵JackLivio2020-08-201-0/+1
| |\ | | | | | | | | | | | | smartdevicelink/fix/driver_distraction_capability_caching Cache Driver Distraction Capability
| | * Cache Driver Distraction Capabilityfix/driver_distraction_capability_cachingjacobkeeler2020-08-191-0/+1
| | |
| * | Fix merge conflictsJackLivio2020-08-202-6/+2
| | |
| * | Merge remote-tracking branch 'origin/develop' into feature/main_menu_updatingJackLivio2020-08-2021-15/+1405
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | # Conflicts: # src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/hmi_command_factory.cc # src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/mobile_command_factory.cc # src/components/interfaces/HMI_API.xml # tools/rpc_spec
| * | Get filename from full pathJackLivio2020-08-131-0/+7
| | |
| * | Merge remote-tracking branch 'origin/develop' into feature/main_menu_updatingJackLivio2020-08-1211-15/+635
| |\ \ | | | | | | | | | | | | | | | | # Conflicts: # tools/rpc_spec
| * | | Apply suggestions from code reviewJackLivio2020-08-058-8/+8
| | | | | | | | | | | | Co-authored-by: Collin <iCollin@users.noreply.github.com>
| * | | Merge remote-tracking branch 'origin/develop' into feature/main_menu_updatingcollin2020-07-23106-401/+2886
| |\ \ \
| * | | | Fix styleJackLivio2020-07-1410-39/+44
| | | | |
| * | | | Fix typo in RPC classJackLivio2020-07-131-1/+1
| | | | |
| * | | | Fix typoJackLivio2020-06-301-2/+2
| | | | |
| * | | | Add missing rpc implementation piecesJackLivio2020-06-302-0/+16
| | | | |
| * | | | Main menu updating and paginationJackLivio2020-06-308-0/+597
| | | | |
* | | | | Resolve conflictsYana Chernysheva2020-08-18136-427/+4919
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Add SubtleAlert RPC (#3459)Jacob Keeler2020-08-1721-15/+1401
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | * Add SubtleAlert RPC to project * Add OnSubtleAlertPressed implementation * Add `subtle_notifications_per_minute_by_priority` field to policies
| * | | Feature/Removing url parameter max length (#3259)Serhii Niukalov (GitHub)2020-08-103-0/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add unit tests to cover a test case * Removing maxlength attribute for OnSystemRequest,StartStream and StartAudioStream Sometimes, it is necessary to provide a URL which is very large and thus cannot fit in the current 1,000 or 500 character limit. * Update path length for video and audio streaming files * fixup! Update path length for video and audio streaming files * fixup! Add unit tests to cover a test case * fixup! Add unit tests to cover a test case * fixup! Removing maxlength attribute for OnSystemRequest,StartStream and StartAudioStream Co-authored-by: sniukalov <sniukaov@luxoft.com> Co-authored-by: LitvinenkoIra <ilytvynenko@luxoft.com>
| * | | SDL Core implementation of feature - 0261 New vehicle data WindowStatus (#3391)Yaroslav Mamykin (GitHub)2020-08-071-0/+344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add window status related data types to HMI API * Update rpc_spec url to fork * Update MOBILE API in rpc_spec with WindowStatus data * Update SDL core with WindowState related data * Add/Update unit tests * Update preloaded json file * Add window status section to sdl_preloaded_pt.json * fixup! Update MOBILE API in rpc_spec with WindowStatus data * fixup! Add window status section to sdl_preloaded_pt.json * fixup! Add/Update unit tests * Update src/appMain/sdl_preloaded_pt.json Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com> * Update src/appMain/sdl_preloaded_pt.json Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com> * Update submodules Co-authored-by: YarikMamykin <ymamykin@gmail.com> Co-authored-by: LitvinenkoIra <ilytvynenko@luxoft.com> Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com> Co-authored-by: Andrii Kalinich <AKalinich@luxoft.com>
| * | | Additional Submenus and Driver Distraction Limits (#3447)JackLivio2020-08-077-15/+114
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement additional sub menus * Fix merge conflicts * Revert adding mobile api merge conflict * Update src/components/interfaces/HMI_API.xml Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com> * Update src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/add_sub_menu_request.cc Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com> * Update src/components/application_manager/src/application_data_impl.cc Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com> * Update src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/add_sub_menu_request.cc Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com> * Address comments * Fix unit tests * Fix conflitcs * Update src/components/interfaces/HMI_API.xml Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com> * Update commit hash Co-authored-by: Jacob Keeler <jacob.keeler@livioradio.com>
| * | allow button events to be forwarded to apps in LIMITED (#3461)Collin2020-07-232-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | * allow button events to be forwarded to subscribed mobile apps in hmi level LIMITED for all buttons besides OK * fixup! allow button events to be forwarded to subscribed mobile apps in hmi level LIMITED for all buttons besides OK use existing var and clean up condition * fix description of OnButtonPress and OnButtonEvent param appID