Searched refs:XMLAssert (Results 1 – 1 of 1) sorted by relevance
/system/core/fastboot/fuzzy_fastboot/ |
D | extensions.cpp | 70 bool XMLAssert(bool cond, const tinyxml2::XMLElement* elem, const char* msg) { in XMLAssert() function 107 if (XMLAssert(!name.empty(), part, "The name of a partition can not be empty") || in ExtractPartitions() 108 XMLAssert(XMLYesNo(part, "slots", &part_info.slots), part, in ExtractPartitions() 110 XMLAssert(XMLYesNo(part, "hashable", &part_info.hashable, true), part, in ExtractPartitions() 112 XMLAssert(XMLYesNo(part, "parsed", &part_info.parsed), part, in ExtractPartitions() 117 if (XMLAssert(allowed, part, "The test attribute must be 'yes' 'no-writes' or 'no'")) in ExtractPartitions() 119 if (XMLAssert(config->partitions.find(name) == config->partitions.end(), part, in ExtractPartitions() 139 if (XMLAssert(!name.empty(), part, "The name of a packed partition can not be empty") || in ExtractPacked() 140 XMLAssert(XMLYesNo(part, "slots", &packed_info.slots), part, in ExtractPacked() 142 XMLAssert(config->partitions.find(name) == config->partitions.end(), part, in ExtractPacked() [all …]
|