/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | app-uri-config.md | 9 > - path、pathStartWith、pathRegex的取值前后均不需要加斜杠`/`。例如对于应用链接`https://developer.huawei.com/consumer/cn/s… 14 - path:路径,表示域名服务器上的目录或文件路径,该字段在scheme存在时才有意义。path字段不支持通配符,如果需要使用通配符,可以采用pathRegex字段。 18 - pathRegex:路径正则,该字段在scheme存在时才有意义,表示域名服务器上的目录或文件路径的正则表达式,用于正则匹配。 28 - 当配置了path、pathStartWith或pathRegex字段时,组成的表达式如下。 32 - **路径正则表达式**:`scheme://host:port/pathRegex`
|
H A D | explicit-implicit-want-mappings.md | 139 - 如果s_uri的path、pathStartWith和pathRegex都为空,当w_uri和s_uri中的scheme,host和port相同时匹配成功,否则匹配失败。 143 - 如果s_uri的pathStartWith不为空,当w_uri包含s_uri**前缀表达式**时匹配成功,否则继续进行pathRegex的匹配。 145 - 如果s_uri的pathRegex不为空,当w_uri满足s_uri**正则表达式**时匹配成功,否则匹配失败。 149 …件的skills配置的uris中scheme、host、port、path、pathStartWith和pathRegex属性拼接,如果依次声明了path、pathStartWith和pathRe… 157 > - **正则表达式**:`scheme://host:port/pathRegex`
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/ |
H A D | README.md | 87 | path| std::string | URI的路径部分,path、pathStartWith和pathRegex配置时三选一。 | 88 | pathStartWith| std::string | URI的路径部分,path、pathStartWith和pathRegex配置时三选一。 | 89 | pathRegex| std::string | URI的路径部分,path、pathStartWith和pathRegex配置时三选一。 |
|
H A D | README.en.md | 87 | path| std::string | Path of the URI. Set **path**, **pathStartWith**, or **pathRegex** as needed.… 88 | pathStartWith| std::string | Path of the URI. Set **path**, **pathStartWith**, or **pathRegex** … 89 | pathRegex| std::string | Path of the URI. Set **path**, **pathStartWith**, or **pathRegex** as n…
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/common/src/ |
H A D | skill_uri.cpp | 29 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String, parcel, pathRegex); in Marshalling() 40 pathRegex = parcel.ReadString(); in ReadFromParcel()
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/deeplink_reserve/ |
H A D | deeplink_reserve_config.cpp | 126 …if (reservedUri.path.empty() && reservedUri.pathStartWith.empty() && reservedUri.pathRegex.empty()… in isUriMatched() 161 if (!reservedUri.pathRegex.empty()) { in isUriMatched() 164 pathRegexUri.append(reservedUri.pathRegex); in isUriMatched() 207 reserveUri.pathRegex = pathRegexName; in LoadReservedUrilItem() 208 TAG_LOGD(AAFwkTag::ABILITYMGR, "pathRegex is: %{public}s", reserveUri.pathRegex.c_str()); in LoadReservedUrilItem()
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | app-uri-config.md | 9 …s (/) before and after the values of **path**, **pathStartWith**, and **pathRegex**. For example, … 14 …e DNS, The **path** field does not support wildcards. If wildcards are required, use **pathRegex**. 16 - **pathRegex**: regular expression of the directory or file path on the DNS. It is used for regula… 26 - When **path**, **pathStartWith**, or **pathRegex** is configured, the formats are as follows. 30 - **Regular expression**: scheme://host:port/pathRegex
|
H A D | explicit-implicit-want-mappings.md | 139 - If **path**, **pathStartWith**, and **pathRegex** of **s_uri** are null and the combination of **… 143 …refix expression of **s_uri**, the matching is successful. Otherwise, **pathRegex** matching conti… 145 - If **pathRegex** of **s_uri** is not null and **w_uri** meets the regular expression of **s_uri**… 149 …d **pathRegex** attributes of **uris** under **skills** of an application component are concatenat… 157 > - **Regular expression**: `scheme://host:port/pathRegex`
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/deeplink_reserve_config_test/ |
H A D | deeplink_reserve_config_test.cpp | 87 "pathRegex": "pathRegex",
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | skill.cpp | 379 if (skillUri.path.empty() && skillUri.pathStartWith.empty() && skillUri.pathRegex.empty()) { in MatchUri() 414 if (!skillUri.pathRegex.empty()) { in MatchUri() 417 pathRegexUri.append(skillUri.pathRegex); in MatchUri() 612 uri.pathRegex = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel() 660 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(uri.pathRegex)); in Marshalling() 716 uri.pathRegex, JsonType::STRING, false, parseResult, ArrayType::NOT_ARRAY); in from_json() 718 uri.pathRegex, JsonType::STRING, false, parseResult, ArrayType::NOT_ARRAY); in from_json() 783 {JSON_KEY_PATHREGEX, uri.pathRegex}, in to_json()
|
H A D | extension_ability_info.cpp | 161 stctUri.pathRegex = Str16ToStr8(parcel.ReadString16()); in ReadSkillInfoFromParcel() 285 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(uri.pathRegex)); in MarshallingSkillUri()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | set_flag_utils.cpp | 59 std::regex pathRegex("/temp"); in ParseDirPath() local 60 if (std::regex_match(path, pathRegex)) { in ParseDirPath()
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/common/include/ |
H A D | skill_uri.h | 33 std::string pathRegex; member
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/include/deeplink_reserve/ |
H A D | deeplink_reserve_config.h | 34 std::string pathRegex; member
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/common/bean_test/ |
H A D | bean_test.cpp | 67 skillUri.pathRegex = "pathRegex"; 77 ASSERT_TRUE(unmarshalling->pathRegex == "pathRegex");
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-bundleManager-skill.md | 38 | pathRegex | string | 是 | 否 | 标识 URI 路径部分,用于正则匹配,仅当 scheme 和 host 同时存在时有意义。 |
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | extension_ability_info.h | 81 std::string pathRegex; member
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/common/bean_parcel_test/ |
H A D | bean_parcel_test.cpp | 73 skillUri.pathRegex = "pathRegex"; 122 skillUri.pathRegex = "pathRegex";
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | skill.h | 34 std::string pathRegex; member
|
H A D | extension_ability_info.h | 135 std::string pathRegex; member
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/client/app_domain_verify_agent_client_test/ |
H A D | app_domain_verify_agent_client_test.cpp | 146 skillUri.pathRegex = "pathRegex";
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-bundleManager-skill.md | 39 | pathRegex | string | Yes | No | Regular expression of the path of the URI. This parameter…
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/user/src/ |
H A D | mount_manager.cpp | 1218 std::regex pathRegex("^[a-zA-Z0-9_/]+$"); in MountDfsDocs() local 1219 …vePath.empty() || relativePath.length() > PATH_MAX || !std::regex_match(relativePath, pathRegex)) { in MountDfsDocs() 1240 std::regex pathRegex("^[a-zA-Z0-9_/]+$"); in UMountDfsDocs() local 1241 …vePath.empty() || relativePath.length() > PATH_MAX || !std::regex_match(relativePath, pathRegex)) { in UMountDfsDocs()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/ |
H A D | daemon.cpp | 530 std::regex pathRegex("^[a-zA-Z0-9_\\-/\\\\]*$"); in CheckCopyRule() local 531 …::filesystem::exists(physicalPath, errCode) && std::regex_match(physicalPath.c_str(), pathRegex)) { in CheckCopyRule()
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | module-configuration-file.md | 428 …nbsp;\| pathRegex | 标识URI的路径部分,path、pathStartWith和pathRegex配置时三选一。path标识URI与want中的路径部分全匹配,pat…
|