Home
last modified time | relevance | path

Searched refs:matrix2 (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestMemory.cpp49 static_assert(offsetForMatrix2 + sizeof(matrix2) < offsetForMatrix3, "matrices overlap"); in TEST_F()
51 write(fd, matrix2, sizeof(matrix2)); in TEST_F()
115 memcpy((uint8_t*)bufferPtr + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F()
H A DTestTrivialModel.cpp40 const Matrix3x4 matrix2 = {{100.f, 200.f, 300.f, 400.f},
123 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
161 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
212 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
242 ASSERT_EQ(execution1.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
H A DTestMemoryInternal.cpp103 constexpr uint32_t offsetForMatrix3 = offsetForMatrix2 + sizeof(matrix2) + 30; in TEST_F()
111 memcpy(weightsData + offsetForMatrix2, matrix2, sizeof(matrix2)); in TEST_F()
H A DTestMemory.h43 const Matrix3x4 matrix2 = {{100.f, 200.f, 300.f, 400.f}, variable
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
H A DCoordinateTransformsTest.java188 private void assertMatricesAreInverses(Matrix matrix, Matrix matrix2) { in assertMatricesAreInverses() argument
190 concat.setConcat(matrix, matrix2); in assertMatricesAreInverses()