Searched refs:testArray (Results 1 – 4 of 4) sorted by relevance
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 819 const std::array<int64_t, 5> testArray{1, -2, 3, -4, 5}; in TEST_F() local 824 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 827 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 828 EXPECT_EQ(testArray[i], safeUnion.f()[i]); in TEST_F() 899 const std::array<int8_t, 7> testArray{-1, -2, -3, 0, 1, 2, 3}; in TEST_F() local 920 safeUnion, testArray, [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 924 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 925 EXPECT_EQ(testArray[i], safeUnion.b()[i]); in TEST_F() 993 std::array<hidl_handle, 5> testArray; in TEST_F() local 994 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() [all …]
|
/system/media/audio_utils/tests/ |
D | primitives_tests.cpp | 119 static const float testArray[] = { in TEST() local 127 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) { in TEST() 128 testClamp8(testArray[i]); in TEST() 130 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) { in TEST() 131 testClamp16(testArray[i]); in TEST() 133 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) { in TEST() 134 testClamp24(testArray[i]); in TEST()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 1625 const std::array<int8_t, 7> testArray{-1, -2, -3, 0, 1, 2, 3}; in TEST_F() local 1636 swi.array = testArray; in TEST_F() 1643 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 1644 EXPECT_EQ(testArray[i], swiBack.array[i]); in TEST_F() 2039 const std::array<int64_t, 5> testArray{1, -2, 3, -4, 5}; in TEST_F() local 2044 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 2047 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 2048 EXPECT_EQ(testArray[i], safeUnion.f()[i]); in TEST_F() 2178 const std::array<int64_t, 5> testArray{-1, -2, -3, -4, -5}; in TEST_F() local 2182 safeUnion.f(testArray); in TEST_F() [all …]
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 309 long[] testArray = new long[] {1, -2, 3, -4, 5}; in runClientSafeUnionTests() local 313 safeUnion = safeunionInterface.setF(safeUnion, testArray); in runClientSafeUnionTests() 315 ExpectDeepEq(testArray, safeUnion.f()); in runClientSafeUnionTests() 366 byte[] testArray = new byte[] {-1, -2, -3, 0, 1, 2, 3}; in runClientSafeUnionTests() 377 safeUnion = safeunionInterface.setInterfaceB(safeUnion, testArray); in runClientSafeUnionTests() 379 ExpectDeepEq(testArray, safeUnion.b()); in runClientSafeUnionTests()
|