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.cpp1072 int resultFd = result->data[0]; in TEST_F() local
1073 EXPECT_NE(reference->data[0], resultFd); in TEST_F()
1075 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
1076 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
1127 int resultFd = result->data[i]; in TEST_F() local
1128 EXPECT_NE(h->data[i], resultFd); in TEST_F()
1130 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
1131 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2369 int resultFd = result->data[0]; in TEST_F() local
2370 EXPECT_NE(reference->data[0], resultFd); in TEST_F()
2372 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
2373 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
2424 int resultFd = result->data[i]; in TEST_F() local
2425 EXPECT_NE(h->data[i], resultFd); in TEST_F()
2427 EXPECT_TRUE(android::base::WriteStringToFd(testStrings[i], resultFd)); in TEST_F()
2428 EXPECT_EQ(0, fsync(resultFd)); in TEST_F()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java473 FileDescriptor resultFd = handle.getFileDescriptor(); in runClientSafeUnionTests() local
474 ExpectTrue(resultFd.getInt$() != fos.getFD().getInt$()); in runClientSafeUnionTests()
476 FileOutputStream otherFos = new FileOutputStream(resultFd); in runClientSafeUnionTests()