summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/policies
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1180 from ↵Alexander Kutsan (GitHub)2017-01-171-3/+4
|\ | | | | | | | | LuxoftAKutsan/fix/send_on_status_update_after_other_notifications_during_app_registration Remove notification update_manager on AddApplication
| * Remove nitification update_manager on AddApplicationAlexander Kutsan2017-01-171-3/+4
| | | | | | | | | | | | AddApplication will return function that will sen d appropriate notifications on call Relates issue : APPLINK-31436
* | Avoid using miliseconds for retry sequence timeoutAlexander Kutsan2017-01-161-1/+1
|/ | | | Related issue : APPLINK-31433
* Use secconds against ms in RPCsAlex Kutsan2017-01-132-7/+13
| | | | Related issue : APPLINK-31433
* Update update_reuire in timeAlex Kutsan2017-01-111-0/+2
| | | | | | update_requre should be store to cahche manager in the same time as UPDATE_NEEDED sent to HMI Related issue : APPLINK-30381
* Merge pull request #1160 from ↵Alexander Kutsan (GitHub)2017-01-101-1/+0
|\ | | | | | | | | LuxoftAKutsan/fix/add_app_to_policy_db_right_after_send_on_app_register Send HMI status after adding application to policy DB
| * Send HMI status after adding application to policy DBAlex Kutsan2017-01-061-1/+0
| | | | | | | | Related issues : APPLINK-31278 APPLINK-31327 APPLINK-31328
* | Fixes choosing of application to request backend for policy update (#1146)Andrey Oleynik (GitHub)2017-01-041-45/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes choosing of application to request backend for policy update SDL must choose application randomly from application having different from NONE HMI level. In case no such apps - random from having NONE will be choosen. Closes-bug: APPLINK-31036, APPLINK-31037 * Adds header file, replace inserter() with back_inserter(), fixes style Relates-to: APPLINK-31036, APPLINK-31037 * Improves implementation of application choosing for PTU Relates-to: APPLINK-31036, 31037 * Modifies unit tests according to app choose algorithm changes Relates-to: APPLINK-31036, 31037
* | Add validation preloaded_pt field in PT_UPDATE type of tableKozoriz2016-12-291-1/+1
|/ | | | Fixed defect : APPLINK-30866
* Move AddApplication to OnAppRegisteredOnMobileVeronica Veremjova2016-12-281-2/+2
|
* Merge pull request #1127 from tkireva/fix/same_url_onSystemRequestTeodora Kireva (GitHub)2016-12-281-1/+28
|\ | | | | Fix sending same URL in OnSystemRequest retry
| * Fix unclear loop condiitonTeodora Kireva2016-12-281-3/+6
| | | | | | | | | | | | | | | | Additional temporary boolean variable is used in order to simplify a compex do-while loop condition Related-issues: APPLINK-30859
| * Fix code beautifying suggestionsTeodora Kireva2016-12-271-3/+6
| | | | | | | | | | | | | | Add explicit brackets around expressions and assignment value to variables during declaration Related-issues: APPLINK-30859
| * Fix unreadable while conditionTeodora Kireva2016-12-271-2/+6
| | | | | | | | | | | | | | | | Due to complicated do-while loop condition, its parts are separated in different boolean variables Related-issues: APPLINK-30859
| * Fix sending same URL in OnSystemRequest retryTeodora Kireva2016-12-231-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | SDL sends same URL in every OnSystemRequest retry, because for every message is used first url of the first application. As a fix, for each message is used the next URL from the current application URLs vector, starting from first valid application. It there is no more URLs for this application, the function looks for the next registered application (or default) and begin cycling through its URLs. Related-issues: APPLINK-30859
* | Merge pull request #1132 from VVeremjova/fix/FixLinkingRegisteredAppToDeviceVeronica Veremjova (GitHub)2016-12-271-13/+20
|\ \ | | | | | | Fix missing links for registered app with device
| * | Fix missing links for registered app with deviceVeronica Veremjova2016-12-271-13/+20
| | | | | | | | | | | | Fixed defect APPLINK-30858
* | | Fix sending BC.ActivateApp twiceiAndrew52016-12-271-40/+51
|/ / | | | | | | | | | | Separated handling of specific device app from handling for all devices Related: APPLINK-30842
* | Add check of HMI level before sending.Kozoriz2016-12-231-3/+13
|/ | | | | | Added check to PolicyHandler::GetAppIdForSending Fixed defect : APPLINK-30881
* SDL sends twice UPDATE_NEEDED for invalid PTUhotfix/policy-sends-update-needed-status-twiceAleksandr Galiuzov (GutHub)2016-12-221-1/+1
| | | | | | | | In case when invalid PTU happened SDL notifies system two times with the same status. It happens because because wrong method is using to trigger the new update. `OnPTExchangeNeeded()` method has to be called only during `OnPolicyUpdate` notification as it immediately notifies the system about current status. In case of regular update `UpdateStatusManager` is care about system notifying so `PolicyHandler` has to call ForcePTExchange directly to start retry
* Aligned naming of EXTENDED_POLICY modesAndrey Oleynik2016-12-131-22/+22
| | | | Relates-to: APPLINK-25462
* Renames EXTENDED_POLICY definition to PROPRIETARY_MODE to avoid confusionAndrey Oleynik2016-12-131-3/+3
| | | | | | | | 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
* Add using of active hmi language in case requested does not existsKozoriz2016-12-051-1/+11
| | | | | | | | | SDL must use language which has been received via UI.GetLanguage responce from HMI Updated policy_manager, cache_manager for external_policy Added processing of active hmi language to cache_mamanager impl. Fixed defect : APPLINK-30398
* Renames folder missed by PR#1068Andrey Oleynik2016-12-051-1/+1
| | | | Closes-bug: APPLINK-30334
* Remove unused filesAlexander Kutsan2016-12-052-167/+0
|
* Add final and remove empty string initialisationAlexander Kutsan2016-12-051-1/+1
|
* remove redundant == false from ifAlexander Kutsan2016-12-051-1/+1
|
* REmove redundant triangular operatorAlexander Kutsan2016-12-051-1/+1
|
* Use dcheck or return in policy handlerAlexander Kutsan2016-12-051-6/+2
|
* Changes EXTENDED_POLICY to EXTERNAL_POLICYAndrey Oleynik2016-12-051-20/+20
| | | | | | Also renames folder from 'policy_premium' to 'policy_external' Closes-bug: APPLINK-30334
* Fix usages of policy in codeAlexander Kutsan2016-12-051-26/+278
|
* Remove redundant aliases to smart_objects namespaceSergey Levchenko (GitHub)2016-11-101-1/+0
| | | | Related to: APPLINK-29754
* issue-636 - Fixing Continiously updating policy in case of EXTENDED_POLICY ↵Madhu Yaduguri2016-10-031-0/+2
| | | | enabled
* Make code appropriate to Google coding styleAlexander Kutsan2016-08-291-1/+0
| | | | Style guide : https://google.github.io/styleguide/cppguide.html
* Merge branch 'release/4.1.0'Alexander Kutsan2016-08-267-504/+637
|\
| * Beautify codeArtem Nosach2016-05-201-48/+51
| |
| * Merge remote-tracking branch 'origin/master' into developArtem Nosach2016-05-201-52/+49
| |\ | |/ |/|
| * Implement messid function in development streamagaliuzov2016-05-171-5/+23
| | | | | | | | This function is required for extended policy support
| * Merge pull request #542 from AGaliuzov/hotfix/fix-merge-conflictsAGaliuzov2016-05-161-1/+2
| |\ | | | | | | Add fix for merge conflicts
| | * Add fix for merge conflictsagaliuzov2016-05-161-1/+2
| | | | | | | | | | | | Rename some methods
| * | Merge pull request #530 from ↵Artem Nosach2016-05-161-24/+1
| |\ \ | | |/ | |/| | | | | | | VVeremjova/feature/Complete_unit_tests_for_policy_handler Complete unit tests for policy handler
| | * Remove unused method and fix incorrect rebase in policy handlerVeronica Veremjova2016-05-051-24/+1
| | |
| * | Merge remote-tracking branch 'upstream/master' into developagaliuzov2016-05-161-0/+14
| |\ \ | | |/ | |/|
| * | Format all code in projectKozoriz2016-04-263-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-254-140/+144
| | |
| * | Correctives after reviewKozoriz2016-04-252-4/+3
| | |
| * | Policies and Resumption correctives after removing all singletonsKozoriz2016-04-254-149/+176
| | |
| * | ApplicationManager correctivesKozoriz2016-03-313-79/+74
| | | | | | | | | | | | | | | Correctives in application manager component after removing LastState, PolicyHandler, MEdiaManager singletons
| * | Review correctives and buildability correctives.Kozoriz2016-03-071-1/+1
| | |
| * | Remove CH, PH, HMI_MH singletones from ApplicationManagerKozoriz2016-03-041-27/+73
| | | | | | | | | | | | | | | | | | | | | Correctives after refactoring ConnectioinHandler, ProtocolHandler, HMIMessageHandler Related to : APPLINK-21440