Searched refs:g_resFilePath (Results 1 – 15 of 15) sorted by relevance
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | resource_manager_test_media.cpp | 75 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 104 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 118 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 154 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 190 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 226 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 262 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 346 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 382 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 418 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); [all …]
|
D | resource_manager_test_string.cpp | 127 …bool ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayP… 143 …bool ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayP… 216 …bool ret = ((ResourceManagerImpl *)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlay… 233 …bool ret = ((ResourceManagerImpl *)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlay… 335 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 355 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 459 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 477 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 803 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 831 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); [all …]
|
D | resource_manager_test.cpp | 75 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 101 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 103 ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 116 …bool ret = ((ResourceManagerImpl *)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlay… 146 …bool ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayP… 229 ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 968 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 997 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr); 1024 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 1056 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); [all …]
|
D | resource_manager_test_hap.cpp | 840 rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 857 rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 876 …bool ret = ((ResourceManagerImpl *)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlay… 900 …bool ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayP… 902 …ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayPaths); 909 …ret = ((ResourceManagerImpl*)rm)->RemoveResource(FormatFullPath(g_resFilePath).c_str(), removePath… 913 …ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayPaths); 929 …bool ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayP… 937 …ret = ((ResourceManagerImpl*)rm)->RemoveResource(FormatFullPath(g_resFilePath).c_str(), removePath… 953 …bool ret = ((ResourceManagerImpl*)rm)->AddResource(FormatFullPath(g_resFilePath).c_str(), overlayP… [all …]
|
D | test_common.h | 30 static const char *g_resFilePath = "all/assets/entry/resources.index"; variable
|
D | hap_manager_test.cpp | 74 bool ret = hapManager->AddResourcePath(FormatFullPath(g_resFilePath).c_str()); 104 std::string resPath = FormatFullPath(g_resFilePath);
|
D | hap_resource_test.cpp | 104 …const HapResource *pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), n… 177 std::string resPath = FormatFullPath(g_resFilePath); 226 …const HapResource *pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), n…
|
D | resource_manager_test_common.cpp | 93 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in AddResource() 127 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in AddColorModeResource() 304 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in TestGetStringFormatById() 317 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in TestGetStringFormatByName()
|
D | resource_manager_performance_test.cpp | 99 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in SetUp() 210 int ret = TestLoadFromIndex(g_resFilePath);
|
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
D | global_test.cpp | 67 std::string resPath = FormatFullPath(g_resFilePath); in GetResId() 135 int32_t ret = GLOBAL_GetValueByName("app_name", FormatFullPath(g_resFilePath).c_str(), &values); 153 …int32_t ret = GLOBAL_GetValueById(static_cast<uint32_t>(id), FormatFullPath(g_resFilePath).c_str()… 171 …int32_t ret = GLOBAL_GetValueById(static_cast<uint32_t>(id), FormatFullPath(g_resFilePath).c_str()…
|
D | hap_manager_test.cpp | 73 bool ret = hapManager->AddResourcePath(FormatFullPath(g_resFilePath).c_str()); 103 std::string resPath = FormatFullPath(g_resFilePath);
|
D | test_common.h | 27 static const char *g_resFilePath = "all/assets/entry/resources.index"; variable
|
D | hap_resource_test.cpp | 74 …const HapResource *pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), n… 149 std::string resPath = FormatFullPath(g_resFilePath); 221 …const HapResource *pResource = HapResource::LoadFromIndex(FormatFullPath(g_resFilePath).c_str(), n…
|
D | resource_manager_test.cpp | 115 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in AddResource() 178 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 204 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 206 ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 289 ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); 1396 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr, nullptr); 1435 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr, nullptr); 1472 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr, nullptr); 1511 HapResource *tmp = new HapResource(FormatFullPath(g_resFilePath).c_str(), 0, nullptr, nullptr); 1554 rm->AddResource(FormatFullPath(g_resFilePath).c_str()); [all …]
|
D | resource_manager_performance_test.cpp | 99 bool ret = rm->AddResource(FormatFullPath(g_resFilePath).c_str()); in SetUp() 198 int ret = TestLoadFromIndex(g_resFilePath);
|