| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Formated all code in appMain, components, plugins to correct coding-style
Used clang-format-3.6
Used 2 commands :
find src/appMain/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file
find src/components/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file
find src/plugins/ -name "*.h" -o -name "*.cc" -o -name "*.hpp" -o -name "*.cpp" | xargs clang-format-3.6 -i -style=file
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There were two deadlocks during unregistering of all apps because of
MASTER_RESET:
- ApplicationManagerImpl::UnregisterAllApplications vs
ConnectionHandler::CloseSessionServices
- ApplicationManagerImpl::UnregisterApplication vs
ApplicationManagerImpl::RemoveAppFromTTSGlobalPropertiesList
That was causing reset flow blocking and data had not been cleaned up
completely.
Closes-bug: APPLINK-22117
Conflicts:
src/components/application_manager/include/application_manager/application_manager_impl.h
src/components/application_manager/src/application_manager_impl.cc
src/components/connection_handler/include/connection_handler/connection_handler_impl.h
src/components/connection_handler/src/connection_handler_impl.cc
|
| |
| |
| |
| |
| |
| | |
Correctives in src and tests for ConnectionHandler class
Related to : APPLINK-21440
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
During processing this defect I found 3 dead locks in
components: conection_handler, hearbeat_monitor.
First deadlock:
First thread:
Calls KeepConnectionAlive() from connection_handler
in this method thread locked connection_list_lock_,
after that calls method KeepAlive() from heartbeat_monitor
and thread tries to lock sessions_list_lock_ wich was locked by
second thread
Second thread:
Blocks sessions_list_lock_ in method Process() from heartbeat_monitor
after that sends hearbeat to mobile
and calls method SendHeartBeat() from protocol_handler.
In this method calls ProtocolVersionUsed() where thread
tries to lock connection_list_lock_ wich was locked by
first thread -> DEAD LOCK
I fixed this problem using RWLock().
Second and third dead locks were associated with
time of action of sessions_list_lock in method Process()
from heartbeat_monitor
I decreased time of action this lock in order to
fix this problem.
Closes-bug:[APPLINK-19632](https://adc.luxoft.com/jira/browse/APPLINK-19632)
|
|\ \
| | |
| | | |
Update logging for component
|
| | |
| | |
| | |
| | | |
Issues: APPLINK-19597, APPLINK-19603
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Added ConnectionHandler unit tests.
Fixed review errors.
Related:
APPLINK-19073
|
|\ \
| | |
| | | |
Fixes for some components
|
| | |
| | |
| | |
| | | |
Closes-bug: APPLINK-14473
|
| | |
| | |
| | |
| | | |
Closes-bug: APPLINK-14473
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move method to interface to get ability to call it directly
from application manager
Closes-bug: APPLINK-14473
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Add additional counter to policy for handshake procedure.
In case something wrong with handshake this counter will be incremented.
Implement: APPLINK-12596
Closes-Issue: APPLINK-12598
|
|\ \
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
APPLINK-11950
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
LuxoftSDL/hotfix/SDL_does_not_apply_HeartBeat_timeout_in_ms
SDL does not apply heart beat timeout in ms
|
| | | |
|
| |/ |
|
|/
|
|
|
|
|
|
|
|
|
| |
In case data consent has been granted for particular device only this
device will get data consent and for other data consent should be asked
on app activation.
Fixes: APPLINK-15052
Conflicts:
src/components/application_manager/src/policies/policy_handler.cc
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixed unexpectedDisconnect flag on application unauthorizing during PTU
processing.
Conflicts:
src/components/application_manager/src/application_manager_impl.cc
src/components/connection_handler/include/connection_handler/connection_handler.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix Empty perform iteration request
Fix type of name from string to enum
SendLocation implemented on HTML5 HMI
Fixed PI response on VR rejection due to high priority.
Fix Apps not responsive/not able to start app/apps remain listed on SYNC even after USB disconnect
Mobile API change and processing capabilities
Change perform interaction request conditions.
Fix SDL must always start 3sec timer before resuming the HMILevel of the app
Remove redundant StartSavePersistentDataTimer() call.
Change wrong predicate name to right.
Added stream request handling feature
Made streaming timeout in media manager configurable
Put navi app in LIMITED in case of phone call
Handling of audio state for applications
Add stop streaming timeout into ini file
Implement HMILevel resumption for job-1
Fix result code ABORTED when interrupts it by Voice recognition activation
Fix incorrect value parameter unexpectedDisconnect in BCOnAppUnregistered
Fix SDL send BC.OnAppUnregistered with "unexpectedDisconnect" set to "true" in case received from HMI OnExitAllApplications {"reason":"MASTER_RESET"}
Fix Update ini file for iAP1 support
Current working directory added to image path
Fix helpers to make it workable with more then 2 parameters
DCHECK() for ManageMobileCommand() replaced with log message because the latter returns false in some regular situations (e.g. TOO_MANY_PENDING_REQUESTS, see SDLAQ-CRS-10)
Remove connection after closing.
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
|
|
| |
Smoke tested on Ubuntu 12.04
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HU DCHECK occurs during multisession registration
Remove unused variable
SIGSEGV handler added to flush logger queue
FixIncomplete device list in UpdateDeviceList request
Fix Memory leak on PutFile break
Fix Thread and Timer
Fix OnHmiStatus Notification
Fix Url array sending for endpoints.
Fix HashChange
Fix SDL parse incoming JSON message with both members error and result as success message
Fix Core crashes while connecting mobile app
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|
|
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
|