summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2019-01-23 21:27:56 -0500
committerJackLivio <jack@livio.io>2019-01-23 21:27:56 -0500
commit1057d6f4fc933c681ec52365c51268a8f3418a07 (patch)
tree3e6f31c1442626e9ed1d78c7656a470f8e73a0d9 /src/components/policy/policy_regular
parent6b86e197ba38f6af3ba6390e920cae6f9abe654d (diff)
downloadsdl_core-1057d6f4fc933c681ec52365c51268a8f3418a07.tar.gz
Change handled_rpc to uint32
Diffstat (limited to 'src/components/policy/policy_regular')
-rw-r--r--src/components/policy/policy_regular/include/policy/cache_manager.h2
-rw-r--r--src/components/policy/policy_regular/include/policy/cache_manager_interface.h2
-rw-r--r--src/components/policy/policy_regular/include/policy/policy_manager_impl.h2
-rw-r--r--src/components/policy/policy_regular/include/policy/policy_table/types.h2
-rw-r--r--src/components/policy/policy_regular/src/cache_manager.cc2
-rw-r--r--src/components/policy/policy_regular/src/policy_manager_impl.cc2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/components/policy/policy_regular/include/policy/cache_manager.h b/src/components/policy/policy_regular/include/policy/cache_manager.h
index 69b3fe4706..6d042f6ac3 100644
--- a/src/components/policy/policy_regular/include/policy/cache_manager.h
+++ b/src/components/policy/policy_regular/include/policy/cache_manager.h
@@ -228,7 +228,7 @@ class CacheManager : public CacheManagerInterface {
const std::string& policy_app_id,
std::string& service_name,
std::string& service_type,
- std::vector<uint64_t>& handled_rpcs) const;
+ std::vector<uint32_t>& handled_rpcs) const;
/**
* @brief Allows to update 'vin' field in module_meta table.
diff --git a/src/components/policy/policy_regular/include/policy/cache_manager_interface.h b/src/components/policy/policy_regular/include/policy/cache_manager_interface.h
index ceb30eb4d1..3973eca581 100644
--- a/src/components/policy/policy_regular/include/policy/cache_manager_interface.h
+++ b/src/components/policy/policy_regular/include/policy/cache_manager_interface.h
@@ -235,7 +235,7 @@ class CacheManagerInterface {
const std::string& policy_app_id,
std::string& service_name,
std::string& service_type,
- std::vector<uint64_t>& handled_rpcs) const = 0;
+ std::vector<uint32_t>& handled_rpcs) const = 0;
/**
* @brief Allows to update 'vin' field in module_meta table.
diff --git a/src/components/policy/policy_regular/include/policy/policy_manager_impl.h b/src/components/policy/policy_regular/include/policy/policy_manager_impl.h
index 6676510df5..f4dd5d0870 100644
--- a/src/components/policy/policy_regular/include/policy/policy_manager_impl.h
+++ b/src/components/policy/policy_regular/include/policy/policy_manager_impl.h
@@ -646,7 +646,7 @@ class PolicyManagerImpl : public PolicyManager {
const std::string& policy_app_id,
std::string& service_name,
std::string& service_type,
- std::vector<uint64_t>& handled_rpcs) const OVERRIDE;
+ std::vector<uint32_t>& handled_rpcs) const OVERRIDE;
/**
* @brief OnAppRegisteredOnMobile allows to handle event when application were
diff --git a/src/components/policy/policy_regular/include/policy/policy_table/types.h b/src/components/policy/policy_regular/include/policy/policy_table/types.h
index a1779367cc..f2f99003e2 100644
--- a/src/components/policy/policy_regular/include/policy/policy_table/types.h
+++ b/src/components/policy/policy_regular/include/policy/policy_table/types.h
@@ -98,7 +98,7 @@ typedef Array<Enum<RequestType>, 0, 255> RequestTypes;
typedef Strings RequestSubTypes;
-typedef Array<Integer<uint64_t, 0u, UINT_MAX>, 0, 255> HandledRpcs;
+typedef Array<Integer<uint32_t, 0, UINT32_MAX>, 0, 255> HandledRpcs;
typedef Map<Strings, 0, 255> RemoteRpcs;
typedef Map<RemoteRpcs, 0, 255> AccessModules;
diff --git a/src/components/policy/policy_regular/src/cache_manager.cc b/src/components/policy/policy_regular/src/cache_manager.cc
index 5e92fc7535..9396534677 100644
--- a/src/components/policy/policy_regular/src/cache_manager.cc
+++ b/src/components/policy/policy_regular/src/cache_manager.cc
@@ -800,7 +800,7 @@ void CacheManager::GetAppServiceParameters(
const std::string& policy_app_id,
std::string& service_name,
std::string& service_type,
- std::vector<uint64_t>& handled_rpcs) const {
+ std::vector<uint32_t>& handled_rpcs) const {
LOG4CXX_AUTO_TRACE(logger_);
const policy_table::ApplicationPolicies& policies =
pt_->policy_table.app_policies_section.apps;
diff --git a/src/components/policy/policy_regular/src/policy_manager_impl.cc b/src/components/policy/policy_regular/src/policy_manager_impl.cc
index d223a6a433..12dd322e6c 100644
--- a/src/components/policy/policy_regular/src/policy_manager_impl.cc
+++ b/src/components/policy/policy_regular/src/policy_manager_impl.cc
@@ -595,7 +595,7 @@ void PolicyManagerImpl::GetAppServiceParameters(
const std::string& policy_app_id,
std::string& service_name,
std::string& service_type,
- std::vector<uint64_t>& handled_rpcs) const {
+ std::vector<uint32_t>& handled_rpcs) const {
cache_->GetAppServiceParameters(
policy_app_id, service_name, service_type, handled_rpcs);
}