Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 156) 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()
/cts/libs/vogar-expect/src/vogar/commands/
DRm.java26 public void file(File file) { in file() method in Rm
/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.java47 final File file = new File(path); in testAddCompletedDownload() local
67 final File file = new File( in testAddCompletedDownload_invalidPublicDir() local
95 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/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
DOdexParser.java24 public OdexParser(File file) { in OdexParser()
DJarParser.java24 public JarParser(File file) { in JarParser()
DExeParser.java24 public ExeParser(File file) { in ExeParser()
DImgParser.java26 public ImgParser(File file) { in ImgParser()
DSymbolicLinkParser.java26 public SymbolicLinkParser(File file) { in SymbolicLinkParser()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java194 static File stageFile(int resId, File file) throws IOException { in stageFile()
245 static Uri scanFile(File file) throws Exception { in scanFile()
249 static Uri scanFileFromShell(File file) throws Exception { in scanFileFromShell()
253 static void scanVolume(File file) throws Exception { in scanVolume()
254 MediaStore.scanVolume(InstrumentationRegistry.getTargetContext(), file); in scanVolume() local
270 public static void assertExists(File file) throws IOException { in assertExists()
284 public static void assertNotExists(File file) throws IOException { in assertNotExists()
335 public static String getRawFileHash(File file) throws Exception { in getRawFileHash()
DMediaStore_FilesTest.java167 final File file = new File(dir, name); in testCaseSensitivity() local
256 final File file = new File(ProviderTestUtils.stageDir(mVolumeName), in testUpdateMediaType() local
285 final File file = new File(ProviderTestUtils.stageDir(mVolumeName), in testDateAddedFrozen() local
305 final File file = new File(ProviderTestUtils.stageDownloadDir(mVolumeName), in testInPlaceUpdate_mediaFileWithInvalidRelativePath() local
/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/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/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/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/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DBaseBootReceiver.java48 private static File exposeFile(File file) throws Exception { in exposeFile()
/cts/tests/signature/api-check/shared-libs-api/src/android/signature/cts/api/
DSignatureMultiLibsTest.java73 protected Stream<InputStream> readFile(File file) { in readFile()

1234567