summaryrefslogtreecommitdiff
path: root/src/components/config_profile
diff options
context:
space:
mode:
authorLevchenko <slevchenko@SLevchenko-lws-unq>2016-08-02 15:40:06 +0300
committerLevchenko <slevchenko@SLevchenko-lws-unq>2016-08-05 15:40:21 +0300
commit8b748541cd76a7d4be0dfef5fdaec1c12992d22f (patch)
tree115162a2e23c71c78290aa0699d740d9deaedf16 /src/components/config_profile
parent04ffa4a8fd03009d8ed45e27973c95058c33a549 (diff)
downloadsdl_core-8b748541cd76a7d4be0dfef5fdaec1c12992d22f.tar.gz
Fix coding style
Has been done: - Fixed coding style; - Fixed header guard naming; - Fixed copyright comments. Related to: APPLINK-24892
Diffstat (limited to 'src/components/config_profile')
-rw-r--r--src/components/config_profile/include/config_profile/profile.h2
-rw-r--r--src/components/config_profile/src/profile.cc70
2 files changed, 44 insertions, 28 deletions
diff --git a/src/components/config_profile/include/config_profile/profile.h b/src/components/config_profile/include/config_profile/profile.h
index 629d849a5f..14983a46b2 100644
--- a/src/components/config_profile/include/config_profile/profile.h
+++ b/src/components/config_profile/include/config_profile/profile.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Ford Motor Company
+ * Copyright (c) 2016, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
diff --git a/src/components/config_profile/src/profile.cc b/src/components/config_profile/src/profile.cc
index fc9d33edd0..1a38b77254 100644
--- a/src/components/config_profile/src/profile.cc
+++ b/src/components/config_profile/src/profile.cc
@@ -380,8 +380,7 @@ Profile::Profile()
, remove_bundle_id_attempts_(kDefaultRemoveBundleIDattempts)
, max_number_of_ios_device_(kDefaultMaxNumberOfiOSDevice)
, wait_time_between_apps_(kDefaultWaitTimeBetweenApps)
- , enable_app_launch_ios_(kDefaultEnableAppLaunchIOS)
-{
+ , enable_app_launch_ios_(kDefaultEnableAppLaunchIOS) {
// SDL version
ReadStringValue(
&sdl_version_, kDefaultSDLVersion, kMainSection, kSDLVersionKey);
@@ -1735,47 +1734,64 @@ void Profile::UpdateValues() {
kResumptionSection);
// Read parameters from App Launch section
- ReadUIntValue(&app_launch_wait_time_, kDefaultAppLaunchWaitTime,
- kAppLaunchSection, kAppLaunchWaitTimeKey);
+ ReadUIntValue(&app_launch_wait_time_,
+ kDefaultAppLaunchWaitTime,
+ kAppLaunchSection,
+ kAppLaunchWaitTimeKey);
- LOG_UPDATED_VALUE(app_launch_wait_time_, kAppLaunchWaitTimeKey,
- kAppLaunchSection);
+ LOG_UPDATED_VALUE(
+ app_launch_wait_time_, kAppLaunchWaitTimeKey, kAppLaunchSection);
- ReadUIntValue(&app_launch_max_retry_attempt_, kDefaultAppLaunchMaxRetryAttempt,
- kAppLaunchSection, kAppLaunchMaxRetryAttemptKey);
+ ReadUIntValue(&app_launch_max_retry_attempt_,
+ kDefaultAppLaunchMaxRetryAttempt,
+ kAppLaunchSection,
+ kAppLaunchMaxRetryAttemptKey);
- LOG_UPDATED_VALUE(app_launch_max_retry_attempt_, kAppLaunchMaxRetryAttemptKey,
+ LOG_UPDATED_VALUE(app_launch_max_retry_attempt_,
+ kAppLaunchMaxRetryAttemptKey,
kAppLaunchSection);
- ReadUIntValue(&app_launch_retry_wait_time_, kDefaultAppLaunchRetryWaitTime,
- kAppLaunchSection, kAppLaunchRetryWaitTimeKey);
+ ReadUIntValue(&app_launch_retry_wait_time_,
+ kDefaultAppLaunchRetryWaitTime,
+ kAppLaunchSection,
+ kAppLaunchRetryWaitTimeKey);
- LOG_UPDATED_VALUE(app_launch_retry_wait_time_, kAppLaunchRetryWaitTimeKey,
+ LOG_UPDATED_VALUE(app_launch_retry_wait_time_,
+ kAppLaunchRetryWaitTimeKey,
kAppLaunchSection);
- ReadUIntValue(&remove_bundle_id_attempts_, kDefaultRemoveBundleIDattempts,
- kAppLaunchSection, kRemoveBundleIDattemptsKey);
+ ReadUIntValue(&remove_bundle_id_attempts_,
+ kDefaultRemoveBundleIDattempts,
+ kAppLaunchSection,
+ kRemoveBundleIDattemptsKey);
- LOG_UPDATED_VALUE(remove_bundle_id_attempts_, kRemoveBundleIDattemptsKey,
+ LOG_UPDATED_VALUE(remove_bundle_id_attempts_,
+ kRemoveBundleIDattemptsKey,
kAppLaunchSection);
- ReadUIntValue(&max_number_of_ios_device_, kDefaultMaxNumberOfiOSDevice,
- kAppLaunchSection, kMaxNumberOfiOSDeviceKey);
+ ReadUIntValue(&max_number_of_ios_device_,
+ kDefaultMaxNumberOfiOSDevice,
+ kAppLaunchSection,
+ kMaxNumberOfiOSDeviceKey);
- LOG_UPDATED_VALUE(max_number_of_ios_device_, kMaxNumberOfiOSDeviceKey,
- kAppLaunchSection);
+ LOG_UPDATED_VALUE(
+ max_number_of_ios_device_, kMaxNumberOfiOSDeviceKey, kAppLaunchSection);
- ReadUIntValue(&wait_time_between_apps_, kDefaultWaitTimeBetweenApps,
- kAppLaunchSection, kWaitTimeBetweenAppsKey);
+ ReadUIntValue(&wait_time_between_apps_,
+ kDefaultWaitTimeBetweenApps,
+ kAppLaunchSection,
+ kWaitTimeBetweenAppsKey);
- LOG_UPDATED_VALUE(wait_time_between_apps_, kWaitTimeBetweenAppsKey,
- kAppLaunchSection);
+ LOG_UPDATED_VALUE(
+ wait_time_between_apps_, kWaitTimeBetweenAppsKey, kAppLaunchSection);
- ReadBoolValue(&enable_app_launch_ios_, kDefaultEnableAppLaunchIOS,
- kAppLaunchSection, kEnableAppLaunchIOSKey);
+ ReadBoolValue(&enable_app_launch_ios_,
+ kDefaultEnableAppLaunchIOS,
+ kAppLaunchSection,
+ kEnableAppLaunchIOSKey);
- LOG_UPDATED_BOOL_VALUE(enable_app_launch_ios_, kEnableAppLaunchIOSKey,
- kAppLaunchSection);
+ LOG_UPDATED_BOOL_VALUE(
+ enable_app_launch_ios_, kEnableAppLaunchIOSKey, kAppLaunchSection);
}
bool Profile::ReadValue(bool* value,