| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There was found one corner case when SDL does
not change the internal status when service
start was refused due to current HMI level of
application. Was added missing check to set
status properly and send expected notification.
|
| | | |/
| | |/|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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
|
| | |/
| |/| |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(#3085)
* Resolve conflicts between the MOBILE_API in Core versus the official rpc_spec
* Remove Ford references
* Rearrange response parameters to be consistent
* Fix SystemCapabilityType order in HMI API
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add select function to pipe write call
* Address dropping frames comment
* Use temp var for write result
|
| | | |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix SSL handshake for a secondary connection
There was found a several places in SDL code where
SSL handshake was working wrong when secured service
was started from a secondary connection like WIFI.
All these places were updated to consider primary
connection as a source for an SSL context and other
attributes for case when the current connection is
secondary.
This is a part which was not considered during
initial implementation of the secondary transport
feature.
* fixup! Fix SSL handshake for a secondary connection
* fixup! Fix SSL handshake for a secondary connection
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
|
| |\
| | |
| | | |
Fix latest coverity issues
|
| | | |
|
| |/
| |
| | |
OnMessageReceived is called with data before StartStream is called
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| |\ \
| | |/
| |/| |
SDL does not send UnsubscribeVehicleData request to HMI after unregister last app.
|
| |/
| |
| |
| |
| | |
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
|
| |\
| | |
| | |
| | |
| | | |
smartdevicelink/feature/remove_deprecated_methods_6.0.0
Remove deprecated methods from project
|
| | | |
|
| |\ \
| | |/
| |/| |
Fix DialNumber description in HMI API
|
| | | |
|
| |\ \
| | | |
| | | | |
Fix reading of Consumer Friendly Messages in PROPRIETARY mode
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Create function to check if user location is in module service area
* Use location consents in GetCalculatedVehicleDataConsent
* Filter(based on location) the moduleIds sent to hmi for consent
* Removed unnecessary logs
* Add checks for validating hmi_response
* Check result code for hmi response before checking allowed param
|
| |\ \ \
| | |_|/
| |/| |
| | | |
| | | | |
smartdevicelink/fix/maximum_change_velocity_definition
Fix definition of maximumChangeVelocity in HMI API
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fix MergeModuleData invalid behavior
* Rework MergeModuleData and MergeArray logic
* Add unit tests
|
| | | |
| | | |
| | | |
| | | | |
OnSystemCapabilityUpdated(REMOTE_CONTROL) (#3032)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added custom deleter for logger
Added flush logger during each handle deleting
Added deleting logger thread during destroy each plugin
This changes are necessary to avoid deadlock
during work with log4cxx.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fix coverity issues
Fixes CIDs 203808, 203807, 203806, 203804, 203803, 203802, 203800, 203798, 203797, 203795, and 203793
* Add virtual destructor
|
| | | | |
|
| |/ / |
|