/cts/tests/tests/media/src/android/media/cts/ |
D | ThumbnailUtilsTest.java | 66 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()
|
D | MediaPlayerDrmTestBase.java | 184 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/ |
D | MultiUserStorageTest.java | 175 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/ |
D | FileAccessPermissionTest.java | 55 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()
|
D | ParcelFileDescriptorTest.java | 303 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/ |
D | LinuxRngTest.java | 43 public static native int getCharDeviceMajor(String file) throws IOException; in getCharDeviceMajor() 44 public static native int getCharDeviceMinor(String file) throws IOException; in getCharDeviceMinor()
|
D | HwRngTest.java | 126 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/ |
D | FileUtils.java | 42 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/ |
D | DownloadManagerLegacyTest.java | 53 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/ |
D | FontTest.java | 65 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/ |
D | ProviderTestUtils.java | 190 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()
|
D | MediaStore_FilesTest.java | 169 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/ |
D | RcParser.java | 43 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
|
D | ExeParser.java | 24 public ExeParser(File file) { in ExeParser()
|
D | OdexParser.java | 24 public OdexParser(File file) { in OdexParser()
|
D | JarParser.java | 24 public JarParser(File file) { in JarParser()
|
D | ImgParser.java | 26 public ImgParser(File file) { in ImgParser()
|
D | SymbolicLinkParser.java | 26 public SymbolicLinkParser(File file) { in SymbolicLinkParser()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | FileUtil.java | 124 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/ |
D | Buffer.cpp | 91 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/ |
D | IconTest.java | 87 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/ |
D | MediaStoreSaver.java | 51 File file = File.createTempFile(imageName, ".png", dir); in savePNG() local
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TestSuiteContentReport.java | 125 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/ |
D | AbstractApiTest.java | 119 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/ |
D | BaseBootReceiver.java | 48 private static File exposeFile(File file) throws Exception { in exposeFile()
|