summaryrefslogtreecommitdiff
path: root/src/components/application_manager/include/application_manager
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master'release/4.2.0Jacob Keeler2016-10-241-5/+11
|\ | | | | | | | | Conflicts: src/components/application_manager/src/request_controller.cc
| * Rename functions to have clearer meaningJacob Keeler2016-10-201-6/+5
| |
| * change private member from stop_flag to timer_stop_flagBrandonHe2016-10-201-1/+1
| |
| * Fix ATF_AddSubMenu test failsBrandonHe2016-10-191-0/+7
| |
* | Merge commit '5bf2c5500309d36b60987e74bdd4ed1610ecffde' into release/4.2.0Alexander Kutsan2016-10-153-0/+5
|\ \ | |/
| * Make code appropriate to Google coding styleAlexander Kutsan2016-08-291-2/+1
| | | | | | | | Style guide : https://google.github.io/styleguide/cppguide.html
| * Merge branch 'release/4.1.0'Alexander Kutsan2016-08-26386-5829/+10098
| |\
| * | Changed ParsePTString() to return the calculated content lengthhotfix/fix_request_header_typo_and_content_length_calculationJackLivio2016-07-011-1/+1
| | |
| * | Fix "Content-Length" Spelling and CalculationJackLivio2016-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Content-Length was using an underscore instead of a Hyphen. Android was throwing an exception because there was no "Content-Length" key supplied in the request header. Fixed the way the Content-Length is calculated. Android removes the extra backslashes before sending the request to sdl server so I have Content-Length calculated first before "ParsePTString()" is called. Then contentLength is sent to ParsePtString to be adjusted if characters are removed from the parsed policy table string (ie '\n' the newline character). Tested on android and ios.
| * | ParsePTString to Modify string, instead of returning a copyhotfix/add_escape_characters_during_ptu_header_constructionJackLivio2016-06-201-1/+1
| | |
| * | Parse PT String for HTTP Request BodyJackLivio2016-06-081-0/+1
| | | | | | | | | | | | | | | | | | The "body" portion of the httprequest needs to be a valid string. Before this fix, the policy table content of the request did not have properly escaped double quotes and was causing the JSON received by the mobile side to be considered invalid. The new method "ParsePtString()" adds an escaped backslash during every occurance of a double quote or other escaped backslash. This method also removes any newlines located in the policy table string.
* | | Create unit tests for commands UI (#882)Kozlov Oleksandr (GitHub)2016-10-141-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create unit test for mobile commands - created UT for mobile commands for UI interface for checking SDL behavior in case HMI does not respond to IsReady_request or respond with "available" = false. Command list: 1. Alert 2. Show 3. AddCommand 4. DeleteCommand 5. AddSubMenu 6. DeleteSubMenu 7. PerformInteraction 8. SetMediaClockTimer 9. SetGlobalProperties 10. ChangeRegistration 11. SetAppIcon 12. SetDisplayLayout 13. Slider 14. ScrollableMessage 15. PerformAudioPassThru 16. EndAudioPassThru Related to APPLINK-25091
* | | Fix TTS IsReady false issues (#892)Oleh Herasym (GitHub)2016-10-121-3/+1
| | | | | | | | | | | | | | | | | | * Fix TTS IsReady false issues Related: APPLINK-28576, 28577, 28662
* | | Merge pull request #891 from LuxoftAKutsan/fix/response_function_id_checkAlexander Kutsan (GitHub)2016-10-123-7/+16
|\ \ \ | | | | | | | | Add function_id check in request controller
| * | | fixup! Add function_id check in request controllerAlexander Kutsan2016-10-121-1/+1
| | | |
| * | | fixup! Add function_id check in request controllerAlexander Kutsan2016-10-123-2/+5
| | | |
| * | | Add function_id check in request controllerAlexander Kutsan2016-10-113-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Request controller should not terminate request in case if function id does not match. Related issue : APPLINK-28636
* | | | Merge pull request #768 from ↵Artem Nosach (GitHub)2016-10-119-10/+37
|\ \ \ \ | |/ / / |/| | | | | | | | | | | dtrunov/feature/Navigation_interface_SDL_behavior_in_case_HMI_does_not_respond_to_IsReady_request_or_respond_with_available_false Navigation interface sdl behavior in case hmi does not respond to is ready request or respond with available false
| * | | Fix problems according to test coverage (#1)Anton Hrytsevich (GitHub)2016-10-111-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | * Fix problems according to test coverage Related-tesk: [APPLINK-25171](https://adc.luxoft.com/jira/browse/APPLINK-25171)
| * | | Fix comments after reviewdtrunov2016-10-118-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed structure, renamed method, move common logic to separate method Fix comments after review. Remove OVERRIDE from destructor, create const variable, and change the method of obtaining parameter from smart object Related issue [APPLINK-25171](https://adc.luxoft.com/jira/browse/APPLINK-25171)
| * | | Navigation interface: SDL behavior in case HMI does not respond to IsReady ↵dtrunov2016-10-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request or respond with "available" = false Added logic for processing case when HMI does not respond to IsReady request or respond with "available"=false. Changed processing of result code UNSUPPORTED_RESOURCE for navi commands. CRQ [APPLINK-25171](https://adc.luxoft.com/jira/browse/APPLINK-25171)
| * | | VehicleInfo interface: SDL behavior in case HMI does not respond to IsReady ↵Alexander Kutsan2016-10-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request or respond with "available" = false Added logic for processing case when HMI does not respond to IsReady request or respond with "available"=false. Based on implementation CRQ [APPLINK-20920](https://adc.luxoft.com/jira/browse/APPLINK-20920) CRQ [APPLINK-25201](https://adc.luxoft.com/jira/browse/APPLINK-25201)
* | | | Merge pull request #879 from ↵Artem Nosach (GitHub)2016-10-101-0/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | dtrunov/fix/SDL_should_respond_IGNORED_for_UnSubscribeVehicleData_in_case_HMI_does_not_respond Fix problem with saving VI subscribtion when vi interface isn't available
| * | | | Fix comments after reviewdtrunov2016-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change type of some variables, change comparison, fix code style. Closes bug [APPLINK-28726](https://adc.luxoft.com/jira/browse/APPLINK-28726)
| * | | | Fix problem with saving VI subscribtion when vi interface isn't availabledtrunov2016-10-061-0/+20
| |/ / / | | | | | | | | | | | | | | | | | | | | Forbid ability to save vi subscribtion if vi interface isn't available Closes defect [APPLINK-28468](https://adc.luxoft.com/jira/browse/APPLINK-28468)
* | | | Remove useless doxygen commentHrytsevich Anton2016-10-061-2/+0
| | | |
* | | | Delete useless return and fix grammatical mistakeHrytsevich Anton2016-10-061-3/+3
|/ / /
* | | Feature/tts interface sdl behavior in case hmi does not respond to is ready ↵Oleh Herasym (GitHub)2016-10-051-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | request or respond with available false (#868) * Add logic for processing case when HMI does not respond to IsReady Related: APPLINK-25171 * Add logic for processing SpeakRequest in case HMI does not respond to IsReady_request related: APPLINK-25119
* | | Fix comments after reviewdtrunov2016-10-044-17/+32
| | | | | | | | | | | | | | | | | | Add constructor to structure, and reorder parameter in method Related issue [APPLINK-25088](https://adc.luxoft.com/jira/browse/APPLINK-25088)
* | | Fix code styledtrunov2016-10-048-19/+19
| | | | | | | | | | | | Related issue [APPLINK-25088](https://adc.luxoft.com/jira/browse/APPLINK-25088)
* | | Fix review commentsdtrunov2016-10-043-7/+7
| | | | | | | | | | | | | | | | | | Rename methods, structures reorganize methods Related issue [APPLINK-25088](https://adc.luxoft.com/jira/browse/APPLINK-25088)
* | | UI interface: SDL behavior in case HMI does not respond to IsReady request ↵dtrunov2016-09-2915-77/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or respond with "available" = false Added logic for processing case when HMI does not respond to IsReady request or respond with "available"=false. Added logic to UI command in order to process UNSUPPORTED_RESOURCE result code. Change logic for processing response IsReady for UI, VR, TTS, VI interfaces. CRQ [APPLINK-25087](https://adc.luxoft.com/jira/browse/APPLINK-25087)
* | | fixup! Add ordering of UI and VR infosAlexander Kutsan2016-08-311-0/+5
| | |
* | | Add ordering of UI and VR infosAlexander Kutsan2016-08-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case if only one interface is available UI SDL should respond to HMI info by pattern : info = "VR is not supported by system, " + error message from other interface Related issue : [APPLINK-26900](https://adc.luxoft.com/jira/browse/APPLINK-26900)
* | | Move unit tests for mobile commands in release/4.2.0Levchenko2016-08-233-8/+9
| | | | | | | | | | | | | | | | | | | | | - moved UT for mobile commands in release/4.2.0 - added some unit tests for mobile commands Related to APPLINK-20925
* | | Create tools to test commandsLevchenko2016-08-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Been done: - Added specific abstract classes for commands testing (CommandsTest and CommandRequestTest); - Been added unit tests for base command classes (CommandImpl, CommandRequestImpl, CommandResponseImpl); - Been added unit tests for next mobile response commands: - ListFilesResponse - ReadDIDResponse - AlertManeuverResponse - AlertResponse - SubscribeButtonResponse Related to: APPLINK-24911
* | | VehicleInfo interface: SDL behavior in case HMI does not respond to IsReady ↵Alexander Kutsan2016-08-193-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | request or respond with "available" = false Added logic for processing case when HMI does not respond to IsReady request or respond with "available"=false. Based on implementation CRQ [APPLINK-20920](https://adc.luxoft.com/jira/browse/APPLINK-20920) CRQ [APPLINK-25201](https://adc.luxoft.com/jira/browse/APPLINK-25201)
* | | Fix typoAlexander Kutsan2016-08-172-2/+1
| | |
* | | Add doxygen comments to HmiInterfacesImplAlexander Kutsan2016-08-172-4/+47
| | |
* | | Make HmiInterfacesImpl Thread safeAlexander Kutsan2016-08-171-0/+3
| | | | | | | | | | | | Related issue : APPLINK-20920
* | | Fix Delete Command RPCAlexander Kutsan2016-08-161-0/+9
| | | | | | | | | | | | Related issue : APPLINK-20920
* | | Fix Create interaction choice set RPCAlexander Kutsan2016-08-161-0/+24
| | | | | | | | | | | | Related issue : APPLINK-20920
* | | Fix Add command RPCAlexander Kutsan2016-08-162-2/+2
| | | | | | | | | | | | Related issue : APPLINK-20920
* | | Set ready state for VR VI and UI interfacesAlexander Kutsan2016-08-161-0/+17
| | | | | | | | | | | | Related issue : APPLINK-20920
* | | Skeleton of class that will handle avaliabllity if HMI interfacesAlexander Kutsan2016-08-165-0/+148
| | | | | | | | | | | | Related issue : APPLINK-20920
* | | Fix coding styleLevchenko2016-08-058-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Has been done: - Fixed coding style; - Fixed header guard naming; - Fixed copyright comments. Related to: APPLINK-24892
* | | Common AppLaunchController functionalityAlexander Kutsan2016-08-054-1/+219
| | | | | | | | | | | | Related issue : APPLINK-24892
* | | Extend SDL interfaces for AppLaunch functionalityAlexander Kutsan2016-08-042-1/+13
| | | | | | | | | | | | Related issue : APPLINK-24892
* | | Reduce dependence of ApplicationManagerLevchenko2016-08-041-7/+8
| | | | | | | | | | | | | | | | | | | | | Reduced dependence of `ApplicationManager` from `ResumeCtrl` and `HMICapabilities`. Related to: APPLINK-24892
* | | Divide HMICapabilities onto interface and implementationLevchenko2016-08-041-191/+96
| | | | | | | | | | | | | | | | | | | | | `HMICapabilities` was divided onto interface and implementation. Related to: APPLINK-24892