HomeSort by relevance Sort by last modified time
    Searched refs:testFile (Results 26 - 50 of 95) sorted by null

12 3 4

  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
CopyJobTest.java 49 Uri testFile = mDocs.createDocumentWithFlags(
54 createJob(newArrayList(testFile)).run();
  /tools/tradefederation/core/src/com/android/tradefed/testtype/
AndroidJUnitTest.java 61 /** instrumentation test runner argument used for adding testFile filter */
62 private static final String TEST_FILE_INST_ARGS_KEY = "testFile";
172 public void setIncludeTestFile(File testFile) {
173 mIncludeTestFile = testFile;
180 public void setExcludeTestFile(File testFile) {
181 mExcludeTestFile = testFile;
316 * Push the testFile to the requested destination. This should only be called for a non-null
317 * testFile
319 * @param testFile file to be pushed from the host to the device.
320 * @param destination the path on the device to which testFile is pushe
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
CompatibilityBuildHelper.java 297 File testFile;
299 testFile = new File(getTestsDir(), filename);
300 if (testFile.exists()) {
301 return testFile;
305 testFile = FileUtil.findFile(new File(testDir), filename);
306 if (testFile != null) {
307 return testFile;
  /packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
FetchDownloadsLoaderTest.java 65 File testFile = File.createTempFile("test", null, tempDir);
66 testFile.setLastModified(0);
67 testFile.deleteOnExit();
  /external/smali/smalidea/src/test/java/org/jf/smalidea/
SmaliFileTest.java 40 public void testFile() {
  /packages/apps/Messaging/src/com/android/messaging/util/
FileUtil.java 45 File testFile = new File(directory, newName);
46 if (!testFile.exists()) {
47 testFile.createNewFile();
48 return testFile;
  /cts/hostsidetests/os/src/android/os/cts/
ProcfsHostTests.java 89 testFile(PROC_STAT_PATH, PROC_STAT_READ_COMMAND, PROC_STAT_PATTERN);
99 testFile("/proc/" + mTestAppPid + "/stat", "cat ", PID_TID_STAT_PATTERN);
129 private void testFile(String absolutePath, String readCommand, Pattern pattern) throws Exception {
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostResultTest.java 113 final File testFile = mBuildHelper.getTestFile(FILE_NAME);
125 assertTrue("Could not push file", device.pushFile(testFile, devicePath));
129 assertFilesAreEqual(testFile, tmpFile);
  /libcore/luni/src/test/java/libcore/util/
ZoneInfoDBTest.java 104 File testFile = makeTemporaryFile(data);
106 assertNotNull(ZoneInfoDB.TzData.loadTzData(testFile.getPath()));
108 testFile.delete();
205 File testFile = makeTemporaryFile(data);
207 assertNull(ZoneInfoDB.TzData.loadTzData(testFile.getPath()));
209 testFile.delete();
  /prebuilts/go/darwin-x86/src/mime/multipart/
formdata_test.go 31 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents)
36 fd = testFile(t, f.File["fileb"][0], "fileb.txt", filebContents)
43 func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File {
  /prebuilts/go/linux-x86/src/mime/multipart/
formdata_test.go 31 fd := testFile(t, f.File["filea"][0], "filea.txt", fileaContents)
36 fd = testFile(t, f.File["fileb"][0], "fileb.txt", filebContents)
43 func testFile(t *testing.T, fh *FileHeader, efn, econtent string) File {
  /frameworks/rs/rsov/compiler/
Wrapper_test.cpp 42 std::vector<uint32_t> readWords(const char *testFile) {
45 const std::string &fullPath = getAbsolutePath(testDataPath + testFile);
  /external/toybox/tests/
mount.test 59 echo "abcdefghijklmnopqrstuvwxyz" > testDir1/testDir2/testFile
62 cat testDir/testDir2/testFile && sleep 1 && umount testDir' \
66 cat testDir/testDir2/testFile && sleep 1 && umount testDir' \
tar.test 27 dd if=/dev/zero of=testFile ibs=4096 obs=4096 count=1000 2>/dev/null
28 testing "- compession and extraction of a file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f testFile ] && echo 'yes'; rm -rf testFile.tgz" "yes\nyes\n" "" ""
31 touch testFile
32 testing "- compession and extraction of a empty file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f t (…)
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/build/
LocalDeviceBuildProviderTest.java 178 File testFile = new File(mTestDir, "some-test");
179 FileUtil.writeToFile("tests", testFile);
184 File extractedTestFile = new File(testDir, testFile.getName());
186 assertTrue(FileUtil.compareFileContents(testFile, extractedTestFile));
  /prebuilts/go/darwin-x86/src/compress/lzw/
writer_test.go 24 // testFile tests that compressing and then decompressing the given file with
26 func testFile(t *testing.T, fn string, order Order, litWidth int) {
100 testFile(t, filename, order, litWidth)
  /prebuilts/go/linux-x86/src/compress/lzw/
writer_test.go 24 // testFile tests that compressing and then decompressing the given file with
26 func testFile(t *testing.T, fn string, order Order, litWidth int) {
100 testFile(t, filename, order, litWidth)
  /external/icu/icu4c/source/test/iotest/
iotest.cpp 223 LocalUFILEPointer testFile;
237 testFile.adoptInstead(u_fopen(STANDARD_TEST_FILE, "w", fileLocale, "UTF-8"));
238 if (testFile.isNull()) {
263 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl);
268 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i8);
273 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i16);
278 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i32);
283 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i64);
288 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, cBuffer);
292 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument)
    [all...]
  /external/conscrypt/platform/src/test/java/org/conscrypt/ct/
CTLogStoreImplTest.java 96 File testFile = writeFile(LOGS_SERIALIZED[0]);
97 log = CTLogStoreImpl.loadLog(testFile);
  /external/guava/guava-tests/test/com/google/common/io/
IoTestCase.java 78 File testFile = new File(testFileUrl.toURI());
79 testDir = testFile.getParentFile(); // the testdata directory
  /frameworks/rs/rsov/compiler/spirit/
transformer_test.cpp 70 std::vector<uint32_t> readWords(const char *testFile) {
73 const std::string &fullPath = getAbsolutePath(testDataPath + testFile);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
PrintStreamTest.java 46 private File testFile = null;
84 assertFileContents(UNICODE_STRING.getBytes(Charset.defaultCharset()), testFile);
103 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_8), testFile);
110 assertFileContents(UNICODE_STRING.getBytes(StandardCharsets.UTF_16), testFile);
750 testFile = File.createTempFile("test", null);
751 testFilePath = testFile.getAbsolutePath();
756 testFile.delete();
757 testFile = null;
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
MemoryFileProviderTest.java 69 public void testFile() throws Exception {
  /frameworks/base/tests/net/java/com/android/server/net/
NetworkStatsCollectionTest.java 102 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
103 stageFile(R.raw.netstats_v1, testFile);
106 collection.readLegacyNetwork(testFile);
128 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
129 stageFile(R.raw.netstats_uid_v4, testFile);
132 collection.readLegacyUid(testFile, false);
154 final File testFile = new File(getContext().getFilesDir(), TEST_FILE);
155 stageFile(R.raw.netstats_uid_v4, testFile);
158 collection.readLegacyUid(testFile, true);
254 final File testFile = new File(getContext().getFilesDir(), TEST_FILE)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
AppCacheTest.java 245 File file1 = new File(fileArr[i], "testFile"+j+".txt");
299 File testFile = new File(testDir, "testFile"+i+".txt");
300 if(localLOGV) Log.i(TAG, "Creating "+i+"th test file "+testFile);
305 fos = new FileOutputStream(testFile);
307 Log.i(TAG, "Failed creating test file:"+testFile);
315 Log.i(TAG, "Failed to write to file:"+testFile);
322 Log.i(TAG, "Failed closing file:"+testFile);
327 createdFileBlks += getFileNumBlocks(testFile.length(), blkSize);
345 File testFile = new File(testDir, "testFile"+k+".txt")
    [all...]

Completed in 1907 milliseconds

12 3 4