Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 166) sorted by relevance

1234567

/cts/tests/tests/media/src/android/media/cts/
DThumbnailUtilsTest.java66 final File file = stageFile(R.raw.testmp3, new File(mDir, "cts.mp3")); in testCreateAudioThumbnail() local
74 final File file = stageFile(R.raw.monotestmp3, new File(mDir, "audio.mp3")); in testCreateAudioThumbnail_SeparateFile() local
84 final File file = stageFile(R.raw.monotestmp3, new File(mDir, "cts.mp3")); in testCreateAudioThumbnail_None() local
94 final File file = stageFile(R.raw.volantis, new File(mDir, "cts.jpg")); in testCreateImageThumbnail() local
102 final File file = stageFile( in testCreateVideoThumbnail() local
110 private static File stageFile(int resId, File file) throws IOException { in stageFile()
DMediaPlayerDrmTestBase.java184 Uri file = mediaDownloadManager.getUriForDownloadedFile(id); in playModularDrmVideoDownload() local
202 protected void playModularDrmVideoWithRetries(Uri file, Integer width, Integer height, in playModularDrmVideoWithRetries()
236 private void playLoadedModularDrmVideo(final Uri file, final Integer width, in playLoadedModularDrmVideo()
254 private void playLoadedModularDrmVideo_Generic(final Uri file, final Integer width, in playLoadedModularDrmVideo_Generic()
526 private void playLoadedModularDrmVideo_V4_offlineKey(final Uri file, final Integer width, in playLoadedModularDrmVideo_V4_offlineKey()
1030 public long downloadFileWithRetries(Uri uri, Uri file, long timeout, int retries) in downloadFileWithRetries()
1047 public long downloadFile(Uri uri, Uri file, long timeout) throws Exception { in downloadFile()
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
DMultiUserStorageTest.java175 private File buildApiObbPath(String file) { in buildApiObbPath()
179 private File buildEnvObbPath(String file) { in buildEnvObbPath()
183 private File buildRawObbPath(String file) { in buildRawObbPath()
187 private static File buildApiPath(String file) { in buildApiPath()
191 private static File buildEnvPath(String file) { in buildEnvPath()
195 private static File buildRawPath(String file) { in buildRawPath()
/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java55 File file = new File("/system"); in testSystemDirAccess() local
84 File file = new File("/system/app"); in testApksAlwaysReadable() local
102 File file = new File("/data/app"); in testAccessAppDataDir() local
181 private void writeFileCheck(File file) { in writeFileCheck()
DParcelFileDescriptorTest.java303 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileNormal() local
318 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileError() local
333 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileDetach() local
390 final File file = File.createTempFile("treble_clef_\ud834\udd1e", ".tmp"); in testFileNamesWithNonBmpChars() local
462 File file = new File(dir, fileName); in makeParcelFileDescriptor() local
/cts/tests/tests/security/src/android/security/cts/
DLinuxRngTest.java43 public static native int getCharDeviceMajor(String file) throws IOException; in getCharDeviceMajor()
44 public static native int getCharDeviceMinor(String file) throws IOException; in getCharDeviceMinor()
DHwRngTest.java126 private static String readyFullyAsciiFile(File file) throws IOException { in readyFullyAsciiFile()
146 private static Map<String, String> parseUeventFile(File file) throws IOException { in parseUeventFile()
/cts/tools/cfassembler/src/dxconvext/util/
DFileUtils.java42 File file = new File(fileName); in readFile() local
53 public static byte[] readFile(File file) { in readFile()
/cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/
DDownloadManagerLegacyTest.java53 final File file = new File(path); in testAddCompletedDownload() local
73 final File file = new File( in testAddCompletedDownload_invalidPublicDir() local
100 final File file = new File(downloadLocation); in testAddCompletedDownload_mediaStoreEntry() local
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java65 final File file = new File(ctx.getCacheDir(), prefix + i); in getTempFile() local
78 File file = getTempFile(); in mmap() local
92 private static ByteBuffer mmap(File file) { in mmap()
101 private static boolean copyToFile(File file, InputStream is) { in copyToFile()
105 private static boolean copyToFile(File file, InputStream is, byte[] prepend, byte[] append) { in copyToFile()
250 File file = getTempFile(); in testBuilder_file() local
277 File file = getTempFile(); in testBuilder_file_ttc() local
305 File file = getTempFile(); in testBuilder_file_vf() local
332 File file = getTempFile(); in testBuilder_file_override() local
352 File file = getTempFile(); in testBuilder_file_override() local
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java190 public static File waitUntilExists(File file) throws IOException { in waitUntilExists()
218 static File stageFile(int resId, File file) throws IOException { in stageFile()
269 static Uri scanFile(File file) throws Exception { in scanFile()
275 static Uri scanFileFromShell(File file) throws Exception { in scanFileFromShell()
281 static void scanVolume(File file) throws Exception { in scanVolume()
282 MediaStore.scanVolume(InstrumentationRegistry.getTargetContext(), file); in scanVolume() local
298 public static void assertExists(File file) throws IOException { in assertExists()
312 public static void assertNotExists(File file) throws IOException { in assertNotExists()
364 public static String getRawFileHash(File file) throws Exception { in getRawFileHash()
DMediaStore_FilesTest.java169 final File file = new File(dir, name); in testCaseSensitivity() local
258 final File file = new File(ProviderTestUtils.stageDir(mVolumeName), in testUpdateMediaType() local
287 final File file = new File(ProviderTestUtils.stageDir(mVolumeName), in testDateAddedFrozen() local
307 final File file = new File(ProviderTestUtils.stageDownloadDir(mVolumeName), in testInPlaceUpdate_mediaFileWithInvalidRelativePath() local
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DRcParser.java43 public RcParser(File file) { in RcParser()
69 String file = service.getFile().substring(1); in getDependencies() local
75 String file = importRc.substring(1); in getDependencies() local
DExeParser.java24 public ExeParser(File file) { in ExeParser()
DOdexParser.java24 public OdexParser(File file) { in OdexParser()
DJarParser.java24 public JarParser(File file) { in JarParser()
DImgParser.java26 public ImgParser(File file) { in ImgParser()
DSymbolicLinkParser.java26 public SymbolicLinkParser(File file) { in SymbolicLinkParser()
/cts/tests/filesystem/src/android/filesystem/cts/
DFileUtil.java124 public static void writeFile(File file, byte[] data, boolean append) throws IOException { in writeFile()
145 File file = createNewFile(context, dirName); in createNewFilledFile() local
221 private static RWAmount getRWAmount(File file) throws IOException { in getRWAmount()
274 File file = FileUtil.createNewFilledFile(context, in doRandomReadTest() local
328 File file = FileUtil.createNewFilledFile(context, in doRandomWriteTest() local
381 File file = FileUtil.createNewFilledFile(context, in doSequentialUpdateTest() local
/cts/suite/audio_quality/lib/src/audio/
DBuffer.cpp91 std::ifstream file(filename.string(), std::ios::in | std::ios::binary | in loadFromFile() local
116 std::ofstream file(filenameWithExtension.string(), std::ios::out | std::ios::binary | in saveToFile() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DIconTest.java87 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon() local
153 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon_getType() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DMediaStoreSaver.java51 File file = File.createTempFile(imageName, ".png", dir); in savePNG() local
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestSuiteContentReport.java125 private static FileMetadata parseFileMetadata(Entry.Builder fEntry, File file) in parseFileMetadata()
143 private static FileMetadata parseConfigFile(File file) in parseConfigFile()
182 private static void parseKnownFailures(TestSuiteContent.Builder tsBld, File file) in parseKnownFailures()
266 private static String getFileContentId(File file) in getFileContentId()
405 File file = new File(tsPath); in main() local
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DAbstractApiTest.java119 Path file = extractResourceToFile(resourceName, resourcePath.newInputStream()); in readResource() local
131 Path file = tempDirectory.resolve(resourceName); in extractResourceToFile() local
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DBaseBootReceiver.java48 private static File exposeFile(File file) throws Exception { in exposeFile()

1234567