Home
last modified time | relevance | path

Searched refs:matrix (Results 1 – 14 of 14) sorted by relevance

/system/libvintf/xsd/compatibilityMatrix/api/
Dcurrent.txt2 package compatibility.matrix {
12 method public compatibility.matrix.Avb getAvb();
13 method public java.util.List<compatibility.matrix.Hal> getHal();
14 method public java.util.List<compatibility.matrix.Kernel> getKernel();
16 method public compatibility.matrix.Sepolicy getSepolicy();
17 method public compatibility.matrix.SystemSdk getSystemSdk();
19 method public compatibility.matrix.VendorNdk getVendorNdk();
21 method public compatibility.matrix.Vndk getVndk();
22 method public java.util.List<compatibility.matrix.Xmlfile> getXmlfile();
23 method public void setAvb(compatibility.matrix.Avb);
[all …]
/system/libvintf/test/
DLibVintfTest.cpp951 CompatibilityMatrix matrix; in TEST_F() local
979 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)) in TEST_F()
1011 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1033 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
1064 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
1096 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1135 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F()
1169 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F()
1254 CompatibilityMatrix matrix; in TEST_F() local
1257 EXPECT_TRUE(gCompatibilityMatrixConverter(&matrix, matrixXml)); in TEST_F()
[all …]
DAssembleVintfTest.cpp328 std::string matrix = "<compatibility-matrix " + kMetaVersionStr + " type=\"device\"/>\n"; in TEST_F() local
329 getInstance()->setCheckInputStream(makeStream(matrix)); in TEST_F()
336 std::string matrix = in TEST_F() local
342 getInstance()->setCheckInputStream(makeStream(matrix)); in TEST_F()
349 std::string matrix = in TEST_F() local
355 getInstance()->setCheckInputStream(makeStream(matrix)); in TEST_F()
Dvintf_object_tests.cpp1056 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(true /* skipCache */); in TEST_F() local
1057 ASSERT_NE(nullptr, matrix); in TEST_F()
1058 std::string xml = gCompatibilityMatrixConverter(*matrix); in TEST_F()
1111 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(true /* skipCache */); in TEST_F() local
1112 ASSERT_NE(nullptr, matrix); in TEST_F()
1113 std::string xml = gCompatibilityMatrixConverter(*matrix); in TEST_F()
1278 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(true /* skipCache */); in TEST_F() local
1279 ASSERT_NE(nullptr, matrix); in TEST_F()
1280 std::string xml = gCompatibilityMatrixConverter(*matrix); in TEST_F()
1296 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(true /* skipCache */); in TEST_F() local
[all …]
/system/libvintf/
DAssembleVintf.cpp286 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile() argument
289 if (!manifest.checkCompatibility(matrix, &error, mCheckFlags)) { in checkDualFile()
456 bool assembleFrameworkCompatibilityMatrixKernels(CompatibilityMatrix* matrix) { in assembleFrameworkCompatibilityMatrixKernels() argument
467 if (!matrix->addKernel(std::move(kernel), &error)) { in assembleFrameworkCompatibilityMatrixKernels()
530 CompatibilityMatrix* matrix = nullptr; in assembleCompatibilityMatrix() local
544 matrix = builtMatrix.get(); in assembleCompatibilityMatrix()
546 if (matrix == nullptr) { in assembleCompatibilityMatrix()
553 auto& valueInMatrix = matrix->device.mVendorNdk; in assembleCompatibilityMatrix()
565 matrix->device.mSystemSdk.mVersions.emplace(std::move(v)); in assembleCompatibilityMatrix()
582 matrix = builtMatrix.get(); in assembleCompatibilityMatrix()
[all …]
Dcheck_vintf.cpp212 auto matrix = readObject(fileSystem.get(), matrixPath, gCompatibilityMatrixConverter); in checkCompatibilityForFiles() local
213 if (manifest == nullptr || matrix == nullptr) { in checkCompatibilityForFiles()
218 if (!manifest->checkCompatibility(*matrix, &error)) { in checkCompatibilityForFiles()
454 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in checkDirmaps() local
455 if (!matrix) { in checkDirmaps()
470 auto matrix = vintfObject->getDeviceCompatibilityMatrix(); in checkDirmaps() local
471 if (!matrix) { in checkDirmaps()
DHalManifest.cpp395 CompatibilityMatrix matrix; in generateCompatibleMatrix() local
397 forEachInstance([&matrix](const ManifestInstance& e) { in generateCompatibleMatrix()
398 matrix.add(MatrixHal{ in generateCompatibleMatrix()
407 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
410 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()
411 matrix.framework.mSepolicy = Sepolicy(0u /* kernelSepolicyVersion */, in generateCompatibleMatrix()
415 return matrix; in generateCompatibleMatrix()
Dmain.cpp198 void insert(const CompatibilityMatrix* matrix, Table* table, const RowMutator& mutate) { in insert() argument
199 if (matrix == nullptr) return; in insert()
200 matrix->forEachInstance([&](const auto& matrixInstance) { in insert()
DVintfObject.cpp960 auto matrix = getFrameworkCompatibilityMatrix(); in checkUnusedHals() local
961 if (matrix == nullptr) { in checkUnusedHals()
968 auto unused = manifest->checkUnusedHals(*matrix, hidlMetadata); in checkUnusedHals()
977 << "matrices with FCM version >= " << matrix->level() << ".\n" in checkUnusedHals()
979 << "with FCM version >= " << matrix->level() << " where applicable.\n" in checkUnusedHals()
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_cal_helper.h127 float matrix[9], uint8_t accuracy, uint64_t timestamp);
144 float matrix[9]; member
/system/chre/platform/slpi/see/
Dsee_cal_helper.cc142 float matrix[9], uint8_t accuracy, in updateCalibration()
161 memcpy(calData.matrix, matrix, sizeof(calData.matrix)); in updateCalibration()
Dsee_helper.cc1045 SeeFloatArg matrix = {}; in decodeSnsCalEvent() local
1052 .comp_matrix.arg = &matrix, in decodeSnsCalEvent()
1064 bool hasMatrix = (matrix.index == 9); in decodeSnsCalEvent()
1068 scale.val, hasMatrix, matrix.val, accuracy, in decodeSnsCalEvent()
/system/libvintf/xsd/compatibilityMatrix/
DAndroid.bp25 package_name: "compatibility.matrix",
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java758 Matrix matrix = new Matrix(); in configureTransform() local
765 matrix.setRectToRect(viewRect, bufferRect, Matrix.ScaleToFit.FILL); in configureTransform()
769 matrix.postScale(scale, scale, centerX, centerY); in configureTransform()
770 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform()
772 matrix.postRotate(180, centerX, centerY); in configureTransform()
774 mTextureView.setTransform(matrix); in configureTransform()