summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/include/policy
diff options
context:
space:
mode:
authorsniukalov <sniukalov@luxoft.com>2019-06-27 21:35:50 +0300
committersniukalov <sniukalov@luxoft.com>2019-08-14 14:59:40 +0300
commit9487796ee0aded60b45d2a9bb729c0fc6010d0a2 (patch)
tree1d09d599d0afc6fc5b45a5f7099e9b013d3ffbb9 /src/components/policy/policy_regular/include/policy
parentcaa5911c0c976f432dd6e246555ba97bbc1e3bc4 (diff)
downloadsdl_core-9487796ee0aded60b45d2a9bb729c0fc6010d0a2.tar.gz
Removed DEPRECATED methods.
Diffstat (limited to 'src/components/policy/policy_regular/include/policy')
-rw-r--r--src/components/policy/policy_regular/include/policy/policy_manager_impl.h89
1 files changed, 0 insertions, 89 deletions
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 8f2afb6174..903f7820d2 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
@@ -263,17 +263,6 @@ class PolicyManagerImpl : public PolicyManager {
const bool is_allowed) OVERRIDE;
/**
- * DEPRECATED
- * @brief Update Application Policies as reaction
- * on User allowing/disallowing device this app is running on.
- * @param app_id Unique application id
- * @param is_device_allowed true if user allowing device otherwise false
- * @return true if operation was successful
- */
- DEPRECATED bool ReactOnUserDevConsentForApp(
- const std::string app_id, const bool is_device_allowed) OVERRIDE;
-
- /**
* @brief Update Application Policies as reaction
* on User allowing/disallowing device this app is running on.
* @param device_handle device identifier
@@ -324,17 +313,6 @@ class PolicyManagerImpl : public PolicyManager {
void SetUserConsentForApp(const PermissionConsent& permissions) OVERRIDE;
/**
- * DEPRECATED
- * @brief Get default HMI level for application
- * @param policy_app_id Unique application id
- * @param default_hmi Default HMI level for application or empty, if value
- * was not set
- * @return true, if succedeed, otherwise - false
- */
- DEPRECATED bool GetDefaultHmi(const std::string& policy_app_id,
- std::string* default_hmi) const OVERRIDE;
-
- /**
* @brief Get default HMI level for application
* @param device_id device identifier
* @param policy_app_id Unique application id
@@ -430,16 +408,6 @@ class PolicyManagerImpl : public PolicyManager {
void SetVINValue(const std::string& value) OVERRIDE;
/**
- * DEPRECATED
- * @brief Gets specific application permissions changes since last policy
- * table update
- * @param policy_app_id Unique application id
- * @return Permissions changes
- */
- DEPRECATED AppPermissions
- GetAppPermissionsChanges(const std::string& policy_app_id) OVERRIDE;
-
- /**
* @brief Gets specific application permissions changes since last policy
* table update
* @param device_id device identifier
@@ -490,18 +458,6 @@ class PolicyManagerImpl : public PolicyManager {
void MarkUnpairedDevice(const std::string& device_id) OVERRIDE;
/**
- * DEPRECATED
- * @brief Adds, application to the db or update existed one
- * run PTU if policy update is necessary for application.
- * @param application_id Unique application id
- * @param hmi_types application HMI types
- * @return function that will notify update manager about new application
- */
- DEPRECATED StatusNotifier AddApplication(
- const std::string& application_id,
- const rpc::policy_table_interface_base::AppHmiTypes& hmi_types) OVERRIDE;
-
- /**
* @brief Adds, application to the db or update existed one
* run PTU if policy update is necessary for application.
* @param device_id device identifier
@@ -515,16 +471,6 @@ class PolicyManagerImpl : public PolicyManager {
const rpc::policy_table_interface_base::AppHmiTypes& hmi_types) OVERRIDE;
/**
- * DEPRECATED
- * @brief Assigns new HMI types for specified application
- * @param application_id Unique application id
- * @param hmi_types new HMI types list
- */
- DEPRECATED void SetDefaultHmiTypes(
- const std::string& application_id,
- const std::vector<int>& hmi_types) OVERRIDE;
-
- /**
* @brief Assigns new HMI types for specified application
* @param device_handle device identifier
* @param application_id Unique application id
@@ -749,17 +695,6 @@ class PolicyManagerImpl : public PolicyManager {
const std::string& policy_app_id) const OVERRIDE;
/**
- * DEPRECATED
- * @brief OnAppRegisteredOnMobile allows to handle event when application were
- * succesfully registered on mobile device.
- * It will send OnAppPermissionSend notification and will try to start PTU.
- *
- * @param application_id registered application.
- */
- DEPRECATED void OnAppRegisteredOnMobile(
- const std::string& application_id) OVERRIDE;
-
- /**
* @brief OnAppRegisteredOnMobile allows to handle event when application were
* succesfully registered on mobile device.
* It will send OnAppPermissionSend notification and will try to start PTU.
@@ -888,22 +823,6 @@ class PolicyManagerImpl : public PolicyManager {
private:
/**
- * DEPRECATED
- * @brief Return device id, which hosts specific application
- * @param policy_app_id Application id, which is required to update device id
- */
- std::string& GetCurrentDeviceId(
- const std::string& policy_app_id) const OVERRIDE;
-
- /**
- * DEPRECATED
- * @brief Send OnPermissionsUpdated for choosen application
- * @param application_id Unique application id
- */
- void SendNotificationOnPermissionsUpdated(
- const std::string& application_id) OVERRIDE;
-
- /**
* @brief Checks if PT update should be started and schedules it if needed
*/
void CheckTriggers();
@@ -987,14 +906,6 @@ class PolicyManagerImpl : public PolicyManager {
bool CheckAppStorageFolder() const;
/**
- * DEPRECATED
- * @brief Checks whether need ask the permission of users
- * @param app_id policy application id
- * @return true if user consent is needed
- */
- virtual bool IsConsentNeeded(const std::string& app_id);
-
- /**
* @brief Checks whether need ask the permission of users
* @param device_id device identifier
* @param app_id policy application id