summaryrefslogtreecommitdiff
path: root/src/components/application_manager/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix/unregister while audio pass thru (#1757)hotfix/unregister_during_audio_pass_thruSho Amano2018-04-051-0/+25
| | | | | | | | | | * fix build error in MockMediaManager * Add SetMockMediaManager * add AudioPassThru start/stop tests * Add new BeginAudioPassThru() and EndAudioPassThru() methods * fix: don't terminate AudioPassThru when another app is unregistered * Append DEPRECATED macro only in interface header file and mock file. * Use @deprecated comments
* Merge pull request #2085 from ↵JackLivio2018-03-262-2/+4
|\ | | | | | | | | LuxoftAKutsan/fix/activation_app_external_proprietary_fix Fix/activation app external proprietary fix
| * Avoid integer overflowAlex Kutsan2018-03-232-2/+4
| | | | | | | | | | Replaced all usaged of device handle with apropriate typedef Assignment device handle to uint32_t leads to integer overflow
* | Fix build issues and test failures when building with ENABLE_SECURITY=OFFfix/security_off_buildjacobkeeler2018-03-211-7/+7
|/
* Run Style ScriptJackLivio2018-02-141-1/+1
|
* Coverity FixesJackLivio2018-02-141-4/+0
|
* Merge branch 'release/4.5.0' into fix/OnDriverDistructionJackLivio2018-02-1224-114/+911
|\
| * Fix deprecated warnings in application_impl and connection_handler_implfix/deprecated_warningsjacobkeeler2018-02-011-1/+1
| |
| * Minor refactoring in protocol and security managerAKalinich-Luxoft2018-01-291-3/+3
| | | | | | | | | | | | Added consts for some methods. Fixed typos in description. Renamed some non informative variables names.
| * Added overriden functions for SecurityManager listenersAKalinich-Luxoft2018-01-291-1/+29
| |
| * Replace deprecation comments with DEPRECATED macroAndriy Byzhynar2018-01-187-50/+30
| |
| * Replace pragma with header guardsAndriy Byzhynar2018-01-182-4/+10
| | | | | | | | | | | | | | 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-181-1/+1
| |
| * Add wrappers for deprecated methodsAndriy Byzhynar2018-01-182-1/+14
| | | | | | | | | | | | | | Added wrappers for some deprecated methods Grouped iface checks in SendRegisterAppInterfaceResponseToMobile Removed duplicated "if" statement Improved readability
| * Adds null pointer checks, fixes typos and other minor changes.Andrey Oleynik (GitHub)2018-01-182-2/+2
| |
| * Fixes coding styleAndrey Oleynik (GitHub)2018-01-183-5/+9
| |
| * Changes iAP2 Bluetooth to USB switching flowAndrey Oleynik (GitHub)2018-01-184-8/+25
| | | | | | | | | | | | | | | | | | | | | | 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 RPCs holding for applications being switchedAndrey Oleynik (GitHub)2018-01-182-19/+45
| |
| * Fixes handling of way points un/subscription for transport switch caseAndrey Oleynik (GitHub)2018-01-182-0/+24
| | | | | | | | | | | | 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.
| * Renames interfaces according to people desireAndrey Oleynik (GitHub)2018-01-182-14/+15
| |
| * Fixes typos, commentsAndrey Oleynik (GitHub)2018-01-181-1/+1
| |
| * Renames interfaces for consistencyAndrey Oleynik (GitHub)2018-01-181-2/+2
| |
| * Changes CommandHolderImpl usage and removes odd interfaceAndrey Oleynik (GitHub)2018-01-183-15/+9
| | | | | | | | Also typedefs used, typo in description fixed, minor code changes
| * Adds descriptions and removes obsolete implementationsAndrey Oleynik (GitHub)2018-01-181-8/+48
| |
| * Initial implementation of holding commands for switching appsAndrey Oleynik (GitHub)2018-01-183-16/+178
| |
| * Marks deprecated and unused interfaces in ApplicationManagerImplAndrey Oleynik (GitHub)2018-01-181-0/+8
| |
| * Moves app data recall logic out of ApplicationManagerAndrey Oleynik (GitHub)2018-01-182-16/+93
| |
| * Initial implementation of resumption during switchingAndrey Oleynik (GitHub)2018-01-182-0/+35
| |
| * Reverts deprecated interfacesAndrey Oleynik (GitHub)2018-01-186-4/+104
| |
| * Adds descriptions, removes unused codeAndrey Oleynik (GitHub)2018-01-185-14/+58
| |
| * Adds main logic and related bugfixes for transport switchingAndrey Oleynik (GitHub)2018-01-188-42/+149
| |
| * Merge pull request #1938 from smartdevicelink/feature/deprecated_method_macrofeature/send_location_for_mobile_navJacob Keeler2018-01-175-23/+9
| |\ | | | | | | Add DEPRECATED macro, and fix resulting deprecation warnings
| | * Add DEPRECATED macro, and fix resulting deprecated warningsjacobkeeler2017-12-045-23/+9
| | |
| * | Updated description, added deprecated methodsAKalinich-Luxoft2017-12-195-21/+63
| | |
| * | Removed is_suspended setter.AKalinich-Luxoft2017-12-122-22/+10
| | | | | | | | | | | | | | | 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-122-11/+13
| | |
| * | Added missed implementation of OnAwakeSDLNotificationAKalinich-Luxoft2017-12-121-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | 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-122-9/+35
| | | | | | | | | | | | | | | | | | | | | | | | 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-122-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-123-16/+15
| |/ | | | | | | | | This functions of ResumptionData class was renamed according to their exact logic. Also renamed in mock class and in unit tests.
* | Implement new behavior for OnDriverDistraction.agaliuzov2017-12-223-7/+68
|/ | | | | | 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.
* Use VehicleDataType from MOBILE APi xml imstead of hardcoded valuesAlexander Kutsan2017-11-274-8/+6
| | | | | | Delete include of application_manager/vehicle_info_data.h Fix unit tests
* Process multiple HMI interfaces of change registration requestAlexander Kutsan2017-11-131-0/+10
| | | | Chage registration
* Process result codes and infos from multiple HMI interfacesAlexander Kutsan2017-11-133-19/+77
| | | | | | | Created ResponseParams structure with couple of help functions to merge result codes from HMI, infos from HMI and generate success for mobile response Unit tests for checking Is state is available
* Common functionality awaiting of certain HMI requestsAlexander Kutsan2017-11-132-6/+29
| | | | | | | | Add private methods in CommandImpl: - StartAwaitForInterface - EndAwaitForInterface - IsInterfaceAwaited Add usage of this methods across of commands that splited to multiple HMI interfaces
* Merge remote-tracking branch 'dev-gh/fix/Memory_leaks' into developjacobkeeler2017-11-021-0/+2
|\
| * Replaces raw member pointer with utils::SharedPtrAndrey Oleynik2017-09-081-0/+2
| |
| * Fix minor memory leaksSergey Levchenko (GitHub)2017-09-081-1/+1
| |
* | Fixes responses 'success' value in case of UNSUPPORTED_RESOURCE (#1576)Andrey Oleynik (GitHub)2017-11-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes 'success' value in case of UNSUPPORTED_RESOURCE There is only one case for 'success' to have 'false' with UNSUPPORTED_RESOURCE - when there is single-interface RPC comes and that specific interface is not available i.e. <interface>.IsReady returned 'false' Changes done for base class and unit tests with wrong expectations. * Fix response to mobile result Fixed result to mobile in case of GENERIC_ERROR from hmi and iface does not response * Fix ut tests according to code changes * Fix regression