const char* kVconfVoiceTouchAutoMode = "db/voice/vc/voice_touch/automode";
const char* kVconfRotationState = "db/sysman/rotation_state";
- const char* kVconfDisplayRotatorStatus = "memory/display_rotator/status";
const char* kVconfLowMemory = "memory/sysman/low_memory";
const char* kVconfProxy = "memory/dnet/proxy";
VconfHandle(kVconfVoiceTouchAutoMode).Bool();
VconfHandle(kVconfRotationState).Int();
- VconfHandle(kVconfDisplayRotatorStatus).Int();
VconfHandle(kVconfLowMemory).Int();
VconfHandle(kVconfProxy).Str();
LOG(INFO) << "PreloadVconfKeys end";
bool HandleMessageQueue();
int RegisterDbusHandler();
- uv_async_t handle_adder_;
- uv_async_t handle_remover_;
- uv_async_t handle_builtin_;
+ uv_async_t handle_adder_ = {};
+ uv_async_t handle_remover_ = {};
+ uv_async_t handle_builtin_ = {};
uv_mutex_t mutex_;
std::vector<std::string> prepared_to_start_services_;
std::string internal_id_;
std::string removed_internal_id;
- uv_thread_t dbus_thread_;
+ uv_thread_t dbus_thread_ = {};
uv_timer_t timeout_handle_ = {};
WRTService::ServiceType service_model_ = WRTService::NONE;
- unsigned int exit_count_;
+ unsigned int exit_count_ = 120;
bool quit_requested_ = false;
int ppid_ = 0;
std::queue<std::pair<std::string, std::string>> message_queue_;