./system_info/system_info_sim_ivi.cc:129: If an else has a brace on one side, it should have it on both [readability/braces] [5]
./system_info/system_info_locale.h:35: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_cellular_network.h:34: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_network.h:54: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_wifi_network.h:44: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_cpu.h:37: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_device_orientation.h:41: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_peripheral.h:34: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_battery.h:38: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_build.h:44: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
./system_info/system_info_display.h:48: Zero-parameter constructors should not be marked explicit. [runtime/explicit] [5]
BUG=XWALK-2649
static const std::string name_;
private:
- explicit SysInfoBattery();
+ SysInfoBattery();
bool Update(picojson::value& error);
void SetData(picojson::value& data);
static const std::string name_;
private:
- explicit SysInfoBuild()
+ SysInfoBuild()
: timeout_cb_id_(0) {}
bool UpdateHardware();
static const std::string name_;
private:
- explicit SysInfoCellularNetwork() {}
+ SysInfoCellularNetwork() {}
#if defined(TIZEN)
void SendUpdate();
static const std::string name_;
private:
- explicit SysInfoCpu()
+ SysInfoCpu()
: load_(0.0),
old_total_(0),
old_used_(0),
static const std::string name_;
private:
- explicit SysInfoDeviceOrientation()
+ SysInfoDeviceOrientation()
: status_(PORTRAIT_PRIMARY),
sensorHandle_(0) {}
static const std::string name_;
private:
- explicit SysInfoDisplay();
+ SysInfoDisplay();
static gboolean OnUpdateTimeout(gpointer user_data);
bool UpdateSize();
static const std::string name_;
private:
- explicit SysInfoLocale();
+ SysInfoLocale();
bool GetLanguage();
bool GetCountry();
static const std::string name_;
private:
- explicit SysInfoNetwork();
+ SysInfoNetwork();
void PlatformInitialize();
bool Update(picojson::value& error);
static const std::string name_;
private:
- explicit SysInfoPeripheral() {}
+ SysInfoPeripheral() {}
#if defined(TIZEN)
void SetWFD(int wfd);
state_ = SYSTEM_INFO_SIM_UNKNOWN;
else if (g_strcmp0(lock, "corppuk") == 0)
state_ = SYSTEM_INFO_SIM_UNKNOWN;
- else {
+ else
state_ = SYSTEM_INFO_SIM_INITIALIZING;
- }
}
}
static const std::string name_;
private:
- explicit SysInfoWifiNetwork();
+ SysInfoWifiNetwork();
void PlatformInitialize();
bool Update(picojson::value& error);