summaryrefslogtreecommitdiff
path: root/src/components/application_manager
Commit message (Collapse)AuthorAgeFilesLines
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-153-75/+7
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-151-2/+4
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-152-24/+43
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-151-28/+1
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-151-6/+9
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-151-18/+21
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-151-24/+35
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-152-34/+35
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-153-6/+27
|
* fixup! Add unit testYaroslav Mamykin (GitHub)2019-11-151-1/+1
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-151-17/+17
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-153-28/+58
|
* fixup! Add unit testYaroslav Mamykin (GitHub)2019-11-151-1/+1
|
* fixup! Add unit testYaroslav Mamykin (GitHub)2019-11-151-5/+11
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-152-3/+8
|
* fixup! Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-151-3/+9
|
* Fix existing unit testsYaroslav Mamykin (GitHub)2019-11-151-3/+5
|
* Add unit testYaroslav Mamykin (GitHub)2019-11-152-0/+122
|
* Fix versioning appliance for vehicle dataYaroslav Mamykin (GitHub)2019-11-153-11/+4
| | | | | SDL applied SyncMsgVersion=4.5.1 in case mobile app version was < 5.0 With this commit SDL applies SyncMsgVersion respectively to mobile app
* Fix app service extension resumption data processing (#3097)6.0.0_RC2release/6.0.0Yaroslav Mamykin (GitHub)2019-10-286-1/+278
| | | | | | | | | | | | | | | | | | | | | | * Add unit tests * Fix subscription to app services * fixup! Fix subscription to app services * fixup! Add unit tests * fixup! Add unit tests * fixup! Fix subscription to app services * fixup! Fix subscription to app services * fixup! Add unit tests * fixup! Add unit tests * fixup! Add unit tests
* Fix/provide operation result to function file system create directory (#2778)Stanislav Kobziev (GitHub)2019-10-282-4/+7
| | | | | | | | | | | | * Provide operation result to function file_system::CreateDirectory The function CreateDirectory signature (return value) was changed in file_system.h * Added const cv for the creating directory path into unit tests(when uses file_system::CreateDirectory) * Fix merge conflict
* Merge pull request #3102 from smartdevicelink/fix/vehicle_data_item_limitsJacob Keeler2019-10-281-16/+15
|\ | | | | Fix custom vehicle data limits
| * Fix custom vehicle data limitsfix/vehicle_data_item_limitsjacobkeeler2019-10-241-16/+15
| |
* | Merge pull request #3103 from ↵Jacob Keeler2019-10-281-4/+15
|\ \ | | | | | | | | | | | | smartdevicelink/fix/custom_vehicle_data_array_key_translation Fix custom VD key translation for struct arrays
| * | Fix key translation for SubscribeVehicleDatafix/custom_vehicle_data_array_key_translationjacobkeeler2019-10-251-1/+2
| | |
| * | Fix custom VD key translation for struct arraysjacobkeeler2019-10-241-4/+14
| |/
* | Fix/fix log severity level in on vehicle data notification cc (#2776)Stanislav Kobziev (GitHub)2019-10-284-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix log severity level in on_vehicle_data_notification.cc Fixed log severity level in on_vehicle_data_notification.cc: LOG4CXX_ERROR is changed on LOG4CXX_DEBUG and corrected a mistake in string. * Resolve merge conflict * Fix Connection Typo * Revert disabled unit test
* | Fix SDL does not set the app to NONE HMI level after a rejecting of ↵Igor Gapchuk (GitHub)2019-10-254-12/+138
|/ | | | | | | | StartService (#3082) * Fix HMI level on StartServiceNAck * fixup! Fix HMI level on StartServiceNAck
* Remove unimplemented RPC from HMI_API (#3101)Shobhit Adlakha2019-10-241-1/+0
|
* Merge remote-tracking branch 'origin/develop' into release/6.0.0JackLivio2019-10-2410-0/+106
|\
| * Fix VD items subscriptions after PTU (#3081)Andrii Kalinich (GitHub)2019-10-2310-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Set alert duration to 0 if softbuttons exist (#3089)JackLivio2019-10-181-2/+4
| |
* | Fix/sdl must send generic error hmi doesnt respond during timeout (#2495)Valerii Malkov (GitHub)2019-10-169-49/+61
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Replace DCHECK in Create Window Request (#3068)JackLivio2019-10-102-2/+11
| | | | | | | | | | | | | | | | | | | | * 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
* | Fix resource allocation manager unit tests are not included in ↵Igor Gapchuk (GitHub)2019-10-093-2/+14
|/ | | | | | | | /resource_allocation_manager_tests testing binary . (#3070) * ResourceAllocationManagerImpl Unit tests don't run * Fix style
* Add handling for unknown enum values in vehicle data schema (#3062)6.0.0_RCJacob Keeler2019-10-032-3/+9
|
* Fix CID 204315, 204316jacobkeeler2019-10-032-6/+6
|
* [WIP] initial fix of socket streaming by guessing playback time (#3057)Collin2019-10-014-9/+15
| | | | | | | | | | | | | | | | | | | | * 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 HMICapabilities Params (#3058)JackLivio2019-10-013-0/+9
| | | | | | * Add appServices param to HMICapabilities * Add hmiCapabilities params
* Fix PTU notifications order (#3051)Andrii Kalinich (GitHub)2019-10-012-10/+27
| | | | | | | | | | | | | * 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.
* Merge pull request #3056 from smartdevicelink/fix/fix_random_sdl_crashJacob Keeler2019-09-271-5/+13
|\ | | | | Fix SDL crash on app service unpublishing
| * Fix SDL crash on app service unpublishingfix/fix_random_sdl_crashAndrii Kalinich2019-09-271-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix/Set mandatory=false for optional response params (#3052)Shobhit Adlakha2019-09-271-0/+3
| | | | | | | | | | | | * Set mandatory=false for all response params(other than resultCode and success) in the MOBILE_API * Add moduleData key check in RCHelpers::RemoveRedundantGPSDataFromIVDataMsg
* | Fix SDL does not send UnsubscribeVehicleData request to HMIIgor Gapchuk2019-09-262-12/+35
|/ | | | | Fix SDL does not send UnsubscribeVehicleData request to HMI after unregister last app.
* Fix/crash on ign off (#3048)Maksym Ked (GitHub)2019-09-265-0/+24
| | | | | | * Shutdown message queues in rpc service on sdl close * fixup! Shutdown message queues in rpc service on sdl close
* Fix IAP device transport switching sequence (#3034)Andrii Kalinich (GitHub)2019-09-2511-72/+132
| | | | | | | | | | | | | | | | | | | | | | * 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
* Fix/GetInteriorVehicleDataConsent for modules with different ↵Shobhit Adlakha2019-09-252-182/+189
| | | | | | | | | | 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 (#3043)Collin2019-09-2410-86/+61
| | | | | | | | | | | | | | | | * 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
* Fix SDL behavior during LOW_VOLTAGE (#3029)Andrii Kalinich (GitHub)2019-09-243-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 deprecated methods from projectjacobkeeler2019-09-236-26/+1
|