Searched refs:tempFile (Results 1 – 4 of 4) sorted by relevance
/system/netd/server/ |
D | FirewallControllerTest.cpp | 332 const std::string tempFile = "/data/local/tmp/fake_uid_mapping"; in TEST_F() local 335 EXPECT_TRUE(WriteStringToFile(test.content, tempFile, false)); in TEST_F() 336 uint32_t got = FirewallController::discoverMaximumValidUid(tempFile); in TEST_F() 337 EXPECT_EQ(0, remove(tempFile.c_str())); in TEST_F() 345 EXPECT_NE(0, access(tempFile.c_str(), F_OK)); in TEST_F() 346 EXPECT_EQ(4294967294, FirewallController::discoverMaximumValidUid(tempFile)); in TEST_F()
|
/system/timezone/input_tools/android/common/src/testing/java/com/android/libcore/timezone/testing/ |
D | TestUtils.java | 40 Path tempFile = Files.createTempFile(dir, "tmp", null /* suffix */); in createFile() local 41 Files.write(tempFile, Arrays.asList(lines), StandardCharsets.US_ASCII); in createFile() 42 return tempFile.toString(); in createFile()
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | TimeZoneDistroTest.java | 46 for (File tempFile : testFiles) { in tearDown() 47 tempFile.delete(); in tearDown()
|
D | FileUtilsTest.java | 47 for (File tempFile : testFiles) { in tearDown() 48 tempFile.delete(); in tearDown()
|