summaryrefslogtreecommitdiff
path: root/src/components/transport_manager/include/transport_manager
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Remove custom atomic in favor of std::atomic typesConlain Kelly2018-06-251-2/+2
| | | |
| * | | style fixConlain Kelly2018-07-183-5/+1
| | | |
| * | | Replace utils::SharedPtr with std::shared_ptr, remove non-standard usageConlain Kelly2018-07-184-6/+7
| | |/ | |/|
| * | Use Pimple idiom for Network Interface ListenerAlexander2018-06-113-135/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create `qnx` and `linux` folder with platform specific code. Moved implementation from network_interface_listener_impl to platform_specific/linux/platform_specific_network_interface_listener_impl QNX contains empty implementation Renamed source files : used cc file extension for source files
| * | Merge pull request #266 in NAR/sdl-core from ↵Sho Amano2018-05-212-0/+16
| | | | | | | | | | | | | | | | | | | | | bugfix/tcp_interface_event_build_tests to feature/Ford-WiFi * commit '836a069069df187a6bca7670d847d2648a99f211': fix: network interface events don't work under BUILD_TESTS
| * | Merge pull request #241 in NAR/sdl-core from feat/transport_unit_tests to ↵Frank Ronneburg2018-04-113-129/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/Ford-WiFi * commit 'ebf724367d56d40d18dde5fb2d8af928b985d18d': UT: add transport adapter, adapter listener, manager unit tests Fix NetworkInterfaceListener issues detected by UT UT: Add NetworkInterfaceListener unit tests Append htonl() for INADDR_ANY Fix TcpClientListener issues detected by UT UT: Add TcpClientListener unit tests Refactor: create NetworkInterfaceListener interface class
| * | Merge pull request #225 in NAR/sdl-core from ↵Sho Amano2018-04-041-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feat/network_name_and_notify_hmi to feature/Ford-WiFi * commit '9e5b8c4523e7b9baa0f9a2f2fadb732853c5c9ef': combine SetSecondaryTransportID into OnSecondaryTransportStarted Enable UpdateAppList when secondary transport is connected trigger UpdateAppList when secondary transport is added or removed Add secondaryDeviceInfo field in HMIApplication struct Fix a trace log Support reading network interface name from .ini file Improve the stop method of TCP server socket loop Support specific network interface for TcpClientListener Conflicts: src/components/application_manager/src/application_manager_impl.cc src/components/transport_manager/src/transport_manager_default.cc
| * | Enable NetworkInterfaceListenerSho Amano2018-03-141-0/+2
| | |
| * | Add notification of transport config update through TransportManagerSho Amano2018-03-146-6/+97
| | |
| * | Add NetworkInterfaceListener classSho Amano2018-03-141-0/+195
| |/
* | remove struct timeval and use boost time_duration insteadConlain Kelly2018-06-181-2/+2
|/ | | | also cleans up date_time namespacing but maintains helper functions
* Merge branch 'develop' into hotfix/dynamically_link_librarieshotfix/dynamically_link_librariesJackLivio2018-02-027-56/+358
|\
| * Replace pragma with header guardsAndriy Byzhynar2018-01-181-3/+5
| | | | | | | | | | | | | | Replaced #pragma once usage with header guards Added wrappers for deprecated functions Fixed related unit tests Fixed coding style in places related to code chages
| * Fixes coding styleAndrey Oleynik (GitHub)2018-01-182-4/+4
| |
| * Adds comments, replaces pointer with reference and other minor changesAndrey Oleynik (GitHub)2018-01-181-2/+13
| |
| * Changes implementation of iAP2 transport adapter emulationAndrey Oleynik (GitHub)2018-01-182-1/+55
| | | | | | | | | | | | New implementation considers external switching flow triggering so no implementation includes separate thread which manages incoming signals and starts the flow. Also ACK is being sent back to the system.
| * Fixes coding styleAndrey Oleynik (GitHub)2018-01-181-1/+1
| |
| * Changes iAP2 Bluetooth to USB switching flowAndrey Oleynik (GitHub)2018-01-184-15/+36
| | | | | | | | | | | | | | | | | | | | | | These changes update switching flow so now instead of automatic switching start in case of same UUID is detected SDL will wait for external signal from the system to start this flow. Also due to UUID is reliable only while device remains connected (at least on certain systems) SDL now uses Bluetooth MAC and USB serial to manage devices and UUID is used only for detection of devices able to switch their transports. Currently only iAP2 Bluetooth to USB support is implemented.
| * Adds iAP2 BT/USB connection emulation over TCP transportAndrey Oleynik (GitHub)2018-01-182-2/+112
| | | | | | | | | | | | | | | | To be able to check iAP2 transport switch feature these adapters are implemented. Implementation is done in the way of emulating iAP transport over TCP since there is no available iAP library for open source. Since it is just emulation not a real transport is will be built only with other unit tests i.e. with BUILD_TESTS = ON
| * Fixes build w/o unit tests enabledAndrey Oleynik (GitHub)2018-01-181-1/+9
| |
| * Removes odd interface, updates TM unit testsAndrey Oleynik (GitHub)2018-01-183-21/+4
| |
| * Adds descriptions, removes unused codeAndrey Oleynik (GitHub)2018-01-184-3/+45
| |
| * Adds main logic and related bugfixes for transport switchingAndrey Oleynik (GitHub)2018-01-184-55/+125
| |
| * change usb buffer size for optimize sdl transportwangxh772017-11-211-0/+1
| |
* | Dynamically link libusb-1.0JackLivio2018-01-202-2/+2
|/ | | | Removed libusbx from project and now require libusb-1.0 to be installed as a dependency. Required `apt-get install libusb-1.0-0-dev`
* Update all header-guards in projectIvo Stoilov (GitHub)2017-01-2516-24/+24
| | | | Related tasks APPLINK-30588 APPLINK-30974
* Refactor TcpSocketConnection related classesdcherniev2017-01-104-40/+106
| | | | | | | Corrected misspelled name of class TcpServerOriginatedSocketConnection. Splitted classes TcpSocketConnection and TcpServerOriginatedSocketConnection in two separate files. Related task : APPLINK-30284
* Fix SegFault problem of UTdcherniev2017-01-102-4/+34
| | | | | | | | | Created method for threaded connection child classes to ensure their threads will finish running before they are deleted. Added socket shutdown and close during disconnection command for device connection. Moved the ConnectionCreated notification right after we create new threaded connection. Added check to prevent creation of new socket if the connection was already terminated. Related task : APPLINK-30284, APPLINK-30431
* Complete covering of AppLaunch functionality by Unit Tests (#748)Sergey Levchenko (GitHub)2016-08-101-12/+12
| | | | | | | | | Has been covered: - `ConnectionHandlerImpl::RunAppOnDevice`; - `TransportManagerImpl::RunAppOnDevice`; - `TransportAdapterImpl::RunAppOnDevice`; - `ResumeCtrlImpl::GetSavedAppHmiLevel`. Related to: APPLINK-24895
* Fix coding styleLevchenko2016-08-052-8/+11
| | | | | | | | | Has been done: - Fixed coding style; - Fixed header guard naming; - Fixed copyright comments. Related to: APPLINK-24892
* AppLaunch TM and CH implementationAGaliuzov2016-08-032-0/+21
| | | | | | Applaunch functionality in TransportMaanger and ConnectionHAndler implementation Related issue : APPLINK-24892
* Format not formated filesAlexander2016-04-291-13/+13
|
* hotfix/SDL does not release memory after app unregisteringVladislav Antonov2016-04-273-68/+80
| | | | | | | | | | | | | Registered after start connections in TransportAdapterImpl can be unregistered when finalized using the RemoveFinalizedConnection method from the TransportAdapter interface. The call to the RemoveConnection method in the TransportManagerImpl unregisters the connection calling the RemoveFinalizedConnection using the supplied TransportAdapter instance. This solves the observed memory leak of the inactive connections. Issues: APPLINK-22910, APPLINK-23563
* Format all code in projectKozoriz2016-04-2623-157/+241
| | | | | | | | | | 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
* Code style format with clang-formatKozoriz2016-04-255-52/+51
|
* TransportManager update after removing all singletonsKozoriz2016-04-256-18/+35
|
* TransportManager correctives after singletons removingKozoriz2016-03-316-7/+20
| | | | | Corrected TM after removing LastState, MediaManager, PolicyHandler singletones
* TimeTester refatctoring.Kozoriz2016-03-103-24/+30
| | | | | | | | | | 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
* Review correctives and buildability correctives.Kozoriz2016-03-071-1/+1
|
* Correctives in transportManagerKozoriz2016-03-041-19/+20
| | | | | | | | Corrected src and tests in TransportManager after removing ConnectionHandler, ProtocolHandler, HMIMessageHandler singletones. Related to APPLINK-21440
* INtegration of new Timer to TransportManagerAndriy Kozoriz2016-02-171-5/+6
| | | | | | | Changed using oif TimerThread to Timer Updated usage methods of Timer. Related to : APPLINK-10003
* Delete part of SDL code that uses AVAHIHerasym Oleh2016-01-271-144/+0
| | | | | Related: APPLINK-14640
* Merge branch 'master' into developagaliuzov2016-04-231-0/+7
|\
| * hotfix/Data_race_in_ThreadedSocketConnection_TransmitiAndrew52015-12-171-0/+7
| | | | | | | | | | | | Duplicated code moved to separate method Renamed local variable frames_to_send to frames_to_send_local to avoid confusion between framaes_to_send and frames_to_send_
* | Fixed wrong logger name for TransportManagerElisey Zamakhov2015-12-181-0/+1
| | | | | | | | Issues: APPLINK-19597, APPLINK-19603
* | UnitTests_Fix_in_transportManagerKozoriz2015-11-122-2/+2
| | | | | | | | | | | | | | | | | | 1. Changed virtuality of 2 methods => Fixed 4 unit tests in tcp_transport_adapter_test 2. Removed 2 unit tests in transport_manager_impl_test (functionality is absent) Related : APPLINK-17584
* | Added UT for transport manager & partially refactorediAndrew52015-10-283-15/+37
| | | | | | | | Added some functionality to google mock framework
* | Add TMIpl::device_list_ synchronizationElisey Zamakhov2015-03-241-0/+1
| |
* | Add TMIpl::device_to_adapter_map_ synchronizationElisey Zamakhov2015-03-241-1/+3
| |
* | Add TMIpl::Handle2GUIDConverter::conversion_table_ synchronizationElisey Zamakhov2015-03-241-0/+6
| |