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("check.xml", makeStream(matrix)); in TEST_F()
336 std::string matrix = in TEST_F() local
342 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F()
349 std::string matrix = in TEST_F() local
355 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F()
Dvintf_object_tests.cpp1049 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local
1050 ASSERT_NE(nullptr, matrix); in TEST_F()
1051 std::string xml = gCompatibilityMatrixConverter(*matrix); in TEST_F()
1104 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local
1105 ASSERT_NE(nullptr, matrix); in TEST_F()
1106 std::string xml = gCompatibilityMatrixConverter(*matrix); in TEST_F()
1271 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local
1272 ASSERT_NE(nullptr, matrix); in TEST_F()
1273 std::string xml = gCompatibilityMatrixConverter(*matrix); in TEST_F()
1289 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local
[all …]
/system/libvintf/
DAssembleVintf.cpp288 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile() argument
291 if (!manifest.checkCompatibility(matrix, &error, mCheckFlags)) { in checkDualFile()
457 bool assembleFrameworkCompatibilityMatrixKernels(CompatibilityMatrix* matrix) { in assembleFrameworkCompatibilityMatrixKernels() argument
468 if (!matrix->addKernel(std::move(kernel), &error)) { in assembleFrameworkCompatibilityMatrixKernels()
536 CompatibilityMatrix* matrix = nullptr; in assembleCompatibilityMatrix() local
551 matrix = builtMatrix.get(); in assembleCompatibilityMatrix()
553 if (matrix == nullptr) { in assembleCompatibilityMatrix()
560 auto& valueInMatrix = matrix->device.mVendorNdk; in assembleCompatibilityMatrix()
572 matrix->device.mSystemSdk.mVersions.emplace(std::move(v)); in assembleCompatibilityMatrix()
589 matrix = builtMatrix.get(); in assembleCompatibilityMatrix()
[all …]
Dcheck_vintf.cpp213 auto matrix = readObject(fileSystem.get(), matrixPath, gCompatibilityMatrixConverter); in checkCompatibilityForFiles() local
214 if (manifest == nullptr || matrix == nullptr) { in checkCompatibilityForFiles()
219 if (!manifest->checkCompatibility(*matrix, &error)) { in checkCompatibilityForFiles()
455 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in checkDirmaps() local
456 if (!matrix) { in checkDirmaps()
471 auto matrix = vintfObject->getDeviceCompatibilityMatrix(); in checkDirmaps() local
472 if (!matrix) { in checkDirmaps()
DHalManifest.cpp436 CompatibilityMatrix matrix; in generateCompatibleMatrix() local
438 forEachInstance([&matrix](const ManifestInstance& e) { in generateCompatibleMatrix()
439 matrix.add(MatrixHal{ in generateCompatibleMatrix()
448 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix()
451 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix()
452 matrix.framework.mSepolicy = Sepolicy(0u /* kernelSepolicyVersion */, in generateCompatibleMatrix()
456 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.cpp952 auto matrix = getFrameworkCompatibilityMatrix(); in checkUnusedHals() local
953 if (matrix == nullptr) { in checkUnusedHals()
960 auto unused = manifest->checkUnusedHals(*matrix, hidlMetadata); in checkUnusedHals()
969 << "matrices with FCM version >= " << matrix->level() << ".\n" in checkUnusedHals()
971 << "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);
141 float matrix[9]; member
/system/chre/platform/slpi/see/
Dsee_cal_helper.cc142 float scale[3], bool hasMatrix, float matrix[9], uint8_t accuracy, in updateCalibration()
161 memcpy(calData.matrix, matrix, sizeof(calData.matrix)); in updateCalibration()
Dsee_helper.cc1036 SeeFloatArg matrix = {}; in decodeSnsCalEvent() local
1043 .comp_matrix.arg = &matrix, in decodeSnsCalEvent()
1055 bool hasMatrix = (matrix.index == 9); in decodeSnsCalEvent()
1060 hasMatrix, matrix.val, accuracy, info->data->timeNs); 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()