Home
last modified time | relevance | path

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

/system/libvintf/
DCompatibilityMatrix.cpp247 std::vector<Named<CompatibilityMatrix>>* matrices, std::string* error) { in findOrInsertBaseMatrix() argument
250 for (auto& e : *matrices) { in findOrInsertBaseMatrix()
271 for (auto& e : *matrices) { in findOrInsertBaseMatrix()
285 auto matrix = &matrices->emplace(matrices->end())->object; in findOrInsertBaseMatrix()
293 static bool checkDuplicateLevels(const std::vector<Named<CompatibilityMatrix>>& matrices, in checkDuplicateLevels() argument
296 for (const auto& e : matrices) { in checkDuplicateLevels()
312 std::vector<Named<CompatibilityMatrix>>* matrices, in combine() argument
314 if (!checkDuplicateLevels(*matrices, error)) { in combine()
318 CompatibilityMatrix* matrix = findOrInsertBaseMatrix(matrices, error); in combine()
325 for (auto& e : *matrices) { in combine()
[all …]
DAssembleVintf.cpp442 Level getLowestFcmVersion(const CompatibilityMatrices& matrices) { in getLowestFcmVersion() argument
444 for (const auto& e : matrices) { in getLowestFcmVersion()
452 bool assembleCompatibilityMatrix(CompatibilityMatrices* matrices) { in assembleCompatibilityMatrix() argument
456 if (matrices->front().object.mType == SchemaType::DEVICE) { in assembleCompatibilityMatrix()
457 matrix = &matrices->front().object; in assembleCompatibilityMatrix()
464 << matrices->front().name << "), '" << valueInMatrix.version() in assembleCompatibilityMatrix()
477 if (matrices->front().object.mType == SchemaType::FRAMEWORK) { in assembleCompatibilityMatrix()
492 deviceLevel = getLowestFcmVersion(*matrices); in assembleCompatibilityMatrix()
495 matrix = CompatibilityMatrix::combine(deviceLevel, matrices, &error); in assembleCompatibilityMatrix()
536 for (const auto& e : *matrices) { in assembleCompatibilityMatrix()
/system/libvintf/include/vintf/
DCompatibilityMatrix.h92 std::vector<Named<CompatibilityMatrix>>* matrices,
95 std::vector<Named<CompatibilityMatrix>>* matrices, std::string* error);
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java617 ExpectTrue(structs.get(1).matrices.size() == 6); in client()