| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
SDL applied SyncMsgVersion=4.5.1 in case mobile app version was < 5.0
With this commit SDL applies SyncMsgVersion respectively to mobile app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add unit tests
* Fix subscription to app services
* fixup! Fix subscription to app services
* fixup! Add unit tests
* fixup! Add unit tests
* fixup! Fix subscription to app services
* fixup! Fix subscription to app services
* fixup! Add unit tests
* fixup! Add unit tests
* fixup! Add unit tests
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Provide operation result to function file_system::CreateDirectory
The function CreateDirectory signature (return value) was changed
in file_system.h
* Added const cv for the creating directory path
into unit tests(when uses file_system::CreateDirectory)
* Fix merge conflict
|
|\
| |
| | |
Fix custom vehicle data limits
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
smartdevicelink/fix/custom_vehicle_data_array_key_translation
Fix custom VD key translation for struct arrays
|
| | | |
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix log severity level in on_vehicle_data_notification.cc
Fixed log severity level in on_vehicle_data_notification.cc:
LOG4CXX_ERROR is changed on LOG4CXX_DEBUG and corrected a
mistake in string.
* Resolve merge conflict
* Fix Connection Typo
* Revert disabled unit test
|
|/
|
|
|
|
|
|
| |
StartService (#3082)
* Fix HMI level on StartServiceNAck
* fixup! Fix HMI level on StartServiceNAck
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix revoked VD items subscription after PTU
There was found an issue that SDL still kept
subscriptions for custom vehicle data items even
for case when they were removed during PTU. By
that reason, SDL was crashing with DCHECK on
attempt to unsubscribe from non existing custom
data.
There was added missing logic of internal
unsubscribe in case some custom vehicle data
was removed by policies.
* Fix sending of UnsubscribeVehicleData
Was added a missing part of logic of subscriptions
control - cache manager was updated to keep the
vehicle data which was removed by last PTU.
Custom vehicle data manager was updated to
consider the removed vehicle data and also prepare
and send unsubscribe requests to HMI for case when
some vehicle data was removed and some application
was subscribed on it.
* fixup! Fix sending of UnsubscribeVehicleData
* fixup! Fix sending of UnsubscribeVehicleData
* fixup! Fix sending of UnsubscribeVehicleData
* fixup! Fix sending of UnsubscribeVehicleData
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix SDL timeout logic for RPCs with own timer
SDL must send GENERIC_ERROR to app in case HMI
does NOT respond during <DefaultTimeout>+<RPCs_internal_timeout>
for all RPCs with own timer
* Fix default timeout for HMI requests
For RPS with own timers SDL should apply default+internal timeout for mobile and HMI requests
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Replace dcheck in create window
* Update src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/create_window_request.cc
Co-Authored-By: Jacob Keeler <jacob.keeler@livioradio.com>
* Source capabilities from both app and hmi data
|
|/
|
|
|
|
|
|
| |
/resource_allocation_manager_tests testing binary . (#3070)
* ResourceAllocationManagerImpl Unit tests don't run
* Fix style
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* initial fix of socket streaming by guessing playback time
* isolate custom timer logic to socket audio streaming
* add half second latency compensation
* add mocks for changed and new methods
* make DataSizeToMilliseconds const method
* fix unit tests
* update server_type checks
* address review comments
* fix namespace of ServiceType
|
|
|
|
|
|
| |
* Add appServices param to HMICapabilities
* Add hmiCapabilities params
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix order of actions taken during PTU
The existing order of actions were changed to
make it more obvious for external systems like
HMI and mobile apps. The main concern was that
SDL is sending OnStatusUpdate(UP_TO_DATE) when
policy table update was not actually done.
The order of actions done during PTU was updated
to perform sending of UP_TO_DATE only when all
policy actions were actually done.
Related unit tests were updated respectively.
|
|\
| |
| | |
Fix SDL crash on app service unpublishing
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was found an unsafe work with STL map
in AppServiceManager - during service unpublishing
there might be a possibility when component
iterates over published_services_ and another
function indirectly erases the same element from
the same map what may cause an undefined behavior
during iteration over the map.
To make this safer - iteration over the map and
erasure of element in the map were splitted onto
two separate atomic actions.
|
| |
| |
| |
| |
| |
| | |
* Set mandatory=false for all response params(other than resultCode and success) in the MOBILE_API
* Add moduleData key check in RCHelpers::RemoveRedundantGPSDataFromIVDataMsg
|
|/
|
|
|
| |
Fix SDL does not send UnsubscribeVehicleData request to HMI after
unregister last app.
|
|
|
|
|
|
| |
* Shutdown message queues in rpc service on sdl close
* fixup! Shutdown message queues in rpc service on sdl close
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add reregister wait list accessor and fix IsApplicationSwitched in RAI
* Update CommandHolder class
After introduction CommandSource enum there was
possible to specify any different source for HMI
and mobile commands. However, CommandHolder class
logic was not updated to reflect these changes and
still working with the hardcoded values. As a result
commands factory of plugins may not able to create
commands which were suspended during device transport
switching and then restored back.
This commit contains updated CommandHolder impl which
reflects changes done and properly handles initial
command source.
* Fix affected UT
* Fix style
|
|
|
|
|
|
|
|
|
|
| |
allowMultipleAccess values (#3050)
* Restructure how the consent array is created
* Add case for handling multipleAccessAllowed=false
* Restructure how moduleIds are filtered in the forwarded HMI request and readded for the mobile_response
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* move MenuLayoutsAvailable to WindowCapability
* cleanup
style script + make is_supported function const
* reverse comparables
rvalue on left side is good practice
* cleanup2
* main window can have window_id = 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were found a several problems during SDL testing with ATF scripts:
1. SDL does not ignore messages from mobile/HMI during low voltage and
processes them on wake up
2. Sometimes SDL ignores messages on wake up due to timings
3. SDL low voltage process is not stopping properly by exit() function
4. SDL does not send OnAppUnregistered after wake up to HMI
To solve mentioned problems, the following changes were done:
1. exit() was replaced with _Exit() which allow to force close the
process
2. Suspend transport events processing threads during low voltage,
such as unexpected disconnect etc. These events should be processed
when SDL wakes up completely.
3. Suspend all client listening threads and shut down sockets for a TCP
connections to prevent any possibility to receive message during low
voltage. These threads will be resumed on wake up.
4. Set low_voltage flag to false in the end of wakeup() function to
prevent any timing issues.
5. Don't add pending requests/notifications into request controller if
low voltage event has happened, as it may happen at any moment
6. Don't handle received pending messages from mobile/HMI in RPC
handler if low voltage event has happened as it may happen at any
moment
7. Updated logic of few test case scenarios.
Updated unit tests according to code changes
|
| |
|