diff options
Diffstat (limited to 'src/components/include/policy')
5 files changed, 42 insertions, 42 deletions
diff --git a/src/components/include/policy/policy_external/policy/policy_manager.h b/src/components/include/policy/policy_external/policy/policy_manager.h index a2eb2db0c9..331b579365 100644 --- a/src/components/include/policy/policy_external/policy/policy_manager.h +++ b/src/components/include/policy/policy_external/policy/policy_manager.h @@ -37,12 +37,12 @@ #include "utils/callable.h" -#include "policy/policy_types.h" -#include "policy/policy_table/types.h" +#include "policy/access_remote.h" +#include "policy/cache_manager_interface.h" #include "policy/policy_listener.h" +#include "policy/policy_table/types.h" +#include "policy/policy_types.h" #include "policy/usage_statistics/statistics_manager.h" -#include "policy/cache_manager_interface.h" -#include "policy/access_remote.h" namespace policy { class PolicySettings; @@ -518,10 +518,10 @@ class PolicyManager : public usage_statistics::StatisticsManager { const std::string policy_app_id) const = 0; /** - * @brief Gets request subtypes for application - * @param policy_app_id Unique application id - * @return request subtypes of application - */ + * @brief Gets request subtypes for application + * @param policy_app_id Unique application id + * @return request subtypes of application + */ virtual const std::vector<std::string> GetAppRequestSubTypes( const std::string& policy_app_id) const = 0; @@ -629,7 +629,7 @@ class PolicyManager : public usage_statistics::StatisticsManager { * @brief Check if an app can send unknown rpc requests to an app service * provider * @param policy_app_id Unique application id - */ + */ virtual bool UnknownRPCPassthroughAllowed( const std::string& policy_app_id) const = 0; @@ -707,11 +707,11 @@ class PolicyManager : public usage_statistics::StatisticsManager { const std::string& application_id) = 0; /** - * @brief Gets all allowed module types - * @param policy_app_id unique identifier of application - * @param modules list of allowed module types - * @return true if application has allowed modules - */ + * @brief Gets all allowed module types + * @param policy_app_id unique identifier of application + * @param modules list of allowed module types + * @return true if application has allowed modules + */ virtual bool GetModuleTypes(const std::string& policy_app_id, std::vector<std::string>* modules) const = 0; diff --git a/src/components/include/policy/policy_external/policy/policy_settings.h b/src/components/include/policy/policy_external/policy/policy_settings.h index 7eca5129ad..d9d2493d10 100644 --- a/src/components/include/policy/policy_external/policy/policy_settings.h +++ b/src/components/include/policy/policy_external/policy/policy_settings.h @@ -1,7 +1,7 @@ #ifndef SRC_COMPONENTS_INCLUDE_POLICY_POLICY_SETTINGS_H_ #define SRC_COMPONENTS_INCLUDE_POLICY_POLICY_SETTINGS_H_ -#include <string> #include <stdint.h> +#include <string> namespace policy { class PolicySettings { @@ -17,8 +17,8 @@ class PolicySettings { virtual const std::string& preloaded_pt_file() const = 0; /** - * @brief Returns application storage path - */ + * @brief Returns application storage path + */ virtual const std::string& app_storage_folder() const = 0; virtual uint16_t attempts_to_open_policy_db() const = 0; @@ -34,8 +34,8 @@ class PolicySettings { virtual bool use_full_app_id() const = 0; /** - * @brief Returns system files folder path - */ + * @brief Returns system files folder path + */ virtual const std::string& system_files_path() const = 0; virtual ~PolicySettings() {} diff --git a/src/components/include/policy/policy_regular/policy/policy_listener.h b/src/components/include/policy/policy_regular/policy/policy_listener.h index 56e674e81b..0907e42142 100644 --- a/src/components/include/policy/policy_regular/policy/policy_listener.h +++ b/src/components/include/policy/policy_regular/policy/policy_listener.h @@ -61,12 +61,12 @@ class PolicyListener { std::map<std::string, StringArray> app_hmi_types) = 0; /** - * @brief CanUpdate allows to find active application - * and check whether related device consented. - * - * @return true if there are at least one application has been registered - * with consented device. - */ + * @brief CanUpdate allows to find active application + * and check whether related device consented. + * + * @return true if there are at least one application has been registered + * with consented device. + */ virtual bool CanUpdate() = 0; /** diff --git a/src/components/include/policy/policy_regular/policy/policy_manager.h b/src/components/include/policy/policy_regular/policy/policy_manager.h index 18fb3e1c2b..f82657ef26 100644 --- a/src/components/include/policy/policy_regular/policy/policy_manager.h +++ b/src/components/include/policy/policy_regular/policy/policy_manager.h @@ -33,16 +33,16 @@ #ifndef SRC_COMPONENTS_INCLUDE_POLICY_POLICY_REGULAR_POLICY_POLICY_MANAGER_H_ #define SRC_COMPONENTS_INCLUDE_POLICY_POLICY_REGULAR_POLICY_POLICY_MANAGER_H_ -#include <vector> #include <cstdint> +#include <vector> -#include "utils/callable.h" -#include "policy/policy_types.h" -#include "policy/policy_table/types.h" +#include "policy/access_remote.h" +#include "policy/cache_manager_interface.h" #include "policy/policy_listener.h" +#include "policy/policy_table/types.h" +#include "policy/policy_types.h" #include "policy/usage_statistics/statistics_manager.h" -#include "policy/cache_manager_interface.h" -#include "policy/access_remote.h" +#include "utils/callable.h" namespace policy { class PolicySettings; @@ -610,7 +610,7 @@ class PolicyManager : public usage_statistics::StatisticsManager { * @brief Check if an app can send unknown rpc requests to an app service * provider * @param policy_app_id Unique application id - */ + */ virtual bool UnknownRPCPassthroughAllowed( const std::string& policy_app_id) const = 0; @@ -688,11 +688,11 @@ class PolicyManager : public usage_statistics::StatisticsManager { const std::string& application_id) = 0; /** - * @brief Gets all allowed module types - * @param policy_app_id unique identifier of application - * @param modules list of allowed module types - * @return true if application has allowed modules - */ + * @brief Gets all allowed module types + * @param policy_app_id unique identifier of application + * @param modules list of allowed module types + * @return true if application has allowed modules + */ virtual bool GetModuleTypes(const std::string& policy_app_id, std::vector<std::string>* modules) const = 0; diff --git a/src/components/include/policy/policy_regular/policy/policy_settings.h b/src/components/include/policy/policy_regular/policy/policy_settings.h index 35a2d54c3a..3529a32717 100644 --- a/src/components/include/policy/policy_regular/policy/policy_settings.h +++ b/src/components/include/policy/policy_regular/policy/policy_settings.h @@ -1,7 +1,7 @@ #ifndef SRC_COMPONENTS_INCLUDE_POLICY_POLICY_SETTINGS_H_ #define SRC_COMPONENTS_INCLUDE_POLICY_POLICY_SETTINGS_H_ -#include <string> #include <stdint.h> +#include <string> namespace policy { class PolicySettings { @@ -17,8 +17,8 @@ class PolicySettings { virtual const std::string& preloaded_pt_file() const = 0; /** - * @brief Returns application storage path - */ + * @brief Returns application storage path + */ virtual const std::string& app_storage_folder() const = 0; virtual uint16_t attempts_to_open_policy_db() const = 0; @@ -32,8 +32,8 @@ class PolicySettings { virtual const std::string& policies_snapshot_file_name() const = 0; /** - * @brief Returns system files folder path - */ + * @brief Returns system files folder path + */ virtual const std::string& system_files_path() const = 0; virtual bool use_full_app_id() const = 0; |