sdm: Default to C++11 standard and use clang toolchain
- Enable newer C++11 features to be used, including the updated standard library. - Enable better compiler diagnostics with clang. Change-Id: Ice550e866673ab57228ccb1f6f250e94a536e396
This commit is contained in:
committed by
Dileep Marchya
parent
32ffff042b
commit
b3b0a3305f
@@ -38,21 +38,21 @@ Debug Debug::debug_;
|
||||
Debug::Debug() : debug_handler_(&default_debug_handler_) {
|
||||
}
|
||||
|
||||
uint32_t Debug::GetSimulationFlag() {
|
||||
int Debug::GetSimulationFlag() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("sdm.composition_simulation", &value);
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
uint32_t Debug::GetHDMIResolution() {
|
||||
int Debug::GetHDMIResolution() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("hw.hdmi.resolution", &value);
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
uint32_t Debug::GetIdleTimeoutMs() {
|
||||
int Debug::GetIdleTimeoutMs() {
|
||||
int value = IDLE_TIMEOUT_DEFAULT_MS;
|
||||
debug_.debug_handler_->GetProperty("sdm.idle_time", &value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user