Home | History | Annotate | Download | only in task

Lines Matching refs:ModelBuilder

23 #include "task/ModelBuilder.h"
26 static const ModelBuilder::ChildInfo CASE_TABLE[] = {
31 static const ModelBuilder::ChildInfo SETUP_TABLE[] = {
36 static const ModelBuilder::ChildInfo ACTION_TABLE[] = {
39 static const ModelBuilder::ChildInfo SEQUENTIAL_TABLE[] = {
48 ModelBuilder::ParsingInfo ModelBuilder::mParsingTable[ModelBuilder::PARSING_TABLE_SIZE] = {
50 sizeof(CASE_TABLE)/sizeof(ModelBuilder::ChildInfo) },
52 sizeof(SETUP_TABLE)/sizeof(ModelBuilder::ChildInfo) },
54 sizeof(ACTION_TABLE)/sizeof(ModelBuilder::ChildInfo) },
56 sizeof(SEQUENTIAL_TABLE)/sizeof(ModelBuilder::ChildInfo) },
67 ModelBuilder::ModelBuilder()
73 ModelBuilder::ModelBuilder(GenericFactory* factory)
78 ModelBuilder::~ModelBuilder()
83 TaskGeneric* ModelBuilder::parseTestDescriptionXml(const android::String8& xmlFileName,
88 LOGE("ModelBuilder::parseTestDescriptionXml cannot load file %s", xmlFileName.string());
97 LOGE("ModelBuilder::parseTestDescriptionXml wrong root element");
102 TaskGeneric* ModelBuilder::parseGeneric(const TiXmlElement& self, int tableIndex)
115 const ModelBuilder::ChildInfo* childTable = mParsingTable[tableIndex].allowedChildren;
132 LOGE("ModelBuilder::parseGeneric unknown element %s", child->Value());
147 LOGE("ModelBuilder::parseGeneric unsupported child type %d for type %d", childType,
153 LOGE("ModelBuilder::parseGeneric failed in parsing child type %d for type %d",
158 LOGE("ModelBuilder::parseGeneric cannot add child type %d to type %d", childType,
168 LOGE("ModelBuilder::parseGeneric mandatory child type %d not present in type %d",
178 TaskCase* ModelBuilder::parseCase(const TiXmlElement& root)
185 TaskBatch* ModelBuilder::parseBatch(const TiXmlElement& root, const android::String8& xmlFileName)
190 LOGE("ModelBuilder::handleBatch cannot create TaskBatch");
199 LOGE("ModelBuilder::handleBatch no include inside batch");
211 LOGE("ModelBuilder::handleBatch invalid element %s", inc->Value());
215 LOGE("ModelBuilder::handleBatch cannot create test case from include");
227 LOGE("ModelBuilder::handleBatch no include elements");
234 TaskCase* ModelBuilder::parseInclude(const TiXmlElement& elem, const android::String8& path)
238 LOGE("ModelBuilder::handleBatch no include elements");
248 bool ModelBuilder::parseAttributes(const TiXmlElement& elem, TaskGeneric& task)
258 LOGE("ModelBuilder::parseAttributes cannot parse attribute %s:%s for task type %d",