Home
last modified time | relevance | path

Searched refs:defaultConfig (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dhap_resource.cpp135 if (!pResource->Init(defaultConfig)) { in LoadFromIndex()
203 if (!pResource->Init(defaultConfig)) { in LoadFromHap()
290 bool HapResource::Init(std::shared_ptr<ResConfigImpl> &defaultConfig) in Init() argument
322 return InitIdList(defaultConfig); in Init()
326 std::shared_ptr<ResConfigImpl> &defaultConfig) in InitMap() argument
345 HapResource::IsAppDarkRes(limitPath, defaultConfig); in InitMap()
361 HapResource::IsAppDarkRes(limitPath, defaultConfig); in InitMap()
376 if (!HapResource::InitMap(resKey, resPath, defaultConfig)) { in InitIdList()
525 std::shared_ptr<ResConfigImpl> &defaultConfig) in IsAppDarkRes() argument
527 if (!defaultConfig) { in IsAppDarkRes()
[all …]
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dhap_resource.h48 const char *path, std::shared_ptr<ResConfigImpl> &defaultConfig,
64 const char *path, std::shared_ptr<ResConfigImpl> &defaultConfig,
80 const char* path, std::shared_ptr<ResConfigImpl> &defaultConfig,
93 std::shared_ptr<ResConfigImpl> &defaultConfig, bool isSystem = false);
308 bool Init(std::shared_ptr<ResConfigImpl> &defaultConfig);
311 std::shared_ptr<ResConfigImpl> &defaultConfig);
314 bool InitIdList(std::shared_ptr<ResConfigImpl> &defaultConfig);
317 std::shared_ptr<ResConfigImpl> &defaultConfig);
H A Dhap_parser.h140 …const std::shared_ptr<ResConfigImpl> defaultConfig = nullptr, const uint32_t &selectedTypes = SELE…
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dhap_resource.cpp64 HapResource::HapResource(const std::string path, time_t lastModTime, const ResConfig *defaultConfig in HapResource() argument
65 : indexPath_(path), lastModTime_(lastModTime), resDesc_(resDes), defaultConfig_(defaultConfig) in HapResource()
86 const HapResource *HapResource::LoadFromIndex(const char *path, const ResConfigImpl *defaultConfig,… in LoadFromIndex() argument
117 int32_t out = HapParser::ParseResHex(static_cast<char *>(buf), bufLen, *resDesc, defaultConfig); in LoadFromIndex()
128 …HapResource *pResource = new (std::nothrow) HapResource(std::string(path), 0, defaultConfig, resDe… in LoadFromIndex()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/utils/
H A Dhap_parser.cpp290 bool IsLocaleMatch(const ResConfigImpl *defaultConfig, const std::vector<KeyParam *> &keyParams) in IsLocaleMatch() argument
292 if (defaultConfig != nullptr) { in IsLocaleMatch()
297 if (!LocaleMatcher::Match(defaultConfig->GetResLocale(), config->GetResLocale())) { in IsLocaleMatch()
308 bool &match, const ResConfigImpl *defaultConfig) in ParseKey() argument
334 match = IsLocaleMatch(defaultConfig, key->keyParams_); in ParseKey()
355 const ResConfigImpl *defaultConfig) in ParseResHex() argument
382 int32_t ret = ParseKey(buffer, offset, key, match, defaultConfig); in ParseResHex()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dhap_resource.h44 …static const HapResource *LoadFromIndex(const char *path, const ResConfigImpl *defaultConfig, bool…
174 …HapResource(const std::string path, time_t lastModTime, const ResConfig *defaultConfig, ResDesc *r…
H A Dhap_parser.h63 const ResConfigImpl *defaultConfig = nullptr);
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/utils/
H A Dhap_parser.cpp65 std::shared_ptr<ResConfigImpl> defaultConfig; member
561 bool IsLocaleMatch(const std::shared_ptr<ResConfigImpl> defaultConfig, in IsLocaleMatch() argument
564 if (defaultConfig == nullptr) { in IsLocaleMatch()
571 if (LocaleMatcher::Match(defaultConfig->GetResLocale(), config->GetResLocale())) { in IsLocaleMatch()
634 if (!options->match || (options->selectedTypes != SELECT_ALL && options->defaultConfig && in ParseKey()
635 !options->defaultConfig->Match(key->resConfig_, false))) { in ParseKey()
656 … const std::shared_ptr<ResConfigImpl> defaultConfig, const uint32_t &selectedTypes) in ParseResHex() argument
691 SelectOptions selectOptions{true, defaultConfig, deviceType, selectedTypes}; in ParseResHex()
/ohos5.0/foundation/communication/wifi/wifi/application/wifi_direct_demo/entry/
H A Dbuild.gradle5 defaultConfig {
/ohos5.0/foundation/window/window_manager/AppDemo/window/immersive/entry/
H A Dbuild.gradle5 defaultConfig {
/ohos5.0/foundation/distributeddatamgr/data_object/samples/distributedNotepad/entry/
H A Dbuild.gradle19 defaultConfig {
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_resource_test.cpp262 ResDesc *LoadFromHap(const char *hapPath, const std::shared_ptr<ResConfigImpl> defaultConfig) in LoadFromHap() argument
274 …out = HapParser::ParseResHex(reinterpret_cast<char *>(buf.get()), bufLen, *resDesc, defaultConfig); in LoadFromHap()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_resource_test.cpp258 ResDesc *LoadFromHap(const char *hapPath, const ResConfigImpl *defaultConfig) in LoadFromHap() argument
272 out = HapParser::ParseResHex((char *)buf, bufLen, *resDesc, defaultConfig); in LoadFromHap()
/ohos5.0/base/startup/appspawn/test/moduletest/
H A Dappspawn_test_cmder.h71 int CreateMsg(AppSpawnReqMsgHandle &reqHandle, const char *defaultConfig,
H A Dappspawn_test_cmder.cpp336 const char *defaultConfig, uint32_t defMsgType) in CreateMsg() argument
355 appInfoConfig_ = cJSON_Parse(defaultConfig); in CreateMsg()
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/
H A Dkey_command_handler.cpp981 std::string defaultConfig = "/system/etc/multimodalinput/ability_launch_config.json"; in ParseConfig() local
984 return ParseJson(defaultConfig); in ParseConfig()
988 return ParseJson(customConfig) || ParseJson(defaultConfig); in ParseConfig()
1001 std::string defaultConfig = "/system/etc/multimodalinput/exclude_keys_config.json"; in ParseExcludeConfig() local
1003 std::string defaultConfig = "/data/test/exclude_keys_config.json"; in ParseExcludeConfig() local
1007 return ParseExcludeJson(defaultConfig); in ParseExcludeConfig()
1011 return ParseExcludeJson(customConfig) || ParseExcludeJson(defaultConfig); in ParseExcludeConfig()
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_windows_manager.cpp4315 std::string defaultConfig = "/system/etc/multimodalinput/white_list_config.json"; in UpdateDisplayInfo() local
4316 return ParseJson(defaultConfig); in UpdateDisplayInfo()