summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update logic for allowMultipleAccess=falsefeature/multiple_modulesLitvinenkoIra2019-08-303-0/+44
|
* fixup! Update cached consents logic for GIVDCAndrii Kalinich2019-08-302-2/+18
|
* fixup! Add new functionality to the interfacesIgor Gapchuk2019-08-301-1/+4
|
* Update cached consents logic for GIVDCAndrii Kalinich2019-08-303-0/+129
| | | | | | | | | | | | Behavior for cache consents has been updated according to the following comment: 1. If accessMode=AUTO_ALLOW, return true by default 2. If accessMode=AUTO_DENY, check if another app is using the resource a. If the resource is IN_USE, return false b. If the resource is FREE, return true 3. If accessMode=ASK_DRIVER, check if the consent is cached a. If it is cached, return that result b. If it is NOT cached, then prompt the driver for consent
* Fix CheckIfModuleExistsInCapabilities function nameLitvinenkoIra2019-08-2914-15/+15
|
* Rename function to indicate that it returns data related to the module typeLitvinenkoIra2019-08-295-7/+7
|
* Fix functions descriptionsLitvinenkoIra2019-08-292-11/+12
|
* Rename typedef to indicate that it defines a pair moduleType and ↵LitvinenkoIra2019-08-295-25/+25
| | | | capabilitiesStatus
* Rename function to indicate that it returns a list of module typesLitvinenkoIra2019-08-296-9/+9
|
* Allocate resource after receiving successful response from HMIigapchuck2019-08-298-28/+159
| | | | Send OnRCStatus notification only in case resource allocation state was changed
* Set resource to free if SIVD request is invalidLitvinenkoIra2019-08-291-0/+1
|
* Add ResourceAllocationManager Unit testsIgor Gapchuk (GitHub)2019-08-295-5/+368
| | | | | | * Add MockRCHelpers. * Add ResourceAllocationManager Unit tests
* Add Grid Unit testsigapchuck2019-08-292-0/+73
|
* Add ReleaseInteriorVehicleDataModuleRequest Unit testsigapchuck2019-08-291-0/+243
|
* Add SetGlobalProperties Unit testsigapchuck2019-08-291-4/+183
| | | | | Add Unit test for PrepareResultCodeForResponse method Add Unit test for PrepareResultForMobileResponse method
* Update SEAT module type processingLitvinenkoIra2019-08-295-2/+50
| | | | | | Add converting id to moduleId: If the vehicle support at least one seat control, seat control capability includes at least two items. 1st for driver’s seat. 2nd for front passenger’s seat
* Define Grid, add functions for getting moduleServiceArea and ↵LitvinenkoIra2019-08-2920-12/+551
| | | | | | | | | | allowMultipleAccess values Add Seat Location capabilities checking and function for getting driver's location Check if the user location area and the service area has something in common, or the user location is driver, otherwise - reject the module reallocation request Fix UTs after adding the location check
* Add RCConsentManagerigapchuck2019-08-2940-60/+1910
| | | | | | | | | | | | | | | - add interface RCConsetnManager - add implementation RCConsentManagerImpl - add new rc constants - add mock class for RCConsentManager Remove all consents after RC disabling Add checking ModuleConsent to RCCommandRequest Add logic for GetInteriorVehicleDataConsentRequest from Mobile Save the driver's decision when SDL sends the GIVDConsent request
* Update interior vehicle data caching with moduleId processingLitvinenkoIra2019-08-2920-204/+447
| | | | Update unit tests that are related to caching with moduleId processing
* Add separate file for RCRpcTypesigapchuck2019-08-292-0/+92
|
* Add new parameter to ini fileigapchuck2019-08-295-2/+31
| | | | Add period for module_id consent expiring
* Add new HMI RPC SetGlobalProperties and save user_location of applicationigapchuck2019-08-2918-22/+625
| | | | | | | Update SetGlobalPropertiesRequest - update PrepareResponseParameters method according to third new parameter "rc_properties";
* Fix UTs after updating the capabilities checkLitvinenkoIra2019-08-296-89/+144
| | | | Update unit tests after obtaining available resources from capabilities
* Add function to get list of all available resources from hmi capabilitiesLitvinenkoIra2019-08-298-29/+128
|
* Add const to the capabilities check functionsLitvinenkoIra2019-08-293-30/+31
|
* Add moduleId validation by capabilities for GetIVD and SetIVDLitvinenkoIra2019-08-296-34/+148
| | | | Add capabilities check to the rc_command_request
* Add moduleId validation by capabilities and button_name for ButtonPressLitvinenkoIra2019-08-296-29/+45
|
* Add ModuleId() function implementationLitvinenkoIra2019-08-2918-39/+203
| | | | | | | | | | | | | Add const to the ModuleType() function Add function to get the moduleId from hmi capabilities Process missing moduleId param in HMI response In case if HMI doesn't provide the moduleId in response SDL will consider such response as invalid and send generic error response to the mobile Add moduleId to the hmi request
* Use range based loop for smart objects with array typeLitvinenkoIra2019-08-291-26/+19
|
* Refactor RC capabilities checkingLitvinenkoIra2019-08-2922-682/+1075
| | | | | | | | | | Create RCCapabilities manager, move all functions related to capabilities checking from commands into it. Move auxiliary functions to the rc_helpers. Create mock for RC capabilities manager Update UTs after RC capabilities manager adding
* Add new RPCs to the policy enums convertionLitvinenkoIra2019-08-294-0/+48
|
* Add GetInteriorVehicleDataConsentRequest RPCigapchuck2019-08-296-0/+287
| | | | | | Add GetInteriorVehicleDataConsentRequest without logic. Add GetInteriorVehicleDataConsentResponse. Update RCCommandFactory.
* Add ReleaseInteriorVehicleDataModule RPCigapchuck2019-08-2910-26/+452
| | | | | | | | | | | Add ReleaseInteriorVehicleDataModuleRequest. Add ReleaseInteriorVehicleDataModuleResponse. Update ResourceAllocationManager interface: - add method ReleaseResource(); Update ResourceAllocationManagerImpl: - move ReleaseResource() from private section to public for implementing interface;
* Add ModuleId method to RCCommandRequestigapchuck2019-08-2910-12/+58
| | | | | | Add ModuleId method to RCCommandRequest for extracting module_id from command message. Update all inherited commands from RCCommandRequest.
* Add moduleInfo to default capabilitiesLitvinenkoIra2019-08-291-0/+96
|
* Remove redundant SetResourceState call and fix UTsLitvinenkoIra2019-08-292-3/+2
| | | | | SetResourceState is called in RCCommandRequest::on_event function so it makes no sense to call it again RCCommandRequest::on_event
* Add GetAcquiredModuleTypes and ReleaseModuleType functions for policy checkingLitvinenkoIra2019-08-292-9/+58
|
* Add moduleId processing to the resource allocation managerLitvinenkoIra2019-08-2911-112/+220
| | | | | | | | Add GetResources function to helpers to get a list of resources Update unit tests with moduleID param Update command tests after updating the resource allocation manager
* Add new functionality to the interfacesLitvinenkoIra2019-08-292-16/+274
|
* Feature/service status update to hmi (#2921)Maksym Ked (GitHub)2019-08-2982-205/+2230
| | | | | | | | | | | | | | | | | | | | | | | | | * Added OnServiceUpdate notification * Added handling of service status update - introduced ServiceStatusUpdateHandler and ServiceStatusUpdateHandlerListener interfaces - added lacking interface functions to corresponding entities - added notification of listeners - introduced ServiceStatusUpdateNotificationBuilder - replaced shared_ptr with unique_ptr - moved SERVICE_RECEIVED * Add UT's for service status update to HMI feature * Added ServiceStatusUpdateDocumentation * Added sending error on PTU retries exceed allowed count * Fix OnServiceUpdate for unsecure force protected service * Updates according to proposal changes Added new result codes for ServiceStatusUpdateReasonStructure
* Feature/rpc message protection (#2951)Maksym Ked (GitHub)2019-08-2985-193/+2442
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added encryption required flag to policy table. Also added RPC Encryption Manager Interface for comfortable access to policy table. * Added logic for processing RPC according to the proposal. * The permission change notification has been expanded. * Fixed UTs after implementation feature RPC message protection. * Fix multiframe issue * Fix style * Added storage of encryption required rpcs * Fix CI build * Extended logic adding encryption flag in message helper * Added permission check of encryption required for PROP * Added permission check of encryption required for EXT * Fixes after rebase * Answer PR comments - fixed typos - fixed 3rd party cmake * fixup! Added logic for processing RPC according to the proposal. * fixup! The permission change notification has been expanded. * Answer PR comments - renamed functions - added encryption_required flag to sql_pt_ext* source files - added condition and logging to CacheManager::GetApplicationParams * fixup! Added logic for processing RPC according to the proposal. * fixup! Added encryption required flag to policy table. * fixup! Added permission check of encryption required for EXT * fixup! Added permission check of encryption required for PROP * Fixes after rebase
* Fix/reject register too many requests (#2993)Collin2019-08-281-10/+18
| | | | | | | | * still init the RAI when we cannot find a session for the connection send a response to mobile when it tries to register no matter what * style script
* Merge pull request #2956 from smartdevicelink/fix/pipe_audiostream_cutoffShobhit Adlakha2019-08-284-0/+35
|\ | | | | Pipe audio streaming cutoff issue
| * Merge remote-tracking branch 'origin/develop' into fix/pipe_audiostream_cutofffix/pipe_audiostream_cutoffJackLivio2019-08-28288-5181/+18769
| |\ | |/ |/|
* | Merge pull request #2980 from smartdevicelink/feature/widget_supportJackLivio2019-08-26139-1155/+8885
|\ \ | | | | | | Feature/widget support
| * | fixup! Implement Resumption for widgetsfeature/widget_supportAndriy Byzhynar (GitHub)2019-08-257-5/+40
| | |
| * | Remove redundant condition lead to core crashAndriy Byzhynar2019-08-231-1/+7
| | |
| * | fixup! Fixes after rebaseAndriy Byzhynar (GitHub)2019-08-212-3/+6
| | |
| * | Fix nickname validation issue appeared after rebaseAndriy Byzhynar (GitHub)2019-08-211-3/+4
| | |
| * | Remove redundant policy handler code left after rebaseAndriy Byzhynar (GitHub)2019-08-211-5/+0
| | |