/base/customization/config_policy/interfaces/inner_api/include/ |
H A D | config_policy_utils.h | 83 char *GetOneCfgFileEx(const char *pathSuffix, char *buf, unsigned int bufLength, int followMode, const char *extra); 89 char *GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength); 95 CfgFiles *GetCfgFiles(const char *pathSuffix); 103 CfgFiles *GetCfgFilesEx(const char *pathSuffix, int followMode, const char *extra);
|
/base/customization/config_policy/frameworks/config_policy/src/ |
H A D | config_policy_utils.c | 432 char *GetOneCfgFileEx(const char *pathSuffix, char *buf, unsigned int bufLength, int followMode, const char *extra) in GetOneCfgFileEx() argument 434 if (pathSuffix == NULL || buf == NULL || bufLength < MAX_PATH_LEN) { in GetOneCfgFileEx() 443 SplitedStr *result = GetFollowXPathByMode(pathSuffix, followMode, extra); in GetOneCfgFileEx() 452 pathSuffix) > 0 && in GetOneCfgFileEx() 461 if (snprintf_s(buf, bufLength, bufLength - 1, "%s/%s", dirs->paths[i - 1], pathSuffix) > 0 && in GetOneCfgFileEx() 472 char *GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument 474 return GetOneCfgFileEx(pathSuffix, buf, bufLength, FOLLOWX_MODE_DEFAULT, NULL); in GetOneCfgFile() 477 CfgFiles *GetCfgFilesEx(const char *pathSuffix, int followMode, const char *extra) in GetCfgFilesEx() argument 479 if (pathSuffix == NULL) { in GetCfgFilesEx() 493 SplitedStr *result = GetFollowXPathByMode(pathSuffix, followMod in GetCfgFilesEx() 518 GetCfgFiles(const char *pathSuffix) GetCfgFiles() argument [all...] |
/base/powermgr/battery_manager/test/unittest/src/ |
H A D | battery_config_mock_test.cpp | 26 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
H A D | stats_service_death_test.cpp | 29 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
H A D | stats_service_test.cpp | 42 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
/base/powermgr/power_manager/test/unittest/src/ |
H A D | power_set_mode_test.cpp | 39 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_service_test.cpp | 46 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
H A D | thermal_mgr_dump_test.cpp | 41 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
H A D | thermal_policy_test.cpp | 45 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|
H A D | thermal_config_sensor_cluster_test.cpp | 43 char* GetOneCfgFile(const char *pathSuffix, char *buf, unsigned int bufLength) in GetOneCfgFile() argument
|