Home
last modified time | relevance | path

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

123

/cts/libs/vogar-expect/src/vogar/commands/
DRm.java26 public void file(File file) { in file() argument
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
DMultiUserStorageTest.java141 private File buildApiObbPath(String file) { in buildApiObbPath()
145 private File buildEnvObbPath(String file) { in buildEnvObbPath()
149 private File buildRawObbPath(String file) { in buildRawObbPath()
153 private static File buildApiPath(String file) { in buildApiPath()
157 private static File buildEnvPath(String file) { in buildEnvPath()
161 private static File buildRawPath(String file) { in buildRawPath()
/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.java281 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileNormal() local
295 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileError() local
309 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileDetach() local
363 final File file = File.createTempFile("treble_clef_\ud834\udd1e", ".tmp"); in testFileNamesWithNonBmpChars() local
384 File file = new File(dir, fileName); in makeParcelFileDescriptor() local
/cts/tests/tests/security/src/android/security/cts/
DLinuxRngTest.java40 public static native int getCharDeviceMajor(String file) throws IOException; in getCharDeviceMajor()
41 public static native int getCharDeviceMinor(String file) throws IOException; in getCharDeviceMinor()
DHwRngTest.java118 private static String readyFullyAsciiFile(File file) throws IOException { in readyFullyAsciiFile()
138 private static Map<String, String> parseUeventFile(File file) throws IOException { in parseUeventFile()
DBannedFilesTest.java134 private static void assertNotSetugid(String file) { in assertNotSetugid()
/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/tools/signature-tools/src/signature/io/impl/
DBinaryApi.java40 File file = new File(directory, getFileName(api)); in externalizeApi() local
67 File file = new File(fileName); in loadApi() local
/cts/tools/signature-tools/test/signature/converter/doclet/
DDocletTestConverter.java88 File file = new File(directory, filename + ".java"); in putSource() local
98 File file = new File(sourcepath); in removeSources() local
102 private static void removeFile(File file){ in removeFile()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java167 private static void assertFileContains(File file, String contents) throws IOException { in assertFileContains()
251 private String mountObb(final int resource, final File file, int expectedState) { in mountObb()
270 private ObbObserver mountObbWithoutWait(final int resource, final File file) { in mountObbWithoutWait()
280 private void waitForObbActionCompletion(final File file, final ObbObserver observer, in waitForObbActionCompletion()
297 private void unmountObb(final File file, int expectedState) { in unmountObb()
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java145 File file = new File(obtainPath()); in testCreateFromFile1() local
166 File file = new File(dir, "test.jpg"); in obtainPath() local
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
DFileUtil.java121 public static void writeFile(File file, byte[] data, boolean append) throws IOException { in writeFile()
143 File file = createNewFile(context, dirName); in createNewFilledFile() local
219 private static RWAmount getRWAmount(File file) throws IOException { in getRWAmount()
272 File file = FileUtil.createNewFilledFile(context, in doRandomReadTest() local
327 File file = FileUtil.createNewFilledFile(context, in doRandomWriteTest() local
381 File file = FileUtil.createNewFilledFile(context, in doSequentialUpdateTest() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java121 File file = mAdapter.getItem(position); in onListItemClick() local
129 private String getMessage(File file) { in getMessage()
161 File file = getItem(position); in getView() 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/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java55 File file = new File(getContext().getFilesDir(), FILE_NAME); in testAutoCloseOutputStream() local
/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/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java101 File file = new File(dir, FILE_NAME); in createFileAndShare() local
/cts/tools/dex-tools/src/dex/reader/
DTypeFormatter.java105 public String formatDexFile(DexFile file) { in formatDexFile()
/cts/tests/tests/content/src/android/content/cts/
DImageCaptureActivity.java61 File file = getFileFromIntent(intent); in writeToClipDataUri() local
DReadableUriExtraToClipDataTest.java106 private void writeTestInputToFile(File file) { in writeTestInputToFile()
DReadableFileReceiverActivity.java107 private boolean testFileContents(File file) { in testFileContents()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java66 FileOutputStream file = null; in sampleImage() local
/cts/tests/tests/net/src/android/net/cts/
DVpnServiceTest.java112 File file = new File("/dev/tun"); in testTunDevice() local

123