Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java40 private File mTestDirectory; field in BaseVoicemailProviderTest
102 return findAllFiles(mTestDirectory).size(); in countFilesInTestDirectory()
127 if (mTestDirectory == null) {
129 mTestDirectory = new File(baseDirectory, Long.toString(System.currentTimeMillis()));
130 assertFalse(mTestDirectory.exists());
131 assertTrue(mTestDirectory.mkdirs());
133 return mTestDirectory;
137 if (mTestDirectory != null) {
138 recursiveDeleteAll(mTestDirectory);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java75 protected File mTestDirectory; field in PublicApiFunctionalTest
90 mTestDirectory = new File(Environment.getExternalStoragePublicDirectory( in setUp()
93 if (mTestDirectory.exists()) { in setUp()
94 IoUtils.deleteContents(mTestDirectory); in setUp()
96 mTestDirectory.mkdir(); in setUp()
102 if (mTestDirectory != null && mTestDirectory.exists()) { in tearDown()
103 IoUtils.deleteContents(mTestDirectory); in tearDown()
104 mTestDirectory.delete(); in tearDown()
370 return Uri.fromFile(mTestDirectory).buildUpon().appendPath("testfile.txt").build(); in getExternalUri()