/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_dirty_manager.cpp | 37 const std::string UPDATE_WINDOW_INFO_TASK = "UpdateWindowInfoTask";
732 std::string DumpRect(const std::vector<MMI::Rect>& rects)
in DumpRect() 734 std::string rectStr = "";
in DumpRect() 742 std::string DumpWindowInfo(const MMI::WindowInfo& info)
in DumpWindowInfo() 744 std::string infoStr = "windowInfo:";
in DumpWindowInfo() 754 std::string DumpSecRectInfo(const SecRectInfo & secRectInfo)
in DumpSecRectInfo() 756 std::string infoStr = " area: [ " + std::to_string(secRectInfo.relativeCoords.GetLeft()) + " , " +
in DumpSecRectInfo() 765 std::string DumpSecSurfaceInfo(const SecSurfaceInfo& secSurfaceInfo)
in DumpSecSurfaceInfo() 767 std::string infoStr = "hostPid:" + std::to_string(secSurfaceInfo.hostPid) +
in DumpSecSurfaceInfo()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_manager.cpp | 285 inline RenderHandle GetHandle(const string_view path, const unordered_map<string, RenderHandle>& nameToClientHandle) in GetHandle() 305 const string fullBaseName = vci.baseShaderState + vci.baseVariant; in GetBaseGraphicsStateVariantIndex() 373 string ShaderManager::GetRenderSlotName(const uint32_t renderSlotId) const in GetRenderSlotName() 385 string ShaderManager::GetCategoryName(const uint32_t categoryId) const in GetCategoryName() 402 string renderSlotName = GetRenderSlotName(renderSlotId); in SetRenderSlotData() 438 category_.data.push_back(string(name)); in CreateCategoryId() 492 const string fullName = createInfo.path + pathCreateInfo.variantName; in Create() 513 handleToShaderDataFile_.insert_or_assign(clientHandle, string(createInfo.shaderFileStr)); in Create() 516 MaterialMetadata metadata { string(createInfo.materialMetadata), json::value {} }; in Create() 556 const string fullNam in Create() [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_first_test/ |
H A D | ability_manager_service_first_test.cpp | 58 const std::string COMPONENT_STARTUP_NEW_RULES = "component.startup.newRules"; 1118 std::string bundleName = ""; in HWTEST_F() 1120 std::string exitMsg = "App upgrade."; in HWTEST_F() 1460 std::string bundleName; in HWTEST_F() 1474 std::string bundleName; in HWTEST_F() 1893 std::string bundleName = ""; in HWTEST_F() 1895 std::string exitMsg = "App upgrade."; in HWTEST_F() 1911 std::string bundleName = ""; in HWTEST_F() 1913 std::string exitMsg = "App upgrade."; in HWTEST_F() 1930 std::string bundleNam in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/ |
H A D | indexer_pattern.cpp | 117 auto newArray = layoutProperty->GetArrayValue().value_or(std::vector<std::string>()); in InitArrayValue() 222 std::vector<std::string> arrayValueStrs; in BuildArrayValueItems() 633 bool IndexerPattern::MoveIndexBySearch(const std::string& searchStr) in MoveIndexBySearch() 648 int32_t IndexerPattern::GetFocusChildIndex(const std::string& searchStr) in GetFocusChildIndex() 807 const std::vector<std::string> customFonts = Framework::ConvertStrToFontFamilies(fontManager->GetAppCustomFont()); in UpdateFontStyle() 809 const std::vector<std::string> customFonts; in UpdateFontStyle() 929 std::vector<std::string> currentListData = std::vector<std::string>(); in ShowBubble() 967 void IndexerPattern::UpdateBubbleList(std::vector<std::string>& currentListData) in UpdateBubbleList() 988 void IndexerPattern::UpdateBubbleView(std::vector<std::string> [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
H A D | menu_patternEx_test_ng.cpp | 70 const std::string EMPTY_TEXT = ""; 71 const std::string TEXT_TAG = "text"; 72 const std::string MENU_TAG = "menu"; 73 const std::string MENU_ITEM_TEXT = "menuItem"; 74 const std::string MENU_ITEM_GROUP_TEXT = "menuItemGroup"; 75 const std::string MENU_TOUCH_EVENT_TYPE = "1"; 77 const std::string IMAGE_SRC_URL = "file://data/data/com.example.test/res/example.svg"; 91 const std::vector<std::string> FONT_FAMILY_VALUE = {"cursive"}; 224 std::string type = "1"; in HWTEST_F() 238 std::string typ in HWTEST_F() [all...] |
H A D | menuitem_test_ng.cpp | 69 const std::string EMPTY_TEXT = ""; 70 const std::string TEXT_TAG = "text"; 71 const std::string MENU_TAG = "menu"; 72 const std::string MENU_ITEM_TEXT = "menuItem"; 73 const std::string MENU_ITEM_GROUP_TEXT = "menuItemGroup"; 74 const std::string MENU_TOUCH_EVENT_TYPE = "1"; 75 const std::string IMAGE_SRC_URL = "file://data/data/com.example.test/res/example.svg"; 85 const std::vector<std::string> FONT_FAMILY_VALUE = {"cursive"}; 904 std::vector<std::string> families = {"cursive"}; in HWTEST_F() 940 std::vector<std::string> familie in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_dialog_view.cpp | 58 std::map<std::string, NG::DialogTextEvent> dialogEvent, in Show() 59 std::map<std::string, NG::DialogGestureEvent> dialogCancelEvent) in Show() 74 std::map<std::string, NG::DialogTextEvent>& dialogEvent, in RangeShow() 75 std::map<std::string, NG::DialogGestureEvent>& dialogCancelEvent) in RangeShow() 229 std::map<std::string, NG::DialogTextEvent>& dialogEvent, in OptionsShow() 230 std::map<std::string, NG::DialogGestureEvent>& dialogCancelEvent) in OptionsShow() 458 const std::vector<ButtonInfo>& buttonInfos, std::map<std::string, NG::DialogTextEvent> dialogEvent, 459 std::map<std::string, NG::DialogGestureEvent> dialogCancelEvent, GestureEventFunc callback) 934 const RefPtr<TextPickerPattern>& textPickerPattern, const std::vector<std::string>& values) 1362 std::map<std::string, N [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_endpoint.cpp | 135 void Dump(std::string &dumpString) override; 137 std::string GetEndpointName() override; 218 std::string GetStatusStr(EndpointStatus status); 234 IMmapAudioCapturerSource *GetFastSource(const std::string &networkId, EndpointType type, IAudioSourceAttr &attr); 292 std::string dupDumpName_ = ""; 335 std::string dumpDcpName_ = ""; 336 std::string dumpHdiName_ = ""; 338 std::string logUtilsTag_ = ""; 355 std::string AudioEndpoint::GenerateEndpointKey(DeviceInfo &deviceInfo, int32_t endpointFlag) in GenerateEndpointKey() 396 std::string AudioEndpointInne [all...] |
/foundation/graphic/graphic_surface/surface/src/ |
H A D | buffer_queue.cpp | 51 static const std::map<BufferState, std::string> BufferStateStrs = { 73 std::string processName; in IsLocalRender() 76 std::string target = "/system/bin/render_service"; in IsLocalRender() 81 BufferQueue::BufferQueue(const std::string &name, bool isShared) in BufferQueue() 327 std::string str = std::to_string(uniqueId_) + in RequestBufferDebugInfoLocked() 802 std::string str = std::to_string(uniqueId_) + in LogAndTraceAllBufferInBufferQueueCache() 1353 GSError BufferQueue::GetName(std::string &name) in GetName() 1652 GSError BufferQueue::SetSurfaceAppFrameworkType(std::string appFrameworkType) in SetSurfaceAppFrameworkType() 1665 std::string BufferQueue::GetSurfaceAppFrameworkType() const in GetSurfaceAppFrameworkType() 1911 void BufferQueue::DumpMetadata(std::string [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_encoder.cpp | 94 const static std::string COMPRESS_TYPE_TMAP = "tmap";
95 const static std::string COMPRESS_TYPE_HEVC = "hevc";
96 const static std::string DEFAULT_ASHMEM_TAG = "Heif Encoder Default";
97 const static std::string ICC_ASHMEM_TAG = "Heif Encoder Property";
98 const static std::string IT35_ASHMEM_TAG = "Heif Encoder IT35";
99 const static std::string OUTPUT_ASHMEM_TAG = "Heif Encoder Output";
100 const static std::string IMAGE_DATA_TAG = "Heif Encoder Image";
101 const static std::string HDR_GAINMAP_TAG = "Heif Encoder Gainmap";
102 const static std::string EXIF_ASHMEM_TAG = "Heif Encoder Exif";
122 static const std::map<SkEncodedImageFormat, std::string> FORMAT_NAM [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | ui_node.cpp | 26 UINode::UINode(const std::string& tag, int32_t nodeId, bool isRoot) in UINode() 408 std::string ToString(const RefPtr<UINode>& node) in ToString() 929 std::string key = isRoot_ ? tag_ : tag_ + "_" + std::to_string(nodeId_); in DumpTree() 931 std::string jsonstr = DumpLog::GetInstance().FormatDumpInfo(json->ToString(), depth); in DumpTree() 937 DumpLog::GetInstance().AddDesc(std::string("Depth: ").append(std::to_string(GetDepth()))); in DumpTree() 942 std::string("IsDisappearing: ").append(std::to_string(IsDisappearing()))); in DumpTree() 994 bool UINode::DumpTreeById(int32_t depth, const std::string& id, bool hasJson) in DumpTreeById() 1013 DumpLog::GetInstance().AddDesc(std::string("Depth: ").append(std::to_string(GetDepth()))); in DumpTreeById() 1014 DumpLog::GetInstance().AddDesc(std::string("IsDisappearing: ").append(std::to_string(IsDisappearing()))); in DumpTreeById() 1498 RefPtr<UINode> UINode::GetDisappearingChildById(const std::string [all...] |
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | render_node.cpp | 338 std::string touchRectList = "["; in DumpTree() 344 DumpLog::GetInstance().AddDesc(std::string("AccessibilityNodeID: ").append(std::to_string(nodeId))); in DumpTree() 345 DumpLog::GetInstance().AddDesc(std::string("Depth: ").append(std::to_string(depth))); in DumpTree() 347 std::string("DisappearingNodes: ").append(std::to_string(disappearingNodes_.size()))); in DumpTree() 348 DumpLog::GetInstance().AddDesc(std::string("GlobalOffset: ").append(GetGlobalOffset().ToString())); in DumpTree() 349 DumpLog::GetInstance().AddDesc(std::string("PaintRect: ").append(paintRect_.ToString())); in DumpTree() 350 DumpLog::GetInstance().AddDesc(std::string("TouchRect: ").append(touchRect_.ToString())); in DumpTree() 351 DumpLog::GetInstance().AddDesc(std::string("TouchRectList: ").append(touchRectList)); in DumpTree() 352 DumpLog::GetInstance().AddDesc(std::string("DirtyRect: ").append(dirtyRect.ToString())); in DumpTree() 353 DumpLog::GetInstance().AddDesc(std::string("LayoutPara in DumpTree() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_picker/ |
H A D | text_picker_pattern_test_ng.cpp | 18 #include <string> 71 const std::string EMPTY_TEXT = ""; 72 const std::string TEXT_PICKER_CONTENT = "text"; 554 std::vector<std::string> values = { "0", "1", "2" }; in HWTEST_F() 935 std::vector<std::string> values = { "111", "123", "134" }; in HWTEST_F() 938 std::string result = textPickerPattern->GetSelectedObjectMulti(values, indexs, 2); in HWTEST_F() 939 std::string expectResult = "{\"value\":[\"111\",\"123\",\"134\"],\"index\":[0,1,2],\"status\":2}"; in HWTEST_F() 977 std::vector<std::string> values; in HWTEST_F() 1003 const std::string language = "en"; in HWTEST_F() 1004 const std::string countryOrRegio in HWTEST_F() [all...] |
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | consumer_surface_test.cpp | 536 std::string strs[SURFACE_MAX_USER_DATA_COUNT]; in HWTEST_F() 551 std::string retStr; in HWTEST_F() 572 auto func1 = [&ret1](const std::string& key, const std::string& value) { in HWTEST_F() 575 auto func2 = [&ret2](const std::string& key, const std::string& value) { in HWTEST_F() 621 auto func = [&csTestUserData](const std::string& FuncName) { in HWTEST_F() 624 std::string strs[RegisterListenerNum]; in HWTEST_F() 632 (const std::string& key, const std::string in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_render_service_connection.cpp | 17 #include <string> 72 const std::string REGISTER_NODE = "RegisterNode"; 385 const std::string& surfaceName = surface->GetName(); in CreateNodeAndSurface() 422 sptr<IVSyncConnection> RSRenderServiceConnection::CreateVSyncConnection(const std::string& name, in CreateVSyncConnection() 468 int32_t pid, int32_t uid, const std::string &bundleName, const std::string &abilityName, uint64_t focusNodeId) in SetFocusAppInfo() 482 bool RSRenderServiceConnection::SetWatermark(const std::string& name, std::shared_ptr<Media::PixelMap> watermark) in SetWatermark() 519 const std::string &name, in CreateVirtualScreen() 766 std::string RSRenderServiceConnection::GetRefreshInfo(pid_t pid) 773 std::string surfaceNam [all...] |
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 237 std::string backendProp = system::GetParameter("AGP_BACKEMD_CONFIG", "gles"); in CreateRenderContext() 368 void LumeCommon::UpdateShaderPath(const std::string& shaderPath) in UpdateShaderPath() 375 void LumeCommon::UpdateImageTexturePaths(const std::vector<std::string>& imageTextures) in UpdateImageTexturePaths() 888 void LumeCommon::LoadSystemGraph(BASE_NS::string sysGraph) in LoadSystemGraph() 903 std::string tmpPrefix = "EngineInstance:" + std::to_string(key_); in LoadSystemGraph() 904 BASE_NS::string dataStorePrefix = tmpPrefix.c_str(); in LoadSystemGraph() 1021 void LumeCommon::LoadEnvModel(const std::string& modelPath, BackgroundType type) in LoadEnvModel() 1051 void LumeCommon::LoadSceneModel(const std::string& modelPath) in LoadSceneModel() 1108 std::string name = gltfAnimation->GetName(); in ProcessGLTFAnimations() 1123 int LumeCommon::FindGLTFAnimationIndex(const std::string [all...] |
/foundation/multimedia/image_effect/frameworks/native/effect/base/ |
H A D | image_effect_inner.cpp | 57 const std::string FUNCTION_FLUSH_SURFACE_BUFFER = "flushSurfaceBuffer"; 137 const std::vector<std::string> priorityEFilter_ = { 140 const std::unordered_map<std::string, ConfigType> configTypeTab_ = { 198 [&efilter](const std::string &name) { return name.compare(efilter->GetName()) == 0; }); in AddEFilter() 479 ErrorCode ImageEffect::SetInputUri(const std::string &uri) in SetInputUri() 493 ErrorCode ImageEffect::SetOutputUri(const std::string &uri) in SetOutputUri() 513 ErrorCode ImageEffect::SetInputPath(const std::string &path) in SetInputPath() 527 ErrorCode ImageEffect::SetOutputPath(const std::string &path) in SetOutputPath() 680 std::shared_ptr<ImageEffect> ImageEffect::Restore(std::string &info) in Restore() 687 std::string effectNam in Restore() [all...] |
/foundation/multimedia/player_framework/services/services/recorder/server/ |
H A D | recorder_server.cpp | 39 const std::map<OHOS::Media::RecorderServer::RecStatus, std::string> RECORDER_STATE_MAP = { 47 const std::string VID_DEBUG_INFO_KEY = "com.openharmony.timed_metadata.vid_maker_info"; 52 const std::string START_TAG = "RecorderCreate->Start"; 53 const std::string STOP_TAG = "RecorderStop->Destroy"; 130 const std::string& RecorderServer::GetStatusDescription(OHOS::Media::RecorderServer::RecStatus status) in GetStatusDescription() 132 static const std::string ILLEGAL_STATE = "PLAYER_STATUS_ILLEGAL"; in GetStatusDescription() 603 int32_t RecorderServer::SetGenre(std::string &genre) in SetGenre() 1007 std::string dumpString; in DumpInfo() 1175 void RecorderServer::SetErrorInfo(int32_t errCode, std::string &errMsg) in SetErrorInfo() 1181 std::string RecorderServe [all...] |
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor.cpp | 60 const std::string INVALID_TYPE_NAME { "" }; 84 std::map<std::string, int32_t> TO_MONITOR_TYPE = { 149 std::map<std::string, TouchGestureType> TO_GESTURE_TYPE = { 168 int32_t InputMonitor::Start(const std::string &typeName) in Start() 200 std::string InputMonitor::GetTypeName() const in GetTypeName() 205 void InputMonitor::SetTypeName(const std::string &typeName) in SetTypeName() 371 JsInputMonitor::JsInputMonitor(napi_env jsEnv, const std::string &typeName, std::vector<Rect> rectParam, in JsInputMonitor() 390 JsInputMonitor::JsInputMonitor(napi_env jsEnv, const std::string &typeName, in JsInputMonitor() 1425 int32_t JsInputMonitor::Start(const std::string &typeName) in Start() 1479 std::string JsInputMonito [all...] |
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_utils.cpp | 472 static std::string GetHexColor(uint32_t color)
in GetHexColor() 475 std::string temp;
in GetHexColor() 479 std::string tmpColor(count, '0');
in GetHexColor() 481 std::string finalColor("#");
in GetHexColor() 523 std::string bkgColor = GetHexColor(tint.prop_.backgroundColor_);
in CreateJsSystemBarRegionTintObject() 525 std::string contentColor = GetHexColor(tint.prop_.contentColor_);
in CreateJsSystemBarRegionTintObject() 621 std::string name;
in GetSystemBarStatus() 731 void GetSpecificBarStatus(sptr<Window>& window, const std::string& name,
in GetSpecificBarStatus() 757 std::string name;
in GetSpecificBarStatus() 793 std::string colorSt in GetColorFromJs() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store_connection.cpp | 331 auto deviceName = static_cast<std::string *>(parameter); in Pragma() 498 int SQLiteSingleVerNaturalStoreConnection::Export(const std::string &filePath, const CipherPassword &passwd) in Export() 512 int SQLiteSingleVerNaturalStoreConnection::Import(const std::string &filePath, const CipherPassword &passwd) in Import() 1865 int SQLiteSingleVerNaturalStoreConnection::SetCloudDbSchema(const std::map<std::string, DataBaseSchema> &schema) in SetCloudDbSchema() 1921 int SQLiteSingleVerNaturalStoreConnection::RemoveDeviceData(const std::string &device, ClearMode mode) in RemoveDeviceData() 1936 int SQLiteSingleVerNaturalStoreConnection::RemoveDeviceData(const std::string &device, const std::string &user, in RemoveDeviceData() 1952 int SQLiteSingleVerNaturalStoreConnection::GetCloudVersion(const std::string &device, in GetCloudVersion() 1953 std::map<std::string, std::string> in GetCloudVersion() [all...] |
/foundation/window/window_manager/wmserver/src/ |
H A D | window_manager_service.cpp | 62 const std::string BOOTEVENT_WMS_READY = "bootevent.wms.ready"; 125 void WindowManagerService::PostAsyncTask(Task task, const std::string& taskName, uint32_t delay) in PostAsyncTask() 135 void WindowManagerService::PostVoidSyncTask(Task task, const std::string& taskName) in PostVoidSyncTask() 145 void WindowManagerService::OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId) in OnAddSystemAbility() 323 const std::string multiWindowUIType = system::GetParameter("const.window.multiWindowUIType", ""); in LoadWindowParameter() 466 std::vector<std::string> supportedModes; in ConfigDecor() 591 std::map<std::string, float> stringToCornerRadius = { in ConfigAppWindowCornerRadius() 704 static std::map<std::string, RSAnimationTimingCurve> curveMap = { in CreateKeyboardCurve() 715 std::string keyboardCurveName = "easeOut"; in CreateKeyboardCurve() 719 std::string nam in CreateKeyboardCurve() [all...] |
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_dump_ipc_test/ |
H A D | app_mgr_service_dump_ipc_test.cpp | 37 const std::string STRING_INVALID_PID = "invalid"; 38 const std::string STRING_CMD_START_STAT = "--start-stat"; 39 const std::string STRING_CMD_STOP_STAT = "--stop-stat"; 40 const std::string STRING_CMD_STAT = "--stat"; 41 const std::string STRING_CMD_INVALID = "--invalid-cmd"; 42 const std::string STRING_OPTION_IPC = "--ipc";
|
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/ |
H A D | enroll_intell_voice_engine_napi.cpp | 37 string word; 45 static const std::string ENROLL_ENGINE_NAPI_CLASS_NAME = "EnrollIntelligentVoiceEngine"; 389 string key; in SetParameter() 390 string value; in SetParameter() 433 std::string key; in GetParameter() 434 std::string value; in GetParameter()
|
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/ |
H A D | napi_cast_session.cpp | 44 std::map<std::string, std::pair<NapiCastSession::OnEventHandlerType, 158 std::string eventName = ParseString(env, argv[0]); in OnEvent() 189 std::string eventName = ParseString(env, argv[0]); in OffEvent() 357 string deviceId_; in RemoveDevice() 405 string sessionId_; in GetSessionId() 577 string jsonParam_; in SetCastMode()
|