Home
last modified time | relevance | path

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

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerConnectionTest.java39 private File mMediaFile; field in MediaScannerConnectionTest
52 mMediaFile = new File(dir, fileName); in setUp()
53 copier.copyToExternalStorage(R.raw.testmp3, mMediaFile); in setUp()
55 assertTrue(mMediaFile.exists()); in setUp()
61 if (mMediaFile != null) { in tearDown()
62 mMediaFile.delete(); in tearDown()
89 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScannerConnection()
93 assertEquals(mMediaFile.getAbsolutePath(), mMediaScannerConnectionClient.mediaPath); in testMediaScannerConnection()
DMediaScannerTest.java71 private File mMediaFile; field in MediaScannerTest
88 mMediaFile = new File(fileName); in setUp()
89 assertTrue(mMediaFile.exists()); in setUp()
124 if (mMediaFile != null) { in cleanup()
125 mMediaFile.delete(); in cleanup()
204 mMediaScannerConnection.scanFile(mMediaFile.getAbsolutePath(), MEDIA_TYPE); in testMediaScanner()
213 MediaColumns.DATA + "=?", new String[] { mMediaFile.getAbsolutePath() }, null); in testMediaScanner()
218 File nomedia = new File(mMediaFile.getParent() + "/.nomedia"); in testMediaScanner()
224 MediaColumns.DATA + "=?", new String[] { mMediaFile.getAbsolutePath() }, null); in testMediaScanner()
237 MediaColumns.DATA + "=?", new String[] { mMediaFile.getAbsolutePath() }, null); in testMediaScanner()