Home
last modified time | relevance | path

Searched refs:testFile (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DReadableUriExtraToClipDataTest.java63 File testFile = new File(getContext().getFilesDir() + File.separator + fileName); in setUp() local
64 writeTestInputToFile(testFile); in setUp()
65 mTestFiles.add(testFile); in setUp()
66 mTestFileUris.add(Uri.fromFile(testFile)); in setUp()
72 for (File testFile : mTestFiles) { in tearDown()
73 if (testFile.exists()) { in tearDown()
74 assertTrue(testFile.delete()); in tearDown()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java113 final File testFile = new File(mBuildHelper.getTestsDir(), FILE_NAME); in testTransferTime() local
125 assertTrue("Could not push file", device.pushFile(testFile, devicePath)); in testTransferTime()
129 assertFilesAreEqual(testFile, tmpFile); in testTransferTime()
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java241 public void setIncludeTestFile(File testFile) { in setIncludeTestFile() argument
242 mIncludeTestFile = testFile; in setIncludeTestFile()
249 public void setExcludeTestFile(File testFile) { in setExcludeTestFile() argument
250 mExcludeTestFile = testFile; in setExcludeTestFile()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java80 final File testFile = new File(mountDir, "test1.txt"); in doMountAndUnmountObbNormal() local
83 assertTrue("test1.txt does not exist in OBB dir", testFile.exists()); in doMountAndUnmountObbNormal()
84 assertFileContains(testFile, TEST1_NEW_CONTENTS); in doMountAndUnmountObbNormal()
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java90 public void testFile() throws Exception { in testFile() method in DeviceReportTest