Home
last modified time | relevance | path

Searched refs:mediaPath (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DUtils.java68 String mediaPath = bundle.getString(MEDIA_PATH_INSTR_ARG_KEY); in getMediaPath() local
69 Log.i(TAG, "Media Path value is: " + mediaPath); in getMediaPath()
71 if (mediaPath != null && !mediaPath.isEmpty()) { in getMediaPath()
72 if (mediaPath.startsWith("http") || mediaPath.startsWith("file")) { in getMediaPath()
73 return mediaPath; in getMediaPath()
76 return Uri.fromFile(new File(mediaPath)).toString(); in getMediaPath()
DMediaScannerConnectionTest.java94 assertEquals(mMediaFile.getAbsolutePath(), mMediaScannerConnectionClient.mediaPath); in testMediaScannerConnection()
106 return mMediaScannerConnectionClient.mediaPath != null; in checkMediaScannerConnection()
144 public String mediaPath; field in MediaScannerConnectionTest.MockMediaScannerConnectionClient
151 mediaPath = path; in onScanCompleted()
DMediaScannerTest.java390 String path = mMediaScannerConnectionClient.mediaPath; in canonicalizeTest()
414 String path2 = mMediaScannerConnectionClient.mediaPath; in canonicalizeTest()
638 return mMediaScannerConnectionClient.mediaPath != null; in checkMediaScannerConnection()
676 public String mediaPath; field in MediaScannerTest.MockMediaScannerConnectionClient
684 mediaPath = path; in onScanCompleted()
691 mediaPath = null; in reset()