Home
last modified time | relevance | path

Searched refs:TEST_FILE (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java35 private static final String TEST_FILE = "file_observer_test.txt"; field in FileObserverTest
42 File testFile = new File(dir, TEST_FILE); in helpSetUp()
65 File testFile = new File(dir, TEST_FILE); in helpTearDown()
67 File moveDestFile = new File(testDir, TEST_FILE); in helpTearDown()
122 File testFile = new File(dir, TEST_FILE); in helpTestFileObserver()
159 testFile = new File(dir, TEST_FILE); in helpTestFileObserver()
163 moveDestFile = new File(testDir, TEST_FILE); in helpTestFileObserver()
217 final File testFile = new File(testDir, TEST_FILE); in verifyTriggeredEventsOnDir()
278 new File(pair.first, TEST_FILE), pair.second); in verifyMultipleFiles()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java58 private static final File TEST_FILE = new File( field in WriteExternalStorageTest
74 TEST_FILE.delete(); in tearDown()
97 writeInt(TEST_FILE, 32); in testWriteExternalStorage()
98 assertEquals(readInt(TEST_FILE), 32); in testWriteExternalStorage()
100 assertTrue("Must be able to set last modified", TEST_FILE.setLastModified(testValue)); in testWriteExternalStorage()
101 assertEquals(testValue, TEST_FILE.lastModified()); in testWriteExternalStorage()