| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
Add DEPRECATED macro, and fix resulting deprecation warnings
|
| |
| |
| |
| |
| |
| | |
Remove C style casts
Add comments for pragma directives
Remove redundant DEPRECATED macro usages
|
| | |
|
|\ \
| | |
| | | |
Fix SUSPEND -> OnSDLAwake -> SUSPEND -> IGN_OFF sequence for resumption data saving
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
is_suspended flag was encapsulated inside resumption controller
Updated mocks
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
This functions of ResumptionData class was renamed according to their exact logic.
Also renamed in mock class and in unit tests.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
AKalinich-Luxoft/fix/fix_default_permissions_apply_after_ptu
Fix PTU apply for applications with default permissions
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
|/| | |
Feature/enhance video streaming
|
| | | |
|
| | | |
|
|\ \ \
| |_|/
|/| | |
Fix SDL buid with USE_COTIRE=OFF
|
| | |
| | |
| | |
| | | |
Move mock_message_helper to the base class of commands
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
LuxoftAKutsan/fix/subscribe_vehicle_data_cashing_results
Fix/subscribe vehicle data cashing results
|
| | |
| | |
| | |
| | |
| | | |
Convert to string keys of already subscribed vehicle data
Add data type of already subscribed vehicle data
|
|/ /
| |
| |
| |
| |
| | |
Delete include of application_manager/vehicle_info_data.h
Fix unit tests
|
|\ \
| |/
|/|
| |
| | |
AKalinich-Luxoft/fix/fix_streaming_retry_sequence_logic
Fix application start streaming retry sequence
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was a problem with retry sequence which is
triggered when user rejecets/ignores prompt regarding
starting audio streaming on HMI. The problem is when
user clicks Cancel then SDL sends new request in the
sequence and not removes old one from queue. As a result
we have two identical requests and each of them could
trigger next iteration of retry sequence at the same time.
As a result, next try could be started earlier than expected.
For example if streaming retry sequence has 3 retries
with 1 second timeout:
- MOB -> SDL Request to start audio streaming
- SDL -> HMI Prompt user to start streaming for active app (request 1)
- User clicks "No" during 1 sec
- HMI -> SDL User has clicked No (request 1 still in queue!)
- SDL starts streaming retry sequence
- SDL -> HMI First retry and waiting for result during 1 sec (request 2)
- No answer from user during 1 sec
- Tiemout from request 1: trird retry
- Tiemout from request 2: retry limit reached. Streaming not allowed
In this update was added request termination in case user rejects
or accepts the request.
|
|\ \
| |/
|/|
| |
| | |
LuxoftAKutsan/fix/send_correct_info_parameter_in_case_if_some_hmi_interface_is_not_available_or_do_not_respond
Fix/send correct info parameter in case if some hmi interface is not available or do not respond
|
| |
| |
| |
| | |
Move additional checks from PrepareResultForMobileResponse to CheckResultCode
|
| | |
|
| |
| |
| |
| |
| |
| | |
Mapping
Fix converion HMI to mobile result in GetVehicleDataRequestTest
|
| |
| |
| |
| | |
In Unit tests after adding functionality of avaiting interfaces required execute Run() method before on_event
|
| | |
|
| |
| |
| |
| | |
Chage registration
|
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
Add private methods in CommandImpl:
- StartAwaitForInterface
- EndAwaitForInterface
- IsInterfaceAwaited
Add usage of this methods across of commands that splited to multiple HMI interfaces
|
|\
| |
| |
| |
| | |
LuxoftAKutsan/fix/SDL_responds_GENERIC_ERROR_instead_of_INVALID_DATA_when_soft_button_has_Type_is_Image_or_Both
Fix issue with incorrect behaviour in AlertManeuver
|
| | |
|
| |
| |
| |
| |
| |
| | |
Review changes :
Changes Unappropriate variables names
Add using definitions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- fixed issue when in AlertManeuver SDL responds GENERIC_ERROR instead of
INVALID_DATA when soft button has Type is Image or Both and Text is
whitespace or \t or \n or empty
- fixed failed UTs
- added DCHECK condition
- used local variable
Related to Issue-980
|
|\ \
| | |
| | | |
Fix SystemRequest with filename=IVSU but w/o binary data
|
| |/
| |
| |
| | |
The fix removes legacy support for 'IVSU' files.
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add COLLATE NOCASE property for application_id and nickname columns and indices
Added COLLATE NOCASE property for application_id and nickname
columns and indices related to them in order to make them case
insensitive for query select/insert/update.
Changed policy id case to lower. Because of case sensitive
file path all files and directories which contains policy id
of related application, will be saved in lower case to keep
SDL applications path case insensitive.
* Fix loading preloaded PT from JSON file
There was additional case when policy table is loading
from preloaded JSON file. In this case there was case
sensitive loading of app groups.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
AKalinich-Luxoft/fix/fix_subscribevehicledata_subscriptions
Fix SubscribeVehicleData request subscriptions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The main idea here is to perform subscriptions only after SDL
receives successful result from HMI. In case of erroneous result
code SDL should not subscribe to requested VehicleData.
|
|\ \ \ \ |
|
| |\ \ \ \
| | | | | |
| | | | | | |
Release/4.4.0
|