/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 53 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()
|
D | ParcelFileDescriptorTest.java | 337 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/ |
D | Rm.java | 26 public void file(File file) { in file() method in Rm
|
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/ |
D | MultiUserStorageTest.java | 176 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/ |
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 | 122 private static String readyFullyAsciiFile(File file) throws IOException { in readyFullyAsciiFile() 142 private static Map<String, String> parseUeventFile(File file) throws IOException { in parseUeventFile()
|
D | BrowserTest.java | 208 final File file = mContext.getFileStreamPath(name); in stageFile() local 215 private File exposeFile(File file) throws Exception { in exposeFile()
|
D | BitmapFactorySecurityTests.java | 39 File file = File.createTempFile("BitmapFactorySecurityFile" + resId, "img"); in getResource() local
|
/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/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 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/ |
D | IconTest.java | 86 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/ |
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/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/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | BaseBootReceiver.java | 48 private static File exposeFile(File file) throws Exception { in exposeFile()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayer2DrmTestBase.java | 199 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()
|
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/theme/app/src/android/theme/app/ |
D | ThemeTestUtils.java | 34 public static boolean compressDirectory(File dir, File file) throws IOException { in compressDirectory()
|
D | GenerateBitmapTask.java | 71 final File file = new File(mOutDir, mName + ".png"); in doInBackground() local
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 55 File file = new File(getContext().getFilesDir(), FILE_NAME); in testAutoCloseOutputStream() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 102 File file = new File(dir, FILE_NAME); in createFileAndShare() local
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Utils.java | 103 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/ |
D | ByodIconSamplerActivity.java | 66 FileOutputStream file = null; in sampleImage() local
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ImageCaptureActivity.java | 61 File file = getFileFromIntent(intent); in writeToClipDataUri() local
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | D8BuildStep.java | 89 private static boolean isJarOrClassFile(Path file, BasicFileAttributes attrs) { in isJarOrClassFile()
|