| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Fix formatting for logs after logger overhaul
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement logger abstraction. Integrate it to SDL.
Create one logger instance for shared libraries
* Rename all logger macros.
* Update src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/resource_allocation_manager_impl.cc
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
* Fix review comments(errors in log messages)
* Fix review coments
* Fix code style
* Add logger variable creation to new commads
* Fix review comment
* Fixe review comment(class imblemtation moved to .cc file)
Co-authored-by: Shobhit Adlakha <ShobhitAd@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Introduced enums instead multiple bool flags
Update threadFunc logic
Update Start logic
Update Stop logic
Update Join logic
* Update of the affected code
* UTs update
Co-authored-by: sniukalov <sniukaov@luxoft.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix: IP address isn't notified when network interface is removed
When RTM_DELLINK is notified, corresponding network interface
has been already destroyed so if_indextoname() won't return a
valid name.
To handle such case, status_table_ is updated to use network
interface index as key.
* fix: generate DeviceDisconnected event when network interface is removed
* fix a few comments
* Reflect review comments
- Add const where applicable
- Add more descriptions
* Reflect code review
Replace FindInterfaceStatus() with std::find_if() call.
* Reflect code review
Remove unnecessary include.
* fix style issue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| | |
Remove Xevo copyrights from multiple transport implementation
|
| | |
|
|/ |
|
|
|
|
| |
Reflecting review comment.
|
|
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
|