summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Fixes RPCs holding for applications being switchedAndrey Oleynik (GitHub)2018-01-186-55/+221
| | | | | | | | |
| * | | | | | | | Adds iAP2 BT/USB connection emulation over TCP transportAndrey Oleynik (GitHub)2018-01-186-2/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To be able to check iAP2 transport switch feature these adapters are implemented. Implementation is done in the way of emulating iAP transport over TCP since there is no available iAP library for open source. Since it is just emulation not a real transport is will be built only with other unit tests i.e. with BUILD_TESTS = ON
| * | | | | | | | Fixes deletion of commands and submenus on failed resumeAndrey Oleynik (GitHub)2018-01-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While adding data from AddCommand/AddSubMenun msg_params are added itself so we have directly address internal fields w/o accessing 'msg_params'
| * | | | | | | | Fixes handling of way points un/subscription for transport switch caseAndrey Oleynik (GitHub)2018-01-1815-30/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case app_id is used for way points subscription it being invalidated on transport switch and SDL can't unsubscribe same application after switch is done.
| * | | | | | | | Fixes coding style issuesAndrey Oleynik (GitHub)2018-01-181-1/+1
| | | | | | | | |
| * | | | | | | | Fixes resume issue for application on switching transportAndrey Oleynik (GitHub)2018-01-181-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case app has been just registrered in previous session and didn't sent any data to resume later and then re-registers over new transport due to switch there is nothing to resume so RAI result should be SUCCESS
| * | | | | | | | Fixes sending 'transport_switch' signal back to adapter/deviceAndrey Oleynik (GitHub)2018-01-182-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After StopDevice call BT device channel is not usable anymore, so to talk back to system USB channel is used. Fixes unit test as well.
| * | | | | | | | Reverts missing code after rebaseAndrey Oleynik (GitHub)2018-01-181-0/+11
| | | | | | | | |
| * | | | | | | | Renames interfaces according to people desireAndrey Oleynik (GitHub)2018-01-185-34/+35
| | | | | | | | |
| * | | | | | | | Fixes typos, commentsAndrey Oleynik (GitHub)2018-01-185-7/+6
| | | | | | | | |
| * | | | | | | | Renames interfaces for consistencyAndrey Oleynik (GitHub)2018-01-1813-21/+21
| | | | | | | | |
| * | | | | | | | Fixes deadlock on resume data saving during transport switchAndrey Oleynik (GitHub)2018-01-181-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue was happening due to - resume data restoring thread was acquiring app subscription lock and then application list lock - transport switching thread was acquiring application lock and was saving resume data and trying to get subscription lock Now after filtering switching application from application list its lock will be released
| * | | | | | | | Changes CommandHolderImpl usage and removes odd interfaceAndrey Oleynik (GitHub)2018-01-186-38/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also typedefs used, typo in description fixed, minor code changes
| * | | | | | | | Fixes build w/o unit tests enabledAndrey Oleynik (GitHub)2018-01-181-1/+9
| | | | | | | | |
| * | | | | | | | Adds descriptions and removes obsolete implementationsAndrey Oleynik (GitHub)2018-01-182-85/+109
| | | | | | | | |
| * | | | | | | | Test coverage for postponing commands during switchingAndrey Oleynik (GitHub)2018-01-187-45/+569
| | | | | | | | |
| * | | | | | | | Initial implementation of holding commands for switching appsAndrey Oleynik (GitHub)2018-01-188-18/+281
| | | | | | | | |
| * | | | | | | | Marks deprecated and unused interfaces in ApplicationManagerImplAndrey Oleynik (GitHub)2018-01-182-0/+11
| | | | | | | | |
| * | | | | | | | Moves app data recall logic out of ApplicationManagerAndrey Oleynik (GitHub)2018-01-1814-349/+635
| | | | | | | | |
| * | | | | | | | Initial implementation of resumption during switchingAndrey Oleynik (GitHub)2018-01-1811-29/+796
| | | | | | | | |
| * | | | | | | | Covers new AM/App interfaces w/ unit tests related to transport switchingAndrey Oleynik (GitHub)2018-01-181-0/+117
| | | | | | | | |
| * | | | | | | | Removes odd interface, updates TM unit testsAndrey Oleynik (GitHub)2018-01-1810-97/+165
| | | | | | | | |
| * | | | | | | | Reverts deprecated interfacesAndrey Oleynik (GitHub)2018-01-1833-86/+796
| | | | | | | | |
| * | | | | | | | Adds descriptions, removes unused codeAndrey Oleynik (GitHub)2018-01-1826-87/+174
| | | | | | | | |
| * | | | | | | | Moves new unit tests for transport switchingAndrey Oleynik (GitHub)2018-01-185-88/+278
| | | | | | | | |
| * | | | | | | | Updates unit tests after switching logic implementationAndrey Oleynik (GitHub)2018-01-185-18/+30
| | | | | | | | |
| * | | | | | | | Updates mocks and tests, makes code buildable with tests enabledAndrey Oleynik (GitHub)2018-01-1818-263/+219
| | | | | | | | |
| * | | | | | | | Adds main logic and related bugfixes for transport switchingAndrey Oleynik (GitHub)2018-01-1844-417/+1213
| | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge pull request #1938 from smartdevicelink/feature/deprecated_method_macrofeature/send_location_for_mobile_navJacob Keeler2018-01-1722-74/+100
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add DEPRECATED macro, and fix resulting deprecation warnings
| | * | | | | | | Address review commentsfeature/deprecated_method_macrojacobkeeler2018-01-178-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove C style casts Add comments for pragma directives Remove redundant DEPRECATED macro usages
| | * | | | | | | Add DEPRECATED macro, and fix resulting deprecated warningsjacobkeeler2017-12-0423-83/+106
| | | | | | | | |
| * | | | | | | | Merge pull request #1604 from AKalinich-Luxoft/fix/fix_data_resumption_flowJackLivio2018-01-1628-65/+342
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix SUSPEND -> OnSDLAwake -> SUSPEND -> IGN_OFF sequence for resumption data saving
| | * | | | | | | | Updated description, added deprecated methodsAKalinich-Luxoft2017-12-1912-29/+91
| | | | | | | | | |
| | * | | | | | | | Fix tests and mocks after rebaseAKalinich-Luxoft2017-12-122-2/+3
| | | | | | | | | |
| | * | | | | | | | Removed is_suspended setter.AKalinich-Luxoft2017-12-126-33/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is_suspended flag was encapsulated inside resumption controller Updated mocks
| | * | | | | | | | Added FINALAKalinich-Luxoft2017-12-122-2/+2
| | | | | | | | | |
| | * | | | | | | | Renamed methods, updated briefs, removed deep nestingAKalinich-Luxoft2017-12-125-35/+37
| | | | | | | | | |
| | * | | | | | | | Added missed implementation of OnAwakeSDLNotificationAKalinich-Luxoft2017-12-125-2/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This notification works in pair with OnExitAllApplications(SUSPEND) notification. However first one is present in code but second one was ommited. There was just empty file. File with implementation was added to CMakeLists. Message broker was subscribed to OnAwake notification from HMI. Added command creation in HMI Command Factory.
| | * | | | | | | | Added new bool flag to ApplicationImpl classAKalinich-Luxoft2017-12-123-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This flag is needed for checking, is SDL should send OnHashChange notification after OnAwake notification. During suspend state SDL must not send OnHashChange according to requirements. If some of RPC's triggers OnHashChange notification sending during suspend, this flag will be set to true and after OnAwake notification if this flag was set, SDL will send OnHashChange notification.
| | * | | | | | | | Added OnIgnitionOff() and new bool flag to ResumeCtrl classAKalinich-Luxoft2017-12-128-4/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDL should distinct ignition off and suspend notifications. SDL should not increment ignition off count in case of suspended notification, only in case of ignition off. This logic was separated by appending new function OnIgnitionOff() which will be called from application manager on ignition off instead of OnSuspend(). Also was added is_suspended flag and related getter/setter. This flag is used in: - ApplicationImpl to check should SDL send OnHashChange or not - In OnAwakeSDLNotification to check should SDL do OnAwake actions or not - OnExitAllApplicationsNotification and OnAwakeSDLNotification switches this flag Also was fixed some related UT expectations and mocks.
| | * | | | | | | | Renamed OnSuspend->IncrementIgnOffCount and OnAwake->DecrementIgnOffCountAKalinich-Luxoft2017-12-129-52/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This functions of ResumptionData class was renamed according to their exact logic. Also renamed in mock class and in unit tests.
| * | | | | | | | | Merge pull request #1966 from ↵JackLivio2018-01-163-6/+39
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | AKalinich-Luxoft/fix/fix_default_permissions_apply_after_ptu Fix PTU apply for applications with default permissions
| | * | | | | | | | Fix PTU apply for applications with default permissionsAKalinich-Luxoft2017-12-123-6/+39
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a problem in PROPRIETARY flow that SDL does not update permissions for applications with default policies after PTU if application functional group was updated indirectly (through updating of "default" section). Also SDL does not send OnPermissionChange notification in described above case. This fix adds extra check if "default" functional group was updated and there are registered applications with default policies group and also updates them. Similar check was added for sending OnPermissionChange notification.
* | | | | | | | | Implement new behavior for OnDriverDistraction.agaliuzov2017-12-2213-36/+302
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the new behaviour SDL has to postpone OnDriverDistraction for the application which are in NONE hmi level and send this notification once device change hmi level in some other hmi level.
* | | | | | | | Merge pull request #1864 from APCVSRepo/feature/enhance_video_streamingJackLivio2017-12-122-2/+15
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Feature/enhance video streaming
| * | | | | | | add the TRANSPORT_USB_BUFFER_MAX_SIZE Macro commentBrandonHe2017-11-211-1/+2
| | | | | | | |
| * | | | | | | change usb buffer size for optimize sdl transportwangxh772017-11-212-2/+14
| | | | | | | |
* | | | | | | | Merge pull request #1934 from LitvinenkoIra/fix/build_with_USE_COTIRE_OFFJacob Keeler2017-12-0550-518/+107
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | Fix SDL buid with USE_COTIRE=OFF
| * | | | | | | Move mock_message_helper to the CommandsTest classIra Lytvynenko2017-11-3050-518/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move mock_message_helper to the base class of commands
* | | | | | | | Create correct structure of SubscriveVehicleData ResponseAlexander Kutsan2017-11-271-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert to string keys of already subscribed vehicle data Add data type of already subscribed vehicle data