Home
last modified time | relevance | path

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

1234

/cts/libs/vogar-expect/src/vogar/commands/
DRm.java26 public void file(File file) { in file() method in Rm
/cts/common/util/tests/src/com/android/compatibility/common/util/
DDynamicConfigTest.java83 File file = createFileFromStr(correctConfig); in testCorrectConfig() local
95 File file = createFileFromStr(configWrongNodeName); in testConfigWithWrongNodeName() local
106 File file = File.createTempFile("test", "dynamic"); in createFileFromStr() 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.java120 private static String readyFullyAsciiFile(File file) throws IOException { in readyFullyAsciiFile()
140 private static Map<String, String> parseUeventFile(File file) throws IOException { in parseUeventFile()
DBrowserTest.java200 final File file = mContext.getFileStreamPath(name); in stageFile() local
207 private File exposeFile(File file) throws Exception { in exposeFile()
/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.java306 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileNormal() local
320 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileError() local
334 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileDetach() local
388 final File file = File.createTempFile("treble_clef_\ud834\udd1e", ".tmp"); in testFileNamesWithNonBmpChars() local
409 File file = new File(dir, fileName); in makeParcelFileDescriptor() local
/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/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/libs/migration/src/com/android/cts/migration/
DMigrationHelper.java31 File file = new File(dir, filename); in getTestFile() local
46 File file = (File) method.invoke(helper, filename); in getTestFile() local
/cts/common/util/src/com/android/compatibility/common/util/
DDynamicConfig.java53 protected void initializeConfig(File file) throws XmlPullParserException, IOException { in initializeConfig()
79 public static Map<String, List<String>> createConfigMap(File file) in createConfigMap()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java265 private static void assertFileContains(File file, String contents) throws IOException { in assertFileContains()
346 private File exposeFile(File file) { in exposeFile()
360 private String mountObb(final int resource, final File file, int expectedState) { in mountObb()
379 private ObbObserver mountObbWithoutWait(final int resource, final File file) { in mountObbWithoutWait()
389 private void waitForObbActionCompletion(final File file, final ObbObserver observer, in waitForObbActionCompletion()
406 private void unmountObb(final File file, int expectedState) { in unmountObb()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DMediaStoreSaver.java51 File file = File.createTempFile(imageName, ".png", dir); in savePNG() 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/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/filesystem/src/android/filesystem/cts/
DFileUtil.java122 public static void writeFile(File file, byte[] data, boolean append) throws IOException { in writeFile()
144 File file = createNewFile(context, dirName); in createNewFilledFile() local
220 private static RWAmount getRWAmount(File file) throws IOException { in getRWAmount()
273 File file = FileUtil.createNewFilledFile(context, in doRandomReadTest() local
327 File file = FileUtil.createNewFilledFile(context, in doRandomWriteTest() local
380 File file = FileUtil.createNewFilledFile(context, in doSequentialUpdateTest() 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()
/cts/common/host-side/util/tests/src/com/android/compatibility/common/util/
DDynamicConfigHandlerTest.java119 File file = File.createTempFile(module, "dynamic"); in createFileFromStr() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java102 File file = new File(dir, FILE_NAME); in createFileAndShare() local
/cts/tests/tests/jni/src/android/jni/cts/
DLinkerNamespacesHelper.java60 File file = new File(VENDOR_CONFIG_FILE); in runAccessibilityTest() local
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DCollectorUtil.java111 private static String readFile(File file) throws IOException { in readFile()
129 private static void writeFile(File file, String jsonString) throws IOException { in writeFile()
/cts/tools/dex-tools/src/dex/reader/
DTypeFormatter.java105 public String formatDexFile(DexFile file) { in formatDexFile()
/cts/tools/vm-tests-tf/src/util/build/
DExecuteFile.java62 public void setErr(@Nonnull File file) throws FileNotFoundException { in setErr()
67 public void setOut(@Nonnull File file) throws FileNotFoundException { in setOut()
72 public void setIn(@Nonnull File file) throws FileNotFoundException { in setIn()

1234