Searched refs:testArray (Results 1 – 4 of 4) sorted by relevance
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 827 const std::array<int64_t, 5> testArray{1, -2, 3, -4, 5}; in TEST_F() local 832 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 835 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 836 EXPECT_EQ(testArray[i], safeUnion.f()[i]); in TEST_F() 907 const std::array<int8_t, 7> testArray{-1, -2, -3, 0, 1, 2, 3}; in TEST_F() local 928 safeUnion, testArray, [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 932 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 933 EXPECT_EQ(testArray[i], safeUnion.b()[i]); in TEST_F() 1004 std::array<hidl_handle, 5> testArray; in TEST_F() local 1005 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 | 1637 const std::array<int8_t, 7> testArray{-1, -2, -3, 0, 1, 2, 3}; in TEST_F() local 1648 swi.array = testArray; in TEST_F() 1655 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 1656 EXPECT_EQ(testArray[i], swiBack.array[i]); in TEST_F() 2053 const std::array<int64_t, 5> testArray{1, -2, 3, -4, 5}; in TEST_F() local 2058 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 2061 for (size_t i = 0; i < testArray.size(); i++) { in TEST_F() 2062 EXPECT_EQ(testArray[i], safeUnion.f()[i]); in TEST_F() 2192 const std::array<int64_t, 5> testArray{-1, -2, -3, -4, -5}; in TEST_F() local 2196 safeUnion.f(testArray); in TEST_F() [all …]
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 310 long[] testArray = new long[] {1, -2, 3, -4, 5}; in runClientSafeUnionTests() local 314 safeUnion = safeunionInterface.setF(safeUnion, testArray); in runClientSafeUnionTests() 316 ExpectDeepEq(testArray, safeUnion.f()); in runClientSafeUnionTests() 367 byte[] testArray = new byte[] {-1, -2, -3, 0, 1, 2, 3}; in runClientSafeUnionTests() 380 safeUnion = safeunionInterface.setInterfaceB(safeUnion, testArray); in runClientSafeUnionTests() 382 ExpectDeepEq(testArray, safeUnion.b()); in runClientSafeUnionTests()
|