/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/ |
H A D | types.rs | 26 pub enum Value { enum 27 /// Empty Value 30 /// Value containing an int 33 /// Value containing an float 36 /// Value containing a string 39 /// Value containing a bool 42 /// Value containing a byte array 45 /// Value containing an asset 48 /// Value containing an asset array 52 impl Value { impls [all...] |
/foundation/multimedia/media_library/frameworks/services/media_mtp/include/ |
H A D | property.h | 29 class Value { class in OHOS::Media::Property 31 Value(); 66 const std::shared_ptr<Value> GetCurrentValue(); 79 std::shared_ptr<Value> defaultValue; 80 std::shared_ptr<Value> currentValue; 81 std::shared_ptr<std::vector<Value>> defaultValues; // for array types 82 std::shared_ptr<std::vector<Value>> currentValues; // for array types 93 std::shared_ptr<Value> minValue; // for range form 94 std::shared_ptr<Value> maxValue; 95 std::shared_ptr<Value> stepSiz [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_side_bar_container_bridge.cpp | 45 auto nativeNode = nodePtr(nativeNodeArg->ToNativePointer(vm)->Value()); in SetSideBarWidth() 48 sideBarWidth.Value() >= 0) { in SetSideBarWidth() 50 nativeNode, sideBarWidth.Value(), static_cast<int32_t>(sideBarWidth.Unit())); in SetSideBarWidth() 62 auto nativeNode = nodePtr(nativeNodeArg->ToNativePointer(vm)->Value()); in ResetSideBarWidth() 73 auto nativeNode = nodePtr(nativeNodeArg->ToNativePointer(vm)->Value()); in SetMinSideBarWidth() 76 minSideBarWidth.Value() >= 0) { in SetMinSideBarWidth() 78 nativeNode, minSideBarWidth.Value(), static_cast<int32_t>(minSideBarWidth.Unit())); in SetMinSideBarWidth() 90 auto nativeNode = nodePtr(nativeNodeArg->ToNativePointer(vm)->Value()); in ResetMinSideBarWidth() 108 auto nativeNode = nodePtr(nativeNodeArg->ToNativePointer(vm)->Value()); in SetControlButton() 109 if (leftArg->IsNumber() && leftArg->ToNumber(vm)->Value() > in SetControlButton() [all...] |
H A D | arkts_native_plugin_bridge.cpp | 27 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetSize() 36 if (LessNotEqual(width.Value(), 0.0)) { in SetSize() 39 if (LessNotEqual(height.Value(), 0.0)) { in SetSize() 43 GetArkUINodeModifiers()->getPluginModifier()->setPluginSize(nativeNode, width.Value(), height.Value(), in SetSize() 54 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetWidth() 60 if (LessNotEqual(width.Value(), 0.0)) { in SetWidth() 65 nativeNode, width.Value(), static_cast<int32_t>(width.Unit())); in SetWidth() 75 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetHeight() 81 if (LessNotEqual(height.Value(), 0. in SetHeight() [all...] |
H A D | arkts_native_counter_bridge.cpp | 25 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetEnableInc() 30 bool flag = flagArg->ToBoolean(vm)->Value(); in SetEnableInc() 40 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetEnableInc() 51 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetEnableDec() 56 bool flag = flagArg->ToBoolean(vm)->Value(); in SetEnableDec() 66 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetEnableDec() 77 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetCounterHeight() 81 if (LessNotEqual(height.Value(), 0.0)) { in SetCounterHeight() 86 nativeNode, height.Value(), static_cast<int>(height.Unit())); in SetCounterHeight() 95 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in ResetCounterHeight() [all...] |
H A D | arkts_native_panel_bridge.cpp | 25 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in SetPanelBackgroundMask() 41 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetPanelBackgroundMask() 52 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in SetPanelMode() 67 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetPanelMode() 78 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in SetPanelType() 93 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetPanelType() 103 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetPanelFullHeight() 113 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in SetPanelFullHeight() 120 if (LessNotEqual(height.Value(), 0.0)) { in SetPanelFullHeight() 124 nativeNode, height.Value(), static_cas in SetPanelFullHeight() [all...] |
H A D | arkts_native_checkboxgroup_bridge.cpp | 33 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in SetCheckboxGroupSelectedColor() 49 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetCheckboxGroupSelectedColor() 60 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in SetCheckboxGroupUnSelectedColor() 75 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetCheckboxGroupUnSelectedColor() 86 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetCheckboxGroupSelectAll() 90 bool selectAll = selectAllArg->ToBoolean(vm)->Value(); in SetCheckboxGroupSelectAll() 101 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetCheckboxGroupSelectAll() 112 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetCheckboxGroupWidth() 118 if (LessNotEqual(width.Value(), 0.0)) { in SetCheckboxGroupWidth() 123 nativeNode, width.Value(), static_cas in SetCheckboxGroupWidth() [all...] |
H A D | arkts_native_blank_bridge.cpp | 25 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in SetColor() 40 auto nativeNode = nodePtr(firstArg->ToNativePointer(vm)->Value()); in ResetColor() 50 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetBlankHeight() 56 if (LessNotEqual(height.Value(), 0.0)) { in SetBlankHeight() 61 nativeNode, height.Value(), static_cast<int32_t>(height.Unit()), height.CalcValue().c_str()); in SetBlankHeight() 64 nativeNode, height.Value(), static_cast<int32_t>(height.Unit()), calcStr.c_str()); in SetBlankHeight() 71 nativeNode, height.Value(), static_cast<int32_t>(height.Unit())); in SetBlankHeight() 79 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in ResetBlankHeight() 89 auto nativeNode = nodePtr(nodeArg->ToNativePointer(vm)->Value()); in SetBlankMin() 100 nativeNode, blankMin.Value(), static_cas in SetBlankMin() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/layout/ |
H A D | screen_system_manager.cpp | 29 if (width < MAX_SCREEN_WIDTH_SM.Value() * density_) { in OnSurfaceChanged() 31 } else if (width < MAX_SCREEN_WIDTH_MD.Value() * density_) { in OnSurfaceChanged() 33 } else if (width < MAX_SCREEN_WIDTH_LG.Value() * density_) { in OnSurfaceChanged() 35 } else if (width < MAX_SCREEN_WIDTH_XL.Value() * density_) { in OnSurfaceChanged() 48 if (width < MAX_SCREEN_WIDTH_SM.Value() * dipScale) { in GetSize() 50 } else if (width < MAX_SCREEN_WIDTH_MD.Value() * dipScale) { in GetSize() 52 } else if (width < MAX_SCREEN_WIDTH_LG.Value() * dipScale) { in GetSize() 54 } else if (width < MAX_SCREEN_WIDTH_XL.Value() * dipScale) { in GetSize()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | cj_zip.cpp | 55 if (!localFilePath.Value().empty()) { in IsHiddenFile() 56 return localFilePath.Value().c_str()[0] == HIDDEN_SEPARATOR; in IsHiddenFile() 77 isSuccess = FilePath::GetZipAllDirFiles(curPath.Value(), filelist); in ListDirectoryContent() 93 std::string path = extractDir.Value(); in CreateDirectory() 95 return FilePath::CreateDirectory(FilePath(extractDir.Value() + entryPath.Value())); in CreateDirectory() 97 return FilePath::CreateDirectory(FilePath(extractDir.Value() + "/" + entryPath.Value())); in CreateDirectory() 103 if (EndsWith(extractDir.Value(), SEPARATOR)) { in CreateFilePathWriterDelegate() 104 return std::make_unique<FilePathWriterDelegate>(FilePath(extractDir.Value() in CreateFilePathWriterDelegate() [all...] |
/foundation/communication/wifi/wifi/utils/src/ |
H A D | wifi_hisysevent.cpp | 49 Json::Value root; in WriteWifiStateHiSysEvent() 93 Json::Value root; in WriteWifiOperateStateHiSysEvent() 102 Json::Value root; in WriteWifiAbnormalDisconnectHiSysEvent() 110 Json::Value root; in WriteWifiConnectionInfoHiSysEvent() 118 Json::Value root; in WriteWifiOpenAndCloseFailedHiSysEvent() 129 Json::Value root; in WriteSoftApOpenAndCloseFailedEvent() 138 Json::Value root; in WriteWifiAccessIntFailedHiSysEvent() 147 Json::Value root; in WriteWifiPnoScanHiSysEvent() 156 Json::Value root; in WriteBrowserFailedForPortalHiSysEvent() 165 Json::Value roo in WriteWifiConnectFailedEventHiSysEvent() [all...] |
/foundation/communication/netmanager_base/bpf/bpf_reader/ |
H A D | bpf_reader.h | 26 template <class Key, class Value> class NetsysBpfMap { 28 NetsysBpfMap<Key, Value>() = default; 29 NetsysBpfMap<Key, Value>(const std::string &pathName, uint32_t flags); 30 NetsysBpfMap<Key, Value>(bpf_map_type mapType, uint32_t maxEntries, uint32_t mapFlags); 40 * Read Value From Map 43 * @return Value value corresponding to key 45 Value ReadValueFromMap(const Key key) const; 55 bool WriteValue(const Key &key, const Value &value, uint64_t flags) const; 62 void Iterate(const std::function<void(const Key &key, const NetsysBpfMap<Key, Value> &map)> &counter) const;
|
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_theme.h | 62 videoPattern->GetAttr<Dimension>("control_bar_play_padding_left", 10.0_vp).Value(), in ParsePattern() 63 videoPattern->GetAttr<Dimension>("control_bar_play_padding_top", 5.0_vp).Value(), in ParsePattern() 64 videoPattern->GetAttr<Dimension>("control_bar_play_padding_right", 10.0_vp).Value(), in ParsePattern() 65 videoPattern->GetAttr<Dimension>("control_bar_play_padding_bottom", 5.0_vp).Value()); in ParsePattern() 67 videoPattern->GetAttr<Dimension>("control_bar_current_time_padding_left", 5.0_vp).Value(), in ParsePattern() 68 videoPattern->GetAttr<Dimension>("control_bar_current_time_padding_top", 5.0_vp).Value(), in ParsePattern() 69 videoPattern->GetAttr<Dimension>("control_bar_current_time_padding_right", 5.0_vp).Value(), in ParsePattern() 70 videoPattern->GetAttr<Dimension>("control_bar_current_time_padding_bottom", 5.0_vp).Value()); in ParsePattern() 72 videoPattern->GetAttr<Dimension>("control_bar_progress_padding_left", 0.0_vp).Value(), in ParsePattern() 73 videoPattern->GetAttr<Dimension>("control_bar_progress_padding_top", 0.0_vp).Value(), in ParsePattern() [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/ |
H A D | bpf_mapper.h | 42 template <class Key, class Value> class BpfMapperImplement { 44 BpfMapperImplement<Key, Value>() = default; 91 * Write Value To Bpf Map 99 static int32_t UpdateElem(const int32_t mapFd, const Key &key, const Value &value, uint64_t flags) in UpdateElem() 120 static int32_t LookUpElem(const int32_t mapFd, const Key &key, const Value &value) in LookUpElem() 196 static uint64_t BpfMapValueToU64(const Value &value) in BpfMapValueToU64() 202 template <class Key, class Value> class BpfMapper { 204 BpfMapper<Key, Value>() = default; 205 ~BpfMapper<Key, Value>() in ~BpfMapper() 212 BpfMapper<Key, Value>(cons in ~BpfMapper() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/time_picker/ |
H A D | time_picker_test_dialog_view.cpp | 193 EXPECT_EQ(ret.Value(), FONT_SIZE_LIMIT.Value()); in HWTEST_F() 222 EXPECT_EQ(ret.Value(), FONT_SIZE_LIMIT.Value()); in HWTEST_F() 224 EXPECT_EQ(ret.Value(), FONT_SIZE_VP.Value()); in HWTEST_F() 244 EXPECT_EQ(ret.Value(), FONT_SIZE_VP.Value()); in HWTEST_F() 252 EXPECT_EQ(ret.Value(), FONT_SIZE_LIMIT.Value() / nFontScal in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/positioned/ |
H A D | render_positioned.cpp | 57 if (NearEqual(left_.Value(), left.Value()) && (left_.Unit() == left.Unit())) { in SetLeft() 67 if (NearEqual(top_.Value(), top.Value()) && (top_.Unit() == top.Unit())) { in SetTop() 77 if (NearEqual(right_.Value(), right.Value()) && (right_.Unit() == right.Unit())) { in SetRight() 87 if (NearEqual(bottom_.Value(), bottom.Value()) && (bottom_.Unit() == bottom.Unit())) { in SetBottom()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/test/unittest/common/base/ |
H A D | dcamera_event_cmd_test.cpp | 37 "Value": {"EventType": 1, "EventResult": 1, "EventContent": "TestContent"} 44 "Value": {"EventType": 1, "EventResult": 1, "EventContent": "TestContent"} 50 "Value": {"EventType": 1, "EventResult": 1, "EventContent": "TestContent"} 57 "Value": {"EventType": 1, "EventResult": 1, "EventContent": "TestContent"} 63 "Value": {"EventType": 1, "EventResult": 1, "EventContent": "TestContent"} 70 "Value": {"EventType": 1, "EventResult": 1, "EventContent": "TestContent"} 83 "Value": {"EventResult": 1, "EventContent": "TestContent"} 90 "Value": {"EventType": "1", "EventResult": 1, "EventContent": "TestContent"} 97 "Value": {"EventType": 1, "EventContent": "TestContent"} 104 "Value" [all...] |
H A D | dcamera_metadata_setting_cmd_test.cpp | 37 "Value": [{"SettingType": 1, "SettingValue": "TestSetting"}] 44 "Value": [{"SettingType": 1, "SettingValue": "TestSetting"}] 50 "Value": [{"SettingType": 1, "SettingValue": "TestSetting"}] 57 "Value": [{"SettingType": 1, "SettingValue": "TestSetting"}] 63 "Value": [{"SettingType": 1, "SettingValue": "TestSetting"}] 70 "Value": [{"SettingType": 1, "SettingValue": "TestSetting"}] 83 "Value": "[{"SettingType": 1, "SettingValue": "TestSetting"}]" 90 "Value": [{"SettingValue": "TestSetting"}] 97 "Value": [{"SettingType": "1", "SettingValue": "TestSetting"}] 104 "Value" [all...] |
H A D | dcamera_capture_info_cmd_test.cpp | 37 "Value": [ 48 "Value": [ 58 "Value": [ 69 "Value": [ 79 "Value": [ 90 "Value": [ 107 "Value":"[ 118 "Value": "[ 129 "Value": [ 140 "Value" [all...] |
H A D | dcamera_channel_info_cmd_test.cpp | 37 "Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 44 "Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 50 "Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 57 "Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 63 "Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 70 "Value": {"SourceDevId": "TestDevId", "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 83 "Value": {Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 90 "Value": {"SourceDevId": 0, "Detail": [{"DataSessionFlag": "TestFlag", "StreamType": 1}]} 97 "Value": {"SourceDevId": "TestDevId"} 104 "Value" [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.cpp | 24 return value.Value() * dipScale; in GetValueInPx() 26 return value.Value(); in GetValueInPx() 73 return left_.Value() >= 0.0 && top_.Value() >= 0.0 && right_.Value() >= 0.0 && bottom_.Value() >= 0.0; in IsValid() 78 return left_.Value() > 0.0 || top_.Value() > 0.0 || right_.Value() > 0.0 || bottom_.Value() > 0. in IsEffective() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | pattern_lock_theme.h | 164 if (!NearZero(circleRadius_.Value())) { in GetActiveCircleRadiusScale() 165 return activeCircleRadius_.Value() / circleRadius_.Value(); in GetActiveCircleRadiusScale() 172 if (!NearZero(circleRadius_.Value())) { in GetBackgroundRadiusScale() 173 return backgroundCircleRadius_.Value() / circleRadius_.Value(); in GetBackgroundRadiusScale() 180 if (!NearZero(circleRadius_.Value())) { in GetLightRingCircleRadiusStartScale() 181 return lightRingRadiusStart_.Value() / circleRadius_.Value(); in GetLightRingCircleRadiusStartScale() 188 if (!NearZero(circleRadius_.Value())) { in GetLightRingCircleRadiusEndScale() [all...] |
/foundation/resourceschedule/qos_manager/services/include/ |
H A D | concurrent_task_controller.h | 39 void ReportData(uint32_t resType, int64_t value, const Json::Value& payload); 41 void QueryDeadline(int queryItem, DeadlineReply& ddlReply, const Json::Value& payload); 42 void RequestAuth(const Json::Value& payload); 64 void DealSystemRequest(int requestType, const Json::Value& payload); 76 bool ModifySystemRate(const Json::Value& payload); 77 void SetAppRate(const Json::Value& payload); 78 int FindRateFromInfo(int uiTid, const Json::Value& payload); 79 void SetRenderServiceRate(const Json::Value& payload); 81 bool CheckJsonValid(const Json::Value& payload); 85 bool ParsePayload(const Json::Value [all...] |
/foundation/ability/ability_base/interfaces/kits/native/want/include/ |
H A D | pac_map.h | 496 bool GetBaseJsonValue(PacMapList::const_iterator &it, Json::Value &json) const; 497 bool GetArrayJsonValue(PacMapList::const_iterator &it, Json::Value &json) const; 498 bool GetUserObjectJsonValue(PacMapList::const_iterator &it, Json::Value &json) const; 504 bool ParseJson(Json::Value &data, PacMapList &mapList); 505 bool ParseJsonItem(PacMapList &mapList, const std::string &key, Json::Value &item); 506 bool ParseJsonItemArray(PacMapList &mapList, const std::string &key, Json::Value &item); 507 bool ParseJsonItemArrayShort(PacMapList &mapList, const std::string &key, Json::Value &item); 508 bool ParseJsonItemArrayInteger(PacMapList &mapList, const std::string &key, Json::Value &item); 509 bool ParseJsonItemArrayLong(PacMapList &mapList, const std::string &key, Json::Value &item); 510 bool ParseJsonItemArrayChar(PacMapList &mapList, const std::string &key, Json::Value [all...] |
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/ |
H A D | hgm_lru_cache.h | 26 using Value = ValueType; 30 bool Existed(Value value) const in Existed() 35 void Put(Value value) in Put() 59 void Erase(Value value) in Erase() 77 typename std::list<Value> valueCache_; 78 std::unordered_map<Value, typename std::list<Value>::iterator> searchHelper_;
|