Home
last modified time | relevance | path

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

/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dglobal.cpp28 static ResConfigImpl *g_resConfig = nullptr; variable
43 if (g_resConfig == nullptr) { in InitResConfig()
44 g_resConfig = new (std::nothrow) ResConfigImpl; in InitResConfig()
45 if (g_resConfig == nullptr) { in InitResConfig()
85 g_resConfig->SetLocaleInfo(appLanguage, nullptr, nullptr); in GLOBAL_ConfigLanguage()
91 if (g_resConfig == nullptr || g_resConfig->GetLocaleInfo() == nullptr in GLOBAL_GetLanguage()
107 if (g_resConfig == nullptr || g_resConfig->GetLocaleInfo() == nullptr in GLOBAL_GetRegion()
152 if (g_resConfig == nullptr || g_resConfig->GetLocaleInfo() == nullptr in GLOBAL_GetValueById()
164 hapManager.UpdateResConfig(*g_resConfig); in GLOBAL_GetValueById()
184 if (g_resConfig == nullptr || g_resConfig->GetLocaleInfo() == nullptr in GLOBAL_GetValueByName()
[all …]