/system/media/audio_utils/include/audio_utils/ |
D | ChannelMix.h | 37 float (&matrix)[M][audio_channel_count_from_out_mask(OUTPUT_CHANNEL_MASK)]) { in fillChannelMatrix() 81 matrix[index][FL] = 1.f; in fillChannelMatrix() 82 matrix[index][FR] = 0.f; in fillChannelMatrix() 88 matrix[index][FL] = MINUS_3_DB_IN_FLOAT; in fillChannelMatrix() 89 matrix[index][FR] = 0.f; in fillChannelMatrix() 94 matrix[index][FL] = 0.f; in fillChannelMatrix() 95 matrix[index][FR] = 1.f; in fillChannelMatrix() 101 matrix[index][FL] = 0.f; in fillChannelMatrix() 102 matrix[index][FR] = MINUS_3_DB_IN_FLOAT; in fillChannelMatrix() 107 matrix[index][FL] = matrix[index][FR] = MINUS_3_DB_IN_FLOAT; in fillChannelMatrix() [all …]
|
/system/libvintf/xsd/compatibilityMatrix/api/ |
D | current.txt | 2 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/ |
D | LibVintfTest.cpp | 1223 CompatibilityMatrix matrix; in TEST_F() local 1251 EXPECT_TRUE(fromXml(&matrix, matrixXml, &error)) << error; in TEST_F() 1282 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F() 1304 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F() 1335 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F() 1367 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F() 1406 EXPECT_FALSE(manifest.checkCompatibility(matrix, &error)) in TEST_F() 1439 EXPECT_TRUE(manifest.checkCompatibility(matrix, &error)) << error; in TEST_F() 1525 CompatibilityMatrix matrix; in TEST_F() local 1528 EXPECT_TRUE(fromXml(&matrix, matrixXml)); in TEST_F() [all …]
|
D | AssembleVintfTest.cpp | 344 std::string matrix = "<compatibility-matrix " + kMetaVersionStr + " type=\"device\"/>\n"; in TEST_F() local 345 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F() 352 std::string matrix = in TEST_F() local 358 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F() 365 std::string matrix = in TEST_F() local 371 getInstance()->setCheckInputStream("check.xml", makeStream(matrix)); in TEST_F()
|
D | vintf_object_tests.cpp | 1619 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local 1620 ASSERT_NE(nullptr, matrix); in TEST_F() 1621 std::string xml = toXml(*matrix); in TEST_F() 1674 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local 1675 ASSERT_NE(nullptr, matrix); in TEST_F() 1676 std::string xml = toXml(*matrix); in TEST_F() 1871 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local 1872 ASSERT_NE(nullptr, matrix); in TEST_F() 1873 std::string xml = toXml(*matrix); in TEST_F() 1889 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in TEST_F() local [all …]
|
/system/libvintf/ |
D | VintfFm.cpp | 237 for (const auto& [level, matrix] : *frozenMatrices) { in check() 244 if (!manifest->checkCompatibility(matrix, &error)) { in check() 265 auto matrix = frameworkManifest.generateCompatibleMatrix(false /*optional*/); in dumpMatrix() local 268 if (OK != mFs->write(path, toXml(matrix), &error)) { in dumpMatrix() 294 CompatibilityMatrix matrix; in loadMatrices() local 295 if (!fromXml(&matrix, xmlString, &error)) { in loadMatrices() 311 ret->emplace(matrixLevel, std::move(matrix)); in loadMatrices()
|
D | AssembleVintf.cpp | 319 bool checkDualFile(const HalManifest& manifest, const CompatibilityMatrix& matrix) { in checkDualFile() argument 322 if (!manifest.checkCompatibility(matrix, &error, mCheckFlags)) { in checkDualFile() 662 bool assembleFrameworkCompatibilityMatrixKernels(CompatibilityMatrix* matrix) { in assembleFrameworkCompatibilityMatrixKernels() argument 673 if (!matrix->addKernel(std::move(kernel), &error)) { in assembleFrameworkCompatibilityMatrixKernels() 694 CompatibilityMatrix* matrix = nullptr; in assembleCompatibilityMatrix() local 709 matrix = builtMatrix.get(); in assembleCompatibilityMatrix() 711 if (matrix == nullptr) { in assembleCompatibilityMatrix() 718 auto& valueInMatrix = matrix->device.mVendorNdk; in assembleCompatibilityMatrix() 730 matrix->device.mSystemSdk.mVersions.emplace(std::move(v)); in assembleCompatibilityMatrix() 748 matrix = builtMatrix.get(); in assembleCompatibilityMatrix() [all …]
|
D | check_vintf.cpp | 177 auto matrix = readObject<CompatibilityMatrix>(fileSystem.get(), matrixPath); in checkCompatibilityForFiles() local 178 if (manifest == nullptr || matrix == nullptr) { in checkCompatibilityForFiles() 183 if (!manifest->checkCompatibility(*matrix, &error)) { in checkCompatibilityForFiles() 387 [&](const CompatibilityMatrix& matrix) { in logHalsFromNewFcms() argument 388 return matrix.level() != Level::UNSPECIFIED && in logHalsFromNewFcms() 389 matrix.level() > deviceManifest->level(); in logHalsFromNewFcms() 531 auto matrix = vintfObject->getFrameworkCompatibilityMatrix(); in checkOne() local 532 if (!matrix) { in checkOne() 561 auto matrix = vintfObject->getDeviceCompatibilityMatrix(); in checkOne() local 562 if (!matrix) { in checkOne()
|
D | VintfObject.cpp | 1001 [&](const CompatibilityMatrix& matrix) { return matrix.level() != deviceLevel; }); in checkDeprecation() argument 1097 auto matrix = getFrameworkCompatibilityMatrix(); in checkUnusedHals() local 1098 if (matrix == nullptr) { in checkUnusedHals() 1105 auto unused = manifest->checkUnusedHals(*matrix, hidlMetadata); in checkUnusedHals() 1114 << "matrices with FCM version >= " << matrix->level() << ".\n" in checkUnusedHals() 1116 << "with FCM version >= " << matrix->level() << " where applicable.\n" in checkUnusedHals() 1276 for (const auto& matrix : matrixFragments.value()) { in checkMissingHalsInMatrices() local 1277 matrix.forEachInstance([&](const MatrixInstance& matrixInstance) { in checkMissingHalsInMatrices() 1340 for (const auto& matrix : matrixFragments.value()) { in checkMatrixHalsHasDefinition() local 1341 if (matrix.level() == Level::UNSPECIFIED) { in checkMatrixHalsHasDefinition() [all …]
|
D | HalManifest.cpp | 536 CompatibilityMatrix matrix; in generateCompatibleMatrix() local 540 forEachInstance([&matrix, &instances, optional](const ManifestInstance& e) { in generateCompatibleMatrix() 547 matrix.add(MatrixHal{ in generateCompatibleMatrix() 556 matrix.mType = SchemaType::DEVICE; in generateCompatibleMatrix() 559 matrix.mType = SchemaType::FRAMEWORK; in generateCompatibleMatrix() 560 matrix.framework.mSepolicy = Sepolicy(0u /* kernelSepolicyVersion */, in generateCompatibleMatrix() 564 return matrix; in generateCompatibleMatrix()
|
D | main.cpp | 245 void insert(const CompatibilityMatrix* matrix, Table* table, const RowMutator& mutate) { in insert() argument 246 if (matrix == nullptr) return; in insert() 247 matrix->forEachInstance([&](const auto& matrixInstance) { in insert()
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_cal_helper.h | 129 float matrix[9], uint8_t accuracy, uint64_t timestamp); 146 float matrix[9]; member
|
/system/chre/platform/slpi/see/ |
D | see_cal_helper.cc | 133 float matrix[9], uint8_t accuracy, in updateCalibration() 152 memcpy(calData.matrix, matrix, sizeof(calData.matrix)); in updateCalibration()
|
D | see_helper.cc | 1054 SeeFloatArg matrix = {}; in decodeSnsCalEvent() local 1061 .comp_matrix.arg = &matrix, in decodeSnsCalEvent() 1073 bool hasMatrix = (matrix.index == 9); in decodeSnsCalEvent() 1077 scale.val, hasMatrix, matrix.val, accuracy, in decodeSnsCalEvent()
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | CameraAvgFragment.java | 758 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()
|
/system/libvintf/xsd/compatibilityMatrix/ |
D | Android.bp | 33 package_name: "compatibility.matrix",
|
/system/libhidl/vintfdata/ |
D | README.md | 80 manually inspect the frozen compatibility matrix. Modify the `optional` 81 field for certain HALs. See comments in the compatibility matrix of the previous
|
/system/extras/cpu_loads/ |
D | README.md | 7 - `simd` is a large double-precision matrix multiplication using Eigen
|