summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Fixed defect that there's no external_consent_status_groups section in ↵PDmytriiev2017-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | policy table Changed files: * src/components/application_manager/src/smart_object_keys.cc fixed name of the key 'ExtendedConsentStatus' to start from the lowercase letter * src/components/application_manager/src/commands/hmi/on_app_permission_consent_notification.cc removed smart pointer from where it should not belong (which caused crash of the application)
* | Add functionality for External UCSokozlovlux2017-05-171-23/+33
| | | | | | | | | | | | | | | | | | | | | | - added functionality for External UCS: ON by the User - added UTs for policices External UCS: ON by the User - added perstistence for external user consent status received from system Fix issuies for HTTP and PROPRIETARY mode in mock policy handler - fixed issues in mock policy handler - fix coding style
* | Adds draft business logic for 'CCS ON' case and unit testAndrey Oleynik2017-05-171-5/+79
| |
* | Fix issue when SDL uses url in GetURLs for not registered applicationokozlovlux2017-04-121-22/+26
|/ | | | | | | | | | - SmartObject for each application URL was created, although it could never be used. GetUrls::ProcessServiceURLs is reimplemented. Related to Issues-1226 Moved from PR-1116
* Move HMI commands missed tests from release/4.3.0 to developIra Lytvynenko2017-02-071-2/+3
| | | | Raise covered to 65%.
* Merge release to developAlex Kutsan2017-01-279-96/+259
|\
| * Fix external policies issuesAlex Kutsan2017-01-181-1/+2
| |
| * Change policies path and fix params method usageAlex Kutsan2017-01-189-96/+258
| |\
| | * Fixes wrapping with ifdef for proprietary logicAndrey Oleynik2017-01-051-4/+4
| | | | | | | | | | | | Relates-to: APPLINK-30883
| | * Revert "Fix sending URLs of unregister apps in GetURLs"Andrey Oleynik2017-01-041-1/+0
| | | | | | | | | | | | This reverts commit db8d04edd867185aacd13211eebea248c0aaeacc.
| | * Revert "Fix redundant obj creation in ProcessServiceURLs"Andrey Oleynik2017-01-041-22/+19
| | | | | | | | | | | | This reverts commit 0db7b21a5c908ab487460317af85287bc0a0a66b.
| | * Fix updating odometer value in PT snapshot with OnVehicleData from HMIKozoriz2016-12-281-0/+7
| | | | | | | | | | | | | | | | | | | | | Without updating this value PTU trigger works incorrectly. Related req. : APPLINK-17965 Fixed defect : APPLINK-30879
| | * Fix redundant obj creation in ProcessServiceURLsTeodora Kireva2016-12-201-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | SmartObject for each application URL was created, although it could never be used. GetUrls::ProcessServiceURLs is reimplemented. Related-issues: APLINK-30883
| | * Fix sending URLs of unregister apps in GetURLsTeodora Kireva2016-12-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although there is a check for unregister apps, when the URLs are gathered, their links appear in the response, because the URL counting index increments independently of the type of the application. The URL counting index is decremented if current app is not registered, so that its links are skipped. Related-issues: APPLINK-30883
| | * Aligned naming of EXTENDED_POLICY modesAndrey Oleynik2016-12-135-10/+10
| | | | | | | | | | | | Relates-to: APPLINK-25462
| | * Renames EXTENDED_POLICY definition to PROPRIETARY_MODE to avoid confusionAndrey Oleynik2016-12-133-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Currently there are three modes HTTP, PROPRIETARY, EXTERNAL_PROPRIETARY for option named like EXTENDED_POLICY, so in order to avoid confusion with option name definition has been renamed. Relates-to: APPLINK-25462
| | * Fixes forwarding of OnSystemRequest via specific applicationAndrey Oleynik2016-12-081-0/+16
| | | | | | | | | | | | | | | | | | | | | SDL must forward policy table update i.e. OnSystemRequest to application only in case device hosting the application is consented by user. Relates-to: APPLINK-30399
| | * Changes EXTENDED_POLICY to EXTERNAL_POLICYAndrey Oleynik2016-12-055-10/+10
| | | | | | | | | | | | | | | | | | Also renames folder from 'policy_premium' to 'policy_external' Closes-bug: APPLINK-30334
| | * Fux int\uint mistmatchAlexander Kutsan (GitHub)2016-12-051-1/+1
| | |
| | * fixup! Fix usages of policy in codeAlexander Kutsan2016-12-051-3/+3
| | |