summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing/wrong result codes mappingfeature/send_locationAKalinich-Luxoft2018-01-263-14/+24
| | | | | There was some missings in result code convertion from HMI to Mobile. Also Fixed related unit test.
* Revert fix for HMI response resultCodes validationAKalinich-Luxoft2018-01-261-13/+0
| | | | | | After inner clarifications and discussions was decided to revert that fix. It will be provided as a separate proposal if needed.
* SendLocation rebase fixAKalinich-Luxoft2018-01-261-20/+20
| | | | There was wrong logic in CheckHMICapabilities after rebase to develop
* Add missing fields to hmi_capabilities.jsonIra Lytvynenko2018-01-261-0/+24
|
* Fix difference between HMI_API & MOBILE_API in enum TextFieldNameIra Lytvynenko2018-01-267-22/+13
|
* Add missed function descriptionAndriy Byzhynar2018-01-261-0/+5
|
* Remove sending of empty info string to mobileAndriy Byzhynar2018-01-261-6/+2
|
* Add function to convert SmartObject to stringAndriy Byzhynar2018-01-264-0/+21
|
* Fix core crash in case when HMI sends response with the result of an integer ↵Ira Lytvynenko2018-01-261-0/+16
| | | | type
* Fix UTs and fix core crash in DeleteFile and PutFile in case when ↵Ira Lytvynenko2018-01-266-23/+9
| | | | application does not exist
* Fix response generation for DeleteFile & PutFile RPCsAndriy Byzhynar2018-01-263-11/+41
| | | | | | | | | | | | Fixed response generation for DeleteFile & PutFile RPCs There was added mobile responses check according to smart schema in latest changes of SDL. Due to these changes we need to generate correct responses before this check. Also responses with all result codes(even not successful) must match Mobile API. Therefore space_available parameter was added to all these responses as it is mandatory parameter of DeleteFile & PutFile responses.
* Fixed info string generation in case of specific parameterAndriy Byzhynar2018-01-264-23/+72
| | | | 'deliveryMode' usage when it is disallowed by Policies
* Fix all affected UTs related to notifications sendingAKalinich-Luxoft2018-01-2611-16/+86
| | | | Also fixed some unstable tests
* Added param checking by policy for notifications for mobile appsAKalinich-Luxoft2018-01-262-8/+164
| | | | | | There was missed logic to check notification parameters according policy table for notifications. Was added similar functions as for requests.
* Fixed requests param reading from incoming messageAKalinich-Luxoft2018-01-261-1/+4
| | | | | | | | There was a problem that asBool() function of smart object returns false for string/array/object types so this params will no be included to params check list and will not be cutted off after that. This check was replaced to ignore only null/ivalid smart object types.
* Fix info message param for different disallowed param casesAKalinich-Luxoft2018-01-265-15/+46
| | | | | | | | Added generating of info message depending on check permissions result: - for disallowed rpc - for all disallowed params in rpc - for partially disallowed params in rpc
* Add new PermitResult values for PROPRIETARY flowAKalinich-Luxoft2018-01-263-3/+53
| | | | | | | | | Added new values for more detailed CheckPermissions result description. This values will be used in AM layer for generating info message string. Also there was added missed logic for checking RPC params and returning correct PermitResult code and params lists.
* Add new PermitResult values for EXTERNAL_PROPRIETARY flowAKalinich-Luxoft2018-01-263-7/+14
| | | | | | Added new values for more detailed CheckPermissions result description. This values will be used in AM layer for generating info message string.
* Fix UTIra Lytvynenko2018-01-261-0/+5
|
* Fix transferring SendLocation request to HMI in case sendLocationEnabled:falseIra Lytvynenko2018-01-261-0/+22
|
* Fix affected unit testsAKalinich-Luxoft2018-01-261-0/+4
|
* Fix result code convertion for SendLocation RPCAKalinich-Luxoft2018-01-261-1/+1
|
* Fix SendLocation response for not applicable resultCodes from HMIAKalinich-Luxoft2018-01-261-0/+13
| | | | | | | | | | | | | | Currently SDL transfers from HMI to Mobile any result code which came in response. Some RPCs in MOBILE_API have own fixed list of valid result codes for this RPC. If SDL receives some of result code which is not present in this fixed list, SDL should behave the same way as in case of "any unknown issue" and respond with GENERIC_ERROR. In this fix was added response message validation check after applying schema and respond with GENERIC_ERROR if response message is invalid due to some reason. This fix affects all RPC responses.
* Fix UTIra Lytvynenko2018-01-261-10/+31
|
* Fix SendLocation implementation according to proposalIra Lytvynenko2018-01-267-55/+211
| | | | | Fixed processing of disallowed mandatory parameters. Removed logic no valid after setting longitude and latitude as mandatory.
* Merge pull request #1927 from smartdevicelink/feature/IAP_over_BTJackLivio2018-01-25129-1055/+5850
|\ | | | | Implementation of transport switching from iAP2 Bluetooth to iAP2 USB
| * Fix difference in device hash generationfeature/IAP_over_BTAndriy Byzhynar2018-01-221-2/+5
| | | | | | | | | | Fixed difference in device id hash generation which was different for SDL built with unit-tests and without
| * Remove redundant functionalityAndriy Byzhynar2018-01-223-6/+18
| |
| * Add TODO comment in correct formatAndriy Byzhynar2018-01-191-2/+2
| |
| * Replace deprecation comments with DEPRECATED macroAndriy Byzhynar2018-01-1824-159/+122
| |
| * Extract common code to separate functionAndriy Byzhynar2018-01-181-56/+19
| |
| * Replace pragma with header guardsAndriy Byzhynar2018-01-1819-306/+85
| | | | | | | | | | | | | | 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
| * Fix issues after rebaseAndriy Byzhynar2018-01-186-8/+9
| |
| * Fix UT for activate_app_requestAndriy Byzhynar2018-01-181-1/+11
| |
| * Add wrappers for deprecated methodsAndriy Byzhynar2018-01-1812-90/+52
| | | | | | | | | | | | | | Added wrappers for some deprecated methods Grouped iface checks in SendRegisterAppInterfaceResponseToMobile Removed duplicated "if" statement Improved readability
| * Fixes thread races in transport manager unit testsAndrey Oleynik (GitHub)2018-01-181-5/+1
| |
| * Revert "Changes return codes for application id replacement"Andrey Oleynik (GitHub)2018-01-181-4/+4
| | | | | | | | | | | | This reverts commit 866dfe849471157d6d0b414cfb013198a879a51f. Returning false in case of inner app_id fields update failed causes many issues on exisiting logic and ATF scripts.
| * Adds error handlingAndrey Oleynik (GitHub)2018-01-181-3/+6
| |
| * Changes return codes for application id replacementAndrey Oleynik (GitHub)2018-01-181-4/+4
| |
| * Fixes potential build warnings with macroAndrey Oleynik (GitHub)2018-01-181-0/+2
| |
| * Fixes thread stopping in case no one connected to the pipeAndrey Oleynik (GitHub)2018-01-181-2/+11
| |
| * Fixes coding styleAndrey Oleynik (GitHub)2018-01-185-31/+25
| |
| * Adds comments, replaces pointer with reference and other minor changesAndrey Oleynik (GitHub)2018-01-182-12/+23
| |
| * Changes implementation of iAP2 transport adapter emulationAndrey Oleynik (GitHub)2018-01-185-3/+165
| | | | | | | | | | | | New implementation considers external switching flow triggering so no implementation includes separate thread which manages incoming signals and starts the flow. Also ACK is being sent back to the system.
| * Adds null pointer checks, fixes typos and other minor changes.Andrey Oleynik (GitHub)2018-01-1810-30/+43
| |
| * Fixes coding styleAndrey Oleynik (GitHub)2018-01-1829-172/+187
| |
| * Updates mocks and unit tests after prior commitAndrey Oleynik (GitHub)2018-01-1815-141/+322
| | | | | | | | | | | | Fixes mock classes interfaces, unit tests and build after changes related to making iAP2 switching triggered externally and using of Bluetooth MAC/USB serial instead of UUID for internal device management.
| * Changes iAP2 Bluetooth to USB switching flowAndrey Oleynik (GitHub)2018-01-1837-106/+501
| | | | | | | | | | | | | | | | | | | | | | These changes update switching flow so now instead of automatic switching start in case of same UUID is detected SDL will wait for external signal from the system to start this flow. Also due to UUID is reliable only while device remains connected (at least on certain systems) SDL now uses Bluetooth MAC and USB serial to manage devices and UUID is used only for detection of devices able to switch their transports. Currently only iAP2 Bluetooth to USB support is implemented.
| * Fixes multiconnection from the same adapter typeAndrey Oleynik (GitHub)2018-01-182-9/+18
| | | | | | | | | | On new device connection SDL has to skip devices already known for the same adapter from update device list update process.
| * Fixes RPCs holding for applications being switchedAndrey Oleynik (GitHub)2018-01-186-55/+221
| |