Home
last modified time | relevance | path

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

123

/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
DMultiUserStorageTest.java120 private File buildApiObbPath(String file) { in buildApiObbPath()
124 private File buildEnvObbPath(String file) { in buildEnvObbPath()
128 private File buildRawObbPath(String file) { in buildRawObbPath()
132 private static File buildApiPath(String file) { in buildApiPath()
136 private static File buildEnvPath(String file) { in buildEnvPath()
140 private static File buildRawPath(String file) { in buildRawPath()
/cts/libs/vogar-expect/src/vogar/commands/
DRm.java26 public void file(File file) { in file() argument
/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()
DDebugTest.java72 File file = new File(dir, "debug.trace"); in getFileName() local
202 File file = getContext().getFileStreamPath("dump.out"); in testDumpService() local
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
375 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()
DBannedFilesTest.java138 File file = new File("/dev/diag"); in testNoDevDiag() local
142 private static void assertNotSetugid(String file) { in assertNotSetugid()
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()
/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/webgl/src/android/webgl/cts/
DZipUtil.java42 File file = new File(directory, name); in streamToPath() local
47 File file) throws Exception { in streamToPath()
/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/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java81 File file = new File(dir, FILE_NAME); in createFileAndShare() 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/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()
/cts/tests/tests/net/src/android/net/cts/
DVpnServiceTest.java112 File file = new File("/dev/tun"); in testTunDevice() local
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java277 private static boolean isWhiteList(File file) { in isWhiteList()
322 public static void writeInt(File file, int value) throws IOException { in writeInt()
331 public static int readInt(File file) throws IOException { in readInt()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DAccessibilityServiceTestRunner.java74 File file = FileUtil.getFileForPath(mCtsBuild.getTestCasesDir(), apkName); in installApkAndAssert() local

123