Home
last modified time | relevance | path

Searched refs:resultFd (Results 1 – 3 of 3) sorted by relevance

/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp1083 int resultFd = result->data[0]; in TEST_F() local
1084 EXPECT_NE(reference->data[0], resultFd); in TEST_F()
1086 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
1087 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
1138 int resultFd = result->data[i]; in TEST_F() local
1139 EXPECT_NE(h->data[i], resultFd); in TEST_F()
1141 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
1142 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2389 int resultFd = result->data[0]; in TEST_F() local
2390 EXPECT_NE(reference->data[0], resultFd); in TEST_F()
2392 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
2393 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
2444 int resultFd = result->data[i]; in TEST_F() local
2445 EXPECT_NE(h->data[i], resultFd); in TEST_F()
2447 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
2448 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java477 FileDescriptor resultFd = handle.getFileDescriptor(); in runClientSafeUnionTests() local
478 ExpectTrue(resultFd.getInt$() != fos.getFD().getInt$()); in runClientSafeUnionTests()
480 FileOutputStream otherFos = new FileOutputStream(resultFd); in runClientSafeUnionTests()