summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/hmi_interfaces_impl.cc
diff options
context:
space:
mode:
authorShobhit Adlakha <ShobhitAd@users.noreply.github.com>2019-03-06 13:36:58 -0500
committerGitHub <noreply@github.com>2019-03-06 13:36:58 -0500
commit222ec0566594288744d73ef30174e714bd6f29ce (patch)
treed92070464b2cb41f989ddb32595ceedc06674cff /src/components/application_manager/src/hmi_interfaces_impl.cc
parent2e433d4810c1a9a4a78550b6caa0a27ff03259ef (diff)
downloadsdl_core-222ec0566594288744d73ef30174e714bd6f29ce.tar.gz
GetFile RPC (#2811)
* Implemented GetFile rpc in MOBILE API * Initial implementation of GetFile rpc * Implemented GetFile RPC * Fixed binary data param in GetFile response * Added case for handling SmartType UInteger in SmartObject::duplicate function * Implemented offset and length params * Implemented GetFile for services published by the HMI * Switched to events to handle forwarding GetFile request to HMI * Addressed review comments * Addressed review comments * Addressed review comments * Implemented length parameter * Changed RPC name from GetFileFromHMI to GetFilePath * Fix MOBILE_API formatting * Fix HMI_API formatting * Addressed review comments * Checking success rather than result code for hmi response
Diffstat (limited to 'src/components/application_manager/src/hmi_interfaces_impl.cc')
-rw-r--r--src/components/application_manager/src/hmi_interfaces_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/application_manager/src/hmi_interfaces_impl.cc b/src/components/application_manager/src/hmi_interfaces_impl.cc
index 1d1dbe6996..9aff403e09 100644
--- a/src/components/application_manager/src/hmi_interfaces_impl.cc
+++ b/src/components/application_manager/src/hmi_interfaces_impl.cc
@@ -103,6 +103,8 @@ generate_function_to_interface_convert_map() {
HmiInterfaces::HMI_INTERFACE_BasicCommunication;
convert_map[BasicCommunication_OnEventChanged] =
HmiInterfaces::HMI_INTERFACE_BasicCommunication;
+ convert_map[BasicCommunication_GetFilePath] =
+ HmiInterfaces::HMI_INTERFACE_BasicCommunication;
convert_map[VR_IsReady] = HmiInterfaces::HMI_INTERFACE_VR;
convert_map[VR_Started] = HmiInterfaces::HMI_INTERFACE_VR;
convert_map[VR_Stopped] = HmiInterfaces::HMI_INTERFACE_VR;