Home
last modified time | relevance | path

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

12345

/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java53 File file = new File("/system"); in testSystemDirAccess() local
82 File file = new File("/system/app"); in testApksAlwaysReadable() local
100 File file = new File("/data/app"); in testAccessAppDataDir() local
158 private void writeFileCheck(File file) { in writeFileCheck()
DParcelFileDescriptorTest.java337 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileNormal() local
352 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileError() local
367 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileDetach() local
424 final File file = File.createTempFile("treble_clef_\ud834\udd1e", ".tmp"); in testFileNamesWithNonBmpChars() local
496 File file = new File(dir, fileName); in makeParcelFileDescriptor() local
/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.java176 private File buildApiObbPath(String file) { in buildApiObbPath()
180 private File buildEnvObbPath(String file) { in buildEnvObbPath()
184 private File buildRawObbPath(String file) { in buildRawObbPath()
188 private static File buildApiPath(String file) { in buildApiPath()
192 private static File buildEnvPath(String file) { in buildEnvPath()
196 private static File buildRawPath(String file) { in buildRawPath()
/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.java122 private static String readyFullyAsciiFile(File file) throws IOException { in readyFullyAsciiFile()
142 private static Map<String, String> parseUeventFile(File file) throws IOException { in parseUeventFile()
DBrowserTest.java208 final File file = mContext.getFileStreamPath(name); in stageFile() local
215 private File exposeFile(File file) throws Exception { in exposeFile()
DBitmapFactorySecurityTests.java39 File file = File.createTempFile("BitmapFactorySecurityFile" + resId, "img"); in getResource() local
/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/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
222 private static RWAmount getRWAmount(File file) throws IOException { in getRWAmount()
275 File file = FileUtil.createNewFilledFile(context, in doRandomReadTest() local
329 File file = FileUtil.createNewFilledFile(context, in doRandomWriteTest() local
382 File file = FileUtil.createNewFilledFile(context, in doSequentialUpdateTest() local
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DIconTest.java86 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); in testFileIcon() local
152 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/tests/media/src/android/media/cts/
DMediaPlayer2DrmTestBase.java199 Uri file = mediaDownloadManager.getUriForDownloadedFile(id); in playModularDrmVideoDownload() local
217 protected void playModularDrmVideoWithRetries(Uri file, Integer width, Integer height, in playModularDrmVideoWithRetries()
250 private void playLoadedModularDrmVideo(final Uri file, final Integer width, in playLoadedModularDrmVideo()
267 private void playLoadedModularDrmVideo_Generic(final Uri file, final Integer width, in playLoadedModularDrmVideo_Generic()
540 private void playLoadedModularDrmVideo_V4_offlineKey(final Uri file, final Integer width, in playLoadedModularDrmVideo_V4_offlineKey()
924 public long downloadFileWithRetries(Uri uri, Uri file, long timeout, int retries) in downloadFileWithRetries()
941 public long downloadFile(Uri uri, Uri file, long timeout) throws Exception { in downloadFile()
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/theme/app/src/android/theme/app/
DThemeTestUtils.java34 public static boolean compressDirectory(File dir, File file) throws IOException { in compressDirectory()
DGenerateBitmapTask.java71 final File file = new File(mOutDir, mName + ".png"); in doInBackground() local
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java55 File file = new File(getContext().getFilesDir(), FILE_NAME); in testAutoCloseOutputStream() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java102 File file = new File(dir, FILE_NAME); in createFileAndShare() local
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtils.java103 public static File useWrite(File file, long size) throws Exception { in useWrite()
114 public static File useFallocate(File file, long length, long time) throws Exception { in useFallocate()
120 public static File useFallocate(File file, long length) throws Exception { in useFallocate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java66 FileOutputStream file = null; in sampleImage() local
/cts/tests/tests/content/src/android/content/cts/
DImageCaptureActivity.java61 File file = getFileFromIntent(intent); in writeToClipDataUri() local
/cts/tools/vm-tests-tf/src/util/build/
DD8BuildStep.java89 private static boolean isJarOrClassFile(Path file, BasicFileAttributes attrs) { in isJarOrClassFile()

12345