Home
last modified time | relevance | path

Searched refs:relPath (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-configPolicy-sys.md19 getOneCfgFile(relPath: string, callback: AsyncCallback<string>)
30 | relPath | string | 是 | 配置文件名 |
64 getOneCfgFile(relPath: string): Promise<string>
74 | relPath | string | 是 | 配置文件名 |
111 getCfgFiles(relPath: string, callback: AsyncCallback<Array<string>>)
122 | relPath | string | 是 | 配置文件名 |
155 getCfgFiles(relPath: string): Promise<Array<string>>
165 | relPath | string | 是 | 配置文件名 |
287 | relPath | string | 是 | 配置文件名 |
422 getOneCfgFileSync(relPath: string, followMode?: FollowXMode, extra?: string): string
[all …]
/ohos5.0/base/customization/config_policy/interfaces/kits/cj/src/
H A Dconfig_policy_ffi.cpp81 RetDataCArrString CJ_GetCfgFiles(const char* relPath) in CJ_GetCfgFiles() argument
85 LOGI("input path: [%{public}s]", relPath) in CJ_GetCfgFiles()
87 CfgFiles *cfgFiles = GetCfgFilesEx(relPath, FOLLOWX_MODE_DEFAULT, extra.c_str()); in CJ_GetCfgFiles()
106 RetDataCString CJ_GetOneCfgFile(const char* relPath) in CJ_GetOneCfgFile() argument
112 …char* filePath = GetOneCfgFileEx(relPath, outBuf, MAX_PATH_LEN, FOLLOWX_MODE_DEFAULT, extra.c_str(… in CJ_GetOneCfgFile()
H A Dconfig_policy_ffi.h24 FFI_EXPORT RetDataCArrString CJ_GetCfgFiles(const char* relPath);
25 FFI_EXPORT RetDataCString CJ_GetOneCfgFile(const char* relPath);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-customization.md36 …on getOneCfgFile(relPath: string, callback: AsyncCallback\<string>);<br>旧版本信息:|类名:configPolicy;<br…
37 …性:function getOneCfgFile(relPath: string): Promise\<string>;<br>旧版本信息:|类名:configPolicy;<br>方法or属性:…
38 …n getCfgFiles(relPath: string, callback: AsyncCallback\<Array\<string>>);<br>旧版本信息:|类名:configPolic…
39 …:function getCfgFiles(relPath: string): Promise\<Array\<string>>;<br>旧版本信息:|类名:configPolicy;<br>方法…
/ohos5.0/base/startup/appspawn/service/hnp/base/
H A Dhnp_sal.c56 APPSPAWN_STATIC void HnpRelPath(const char *fromPath, const char *toPath, char *relPath) in HnpRelPath() argument
92 ret = strcat_s(relPath, MAX_FILE_PATH_LEN, "../"); in HnpRelPath()
100 ret = strcat_s(relPath, MAX_FILE_PATH_LEN, to); in HnpRelPath()
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-configPolicy-sys.md19 getOneCfgFile(relPath: string, callback: AsyncCallback&lt;string&gt;)
64 getOneCfgFile(relPath: string): Promise&lt;string&gt;
74 | relPath | string | Yes | Name of the configuration file.|
111 getCfgFiles(relPath: string, callback: AsyncCallback&lt;Array&lt;string&gt;&gt;)
155 getCfgFiles(relPath: string): Promise&lt;Array&lt;string&gt;&gt;
165 | relPath | string | Yes | Name of the configuration file.|
276 getOneCfgFile(relPath: string, followMode: FollowXMode, callback: AsyncCallback&lt;string&gt;)
372 getOneCfgFile(relPath: string, followMode: FollowXMode, extra?: string): Promise&lt;string&gt;
422 getOneCfgFileSync(relPath: string, followMode?: FollowXMode, extra?: string): string
470 getCfgFiles(relPath: string, followMode: FollowXMode, callback: AsyncCallback&lt;Array&lt;string&gt…
[all …]
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-customization.md36relPath: string, callback: AsyncCallback\<string>);<br>Old version: |Class name: configPolicy;<br>…
37 …fgFile(relPath: string): Promise\<string>;<br>Old version: |Class name: configPolicy;<br>Method or…
38relPath: string, callback: AsyncCallback\<Array\<string>>);<br>Old version: |Class name: configPol…
39 …les(relPath: string): Promise\<Array\<string>>;<br>Old version: |Class name: configPolicy;<br>Meth…
/ohos5.0/base/customization/config_policy/frameworks/config_policy/src/
H A Dconfig_policy_utils.c187 static char *GetFollowXRule(const char *relPath, int *mode) in GetFollowXRule() argument
194 size_t bufSize = strlen(relPath) + sizeof(":,") + 1; in GetFollowXRule()
197 if (search == NULL || sprintf_s(search, bufSize, ":%s,", relPath) == -1) { in GetFollowXRule()
235 static SplitedStr *GetFollowXPathByMode(const char *relPath, int followMode, const char *extra) in GetFollowXPathByMode() argument
241 modePathFromCfg = GetFollowXRule(relPath, &followMode); in GetFollowXPathByMode()
377 static SplitedStr *GetFollowXPathByMode(const char *relPath, int followMode, const char *extra) in GetFollowXPathByMode() argument
/ohos5.0/base/startup/appspawn/test/unittest/hnp_test/
H A Dhnp_stub.h23 void HnpRelPath(const char *fromPath, const char *toPath, char *relPath);
H A Dhnp_installer_test.cpp974 char relPath[MAX_FILE_PATH_LEN]{}; variable
976 HnpRelPath(fromPath, toPath, relPath);
977 EXPECT_EQ(strcmp(relPath, "test2"), 0);
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-customization.md208 …性:function getOneCfgFile(relPath: string): Promise\<string>;<br>旧版本信息:|类名:configPolicy;<br>方法or属性:…
209 …:function getCfgFiles(relPath: string): Promise\<Array\<string>>;<br>旧版本信息:|类名:configPolicy;<br>方法…
234 …性:function getOneCfgFile(relPath: string): Promise\<string>;<br>旧版本信息:|类名:configPolicy;<br>方法or属性:…
235 …:function getCfgFiles(relPath: string): Promise\<Array\<string>>;<br>旧版本信息:|类名:configPolicy;<br>方法…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-customization.md208 …(relPath: string): Promise\<string>;<br>Old version information: |Class name: configPolicy;<br>Met…
209relPath: string): Promise\<Array\<string>>;<br>Old version information: |Class name: configPolicy;…
234 …(relPath: string): Promise\<string>;<br>Old version information: |Class name: configPolicy;<br>Met…
235relPath: string): Promise\<Array\<string>>;<br>Old version information: |Class name: configPolicy;…