Home
last modified time | relevance | path

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

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerTest.java86 writeFile("testmp3.mp3", fileName); in setUp()
101 private void writeFile(int resid, String path) throws IOException { in writeFile() method in MediaScannerTest
109 private void writeFile(final String res, String path) throws IOException { in writeFile() method in MediaScannerTest
159 writeFile("testmp3.mp3", unlocalizablePath); in testLocalizeRingtoneTitles()
176 writeFile("testmp3_4.mp3", localizablePath); in testLocalizeRingtoneTitles()
257 writeFile("testmp3.mp3", mFileDir + "/testmp3.mp3"); in testMediaScanner()
258 writeFile("testmp3_2.mp3", mFileDir + "/testmp3_2.mp3"); in testMediaScanner()
259 writeFile("playlist1.pls", mFileDir + "/ctsmediascanplaylist1.pls"); in testMediaScanner()
260 writeFile("playlist2.m3u", mFileDir + "/ctsmediascanplaylist2.m3u"); in testMediaScanner()
327 writeFile("testmp3.mp3", file1); in testWildcardPaths()
[all …]
/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerIsolatedServiceTest.java390 writeFile(file.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideConnection_canReadFile()
410 writeFile(file.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideDataStream_canReadFile()
432 writeFile(file1.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles()
435 writeFile(file2.getAbsolutePath(), FILE_CONTENT_2); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles()
457 writeFile(file1.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles()
460 writeFile(file2.getAbsolutePath(), FILE_CONTENT_2); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles()
525 writeFile(file.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideConnection_cannotWriteToFile()
545 writeFile(file.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideDataStream_cannotWriteToFile()
561 private void writeFile(String absolutePath, String content) throws Exception { in writeFile() method in WearableSensingManagerIsolatedServiceTest
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java273 writeFile(dataDirFile, "<html><title>" + dataDirTitle + "</title></html>"); in testAccessAllowFileAccess()
1002 writeFile("local.html", local); in verifyFileXHR()
1003 writeFile("target.html", target); in verifyFileXHR()
1023 private void writeFile(String filename, String content) throws Exception { in writeFile() method in WebSettingsTest
/cts/tests/filesystem/src/android/filesystem/cts/
DSequentialRWTest.java96 FileUtil.writeFile(files[i], data, false); in testSingleSequentialWrite()
DFileUtil.java124 public static void writeFile(File file, byte[] data, boolean append) throws IOException { in writeFile() method in FileUtil