| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
1) Magic number replaced with constant variables
2) Renamed enums, variables according google coding style
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Changed header files in tests
2) Renamed transport_manager_mock to mok=ck)transport_manager
3) Renamed other mock classes to match naming rules
4) Deleted redundant headers and namespaces.
5) Changed year in Ford headers
6) Changed raw "new" operator using to MakeShared for creating shared_ptr
7) Corrected header guards
8) Added new method CheckRegularMatches to control_message_matcher
Relates: APPLINK-22767
|
|
|
|
|
|
|
|
|
| |
1) Modified existing tests cases
2) Added new tests
3) Changed using entire namespaces to using particular entities from those namespaves
4) Changed header files according new code changes.
Relates: APPLINK-22767
|
|
|
|
|
|
| |
Fixed LastState tests
SharedPtr changed to auto_ptr in some cases
Corrected consts in some cases
|
| |
|
| |
|
|\
| |
| | |
Possible fix for core dump seen by PASA
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Couple checks have been added. One of these was indicated by Coverity as
BAD_FREE error.
Closes-bug: APPLINK-21552
Removes odd new/delete call
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Removed singletone using from TimeTester.
TimeTester renamed -> TelemetryMonitor.
All files and directories corrected.
Tests corrected, all works.
Disabled 2 tests(task created).
Related to : APPLINK-21915
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Remove singletone.
Corrected tests.
Created new mocks and settings.
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)
|
| |
|
|
|
|
|
|
|
|
| |
Add EndServiceAck message processing on protocol_handler level.
PH notify connection_handler, CH notify application_manager.
On AM level SDL turns off video/audio service for application.
Fix: APPLINK-19170, APPLINK-19923
|
|
|
|
| |
Issues: APPLINK-19597, APPLINK-19603
|
|
|
|
|
|
|
| |
Enabled 5 unit tests.
Related:
APPLINK-19076
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each Session resposible for assembling multiframes according to
MessageID
Implemented MultiframeBuilder support class
Add MultiframeBuilder tests
Integrated MultiframeBuilder usage in PHimpl with pop all expired frames
on each handled frame on any session of any connection
Added Configurable parameter in ConfigProfile for expirated time
configuration
Updated PASA and Genevi ini files
Fixed crash on printing empty ProtocolFramePtr
Added ProtocolFramePtrList, ConnectionID typedefs to protocol_packet.h
Removed redundant ConnectionID usage in PHImpl
Fixed memoty leak in ProtocolPacket
Code style fixs in PHIMpl. IncomingDataHandler
Issues:CRQ - APPLINK-17629, Defect fixed indirectly - APPLINK-17954
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added multiframes frame data and connection key verifications
Add DCHECK for ProtocolHandlerImpl::OnTMMessageSendFailed
Implemented ProtocolHeader and ProtocolPacket streaming to basic_ostream
Fix DCHECK logging appender to Utils
Minor logging fixs in ProtocolHandlerImpl, ProtocolPacket
Time_tester include and build fixs
cpplint fixs
Issue:APPLINK-17144, APPLINK-16741
|
|\ \
| | |
| | | |
Fixes for some components
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Return bool value from MessageQueue::pop() method that shows
if pop operation was successful. Add default constructors to all
classes used as message for message queue.
Closes-bug: APPLINK-14928
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In case when certificate from policy table will be expired in less
then defined in config file hours amount the PTU will be triggered.
Closes-Issue:APPLINK-12302
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
Removed legacy macro with _EXT extention
Replaced INFO macros to TRACE and debug
remove symlinks
Implements:APPLINK-15680
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Implements: APPLINK-14656
|
| |
| |
| |
| |
| |
| |
| | |
- Use 1488 bytes MTU for protocol versions 1 and 2
- Use specified in ini file MTU size for protocol versions 3 and higher
Implements: APPLINK-14656
|
|\ \
| | |
| | |
| | | |
Fix WARNING result interpretation in Mobile.DeleteCommandRequest
|
|/ /
| |
| |
| |
| |
| | |
Added autotrace for big methods, warnings for validation fail
Implements: APPLINK-15573
|
| |
| |
| |
| | |
Indents, comments changes.
|
|/
|
|
|
|
|
| |
We count now only switches from correct message to malformed.
Continous malformed message of any length is one malformed message.
Fixes: APPLINK-13938
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Add additional logs
|
| |
| |
| |
| |
| | |
malformed and comman packets
Update tests
|
| |
| |
| |
| |
| | |
Update messages and malformed messages frequency counting setup
Update pasa ini file
|
| | |
|
| |
| |
| |
| | |
No subject for review
|
| | |
|
| |
| |
| |
| |
| | |
Add log messages
Review/gstyle fixs
|
| |
| |
| |
| | |
Add MalformedPacket_Mix test
|
| |
| |
| |
| | |
Add test with unexpected bytes in stream
|