diff options
author | Shobhit Adlakha <ShobhitAd@users.noreply.github.com> | 2019-02-21 17:53:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 17:53:08 -0500 |
commit | a4011490d9aa4606d6d835690bc8703c4375526b (patch) | |
tree | b422413f94d20fd00cf7d7b653865d5f5434a22e /src/components/application_manager/test/include/application_manager/mock_message_helper.h | |
parent | 1660c7950143cf1b79b8e5b1fabd2d18ad95af6f (diff) | |
download | sdl_core-a4011490d9aa4606d6d835690bc8703c4375526b.tar.gz |
SystemCapability Subscription (#2800)
* Added subscribe paramater and SystemCapability App Extension
* Added SystemCapability app extension in sdl_rpc_plugin
* Added enabling/disabling subscription in
* Added and implemented OnSystemCapabilityUpdated notification
* Add binary data to OEM_SPECIFIC request type
* Add check for missing presetBankCapabilities in Buttons.GetCapabilities
* Revert "Add missing resource close in LoadPlugin"
This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e.
* Genericize vehicle info in hmi_capabilities.json
* Added subscribe paramater and SystemCapability App Extension
* Added SystemCapability app extension in sdl_rpc_plugin
* Added enabling/disabling subscription in
* Added and implemented OnSystemCapabilityUpdated notification
* Added AppServices structs to MOBILE API
* Add binary data to OEM_SPECIFIC request type
* Add check for missing presetBankCapabilities in Buttons.GetCapabilities
* Revert "Add missing resource close in LoadPlugin"
This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e.
* Genericize vehicle info in hmi_capabilities.json
* Added subscribe paramater and SystemCapability App Extension
* Added SystemCapability app extension in sdl_rpc_plugin
* Added enabling/disabling subscription in
* Added and implemented OnSystemCapabilityUpdated notification
* Added and implemented OnSystemCapabilityUpdated notification
* Added AppServices structs to MOBILE API
* Add binary data to OEM_SPECIFIC request type
* Add check for missing presetBankCapabilities in Buttons.GetCapabilities
* Revert "Add missing resource close in LoadPlugin"
This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e.
* Genericize vehicle info in hmi_capabilities.json
* Added subscribe paramater and SystemCapability App Extension
* Added SystemCapability app extension in sdl_rpc_plugin
* Added enabling/disabling subscription in
* Added and implemented OnSystemCapabilityUpdated notification
* Added AppServices structs to MOBILE API
* Implemented AppServiceCapabilities response
* Renamed SystemCapability App Extension filename and ExtractExtension function
* Fix style
* Add OnSystemCapabilityUpdated(APP_SERVICES) handling
* Fix missing include and unused variables
* Made fix in App service manager and added notifcation RPC to policy table
* Implemented automatic app system capability subscription of App Service Provider
* Add binary data to OEM_SPECIFIC request type
* Add check for missing presetBankCapabilities in Buttons.GetCapabilities
* Revert "Add missing resource close in LoadPlugin"
This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e.
* Genericize vehicle info in hmi_capabilities.json
* Added subscribe paramater and SystemCapability App Extension
* Added SystemCapability app extension in sdl_rpc_plugin
* Added enabling/disabling subscription in
* Added and implemented OnSystemCapabilityUpdated notification
* Added AppServices structs to MOBILE API
* Implemented AppServiceCapabilities response
* Renamed SystemCapability App Extension filename and ExtractExtension function
* Fix style
* Add OnSystemCapabilityUpdated(APP_SERVICES) handling
* Fix missing include and unused variables
* Made fix in App service manager and added notifcation RPC to policy table
* Implemented automatic app system capability subscription of App Service Provider
* Rebase and style fix
* Added all published app services in OnSystemCapabilityUpdate notification
* Add binary data to OEM_SPECIFIC request type
* Add check for missing presetBankCapabilities in Buttons.GetCapabilities
* Revert "Add missing resource close in LoadPlugin"
This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e.
* Genericize vehicle info in hmi_capabilities.json
* Added subscribe paramater and SystemCapability App Extension
* Added SystemCapability app extension in sdl_rpc_plugin
* Added enabling/disabling subscription in
* Added and implemented OnSystemCapabilityUpdated notification
* Added AppServices structs to MOBILE API
* Implemented AppServiceCapabilities response
* Renamed SystemCapability App Extension filename and ExtractExtension function
* Fix style
* Add OnSystemCapabilityUpdated(APP_SERVICES) handling
* Fix missing include and unused variables
* Made fix in App service manager and added notifcation RPC to policy table
* Implemented automatic app system capability subscription of App Service Provider
* Added subscribe paramater and SystemCapability App Extension
* Added SystemCapability app extension in sdl_rpc_plugin
* Added and implemented OnSystemCapabilityUpdated notification
* Renamed SystemCapability App Extension filename and ExtractExtension function
* Fix style
* Add OnSystemCapabilityUpdated(APP_SERVICES) handling
* Made fix in App service manager and added notifcation RPC to policy table
* Rebase and style fix
* Added all published app services in OnSystemCapabilityUpdate notification
* Applied parameter updateReason only to published app service which triggers OnSystemCapabilityUpdated notification
* Implemented OnSystemCapabilityUpdated notification to HMI
* Addressed review comments
* Implemented UnPublishAppService in ASM
* Implemented ASP removal notification
* Moved ASP removal notification to ApplicationManagerImpl::UnregisterApplication
* Moved HMI OSCU notification from app services plugin to sdl rpc plugin
* Initialize AppServiceManager in Application manager tests
* Moved create notification functions to message helper class
* Fix style
* Removed setServiceActive function
* Update SystemCapability structs with new revisions
* Fixed error from previous commit and addressed style comments
* Addressed review comments
* Addressed review comments and removed extra debug statements
Diffstat (limited to 'src/components/application_manager/test/include/application_manager/mock_message_helper.h')
-rw-r--r-- | src/components/application_manager/test/include/application_manager/mock_message_helper.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/application_manager/test/include/application_manager/mock_message_helper.h b/src/components/application_manager/test/include/application_manager/mock_message_helper.h index 84a3b6bc87..878d3e7dd7 100644 --- a/src/components/application_manager/test/include/application_manager/mock_message_helper.h +++ b/src/components/application_manager/test/include/application_manager/mock_message_helper.h @@ -308,6 +308,16 @@ class MockMessageHelper { void(mobile_apis::ButtonName::eType button, ApplicationSharedPtr application, ApplicationManager& app_mngr)); + MOCK_METHOD3(CreateMobileSystemCapabilityNotification, + smart_objects::SmartObject( + std::vector<smart_objects::SmartObject>& all_services, + const std::string service_id, + mobile_apis::ServiceUpdateReason::eType update_reason)); + MOCK_METHOD3(CreateHMISystemCapabilityNotification, + smart_objects::SmartObject( + std::vector<smart_objects::SmartObject>& all_services, + const std::string service_id, + mobile_apis::ServiceUpdateReason::eType update_reason)); static MockMessageHelper* message_helper_mock(); }; |