summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi
Commit message (Collapse)AuthorAgeFilesLines
* Move new RPCs to sdl_rpc_plugin and make some fixes after rebaseIra Lytvynenko (GitHub)2018-06-263-162/+0
|
* Move commands to sdl rpc pluginAlexander Kutsan2018-06-26241-15418/+0
|
* Refactor CommandFactoryIra Lytvynenko2018-06-266-7/+7
| | | | | | Fix SendAudioPassThroughNotification Rename Command Origin to Command Source
* RPCService implementationIra Lytvynenko2018-06-2623-34/+56
| | | | Fix commands UTs
* Merge pull request #2105 from smartdevicelink/feature/get_system_timeJacob Keeler2018-06-184-1/+165
|\ | | | | Feature/get system time
| * Implement fully functional GetSystemTime featureAndriy Byzhynar2018-04-064-1/+165
| | | | | | | | | | | | Implemented fully working GetSystemTime feature Fixed UT in the security manager due to code changes Disable randomly failed test
* | Initial implementationIra Lytvynenko2018-05-171-1/+5
|/
* Merge branch 'release/4.5.0' into fix/OnDriverDistructionJackLivio2018-02-129-19/+62
|\
| * Replace pragma with header guardsAndriy Byzhynar2018-01-186-18/+12
| | | | | | | | | | | | | | Replaced #pragma once usage with header guards Added wrappers for deprecated functions Fixed related unit tests Fixed coding style in places related to code chages
| * Add wrappers for deprecated methodsAndriy Byzhynar2018-01-186-9/+18
| | | | | | | | | | | | | | Added wrappers for some deprecated methods Grouped iface checks in SendRegisterAppInterfaceResponseToMobile Removed duplicated "if" statement Improved readability
| * Reverts deprecated interfacesAndrey Oleynik (GitHub)2018-01-186-6/+6
| |
| * Adds main logic and related bugfixes for transport switchingAndrey Oleynik (GitHub)2018-01-184-15/+12
| |
| * Updated description, added deprecated methodsAKalinich-Luxoft2017-12-191-2/+2
| |
| * Removed is_suspended setter.AKalinich-Luxoft2017-12-121-1/+0
| | | | | | | | | | is_suspended flag was encapsulated inside resumption controller Updated mocks
| * Renamed methods, updated briefs, removed deep nestingAKalinich-Luxoft2017-12-121-16/+16
| |
| * Added missed implementation of OnAwakeSDLNotificationAKalinich-Luxoft2017-12-121-1/+43
| | | | | | | | | | | | | | | | This notification works in pair with OnExitAllApplications(SUSPEND) notification. However first one is present in code but second one was ommited. There was just empty file. File with implementation was added to CMakeLists. Message broker was subscribed to OnAwake notification from HMI. Added command creation in HMI Command Factory.
| * Added OnIgnitionOff() and new bool flag to ResumeCtrl classAKalinich-Luxoft2017-12-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDL should distinct ignition off and suspend notifications. SDL should not increment ignition off count in case of suspended notification, only in case of ignition off. This logic was separated by appending new function OnIgnitionOff() which will be called from application manager on ignition off instead of OnSuspend(). Also was added is_suspended flag and related getter/setter. This flag is used in: - ApplicationImpl to check should SDL send OnHashChange or not - In OnAwakeSDLNotification to check should SDL do OnAwake actions or not - OnExitAllApplicationsNotification and OnAwakeSDLNotification switches this flag Also was fixed some related UT expectations and mocks.
* | Implement new behavior for OnDriverDistraction.agaliuzov2017-12-221-14/+56
|/ | | | | | According to the new behaviour SDL has to postpone OnDriverDistraction for the application which are in NONE hmi level and send this notification once device change hmi level in some other hmi level.
* Use VehicleDataType from MOBILE APi xml imstead of hardcoded valuesAlexander Kutsan2017-11-271-2/+3
| | | | | | Delete include of application_manager/vehicle_info_data.h Fix unit tests
* Fix application start streaming retry sequenceAKalinich-Luxoft2017-11-152-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | There was a problem with retry sequence which is triggered when user rejecets/ignores prompt regarding starting audio streaming on HMI. The problem is when user clicks Cancel then SDL sends new request in the sequence and not removes old one from queue. As a result we have two identical requests and each of them could trigger next iteration of retry sequence at the same time. As a result, next try could be started earlier than expected. For example if streaming retry sequence has 3 retries with 1 second timeout: - MOB -> SDL Request to start audio streaming - SDL -> HMI Prompt user to start streaming for active app (request 1) - User clicks "No" during 1 sec - HMI -> SDL User has clicked No (request 1 still in queue!) - SDL starts streaming retry sequence - SDL -> HMI First retry and waiting for result during 1 sec (request 2) - No answer from user during 1 sec - Tiemout from request 1: trird retry - Tiemout from request 2: retry limit reached. Streaming not allowed In this update was added request termination in case user rejects or accepts the request.
* RC capabilities is set in RC.GetCapabilities, not UI.GetCapabilitiesfix/rc_capabilitiesjacobkeeler2017-10-123-15/+13
| | | Also make sure to set rc_supported based on the result of this RPC
* Add `remoteControl` to HMICapability struct in Mobile APIfix/remote_control_supportedJacob Keeler2017-09-261-0/+11
|
* Fix SDL crash on exit/unregistering of non-RC applicationAKalinich-Luxoft2017-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | SDL plugin manager is receiving notifications from application manager when any application was deactivated or unregistered. This notification will be transfered from plugin manager to RC plugin. However RC plugin processes events from any application so when it try to process event from non-RC application, SDL crashes. RC plugin should process events only from applications with RC functionality. Also there is another problem when application is unregistering its app_id() is removing from applications list in AM before OnApplicationEvent() call so when some of plugins will try to get shared_ptr using app_id, it will receive null pointer, however in AM still exists shared_ptr to this app. So it will be better to pass shared_ptr of application instead of accessing to it every time from plugins using app_id parameter. Moreover, some of plugins could require more information about application in future. Following changes were done: - Updated OnApplicationEvent() with application shared_ptr param for plugin manager and all related plugins - RC plugin now triggers OnApplicationEvent only for events from RC applications
* Merge pull request #1620 from AByzhynar/fix/FixFactoryDefaultsJacob Keeler2017-09-071-1/+0
|\ | | | | Clear persistent data of all registered applications after FACTORY_DEFAULTS and MASTER_RESET
| * Fix SDL behavior in case of MASTER_RESET & FACTORY_DEFAULTSVeronica Veremjova2017-06-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | After SDL receives - BC.OnExitAllApplications(MASTER_RESET) : SDL should clear stored persistent data of all registered applications and revert local PT to preloaded state. - BC.OnExitAllApplications(FACTORY_DEFAULTS): SDL should clear stored persistent data of all registered applications and remove all user consents from local PT.
* | Fix style after develop mergeAlexander Kutsan2017-09-051-2/+1
| |
* | Merge branch 'develop' into feature/sdl_remote_control_baselineAndrii Kalinich (GitHub)2017-09-052-0/+109
|\ \
| * | Implement SendHapticData RPCMasato Ogawa2017-08-222-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | HMI does not know the position of widget in Navigation template. In cases HMI manages the Haptic feedback of each widget, the Navi app should notify the HMI which elements can be focused using SendHapticData RPC. This is for discussion on proposal SDL-0075.
* | | Split SDLEvent enum and interfaces into two partsAndrey Oleynik2017-08-301-2/+2
| | |
* | | Adds more ifdef's, do some changes according to review notesAndrey Oleynik2017-08-301-0/+2
| | | | | | | | | | | | Modifies unit tests appoprietly.
* | | Implements resource releasing in different casesAndrey Oleynik2017-08-301-0/+6
| | | | | | | | | | | | | | | | | | Cases are: user exits application from HMI, application is unregistered, mobile applications are disabled by user from HMI, policy table revokes module(s) of application.
* | | Fix process RPCs in case when HMI RC.GetCapabilities response was without ↵Ira Lytvynenko2017-08-161-4/+2
| | | | | | | | | | | | remoteControlCapability parameter
* | | Implementation of system capabilitiesAlexander Kutsan2017-08-164-0/+258
|/ /
* | fix: inconsistency in license headersSho Amano2017-08-152-2/+2
| |
* | fix: wrong arg of OnStreamingConfigured()Sho Amano2017-08-121-5/+2
| | | | | | | | Reflecting review comments.
* | Add another definition of newly added keySho Amano2017-08-111-2/+2
| | | | | | | | Reflecting review comments.
* | Remove OnNaviSetVideoConfigDone()Sho Amano2017-08-111-2/+10
| | | | | | | | Reflecting review comments.
* | Add definitions of newly added keysSho Amano2017-08-111-2/+3
| | | | | | | | Reflecting review comments.
* | Add implementation for video streaming parametersSho Amano2017-08-111-3/+3
| |
* | Add Navi.SetVideoConfig request and responseSho Amano2017-08-112-0/+196
| |
* | Add video streaming capability in system capabilitySho Amano2017-08-111-0/+12
| |
* | Use one enum for shorthand Protocol Version rather than twofix/merge_protocol_version_enumsjacobkeeler2017-08-081-2/+4
| |
* | Merge pull request #1539 from LevchenkoS/fix/GetURLs_SDL_does_not_return_urlsJackLivio2017-08-011-22/+16
|\ \ | | | | | | Fix SDL does not return URLs in response of GetURLs RPC
| * | Fix SDL does not return URLs in response of GetURLs RPCSergey Levchenko (GitHub)2017-05-121-21/+15
| | | | | | | | | | | | | | | | | | Fixed absence of URLs in response of GetURLs RPC, which been caused due to wrong URLs processing.
* | | Merge pull request #1679 from smartdevicelink/feature/constructed_payloadsJacob Keeler2017-07-311-1/+2
|\ \ \ | | | | | | | | Constructed Payloads
| * | | Changes based on comments, added any missing method descriptions jacobkeeler2017-07-311-2/+2
| | | |
| * | | Add kV5 to ProtocolVersion enumjacobkeeler2017-07-271-1/+2
| | |/ | |/|
* | | Formatting and review changesJackLivio2017-07-311-5/+10
| | |
* | | Add system capabilities to HMI RPC UI.getCapabilitiesResponseJackLivio2017-07-131-0/+9
|/ /
* | Fix absent status updateHerasym Oleh2017-05-171-3/+2
| | | | | | | | | | | | | | Fix coding style Conflicts: src/components/policy/policy_external/src/policy_manager_impl.cc src/components/policy/policy_external/test/policy_manager_impl_test.cc