Home
last modified time | relevance | path

Searched refs:GetData (Results 1 – 10 of 10) sorted by relevance

/ide/tools/previewer/mock/lite/
DSensorModuleImpl.cpp24 return SharedData<uint32_t>::GetData(SharedDataType::PRESSURE_VALUE); in GetBarometer()
29 return SharedData<uint32_t>::GetData(SharedDataType::SUMSTEP_VALUE); in GetSteps()
34 return SharedData<uint8_t>::GetData(SharedDataType::HEARTBEAT_VALUE); in GetHeartRate()
39 return SharedData<bool>::GetData(SharedDataType::WEARING_STATE); in GetOnBodyState()
DBatteryModuleImpl.cpp38 *level = SharedData<double>::GetData(SharedDataType::BATTERY_LEVEL); in GetBatteryStatus()
39 *charging = SharedData<uint8_t>::GetData(SharedDataType::BATTERY_STATUS); in GetBatteryStatus()
DBrightnessModuleImpl.cpp35 value = SharedData<uint8_t>::GetData(SharedDataType::BRIGHTNESS_VALUE); in GetValueImpl()
51 mode = SharedData<uint8_t>::GetData(SharedDataType::BRIGHTNESS_MODE); in GetModeImpl()
DVirtualLocation.cpp114 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in IsPostionChanged()
115 double latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in IsPostionChanged()
DGeoLocation.cpp95 result->latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in SerializeLocData()
96 result->longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in SerializeLocData()
/ide/tools/previewer/
DRichPreviewer.cpp142 string lanInfo = SharedData<string>::GetData(SharedDataType::LANGUAGE); in InitSharedData()
145 ILOG("Start language is : %s", SharedData<string>::GetData(SharedDataType::LANGUAGE).c_str()); in InitSharedData()
/ide/tools/previewer/cli/
DCommandLine.cpp338 double power = SharedData<double>::GetData(SharedDataType::BATTERY_LEVEL); in RunGet()
404 int barometer = static_cast<int>(SharedData<uint32_t>::GetData(SharedDataType::PRESSURE_VALUE)); in RunGet()
739 std::string language = SharedData<string>::GetData(SharedDataType::LANGUAGE); in RunGet()
814 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in RunGet()
815 double latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in RunGet()
886 result["KeepScreenOnState"] = SharedData<bool>::GetData(SharedDataType::KEEP_SCREEN_ON); in RunGet()
920 result["WearingState"] = SharedData<bool>::GetData(SharedDataType::WEARING_STATE); in RunGet()
954 result["BrightnessMode"] = SharedData<uint8_t>::GetData(SharedDataType::BRIGHTNESS_MODE); in RunGet()
994 result["ChargeMode"] = SharedData<uint8_t>::GetData(SharedDataType::BATTERY_STATUS); in RunGet()
1034 result["Brightness"] = SharedData<uint8_t>::GetData(SharedDataType::BRIGHTNESS_VALUE); in RunGet()
[all …]
/ide/tools/previewer/util/
DSharedData.h64 static T GetData(SharedDataType type) in GetData() function
/ide/tools/previewer/jsapp/rich/
DJsAppImpl.cpp187 SetLanguage(args, SharedData<string>::GetData(SharedDataType::LAN)); in SetJsAppArgs()
188 SetRegion(args, SharedData<string>::GetData(SharedDataType::REGION)); in SetJsAppArgs()
408 SharedData<string>::GetData(SharedDataType::LANGUAGE)); in UpdateConfiguration()
794 SetLanguage(args, SharedData<string>::GetData(SharedDataType::LAN)); in ParseSystemParams()
795 SetRegion(args, SharedData<string>::GetData(SharedDataType::REGION)); in ParseSystemParams()
/ide/tools/previewer/jsapp/lite/
DJsAppImpl.cpp158 GLOBAL_ConfigLanguage(SharedData<string>::GetData(SharedDataType::LANGUAGE).data()); in ThreadCallBack()