Home
last modified time | relevance | path

Searched refs:testFileName (Results 1 – 4 of 4) sorted by relevance

/system/apex/tests/util/com/android/tests/util/
DModuleTestUtils.java95 public File getTestFile(String testFileName) throws IOException { in getTestFile() argument
100 testFile = searchTestFile(new File(testcasesPath), testFileName); in getTestFile()
108 testFile = searchTestFile(hostLinkedDir, testFileName); in getTestFile()
115 File buildInfoFile = getBuild().getFile(testFileName); in getTestFile()
120 throw new IOException("Cannot find " + testFileName); in getTestFile()
137 private File searchTestFile(File baseSearchFile, String testFileName) { in searchTestFile() argument
139 File testFile = FileUtil.findFile(baseSearchFile, testFileName); in searchTestFile()
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp1050 const std::string testFileName = "/data/local/tmp/SafeUnionVecOfHandlesWithOneFdTest"; in TEST_F() local
1058 int fd = open(testFileName.c_str(), (O_RDWR | O_TRUNC | O_CREAT), (S_IRUSR | S_IWUSR)); in TEST_F()
1100 EXPECT_EQ(0, remove(testFileName.c_str())); in TEST_F()
1105 const std::string testFileName = "/data/local/tmp/SafeUnionHandleWithMultipleFdsTest"; in TEST_F() local
1113 int fd = open(testFileName.c_str(), (O_RDWR | O_TRUNC | O_CREAT), (S_IRUSR | S_IWUSR)); in TEST_F()
1155 EXPECT_EQ(0, remove(testFileName.c_str())); in TEST_F()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2356 const std::string testFileName = "/data/local/tmp/SafeUnionVecOfHandlesWithOneFdTest"; in TEST_F() local
2364 int fd = open(testFileName.c_str(), (O_RDWR | O_TRUNC | O_CREAT), (S_IRUSR | S_IWUSR)); in TEST_F()
2406 EXPECT_EQ(0, remove(testFileName.c_str())); in TEST_F()
2411 const std::string testFileName = "/data/local/tmp/SafeUnionHandleWithMultipleFdsTest"; in TEST_F() local
2419 int fd = open(testFileName.c_str(), (O_RDWR | O_TRUNC | O_CREAT), (S_IRUSR | S_IWUSR)); in TEST_F()
2461 EXPECT_EQ(0, remove(testFileName.c_str())); in TEST_F()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java447 final String testFileName = "/data/local/tmp/SafeUnionNativeHandleWithFdTest"; in runClientSafeUnionTests() local
449 File file = new File(testFileName); in runClientSafeUnionTests()