Searched refs:GetData (Results 1 – 10 of 10) sorted by relevance
24 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()
38 *level = SharedData<double>::GetData(SharedDataType::BATTERY_LEVEL); in GetBatteryStatus()39 *charging = SharedData<uint8_t>::GetData(SharedDataType::BATTERY_STATUS); in GetBatteryStatus()
35 value = SharedData<uint8_t>::GetData(SharedDataType::BRIGHTNESS_VALUE); in GetValueImpl()51 mode = SharedData<uint8_t>::GetData(SharedDataType::BRIGHTNESS_MODE); in GetModeImpl()
114 double longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in IsPostionChanged()115 double latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in IsPostionChanged()
95 result->latitude = SharedData<double>::GetData(SharedDataType::LATITUDE); in SerializeLocData()96 result->longitude = SharedData<double>::GetData(SharedDataType::LONGITUDE); in SerializeLocData()
142 string lanInfo = SharedData<string>::GetData(SharedDataType::LANGUAGE); in InitSharedData()145 ILOG("Start language is : %s", SharedData<string>::GetData(SharedDataType::LANGUAGE).c_str()); in InitSharedData()
338 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 …]
64 static T GetData(SharedDataType type) in GetData() function
187 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()
158 GLOBAL_ConfigLanguage(SharedData<string>::GetData(SharedDataType::LANGUAGE).data()); in ThreadCallBack()