summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/hmi
Commit message (Collapse)AuthorAgeFilesLines
* Removes odd calls to valid() and changed functorAndrey Oleynik2016-07-181-6/+6
| | | | Related-to:APPLINK-23987
* Renames interfaces to fit coding styleAndrey Oleynik2016-07-141-1/+2
| | | | Relates-to: APPLINK-23987
* Renames some variables and interfacesAndrey Oleynik2016-07-141-4/+4
| | | | Relates-to: APPLINK-23987
* Renames several variables and interfacesAndrey Oleynik2016-07-141-21/+24
| | | | Relates-to: APPLINK-23987
* Reworks implementation, makes logic more clearAndrey Oleynik2016-07-131-54/+111
| | | | Relates-to: APPLINK-23987
* Fixes LAUNCH_APP flowAndrey Oleynik2016-07-131-23/+29
| | | | | | | | | | | | On invoking of SDL.ActivateApp SDL has to search through the registered and to-be-regisetered apps in order to find necessary app to launch. In case of registered app SDL has just to start it. In case of to-be-registered app SDL has to send LAUNCH_APP request via foregrounded SDL4.0-enabled application. If there is no such app - request has to be sent via all registered SDL4.0-enabled application on the same device as application requested to be launched. Relates-to: APPLINK-23987
* Fix crash on DCHECK in process SystemRequest(LAUNCH_APP)Anton Hrytsevich2016-07-121-1/+2
| | | | | | | | | After unsuccessful search application, sdl used to do nothing. Thats why on next code line in DCHECK by pointer to app crash SDL. Now, after unsuccessful search app, sdl sent hmi error code by timer and finish request. Closes-bug: [APPLINK-24414](https://adc.luxoft.com/jira/browse/APPLINK-24414)
* Fix SDL crashes at request for PTU when transport is disconnected (#672)Dmitrii Trunov (GitHub)2016-07-061-3/+36
| | | | | | | | | | | | | | | | | * Fix SDL crashes at request for PTU when transport is disconnected Fixed problem with sending incorrect message from get url command. Message contain incorrect message type which led to endless loop and after that to core crash. Change structure message for case when applications aren't connected. Structure of message was changed according with https://adc.luxoft.com/jira/browse/APPLINK-18111 Closes bug [APPLINK-24773](https://adc.luxoft.com/jira/browse/APPLINK-24773) * Fix review comments Fixed name of variable, fixed code style, added namespace Related issue [APPLINK-24773](https://adc.luxoft.com/jira/browse/APPLINK-24773)
* Fix_OnSystemRequestNotification_sent_to_MobileVProdanov2016-05-191-9/+14
| | | | | | | | | | | | | | | The main reason for the HMI notification to not be sent to Mobile side was the missing appID which was causing fail check in app.valid(). The appID was missing, because it was not sent from HMI. In this case we loop over the registered applications and take the first which device is allowed by policy.[see APPLINK-12696]. - Add app_id handling in on_system_request_notification.cc - Modify MOBILE_API.xml with the correct maxvalues for OnSystemRequest`s offset and lenght parameters. Also remove whitespace at the eol. Related: APPLINK-12369 [https://adc.luxoft.com/jira/browse/APPLINK-12369]
* Reformating merged from master codeagaliuzov2016-05-172-7/+6
|
* Add fix for merge conflictsagaliuzov2016-05-161-1/+1
| | | | Rename some methods
* Merge remote-tracking branch 'upstream/master' into developagaliuzov2016-05-164-53/+162
|\
| * Changes logic of GetURLs and OnSystemRequest according to new APIAndrey Oleynik2016-04-282-9/+14
| | | | | | | | Implements: APPLINK-24247, APPLINK-24248
| * Wrapped extended policy logic with ifdef, code beautified.Andrey Oleynik2016-04-112-8/+19
| | | | | | | | | | | | | | Implements: APPLINK-22313 Conflicts: src/components/application_manager/src/commands/hmi/on_received_policy_update.cc
| * Adds new logic of GetURLs processing for extended policy modeAndrey Oleynik2016-04-111-15/+101
| | | | | | | | | | | | | | | | | | | | SDL must pick an application and send appropriate URL in GetURLs response. Implements: APPLINK-22313 Conflicts: src/components/application_manager/src/commands/hmi/get_urls.cc
| * Beatufies GetURL command code, no logic changedAndrey Oleynik2016-04-111-40/+41
| | | | | | | | | | Conflicts: src/components/application_manager/src/commands/hmi/get_urls.cc
| * Adds implementation of DialNumber RPCAndrey Oleynik2016-04-042-0/+114
| | | | | | | | | | | | | | DialNumber allows to initiate call from user's device trough device attached to the system. Implements: APPLINK-11266
* | Format all code in projectKozoriz2016-04-261-5/+2
| | | | | | | | | | | | | | | | | | | | Formated all code in appMain, components, plugins to correct coding-style Used clang-format-3.6 Used 2 commands : find src/appMain/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file find src/components/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file find src/plugins/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file
* | Code style format with clang-formatKozoriz2016-04-25226-1430/+935
| |
* | Hmi commands update after removing all singletonesKozoriz2016-04-25229-783/+846
| |
* | Add WayPoints API & fix resumption after rebaseHerasym Oleh2016-04-143-9/+9
| |
* | Add OnWayPointsChange notification implementationHerasym Oleh2016-04-131-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | Add HMI OnWayPointsChange notification Add Mobile OnWaypointsChange notification Related: APPLINK-21353 Conflicts: src/appMain/sdl_preloaded_pt.json src/components/interfaces/HMI_API.xml src/components/interfaces/MOBILE_API.xml
* | Add GetWayPoints implementation commandHerasym Oleh2016-04-132-0/+111
| | | | | | | | | | | | | | | | | | | | Add mobile request GetWayPoints Add mobile response GetWayPoints Add HMI request GetWayPoints Add HMI response GetWayPoints Related: APPLINK-21612
* | Change resumption SubscribedForWaypointsHerasym Oleh2016-04-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/components/application_manager/src/resumption/resumption_data_db.cc Add implementation SubscribeWayPoints&UnsubsribeWayPoints Add mobile request/response SubscribeWayPoints Add mobile request/response UnSubscribeWayPoints Add HMI request/response SubscribeWayPoints Add HMI request/response UnsubscribeWayPoints Add SendUnsubscribeWayPoints method in MessageHelper Add save subscribe app status to resumption DB & json Add Sending UnsubscribeWayPoints in case unexpected disconnect Related: APPLINK-21629 Related: APPLINK-21631
* | Add implementation SubscribeWayPoints&UnsubsribeWayPointsHerasym Oleh2016-04-134-0/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mobile request/response SubscribeWayPoints Add mobile request/response UnSubscribeWayPoints Add HMI request/response SubscribeWayPoints Add HMI request/response UnsubscribeWayPoints Add SendUnsubscribeWayPoints method in MessageHelper Add save subscribe app status to resumption DB & json Add Sending UnsubscribeWayPoints in case unexpected disconnect Related: APPLINK-21629 Conflicts: src/components/application_manager/src/application_manager_impl.cc
* | Fix send send LAUNCH_APP to background appAnton Hrytsevich2016-04-111-16/+23
| | | | | | | | | | | | | | After CRQ this feature was lose. Create additional sequence in case register v4 apps to fing foregraund app and send to it OnSystemRequest(LAUNCH_APP). (bug-fixes) [APPLINK-11308](https://adc.luxoft.com/jira/browse/APPLINK-11308).
* | Merge pull request #435 from ↵Artem Nosach2016-04-0419-83/+76
|\ \ | | | | | | | | | | | | Kozoriz/feature/LastState_MediaManager_PolicyHandler_Singleton_Removed LastState, PolicyHandler, MediaManager singletons removed
| * | Changes after reviewKozoriz2016-03-313-4/+5
| | | | | | | | | | | | | | | | | | Fixed LastState tests SharedPtr changed to auto_ptr in some cases Corrected consts in some cases
| * | ApplicationManager correctivesKozoriz2016-03-3119-82/+74
| | | | | | | | | | | | | | | Correctives in application manager component after removing LastState, PolicyHandler, MEdiaManager singletons
* | | change application list from iterator to const iteratorBrandonHe2016-03-293-3/+3
|/ /
* | Merge remote-tracking branch 'upstream/master' into developagaliuzov2016-03-241-0/+8
|\ \ | |/
| * Fixes ressetting of default buttons capabilitiesAndrey Oleynik2016-03-231-0/+8
| | | | | | | | | | | | | | | | In case of error response for Buttons.GetCapabilities SDL was resetting default buttons capabilities (from JSON file) to null. This change adds checking of response result code to avoid that issue. Closes-bug: APPLINK-22416
* | Fix_handling_of_OnExitApplication_Notification_with_UHR_reasonVProdanov2016-02-181-0/+6
| | | | | | | | | | | | | | | | When OnExitApplication(UNSUPPORTED_HMI_RESOURCE) notification from HMI is received SDL send OnAppInterfaceUnregistered(UHR) notification to mobile and OnAppUnregistered(appID) to HMI. Related: APPLINK-18509
* | Adds more error handling for *.GetLanguage responses.Andrey Oleynik2016-02-023-18/+37
| | | | | | | | Implements: APPLINK-20560
* | Fixes subsciptions for responses of GetLanguages request.Andrey Oleynik2016-02-023-0/+12
| | | | | | | | | | | | | | | | | | | | Correlation_id is necessary to subscribe for responses. Changed implementation to make new logic able to do this. Implements: APPLINK-20560 Conflicts: src/components/application_manager/src/hmi_capabilities.cc
* | Introduce usage of new logic withing HMI capabilities and commandsAndrey Oleynik2016-02-023-3/+15
| | | | | | | | | | | | | | Incapsulates new logic within HMICapabilities class and adds event usage within *LanguageResponse commands. Implements: APPLINK-20560
* | Removes unused logic, subscriptions, filesAndrey Oleynik2016-01-293-180/+0
| | | | | | | | | | | | | | | | | | | | | | Implements: APPLINK-17839, APPLINK*18854 Conflicts: src/components/application_manager/include/application_manager/commands/hmi/ui_set_icon_request.h src/components/application_manager/src/commands/hmi/ui_set_icon_response.cc src/components/application_manager/src/hmi_command_factory.cc src/components/application_manager/src/state_controller.cc src/components/hmi_message_handler/src/messagebroker_adapter.cc
* | Adds stub and subscription for OnEventChanged notificationAndrey Oleynik2016-01-291-0/+57
| | | | | | | | | | | | | | | | Implements: APPLINK-17839 Conflicts: src/components/application_manager/CMakeLists.txt src/components/hmi_message_handler/src/messagebroker_adapter.cc
* | Integrate CustomStringdtrunov2016-01-205-84/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related-issues: APPLINK-12612 Integrate CustomString Integrete CustomString to application, commands, application manager. Related-issues: APPLINK-12612 Fix incorrect convertion of method ConvertPathForURL Related-issues: APPLINK-12612 Fix comments after review Related-issues: APPLINK-12612 Fix comments of review Related-issues: APPLINK-12612 Fix comments after review Related-issues: APPLINK-12612 Fix comments after review. Related-issues: APPLINK-12612 Integrate CustomString to our test. Fixed problem with policy tests after using custom string: Explicitly specified user type "CustomString" in order to use CustomString in PolicyListener Mock Fixed problem with linking "CustomString" to resumption tests. Fixed comment after review in custom_string_test.cc Related-issues: APPLINK-15906 Integrated CustomString to security. Related-issues: APPLINK-12694 Fix comments after review. Related-issues: APPLINK-12694 Fixed comment after review Related-issues: APPLINK-12694 Fixed comments after review Related-issues: APPLINK-15906 Resolve build issues after rebase Fix build with tests
* | Resolve rebase conflictsAlexander Kutsan2016-01-195-9/+8
| | | | | | | | | | | | | | | | Refactor StateCtrl Fix compile errors Fix build with tests Fix tests
* | Fix formating to simplify mergeAlexander Kutsan2016-01-196-75/+56
| |
* | Merge pull request #300 from LuxoftSDL/hotfix/Logging_by_ComponentArtem Nosach2015-12-252-4/+4
|\ \ | | | | | | Update logging for component
| * | Fixed wrong logger name for ApplicationManagerElisey Zamakhov2015-12-182-4/+4
| | | | | | | | | | | | Issues: APPLINK-19597, APPLINK-19603
* | | Remove PlayTone notification to HMIdtrunov2015-12-031-55/+0
|/ / | | | | | | | | | | Removed PlayTone notification to HMI. Moved this parameter to TTS.Speak. Implements: CRQ-17388
* | Change log levels, add additional logs.Anatoly Leshin2015-11-032-5/+5
| | | | | | | | | | | | Conflicts: src/components/application_manager/src/application_manager_impl.cc src/components/application_manager/src/commands/hmi/navi_start_stream_request.cc
* | Send StopStream(audio/video) request to HMI in case HMI doesn't answer or answerAnatoly Leshin2015-10-282-42/+64
| | | | | | | | | | | | REJECTED at least to one StartStream/StartAudioStream Fix: APPLINK-14806
* | Fix of SDL. Correction processing DialNumber request.Oleg Krotenko2015-10-122-0/+8
| | | | | | | | | | Problem: SDL freezes after receiving DialNumber request Detail please see in APPLINK-17083
* | Restore INVALID_ENUM system context checkingArtem Nosach2015-10-041-1/+1
| | | | | | | | Closes-bug: APPLINK-13195
* | Remove unneeded method from OnSystemContextNotificationArtem Nosach2015-10-041-12/+3
| | | | | | | | | | | | | | Remove method SendSystemContextNotification() and set application state directly from OnSystemContextNotification::Run() Closes-bug: APPLINK-13195
* | Handle DRIVER_DISTRACTION_VIOLATION reason in OnExitApplicationNotificationArtem Nosach2015-10-041-8/+11
| | | | | | | | Closes-bug: APPLINK-13195