Home
last modified time | relevance | path

Searched refs:GetConfig (Results 1 - 4 of 4) sorted by relevance

/ide/tools/previewer/mock/lite/
H A DHalSysParam.cpp34 ILOG("Get productType, result: %s", ModelManager::GetConfig().deviceType.c_str()); in HalGetDeviceType()
35 if (ModelManager::GetConfig().deviceType.empty()) { in HalGetDeviceType()
39 return ModelManager::GetConfig().deviceType.c_str(); in HalGetDeviceType()
44 ILOG("Get manufacture, result: %s", ModelManager::GetConfig().manufactureName.c_str()); in HalGetManufacture()
45 if (ModelManager::GetConfig().manufactureName.empty()) { in HalGetManufacture()
49 return ModelManager::GetConfig().manufactureName.c_str(); in HalGetManufacture()
54 ILOG("Get brand, result: %s", ModelManager::GetConfig().brandName.c_str()); in HalGetBrand()
55 if (ModelManager::GetConfig().brandName.empty()) { in HalGetBrand()
59 return ModelManager::GetConfig().brandName.c_str(); in HalGetBrand()
74 ILOG("Get model, result: %s", ModelManager::GetConfig() in HalGetProductModel()
[all...]
/ide/tools/previewer/util/
H A DModelManager.cpp47 ILOG("Start Simulator: %s", GetConfig().modelName.c_str()); in SetCurrentDevice()
53 const ModelConfig& ModelManager::GetConfig(std::string device) in GetConfig() function in ModelManager
60 FLOG("ModelManager::GetConfig current device model not exists. device : %s", currentDevice.c_str()); in GetConfig()
65 const ModelConfig& ModelManager::GetConfig() in GetConfig() function in ModelManager
67 return GetConfig(currentDevice); in GetConfig()
H A DModelManager.h26 static const ModelConfig &GetConfig(std::string device);
27 static const ModelConfig &GetConfig();
/ide/tools/previewer/test/unittest/util/
H A DModelManagerTest.cpp37 const ModelConfig& config = ModelManager::GetConfig(); in TEST()
51 const ModelConfig& config = ModelManager::GetConfig(device); in TEST()

Completed in 2 milliseconds